Sigma rule: DMSA Link Attributes Modified

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

Rule

Title
DMSA Link Attributes Modified
Status
experimental
Level
low
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-05-24
File
rules/windows/powershell/powershell_script/posh_ps_modification_of_dmsa_link_attribute.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects modification of dMSA link attributes (msDS-ManagedAccountPrecededByLink) via PowerShell scripts.
This command line pattern could be an indicator an attempt to exploit the BadSuccessor privilege escalation vulnerability in Windows Server 2025.

Log source

product
windows
category
ps_script

Detection

selection:
    ScriptBlockText|contains|all:
        - '.Put("msDS-ManagedAccountPrecededByLink'
        - 'CN='
condition: selection

False positives (as the rule lists them)

  • Legitimate administrative tasks modifying these attributes.

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.initial-access
  • 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/powershell/powershell_script/posh_ps_modification_of_dmsa_link_attribute.yml

Sources and licences

  • SigmaHQ

    "DMSA Link Attributes Modified" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_modification_of_dmsa_link_attribute.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: DMSA Link Attributes Modified",
entity page, dataset version ref-da3f98fd120f, updated 2025-05-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9b111d8e-92e0-4153-88bc-daefc1333aba (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9b111d8e-92e0-4153-88bc-daefc1333aba, 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.