Windows PowerShell: DSInternals Get-ADReplAccount Enumeration

Alerts on PowerShell execution of Get-ADReplAccount with -All and -Server parameters for AD replication account enumeration.

FreeReviewedSigma · Medium · v2
Product
windows
Category
ps_script
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-02-06
Updated
2026-07-31

ATT&CK techniques

Cred Access
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags PowerShell script block content that includes a Get-ADReplAccount call with -All and -Server parameters. Such enumeration can help an attacker gather Active Directory replication account information for credential access and further targeting. It relies on Script Block Logging telemetry that captures the executed PowerShell command text.

Related detections9 linkedT1003.006 — drag to rearrange
Malicious DCSync Domain Replication Credential Theft (via process_creation)
Malicious Exchange Group Membership Change to Perform DCsync Attack (via security)
Suspicious Computer Account Password Reset via net user by UNC1549
Malicious Active Directory Replication Request Indicating DCSync
Malicious Replication Privileges Accessed to Perform DCSync Attack (via security)
Windows Process Creation: Detect Mimikatz Tool and Module Command-Line Usage
Windows Security: AD object replication attempted by non-machine account (Event ID 4662)
Windows System Service Execution of Credential Dumping Tools (Service Control Manager Event 7045)
Windows Security EID 4697 Service Execution of Credential Dumping Tools
Windows PowerShell: DSInternals Get-ADReplAccount Enumeration
Pivot detection · T1003.006 · 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.