Giter Club home page Giter Club logo

goad's People

Stargazers

 avatar Davide Gori avatar Nick avatar Michele Di Bonaventura avatar Giulio Garzia avatar s3bsrt avatar Antonio Cuomo avatar  avatar Hulto avatar

Watchers

Valerio Casalino avatar

Forkers

0xw0rm

goad's Issues

implement remaining opnum in MS-SCMR

File pkg/dcerpc/scmr.go contains only the skeleton for the data structures described in the Miscrosoft specification. Every opnum is declared without the internal fields. Each of them should be described as:

type OpnumNameRequest struct{
    // Declarations here
}

type OpnumNameResponse struct{
    // Declarations here
}

The request should use the same types (in Go notation) as the specification, except for DWORD (which can be declared as uint32) and all other basic types (for example WORD and BYTE). Also rename all the structs named OpnumNameStruct to OpnumNameRequest.

An example already defined in the code is Opnum 5. OpnumName is RSetServiceObjectSecurity and its declaration in Microsoft's specification is:

[in] SC_RPC_HANDLE hService,
[in] SECURITY_INFORMATION dwSecurityInformation,
[in, size_is(cbBufSize)] LPBYTE lpSecurityDescriptor,
[in] DWORD cbBufSize

And in the code is defined as:

type RSetServiceObjectSecurityStruct struct {
	HService              ScRpcHandle
	DWSecurityInformation uint32
	LPSecurityDescriptor  LpSecurityDescriptor
	CBBufSize             uint32
}

With no response.

error when fetching too many entries

Seems like if the response contains too many entries the domain controller just refuses to give it.
Find a way to get results in smaller batches :)

NTLM Authenticator

Hey @ellipsis-dev please implement an NTLM authenticator client that must be defined with the following structure:

type Client struct {
    User           string
    Password       string
    Hash           []byte
    Domain         string
    Workstation    string
    TargetSPN      string  
    ChannelBinding *ChannelBindings
}

You can expand the struct as needed. This client must implement the following interface:

type Authenticator interface {
    Negotiate() ([]byte, error)
    Authenticate(msg []byte) ([]byte, error)
    Metadata() interface{}
    Sign(msg []byte) ([]byte, error)
    Encrypt(msg []byte) ([]byte, error)
}

The client must implement the Authenticator interface, but can also extend it if needed. I want to use this client as an authenticator in different contexts, such as an authenticator for a SMB connection, as well as an authenticator for a MSRPCE connection.

Please implement this client to receive raw bytes (such as the NTLM challenge) and return raw bytes containing the NTLM response, store useful information about the server, such as the Netbios Computer Name, DNS computer name, Tree name etc...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.