Invoke-Obfuscation Via Stdin - PowerShell Module

Detects Obfuscated Powershell via Stdin in Scripts

Sigma rule (View on GitHub)

 1title: Invoke-Obfuscation Via Stdin - PowerShell Module
 2id: c72aca44-8d52-45ad-8f81-f96c4d3c755e
 3related:
 4    - id: 86b896ba-ffa1-4fea-83e3-ee28a4c915c7
 5      type: derived
 6status: test
 7description: Detects Obfuscated Powershell via Stdin in Scripts
 8references:
 9    - https://github.com/SigmaHQ/sigma/issues/1009  # (Task28)
10author: Nikita Nazarov, oscd.community
11date: 2020-10-12
12modified: 2024-04-05
13tags:
14    - attack.defense-evasion
15    - attack.t1027
16    - attack.execution
17    - attack.t1059.001
18logsource:
19    product: windows
20    category: ps_module
21    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
22detection:
23    selection_4103:
24        Payload|re: '(?i)(set).*&&\s?set.*(environment|invoke|\$?\{?input).*&&.*"'
25    condition: selection_4103
26falsepositives:
27    - Unknown
28level: high

References

Related rules

to-top