Detectionhightest
PowerShell ShellCode
Detects Base64 encoded Shellcode
David Ledbetter (shellcode), Florian Roth (Nextron Systems)Created 2018-11-17Updated 2024-01-2516b37b70-6fcf-4814-a092-c36bd3aafcbdwindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection:
ScriptBlockText|contains:
- 'OiCAAAAYInlM'
- 'OiJAAAAYInlM'
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
16b37b70-6fcf-4814-a092-c36bd3aafcbd
Status
test
Level
high
Type
Detection
Created
2018-11-17
Modified
2024-01-25
Path
rules/windows/powershell/powershell_script/posh_ps_shellcode_b64.yml
Raw Tags
attack.privilege-escalationattack.stealthattack.t1055attack.executionattack.t1059.001