Skip to content
← RegistryDossier · 5 steps · 4 edges

GPO write rights → Immediate scheduled task → SYSTEM on OU

GenericWrite on a linked GPO (or write rights to its SYSVOL folder) lets you drop a ScheduledTasks.xml that fires as SYSTEM on every machine in the OU at the next gpupdate.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: attacker has GenericWrite on a GPO object or write rights on the SYSVOL\Policies\{GUID}\ folder. The GPO is linked to a target OU (e.g. Domain Controllers, Servers).

§ Steps

  1. 01
    Principal w/ rights on a GPOInitial Access
    T1078Valid Accounts
  2. 02
    SYSTEM exec on every targeted hostExecution
    T1059Command and Scripting Interpreter
  3. 03
    Wait for gpupdate (≤90 min)Execution
    T1053Scheduled Task/Job

    Or trigger via remote gpupdate /force.

  4. 04
    Identify writable + linked GPODiscovery
    AD-BLOODHOUNDBloodHound / SharpHound Enumeration

    BloodHound GenericWrite/AllExtendedRights edge → OU

  5. 05
    Drop Immediate Scheduled Task XMLPrivilege Escalation
    AD-GPO-IMMEDIATEGPO Immediate Scheduled Task

    SharpGPOAbuse --AddComputerTask --GPOName <gpo> --TaskName x --Author 'NT AUTHORITY\SYSTEM' --Command 'cmd.exe' --Arguments '/c …'

§ References

§ Frequently asked

What is the "GPO write rights → Immediate scheduled task → SYSTEM on OU" attack path?
GenericWrite on a linked GPO (or write rights to its SYSVOL folder) lets you drop a ScheduledTasks.xml that fires as SYSTEM on every machine in the OU at the next gpupdate. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Principal w/ rights on a GPO (T1078) — a initial access primitive. Assumed environment: attacker has GenericWrite on a GPO object or write rights on the SYSVOL\Policies\{GUID}\ folder.
What is the final impact of this kill-chain?
The final step lands on Drop Immediate Scheduled Task XML (AD-GPO-IMMEDIATE), which falls under Privilege Escalation. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers