pentesting, updated

AS-REP roasting

Request and crack the AS-REP for any account with Kerberos pre-authentication disabled, with no credentials needed.

Goal

Recover crackable password hashes for accounts that do not require Kerberos pre-authentication, from an unauthenticated position.

How to test

impacket-GetNPUsers corp.local/ -usersfile users.txt -no-pass -format hashcat   # see [Impacket](/docs/pentest-cheatsheets/tools/network/impacket)
impacket-GetNPUsers corp.local/jdoe:Password1 -request   # authenticated: request for every user
hashcat -m 18200 asrep_hashes.txt rockyou.txt              # crack offline

What to look for

Any returned AS-REP hash — the finding is “pre-authentication disabled” by itself, cracking the hash afterward is a bonus that may yield direct credentials.

Notes

Needs either a known list of usernames or an authenticated session to enumerate them first — see Enumerate domain objects.

§ home
~/knubertus/home/
1,1 Top