Detection rules › Elastic

dMSA Account Creation by an Unusual User

Author
Elastic
Source
upstream

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.

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1078 Valid Accounts, T1078.002 Valid Accounts: Domain Accounts
PersistenceT1078 Valid Accounts, T1078.002 Valid Accounts: Domain Accounts, T1098 Account Manipulation, T1136 Create Account, T1136.002 Create Account: Domain Account
Privilege EscalationT1078 Valid Accounts, T1078.002 Valid Accounts: Domain Accounts, T1098 Account Manipulation
Defense EvasionT1078 Valid Accounts, T1078.002 Valid Accounts: Domain Accounts

Event coverage

ProviderEvent IDTitle
Security-Auditing5137A directory service object was created.

Stages and Predicates

Stage 1: kql:new_terms

winlog.event_data.ObjectClass:"msDS-DelegatedManagedServiceAccount"

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
winlog.event_data.ObjectClasseq
  • msDS-DelegatedManagedServiceAccount