Skip to content

redt1de/gimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attempt at some impacket functionality in pure go.

This currently just a testing/PoC repo. Eventually I will break out an actual package.

Testing Targets

All testing is currently being conducted against GOAD, the AD lab created by Orange Cyberdefense.

TODO:

  • SMB + kerberos is hacky, needs testing and cleanup
  • kerberos initiatior for smb may need tweaked for using TGT/ST. initContext tries to fetch an ST but we may already have one.

Feature Status

getTGT:

  • auth with user/pass
  • auth with user/hash
  • auth with kerberos (pass/hash)
  • auth with aes key
  • saves TGT to a linux CCACHE file

getST: functional, impersonation works but needs more testing and cleanup in gokrb5

  • auth with user/pass
  • auth with user/hash
  • auth with kerberos (pass/hash/TGT)
  • auth with aes key
  • impersonation/S4U2Self/S4U2Proxy
  • force forwardable
  • saves ST to a linux CCACHE file

SMB:

  • SMB Connection
  • auth with user/pass
  • auth with user/hash
  • auth with kerberos (pass/hash/ST/TGT)
  • SMB client

LDAP:

  • LDAP Connection
  • auth with user/pass
  • auth with user/hash
  • auth with kerberos (pass/hash/ST/TGT)
  • LDAP client
  • findDelegation
  • RBCD

DCERPC:

  • SMB transport (support from jfjallid/go-smb)
  • breakout DCERPC funtionality so it can be used with other transports
  • RPC client
  • other transports (TCP/UDP)

References:

Kerb stuff is based on forks of https://github.com/jcmturner/gokrb5, the version in this repo has added support for CCACHE files, mainly exporting and the ability to auth with an ST without a TGT.

SMB is currently based on:https://github.com/lorenz/go-smb2 see the newsmb branch for testing with https://github.com/jfjallid/go-smb

Other SMB projects to keep an eye on:

LDAP is based on a fork of https://github.com/go-ldap/ldap/v3 -> https://github.com/synzack/ldap/v3

About

Attempt at a pure go impacket implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages