Invoke-Obfuscation COMPRESS OBFUSCATION

Detects Obfuscated Powershell via COMPRESS OBFUSCATION

Sigma rule (View on GitHub)

 1title: Invoke-Obfuscation COMPRESS OBFUSCATION
 2id: 7eedcc9d-9fdb-4d94-9c54-474e8affc0c7
 3status: test
 4description: Detects Obfuscated Powershell via COMPRESS OBFUSCATION
 5references:
 6    - https://github.com/SigmaHQ/sigma/issues/1009 # (Task 19)
 7author: Timur Zinniatullin, oscd.community
 8date: 2020/10/18
 9modified: 2022/12/29
10tags:
11    - attack.defense_evasion
12    - attack.t1027
13    - attack.execution
14    - attack.t1059.001
15logsource:
16    category: process_creation
17    product: windows
18detection:
19    selection:
20        CommandLine|contains|all:
21            - 'new-object'
22            - 'text.encoding]::ascii'
23        CommandLine|contains:
24            - 'system.io.compression.deflatestream'
25            - 'system.io.streamreader'
26            - 'readtoend('
27    condition: selection
28falsepositives:
29    - Unknown
30level: medium

References

Related rules

to-top