Sigma rule: Automated Collection Command PowerShell

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

Rule

Title
Automated Collection Command PowerShell
Status
test
Level
medium
Author
frack113
Date
2021-07-28
Modified
2022-12-25
File
rules/windows/powershell/powershell_script/posh_ps_automated_collection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Once established within a system or network, an adversary may use automated techniques for collecting internal data.

Log source

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

Detection

selection_ext:
    ScriptBlockText|contains:
        - '.doc'
        - '.docx'
        - '.xls'
        - '.xlsx'
        - '.ppt'
        - '.pptx'
        - '.rtf'
        - '.pdf'
        - '.txt'
selection_cmd:
    ScriptBlockText|contains|all:
        - 'Get-ChildItem'
        - ' -Recurse '
        - ' -Include '
condition: all of selection*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.collection
  • attack.t1119

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

Sources and licences

  • SigmaHQ

    "Automated Collection Command PowerShell" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_automated_collection.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: Automated Collection Command PowerShell",
entity page, dataset version ref-fab8c15bab6c, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c1dda054-d638-4c16-afc8-53e007f3fbc5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c1dda054-d638-4c16-afc8-53e007f3fbc5, 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.