SharpLDAP is a tool written in C# that aims to do enumeration via LDAP queries
SharpLDAP can be used with custom queries with "CUSTOM" parameter or with the parameters specified below.
Also can be used with standalone executable or Cobalt Strike's execute-assembly.
Sending Custom Queries:
SharpLDAP.exe dcname.local CUSTOM "LDAPQUERY"
ex: SharpLDAP.exe dcname.local CUSTOM "(&(objectCategory=Computer)(userAccountControl:1.2.840.113556.1.4.803:=8192))"
Enumerating Domain Admins:
SharpLDAP.exe dcname.local DA
Enumerating Enterprise Admins:
SharpLDAP.exe dcname.local EA
Enumerating Organizational Units:
SharpLDAP.exe dcname.local Ou
Enumerating Domain Controllers:
SharpLDAP.exe dcname.local DC
Enumerating Service Accounts:
SharpLDAP.exe dcname.local SERVICE
Enumerating Members of Spesific Group:
SharpLDAP.exe dcname.local GroupMembers "Group Name"
Enumerating Users:
SharpLDAP.exe dcname.local Users
Enumerating Computers:
SharpLDAP.exe dcname.local Computers