Sigma rule: Suspicious Get-ADReplAccount

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-becf72de856e, updated 2022-02-06T00:00:00.000Z.

Rule

Title
Suspicious Get-ADReplAccount
Status
test
Level
medium
Author
frack113
Date
2022-02-06
File
rules/windows/powershell/powershell_script/posh_ps_get_adreplaccount.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

The DSInternals PowerShell Module exposes several internal features of Active Directory and Azure Active Directory.
These include FIDO2 and NGC key auditing, offline ntds.dit file manipulation, password auditing, DC recovery from IFM backups and password hash calculation.

Log source

product
windows
category
ps_script
definition
Requirements: Script Block Logging must be enabled

Detection

selection:
    ScriptBlockText|contains|all:
        - Get-ADReplAccount
        - '-All '
        - '-Server '
condition: selection

False positives (as the rule lists them)

  • Legitimate PowerShell scripts

Tags

  • attack.credential-access
  • attack.t1003.006

MITRE ATT&CK ids this rule names

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_get_adreplaccount.yml

Sources and licences

  • SigmaHQ

    "Suspicious Get-ADReplAccount" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_get_adreplaccount.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: Suspicious Get-ADReplAccount",
entity page, dataset version ref-becf72de856e, updated 2022-02-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/060c3ef1-fd0a-4091-bf46-e7d625f60b73 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 060c3ef1-fd0a-4091-bf46-e7d625f60b73, 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.