Sigma rule: PowerShell Decompress Commands

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

Rule

Title
PowerShell Decompress Commands
Status
test
Level
informational
Author
Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
Date
2020-05-02
Modified
2022-12-25
File
rules/windows/powershell/powershell_module/posh_pm_decompress_commands.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

A General detection for specific decompress commands in PowerShell logs. This could be an adversary decompressing files.

Log source

product
windows
category
ps_module
definition
0ad03ef1-f21b-4a79-8ce8-e6900c54b65b

Detection

selection_4103:
    Payload|contains: 'Expand-Archive'
condition: selection_4103

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1140

MITRE ATT&CK ids this rule names

Related rules

  • 81fbdce6-ee49-485a-908d-1a728c5dcb09 (derived)

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_module/posh_pm_decompress_commands.yml

Sources and licences

  • SigmaHQ

    "PowerShell Decompress Commands" by Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_decompress_commands.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: PowerShell Decompress Commands",
entity page, dataset version ref-3623ec83fbac, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1ddc1472-8e52-4f7d-9f11-eab14fc171f5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1ddc1472-8e52-4f7d-9f11-eab14fc171f5, 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.