Password Spraying - Making a Target User List ACTIVE Directory

Using enum4linux

SMB NULL Session to Pull User List

enum4linux -U 172.16.5.5  | grep "user:" | cut -f2 -d"[" | cut -f1 -d"]"
administrator
guest
krbtgt

Using rpcclient

SMB NULL Session to Pull User List

Using CrackMapExec --users Flag

SMB NULL Session to Pull User List

Gathering Users with LDAP Anonymous

  • Some examples include windapsearch and ldapsearch.

Using ldapsearch

Using windapsearch

windapsearch

Enumerating Users with Kerbrute

Credentialed Enumeration to Build our User List

  • With valid credentials,

    • can use any of the tools stated previously to build a user list. A quick and easy way is using CrackMapExec.

Using CrackMapExec with Valid Credentials

Last updated