Invoke-Obfuscation STDIN+ Launcher - Security
Detects Obfuscated use of stdin to execute PowerShell
Detection logic
selection
EventID: 4697
ServiceFileName|contains|all:
- cmd
- powershellselection2
ServiceFileName|contains:
- ${input}
- noexitselection3
ServiceFileName|contains:
- " /c "
- " /r "Condition
all of selection*Raw YAML
title: Invoke-Obfuscation STDIN+ Launcher - Security
id: 0c718a5e-4284-4fb9-b4d9-b9a50b3a1974
related:
- id: 72862bf2-0eb1-11eb-adc1-0242ac120002
type: derived
status: test
description: Detects Obfuscated use of stdin to execute PowerShell
references:
- https://github.com/SigmaHQ/sigma/issues/1009 # (Task 25)
author: Jonathan Cheong, oscd.community
date: 2020-10-15
modified: 2022-11-29
tags:
- attack.stealth
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
product: windows
service: security
definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
selection:
EventID: 4697
ServiceFileName|contains|all:
- 'cmd'
- 'powershell'
selection2:
ServiceFileName|contains:
- '${input}'
- 'noexit'
selection3:
ServiceFileName|contains:
- ' /c '
- ' /r '
condition: all of selection*
falsepositives:
- Unknown
level: highFalse positives
- Unknown
References
Related rules
Similar rules
Base64 Encoded PowerShell Command Detected
highwindows · Shares T1027, T1059
ConvertTo-SecureString Cmdlet Usage Via CommandLine
mediumwindows · Shares T1027, T1059
Invoke-Obfuscation CLIP+ Launcher
highwindows · Shares T1027, T1059
Invoke-Obfuscation CLIP+ Launcher - PowerShell
highwindows · Shares T1027, T1059