Windows PowerShell Modifies dMSA msDS-ManagedAccountPrecededByLink Attributes

Flags PowerShell script content modifying msDS-ManagedAccountPrecededByLink (dMSA link attributes) via AD link changes.

FreeReviewedSigma · Low · 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 script text that modifies dMSA link attributes by targeting msDS-ManagedAccountPrecededByLink. Attackers may abuse directory link attributes to establish or alter relationships that can support privilege escalation or persistence. It relies on PowerShell ScriptBlockText telemetry to match specific string fragments indicating the targeted attribute and distinguished name components.

Related detections9 linkedT1098 — drag to rearrange
Malicious Domain Admin Account Escalation via net group (via process_creation)
PowerShell dMSA Service Account Creation in Target OUs via New-ADServiceAccount
Windows: New-ADServiceAccount Creates Delegated Service Account in Target OUs
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)
Windows PowerShell Modifies dMSA msDS-ManagedAccountPrecededByLink Attributes
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.