← All field notes
active directorygroup policyransomwarefor administrators

Group Policy as a ransomware delivery system

An attacker who can edit a widely-linked GPO can push a payload or disable defenses across the domain at once. Here is the pre-stage to detect and how to protect Group Policy.

Attack flow
1Compromise a privileged account
2Edit a Group Policy Object
3Push the payload domain-wide
4Disable defenses fleet-wide
5Mass ransomware deployment
Seen in the wildLockBitConti (Wizard Spider)

A Group Policy Object linked to thousands of machines is, to an attacker, a domain-wide code-execution channel that you built and trust. That is exactly why ransomware crews reach for it.

The technique

An attacker who can edit a broadly-linked GPO, such as the Default Domain Policy, can add a scheduled task or a startup script that runs their payload on every computer the GPO applies to, or change settings to disable antivirus and tamper protection across the domain. It is the pre-stage that turns a single foothold into simultaneous, domain-wide impact at the moment of their choosing. In ATT&CK terms this is T1484.001, Group Policy Modification.

Why it works

GPO edit rights are often delegated too broadly, and the highest-blast-radius policies, the Default Domain and Default Domain Controllers policies, are rarely treated as the Tier 0 assets they are.

How to detect it

Audit directory object modifications on GPO objects (Events 5136 and 5137), watch for changes to gPCMachineExtensionNames and for new or modified files in SYSVOL, and alert on any edit to the Default Domain Policy. A GPO version number that increments when no change was scheduled is a strong signal.

How to protect Group Policy

Restrict who can edit GPOs, and lock down the Default Domain and Default Domain Controllers policies in particular. Scope policies with security filtering and WMI filters so a single edit cannot hit everything. Require change control with dual approval for high-impact GPOs. Monitor GPO and SYSVOL changes, and keep backups so you can diff and roll back.

Practice it

We built a GPO ransomware pre-stage scenario in GraphLattice Range so administrators catch the weaponized policy change and harden Group Policy before it is abused.