Invoke-Obfuscation Via Stdin

Detects Obfuscated Powershell via Stdin in Scripts

Sigma rule (View on GitHub)

 1title: Invoke-Obfuscation Via Stdin
 2id: 9c14c9fa-1a63-4a64-8e57-d19280559490
 3status: test
 4description: Detects Obfuscated Powershell via Stdin in Scripts
 5references:
 6    - https://github.com/SigmaHQ/sigma/issues/1009 # (Task28)
 7author: Nikita Nazarov, oscd.community
 8date: 2020-10-12
 9modified: 2024-04-16
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|re: '(?i)(set).*&&\s?set.*(environment|invoke|\$\{?input).*&&.*"'
21    condition: selection
22falsepositives:
23    - Unknown
24level: high

References

Related rules

to-top