Detectionhightest
Invoke-Obfuscation Via Stdin - PowerShell Module
Detects Obfuscated Powershell via Stdin in Scripts
Nikita Nazarov, oscd.communityCreated 2020-10-12Updated 2024-04-05c72aca44-8d52-45ad-8f81-f96c4d3c755ewindows
Log Source
WindowsPowerShell Module
ProductWindows← raw: windows
CategoryPowerShell Module← raw: ps_module
Definition
0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
Detection Logic
Detection Logic1 selector
detection:
selection_4103:
Payload|re: '(?i)(set).*&&\s?set.*(environment|invoke|\$?\{?input).*&&.*"'
condition: selection_4103False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Techniques
Sub-techniques
Rule Metadata
Rule ID
c72aca44-8d52-45ad-8f81-f96c4d3c755e
Status
test
Level
high
Type
Detection
Created
2020-10-12
Modified
2024-04-05
Author
Path
rules/windows/powershell/powershell_module/posh_pm_invoke_obfuscation_via_stdin.yml
Raw Tags
attack.stealthattack.t1027attack.executionattack.t1059.001