ADSearch
ADSearch is a C# tool designed to work seamlessly with C2 frameworks like Cobalt Strike and Sliver using execute-assembly
, enabling efficient and stealthy in-memory Active Directory enumeration. Unlike PowerShell-based tools like PowerView, which often rely on disk or process creation, ADSearch can be loaded directly into memory through the C2's implant. It supports custom LDAP queries, LDAPS connections, and JSON output for structured data collection.
AD Enumeration
# User enumeration
ADSearch.exe --users
# Same with LDAP query
ADSearch.exe '--search "(&(objectCategory=person)(objectClass=user))"'
# Filter attributes
ADSearch.exe '--search "(samaccountname=administrator)" --attributes cn,logoncount,description'
Last updated
Was this helpful?