Sigma rule: Gzip Archive Decode Via PowerShell

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f3b97eb4b465, updated 2023-03-13T00:00:00.000Z.

Rule

Title
Gzip Archive Decode Via PowerShell
Status
test
Level
medium
Author
Hieu Tran
Date
2023-03-13
File
rules/windows/process_creation/proc_creation_win_powershell_decode_gzip.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempts of decoding encoded Gzip archives via PowerShell.

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|contains|all:
        - 'GZipStream'
        - '::Decompress'
condition: selection

False positives (as the rule lists them)

  • Legitimate administrative scripts may use this functionality. Use "ParentImage" in combination with the script names and allowed users and applications to filter legitimate executions

Tags

  • attack.command-and-control
  • attack.t1132.001

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/process_creation/proc_creation_win_powershell_decode_gzip.yml

Sources and licences

  • SigmaHQ

    "Gzip Archive Decode Via PowerShell" by Hieu Tran (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_decode_gzip.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: Gzip Archive Decode Via PowerShell",
entity page, dataset version ref-f3b97eb4b465, updated 2023-03-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/98767d61-b2e8-4d71-b661-e36783ee24c1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 98767d61-b2e8-4d71-b661-e36783ee24c1, 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.