Sigma rule: Invoke-Obfuscation COMPRESS OBFUSCATION

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

Rule

Title
Invoke-Obfuscation COMPRESS OBFUSCATION
Status
test
Level
medium
Author
Timur Zinniatullin, oscd.community
Date
2020-10-18
Modified
2022-12-29
File
rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_compress.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects Obfuscated Powershell via COMPRESS OBFUSCATION

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|contains|all:
        - 'new-object'
        - 'text.encoding]::ascii'
    CommandLine|contains:
        - 'system.io.compression.deflatestream'
        - 'system.io.streamreader'
        - 'readtoend('
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1027
  • attack.execution
  • attack.t1059.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_hktl_invoke_obfuscation_via_compress.yml

Sources and licences

  • SigmaHQ

    "Invoke-Obfuscation COMPRESS OBFUSCATION" by Timur Zinniatullin, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_compress.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: Invoke-Obfuscation COMPRESS OBFUSCATION",
entity page, dataset version ref-e13c4b445b7c, updated 2022-12-29T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7eedcc9d-9fdb-4d94-9c54-474e8affc0c7 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7eedcc9d-9fdb-4d94-9c54-474e8affc0c7, 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.