EXPLORE
← Back to Explore
sigmahighHunting

PowerShell ShellCode

Detects Base64 encoded Shellcode

MITRE ATT&CK

defense-evasionprivilege-escalationexecution

Detection Query

selection:
  ScriptBlockText|contains:
    - OiCAAAAYInlM
    - OiJAAAAYInlM
condition: selection

Author

David Ledbetter (shellcode), Florian Roth (Nextron Systems)

Created

2018-11-17

Data Sources

windowsps_script

Platforms

windows

Tags

attack.defense-evasionattack.privilege-escalationattack.t1055attack.executionattack.t1059.001
Raw Content
title: PowerShell ShellCode
id: 16b37b70-6fcf-4814-a092-c36bd3aafcbd
status: test
description: Detects Base64 encoded Shellcode
references:
    - https://twitter.com/cyb3rops/status/1063072865992523776
author: David Ledbetter (shellcode), Florian Roth (Nextron Systems)
date: 2018-11-17
modified: 2024-01-25
tags:
    - attack.defense-evasion
    - attack.privilege-escalation
    - attack.t1055
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains:
            - 'OiCAAAAYInlM'
            - 'OiJAAAAYInlM'
    condition: selection
falsepositives:
    - Unknown
level: high