Invoke-Obfuscation STDIN+ Launcher - PowerShell Module

Detects Obfuscated use of stdin to execute PowerShell

Sigma rule (View on GitHub)

 1title: Invoke-Obfuscation STDIN+ Launcher - PowerShell Module
 2id: 9ac8b09b-45de-4a07-9da1-0de8c09304a3
 3related:
 4    - id: 779c8c12-0eb1-11eb-adc1-0242ac120002
 5      type: derived
 6status: test
 7description: Detects Obfuscated use of stdin to execute PowerShell
 8references:
 9    - https://github.com/SigmaHQ/sigma/issues/1009  # (Task 25)
10author: Jonathan Cheong, oscd.community
11date: 2020/10/15
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: 'cmd.{0,5}(?:/c|/r).+powershell.+(?:\$\{?input\}?|noexit).+"'
25    condition: selection_4103
26falsepositives:
27    - Unknown
28level: high

References

Related rules

to-top