Sigma rule: Active Directory Computers Enumeration With Get-AdComputer
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6fcaeb868a8b, updated 2023-07-08T00:00:00.000Z.
Rule
- Title
- Active Directory Computers Enumeration With Get-AdComputer
- Status
- test
- Level
- low
- Author
- frack113
- Date
- 2022-03-17
- Modified
- 2023-07-08
- File
- rules/windows/powershell/powershell_script/posh_ps_get_adcomputer.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects usage of the "Get-AdComputer" to enumerate Computers or properties within Active Directory.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection_cmdlet:
ScriptBlockText|contains: 'Get-AdComputer '
selection_option:
ScriptBlockText|contains:
- '-Filter '
- '-LDAPFilter '
- '-Properties '
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.discovery
- attack.t1018
- attack.t1087.002
MITRE ATT&CK ids this rule names
References
- https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md
- https://github.com/redcanaryco/atomic-red-team/blob/02cb591f75064ffe1e0df9ac3ed5972a2e491c97/atomics/T1087.002/T1087.002.md
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_adcomputer.yml
Sources and licences
SigmaHQ
"Active Directory Computers Enumeration With Get-AdComputer" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_get_adcomputer.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Active Directory Computers Enumeration With Get-AdComputer",
entity page, dataset version ref-6fcaeb868a8b, updated 2023-07-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/36bed6b2-e9a0-4fff-beeb-413a92b86138 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 36bed6b2-e9a0-4fff-beeb-413a92b86138, 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.