Group Policy Modification

T1484.001

Sub-technique of T1484 Domain or Tenant Policy Modification.View on attack.mitre.org

About this technique

Adversaries may modify Group Policy Objects (GPOs) to subvert the intended discretionary access controls for a domain, usually with the intention of escalating privileges on the domain. Group policy allows for centralized management of user and computer settings in Active Directory (AD). GPOs are containers for group policy settings made up of files stored within a predictable network path `\<DOMAIN>\SYSVOL\<DOMAIN>\Policies\`.

Like other objects in AD, GPOs have access controls associated with them. By default all user accounts in the domain have permission to read GPOs. It is possible to delegate GPO access control permissions, e.g. write access, to specific users or groups in the domain.

Malicious GPO modifications can be used to implement many other malicious behaviors such as Scheduled Task/Job, Disable or Modify Tools, Ingress Tool Transfer, Create Account, Service Execution, and more. Since GPOs can control so many user and machine settings in the AD environment, there are a great number of potential attacks that can stem from this GPO abuse.

For example, publicly available scripts such as New-GPOImmediateTask can be leveraged to automate the creation of a malicious Scheduled Task/Job by modifying GPO settings, in this case modifying &lt;GPO_PATH&gt;\Machine\Preferences\ScheduledTasks\ScheduledTasks.xml. In some cases an adversary might modify specific user rights like SeEnableDelegationPrivilege, set in &lt;GPO_PATH&gt;\MACHINE\Microsoft\Windows NT\SecEdit\GptTmpl.inf, to achieve a subtle AD backdoor with complete control of the domain because the user account under the adversary's control would then be able to modify GPOs.

Detection rules16

Rules on DetectionCode tagged with T1484.001.

Sigma6

RuleLevelLog source
Group Policy Abuse for Privilege Additionmediumwindows / NULL
Modify Group Policy Settingsmediumwindows / process_creation
Modify Group Policy Settings - ScriptBlockLoggingmediumwindows / ps_script
Startup/Logon Script Added to Group Policy Objectmediumwindows / NULL
Windows Default Domain GPO Modificationmediumwindows / NULL
Windows Default Domain GPO Modification via GPMEmediumwindows / process_creation

Splunk10

RuleTypeRiskData source
Windows AD GPO DeletedTTPNULLWindows Event Log Security 5136
Windows AD GPO DisabledTTPNULLWindows Event Log Security 5136
Windows AD GPO New CSE AdditionTTPNULLWindows Event Log Security 5136
Windows AD Suspicious GPO ModificationTTPNULLWindows Event Log Security 5136, Windows Event Log Security 5145
Windows Admon Default Group Policy Object ModifiedTTPNULLWindows Active Directory Admon
Windows Admon Group Policy Object CreatedTTPNULLWindows Active Directory Admon
Windows Default Group Policy Object ModifiedTTPNULLWindows Event Log Security 5136
Windows Default Group Policy Object Modified with GPMETTPNULLSysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2
Windows Group Policy Object CreatedTTPNULLWindows Event Log Security 5136, Windows Event Log Security 5137
Windows Scheduled Task Created in a Group Policy ObjectTTPNULLWindows Event Log Security 5145

Groups5

Software8

Campaigns3

Procedure examples16

Groups5

Used byProcedure example
GroupAPT41

APT41 used scheduled tasks created via Group Policy Objects (GPOs) to deploy ransomware.

GroupCinnamon Tempest

Cinnamon Tempest has used Group Policy to deploy batch scripts for ransomware deployment.

GroupIndrik Spider

Indrik Spider has used Group Policy Objects to deploy batch scripts.

GroupStorm-0501

Storm-0501 distributed Group Policy Objects to tamper with security products.

GroupVOID MANTICORE

VOID MANTICORE had utilized Group Policy logon scripts to distribute the malicious payloads to victim devices through the execution of a batch file.

Software8

Used byProcedure example
MalwareEgregor

Egregor can modify the GPO to evade detection.

ToolEmpire

Empire can use New-GPOImmediateTask to modify a GPO that will install and execute a malicious Scheduled Task/Job.

MalwareHermeticWiper

HermeticWiper has the ability to deploy through an infected system's default domain policy.

MalwareLockBit 2.0

LockBit 2.0 can modify Group Policy to disable Windows Defender and to automatically infect devices in Windows domains.

MalwareLockBit 3.0

LockBit 3.0 can enable options for propogation through Group Policy Objects.

MalwareMeteor

Meteor can use group policy to push a scheduled task from the AD to all network machines.

MalwarePrestige

Prestige has been deployed using the Default Domain Group Policy Object from an Active Directory Domain Controller.

MalwareQilin

Qilin has pushed a scheduled task via a Group Policy Object for payload execution.

Campaigns3

Used byProcedure example
Campaign2022 Ukraine Electric Power Attack

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Group Policy Objects (GPOs) to deploy and execute malware.

Campaign2025 Poland Wiper Attacks

During the 2025 Poland Wiper Attacks, the adversaries had leveraged Group Policy Objects to distribute wiper malware to victim devices through a network share.

CampaignSharePoint ToolShell Exploitation

During SharePoint ToolShell Exploitation, threat actors, including Storm-2603, modified group policy to enable ransomware distribution.

References7

  1. ADSecurity GPO Persistence 2016 Open source
    Metcalf, S. (2016, March 14). Sneaky Active Directory Persistence #17: Group Policy. Retrieved March 5, 2019.
  2. Harmj0y Abusing GPO Permissions Open source
    Schroeder, W. (2016, March 17). Abusing GPO Permissions. Retrieved September 23, 2024.
  3. Harmj0y SeEnableDelegationPrivilege Right Open source
    Schroeder, W. (2017, January 10). The Most Dangerous User Right You (Probably) Have Never Heard Of. Retrieved September 23, 2024.
  4. Mandiant M Trends 2016 Open source
    Mandiant. (2016, February 25). Mandiant M-Trends 2016. Retrieved November 17, 2024.
  5. Microsoft Hacking Team Breach Open source
    Microsoft Secure Team. (2016, June 1). Hacking Team Breach: A Cyber Jurassic Park. Retrieved March 5, 2019.
  6. TechNet Group Policy Basics Open source
    srachui. (2012, February 13). Group Policy Basics – Part 1: Understanding the Structure of a Group Policy Object. Retrieved March 5, 2019.
  7. Wald0 Guide to GPOs Open source
    Robbins, A. (2018, April 2). A Red Teamer’s Guide to GPOs and OUs. Retrieved March 5, 2019.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.