PowerShell dMSA Service Account Creation in Target OUs via New-ADServiceAccount

Alerts on PowerShell creating a delegated service account via New-ADServiceAccount with -CreateDelegatedServiceAccount and -path.

FreeReviewedSigma · Medium · v2
Product
windows
Category
ps_script
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-05-24
Updated
2026-07-31

ATT&CK techniques

Initial Access → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Execution

  4. Cred Access

  5. Discovery

  6. Lateral Movement

  7. Collection

  8. C2

  9. Exfiltration

  10. Impact

What it detects

This rule flags PowerShell activity where a script block contains New-ADServiceAccount along with -CreateDelegatedServiceAccount and -path parameters, indicating creation of a delegated managed service account in a specified OU. Attackers may abuse this account creation path to establish persistence or attempt privilege escalation in Active Directory environments. It relies on PowerShell script block text telemetry capturing the referenced cmdlet name and parameters.

Related detections9 linkedT1098 — drag to rearrange
Malicious Domain Admin Account Escalation via net group (via process_creation)
Windows: New-ADServiceAccount Creates Delegated Service Account in Target OUs
Windows PowerShell Modifies dMSA msDS-ManagedAccountPrecededByLink Attributes
Malicious Cluster-Admin Role Binding Creation (via audit)
Malicious User Password Change Using Current Hash Password - ChangeNTLM - Mimikatz (via security)
Suspicious Account Password Set to Never Expire. (via security)
Malicious Modification of a Computer Account SPN (via security)
Suspicious Massive Group Membership Changes (via security)
Malicious High Risk Active Directory Group Membership Change (via security)
PowerShell dMSA Service Account Creation in Target OUs via New-ADServiceAccount
Pivot detection · T1098 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.