Detectionhightest
Invoke-Obfuscation Via Stdin
Detects Obfuscated Powershell via Stdin in Scripts
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nikita Nazarov, oscd.communityCreated Mon Oct 12Updated Tue Apr 169c14c9fa-1a63-4a64-8e57-d19280559490windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
CommandLine|re: '(?i)(set).*&&\s?set.*(environment|invoke|\$\{?input).*&&.*"'
condition: selectionFalse 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
9c14c9fa-1a63-4a64-8e57-d19280559490
Status
test
Level
high
Type
Detection
Created
Mon Oct 12
Modified
Tue Apr 16
Author
Path
rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_via_stdin.yml
Raw Tags
attack.defense-evasionattack.t1027attack.executionattack.t1059.001