Detectionlowexperimental

DMSA Link Attributes Modified

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.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Swachchhanda Shrawan Poudel (Nextron Systems)Created Sat May 249b111d8e-92e0-4153-88bc-daefc1333abawindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Detection Logic
Detection Logic1 selector
detection:
    selection:
        ScriptBlockText|contains|all:
            - '.Put("msDS-ManagedAccountPrecededByLink'
            - 'CN='
    condition: selection
False Positives

Legitimate administrative tasks modifying these attributes.

Related Rules
Similar

6c9eb492-e477-4df9-b0f4-571fc9db29cd

Rule not found
Rule Metadata
Rule ID
9b111d8e-92e0-4153-88bc-daefc1333aba
Status
experimental
Level
low
Type
Detection
Created
Sat May 24
Path
rules/windows/powershell/powershell_script/posh_ps_modification_of_dmsa_link_attribute.yml
Raw Tags
attack.privilege-escalationattack.defense-evasionattack.persistenceattack.initial-accessattack.t1078.002attack.t1098
View on GitHub