5136 A directory service object was modified.
Windows Security auditingDS Access › Audit Directory Service Changeschecked by code
In Microsoft Sentinel
- Windows Security Events via AMA · Security Events via Legacy Agent →
SecurityEvent✓ verified by VeriKQLSecurityEvent | where EventID == 5136 - Windows Forwarded Events →
WindowsEvent✓ verified by VeriKQLWindowsEvent | where Channel == "Security" | where EventID == 5136
ATT&CK
T1134T1134.002T1134.005T1484T1484.001T1484.002T1556.007
In Content Hub rules
Used by 17 Content Hub rules that filter for it the way the starter queries do: SecurityEvent 17 · WindowsEvent 0
Rules that filter for it17
- AdminSDHolder Modifications
- Possible Resource-Based Constrained Delegation Abuse
- Service Principal Name (SPN) Assigned to User Account
- PROD (TM001.1) - GROUP - Added to Group Outside the Object Tier Level
- PROD (TM004.1) - OBJECT - Enabled, Disabled, Unlocked, or Password Reset of a Tier Level Object
- PROD (TM005.1) - GPO - Linked, Unlinked, or Enforced at Tier Level OU
- PROD (TM006.1) - ACL - Modified at Tier Level OU
- PROD (TM008.1) - GPO - Linked, Unlinked, or Enforced at Root of Domain
- PROD (TM009.1) - ACL - Modified at Root of the Domain
- PROD (TM011.1) - LAPS - Tier Level Computer Object LAPS Password Expiration Time Set Manually
- PROD (TM012.1) - GPO - Enforced Outside of Tier Model
- PROD (TM013.1) - OU - Block Inheritance was Enabled on an OU
- PROD (TM014.1) - GPO - Linked, Unlinked, or Enforced at the AD Site Level
- PROD (TM015.1) - ACL - Modified at KRBTGT or AdminSDHolder Object Level
- PROD (TM016.1) - GROUP - Added to Well-Known or Tier Model Group
- PROD (TM017.1) - GROUP - Tier 0 Added to Allow RODC Password Replication Group
- Exchange OAB Virtual Directory Attribute Containing Potential Webshell
In Sigma rules
10 SigmaHQ community rules name this event ID on this log.
- Active Directory User Backdoors
- Persistence and Execution at Scale via GPO Scheduled Task
- Possible Shadow Credentials Added
- Powerview Add-DomainObjectAcl DCSync AD Extend Right
- Suspicious LDAP-Attributes Used
- Group Policy Abuse for Privilege Addition
- Possible DC Shadow Attack
- Startup/Logon Script Added to Group Policy Object
- Potential Kerberos Coercion by Spoofing SPNs via DNS Manipulation
- Windows Default Domain GPO Modification
From Advanced Audit Policy Configuration (MicrosoftDocs/windowsserverdocs@ea29ceb, CC-BY-4.0).
Event names, messages and categories are © Microsoft, from Microsoft Learn's documentation sources, used under CC BY 4.0; each page links its source and the commit it was read at. Questions, groupings and notes are VeriKQL's own.