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 Domain and Enterprise Admins Group Addition via net group Domain Add (via process_creation)
Suspicious Route53 Domain Transfer Lock Disabled via Scattered Spider Technique
Suspicious Domain Admin Account Creation via net (via process_creation)
Suspicious Guest Account Privilege Escalation (via process_creation)
Suspicious Login Shell Assigned to Service Account games on Linux
Suspicious dMSA Object Access with Migration AccessMask
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.