Detectionhightest
Invoke-Obfuscation STDIN+ Launcher - Security
Detects Obfuscated use of stdin to execute PowerShell
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Jonathan Cheong, oscd.communityCreated Thu Oct 15Updated Tue Nov 290c718a5e-4284-4fb9-b4d9-b9a50b3a1974windows
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security
Definition
The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
Detection Logic
Detection Logic3 selectors
detection:
selection:
EventID: 4697
ServiceFileName|contains|all:
- 'cmd'
- 'powershell'
selection2:
ServiceFileName|contains:
- '${input}'
- 'noexit'
selection3:
ServiceFileName|contains:
- ' /c '
- ' /r '
condition: all of selection*False 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
0c718a5e-4284-4fb9-b4d9-b9a50b3a1974
Status
test
Level
high
Type
Detection
Created
Thu Oct 15
Modified
Tue Nov 29
Author
Path
rules/windows/builtin/security/win_security_invoke_obfuscation_stdin_services_security.yml
Raw Tags
attack.defense-evasionattack.t1027attack.executionattack.t1059.001