Credential Access (TA0006)(external, opens in a new tab or window)
Privilege Escalation (TA0004)(external, opens in a new tab or window)
text code block:host.os.type:"windows" and event.code:"4662" and winlog.event_data.Properties:( *DS-Replication-Get-Changes* or *DS-Replication-Get-Changes-All* or *DS-Replication-Get-Changes-In-Filtered-Set* or *1131f6ad-9c07-11d1-f79f-00c04fc2dcd2* or *1131f6aa-9c07-11d1-f79f-00c04fc2dcd2* or *89e95b76-444d-4c62-991a-0facbeda640c* ) and winlog.event_data.AccessMask : "0x100" and not winlog.event_data.SubjectUserName:(*$ or MSOL_*)
Install detection rules in Elastic Security
Detect Potential Credential Access via DCSync in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).