2018-11-17 09:10:09 +01:00
|
|
|
title: PowerShell ShellCode
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 16b37b70-6fcf-4814-a092-c36bd3aafcbd
|
2022-12-27 12:29:10 +01:00
|
|
|
status: test
|
2018-11-17 09:10:09 +01:00
|
|
|
description: Detects Base64 encoded Shellcode
|
|
|
|
|
references:
|
|
|
|
|
- https://twitter.com/cyb3rops/status/1063072865992523776
|
2022-10-26 09:43:39 +02:00
|
|
|
author: David Ledbetter (shellcode), Florian Roth (rule)
|
|
|
|
|
date: 2018/11/17
|
2022-12-27 12:29:10 +01:00
|
|
|
modified: 2022/12/25
|
2018-11-17 09:10:09 +01:00
|
|
|
tags:
|
2020-08-24 00:01:50 +00:00
|
|
|
- attack.defense_evasion
|
2019-03-05 23:25:49 +01:00
|
|
|
- attack.privilege_escalation
|
|
|
|
|
- attack.t1055
|
2020-08-24 00:01:50 +00:00
|
|
|
- attack.execution
|
|
|
|
|
- attack.t1059.001
|
2018-11-17 09:10:09 +01:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
2021-10-16 08:18:49 +02:00
|
|
|
category: ps_script
|
2021-08-21 09:33:52 +02:00
|
|
|
definition: Script block logging must be enabled
|
2018-11-17 09:10:09 +01:00
|
|
|
detection:
|
|
|
|
|
selection:
|
2020-12-01 02:24:35 +01:00
|
|
|
ScriptBlockText|contains: 'AAAAYInlM'
|
|
|
|
|
selection2:
|
2021-04-03 23:21:13 +02:00
|
|
|
ScriptBlockText|contains:
|
2020-12-01 02:24:35 +01:00
|
|
|
- 'OiCAAAAYInlM'
|
|
|
|
|
- 'OiJAAAAYInlM'
|
|
|
|
|
condition: selection and selection2
|
2018-11-17 09:10:09 +01:00
|
|
|
falsepositives:
|
|
|
|
|
- Unknown
|
2022-06-18 17:43:22 +02:00
|
|
|
level: high
|