MITRE ATT&CKsub-technique
T1484.001 Group Policy Modification
- Domain
- enterprise
- Tactics
- Defense Impairment, Privilege Escalation
- Platforms
- Windows
- Version
- 2.0
- Created
- 2020-12-28
Description
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 `\\SYSVOL\\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 <GPO_PATH>\Machine\Preferences\ScheduledTasks\ScheduledTasks.xml. In some cases an adversary might modify specific user rights like SeEnableDelegationPrivilege, set in <GPO_PATH>\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.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1484 Domain or Tenant Policy Modification technique
Referenced by MITRE ATT&CK · mitigates (2)
Referenced by MITRE ATT&CK · uses (17)
- S9051 The Gentlemen Ransomware software (malware)
- C0063 2025 Poland Wiper Attacks campaign
- G1055 VOID MANTICORE group
- G1053 Storm-0501 group
- C0058 SharePoint ToolShell Exploitation campaign
- S1242 Qilin software (malware)
- S1202 LockBit 3.0 software (malware)
- S1199 LockBit 2.0 software (malware)
- C0034 2022 Ukraine Electric Power Attack campaign
- G1021 Cinnamon Tempest group
- S1058 Prestige software (malware)
- S0697 HermeticWiper software (malware)
- S0688 Meteor software (malware)
- G0119 Indrik Spider group
- S0554 Egregor software (malware)
- G0096 APT41 group
- S0363 Empire software (tool)
References
- https://web.archive.org/web/20211024160454/https://www.fireeye.com/content/dam/fireeye-www/current-threats/pdfs/rpt-mtrends-2016.pdf Mandiant M Trends 2016
- https://adsecurity.org/?p=2716 ADSecurity GPO Persistence 2016
- https://www.microsoft.com/security/blog/2016/06/01/hacking-team-breach-a-cyber-jurassic-park/ Microsoft Hacking Team Breach
- https://wald0.com/?p=179 Wald0 Guide to GPOs
- https://blog.harmj0y.net/redteaming/abusing-gpo-permissions/ Harmj0y Abusing GPO Permissions
- https://blog.harmj0y.net/activedirectory/the-most-dangerous-user-right-you-probably-have-never-heard-of/ Harmj0y SeEnableDelegationPrivilege Right
- https://blogs.technet.microsoft.com/musings_of_a_technical_tam/2012/02/13/group-policy-basics-part-1-understanding-the-structure-of-a-group-policy-object/ TechNet Group Policy Basics