Invoke-Obfuscation COMPRESS OBFUSCATION - PowerShell Module
testmediumlog source: windows · ps_moduleauthor Timur Zinniatullin, oscd.communitydate 2020-10-18
01
description
What this is, in brief.
Detects Obfuscated Powershell via COMPRESS OBFUSCATION
02
tags
attack.stealthattack.t1027attack.executionattack.t1059.001
03
rule source (YAML)
title: Invoke-Obfuscation COMPRESS OBFUSCATION - PowerShell Module
id: 7034cbbb-cc55-4dc2-8dad-36c0b942e8f1
related:
- id: 20e5497e-331c-4cd5-8d36-935f6e2a9a07
type: derived
status: test
description: Detects Obfuscated Powershell via COMPRESS OBFUSCATION
references:
- https://github.com/SigmaHQ/sigma/issues/1009 # (Task 19)
author: Timur Zinniatullin, oscd.community
date: 2020-10-18
modified: 2022-11-29
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
product: windows
category: ps_module
definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
selection_4103:
Payload|contains|all:
- 'new-object'
- 'text.encoding]::ascii'
Payload|contains:
- 'system.io.compression.deflatestream'
- 'system.io.streamreader'
Payload|endswith: 'readtoend'
condition: selection_4103
falsepositives:
- Unknown
level: medium
04
detects techniques (2)
ATT&CK techniques this enables or maps to.
05
references
External citations — patches, advisories, analysis.