{"id":"16b37b70-6fcf-4814-a092-c36bd3aafcbd","title":"PowerShell ShellCode","description":"Detects Base64 encoded Shellcode","author":"David Ledbetter (shellcode), Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2018-11-17","modified":"2024-01-25","tags":["attack.privilege-escalation","attack.stealth","attack.t1055","attack.execution","attack.t1059.001"],"technique_ids":["T1055","T1059.001"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://twitter.com/cyb3rops/status/1063072865992523776"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_shellcode_b64.yml","source_sha256":"bc5ecdf7fdfc0cf1c6e207a9b014d5d098a3cbac61c2ab0b7705180e27eae5a7","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_shellcode_b64.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PowerShell ShellCode\nid: 16b37b70-6fcf-4814-a092-c36bd3aafcbd\nstatus: test\ndescription: Detects Base64 encoded Shellcode\nreferences:\n    - https://twitter.com/cyb3rops/status/1063072865992523776\nauthor: David Ledbetter (shellcode), Florian Roth (Nextron Systems)\ndate: 2018-11-17\nmodified: 2024-01-25\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1055\n    - attack.execution\n    - attack.t1059.001\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection:\n        ScriptBlockText|contains:\n            - 'OiCAAAAYInlM'\n            - 'OiJAAAAYInlM'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1055","id":"T1055","name":"Process Injection","page":"techniques/enterprise/T1055/"},{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/16b37b70-6fcf-4814-a092-c36bd3aafcbd.json","kind":"sigma"}
