dMSA Account Creation by an Unusual User

Last updated 13 days ago on 2025-05-23
Created 13 days ago on 2025-05-23

About

Detects the creation of a delegated Managed Service Account by an unusual subject account. Attackers can abuse the dMSA account migration feature to elevate privileges abusing weak persmission allowing users child objects rights or msDS-DelegatedManagedServiceAccount rights.
Tags
Domain: EndpointOS: WindowsUse Case: Threat DetectionTactic: Privilege EscalationUse Case: Active Directory MonitoringData Source: Active DirectoryData Source: Windows Security Event LogsLanguage: kuery
Severity
high
Risk Score
73
MITRE ATT&CK™

Privilege Escalation (TA0004)(opens in a new tab or window)

License
Elastic License v2(opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
winlogbeat-*logs-system.security*logs-windows.forwarded*
Related Integrations

system(opens in a new tab or window)

windows(opens in a new tab or window)

Query
event.code:5137 and winlog.event_data.ObjectClass:"msDS-DelegatedManagedServiceAccount"

Install detection rules in Elastic Security

Detect dMSA Account Creation by an Unusual User 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(opens in a new tab or window).