Sigma rule: New DMSA Service Account Created in Specific OUs

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6cf6f2fd3614, updated 2025-05-24T00:00:00.000Z.

Rule

Title
New DMSA Service Account Created in Specific OUs
Status
experimental
Level
medium
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-05-24
File
rules/windows/process_creation/proc_creation_win_create_new_dmsasvc_account.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of a dMSASvc account using the New-ADServiceAccount cmdlet in certain OUs.
The fact that the Cmdlet is used to create a dMSASvc account in a specific OU is highly suspicious.
It is a pattern trying to exploit the BadSuccessor privilege escalation vulnerability in Windows Server 2025.
On top of that, if the user that is creating the dMSASvc account is not a legitimate administrator or does not have the necessary permissions,
it is a strong signal of an attempted or successful abuse of the BaDSuccessor vulnerability for privilege escalation within the Windows Server 2025 Active Directory environment.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith:
          - '\powershell.exe'
          - '\pwsh.exe'
          - '\powershell_ise.exe'
    - OriginalFileName:
          - 'powershell.exe'
          - 'pwsh.dll'
          - 'powershell_ise.exe'
selection_cli:
    CommandLine|contains|all:
        - 'New-ADServiceAccount'
        - '-CreateDelegatedServiceAccount'
        - '-path'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.initial-access
  • attack.persistence
  • attack.stealth
  • attack.t1078.002
  • attack.t1098

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_create_new_dmsasvc_account.yml

Sources and licences

  • SigmaHQ

    "New DMSA Service Account Created in Specific OUs" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_create_new_dmsasvc_account.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: New DMSA Service Account Created in Specific OUs",
entity page, dataset version ref-6cf6f2fd3614, updated 2025-05-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0ea8db81-2ff6-4525-9448-33bbe7effc13 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0ea8db81-2ff6-4525-9448-33bbe7effc13, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.