Detectionhightest

PowerShell ShellCode

Detects Base64 encoded Shellcode

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
David Ledbetter (shellcode), Florian Roth (Nextron Systems)Created Sat Nov 17Updated Thu Jan 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: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
16b37b70-6fcf-4814-a092-c36bd3aafcbd
Status
test
Level
high
Type
Detection
Created
Sat Nov 17
Modified
Thu Jan 25
Path
rules/windows/powershell/powershell_script/posh_ps_shellcode_b64.yml
Raw Tags
attack.defense-evasionattack.privilege-escalationattack.t1055attack.executionattack.t1059.001
View on GitHub