Suspicious Active Directory Computer Enumeration via Get-ADComputer Export to CSV (via ps_script)

PremiumReviewedSigma · Medium · v1
Product
windows
Category
ps_script
Author
HuntRule
Published
2026-10-30
Updated
2026-10-30

ATT&CK techniques

Discovery
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects PowerShell importing the ActiveDirectory module and running Get-ADComputer with an export of results to a CSV file, the domain-inventory reconnaissance performed in this multi-gang intrusion to catalog hosts before lateral movement. Adversaries dump computer objects with descriptions and operating-system fields to plan their spread, so Get-ADComputer piped into Export-CSV outside routine administration is a reconnaissance indicator.

Related detections9 linkedT1018 — drag to rearrange
Malicious IcedID AdFind Active Directory Reconnaissance via Command Line
Suspicious SOAPHound Style LDAP Query with SDflags and all_with_list via security
Suspicious Remote Connection to ADWS Port 9389 via security
Suspicious AdFind Active Directory Reconnaissance Tool Execution (via process_creation)
Suspicious Active Directory Enumeration via ADWS PowerShell Cmdlets via ps_script
Windows Process Creation: Renamed AdFind.exe Executions
PowerShell: Active Directory computer enumeration via Get-AdComputer
Windows Process Creation: AdFind Executed with Suspicious Recon Flags
Windows Process Creation: Execution of Net.exe or Net1.exe
Suspicious Active Directory Computer Enumeration via Get-ADComputer Export to CSV (via ps_script)
Pivot detection · T1018 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.