2018-11-17 08:10:09 +00:00
|
|
|
title: PowerShell ShellCode
|
2019-11-12 22:12:27 +00:00
|
|
|
id: 16b37b70-6fcf-4814-a092-c36bd3aafcbd
|
2018-11-17 08:10:09 +00:00
|
|
|
status: experimental
|
|
|
|
description: Detects Base64 encoded Shellcode
|
|
|
|
references:
|
|
|
|
- https://twitter.com/cyb3rops/status/1063072865992523776
|
|
|
|
tags:
|
2020-08-24 00:01:50 +00:00
|
|
|
- attack.defense_evasion
|
2019-03-05 22:25:49 +00:00
|
|
|
- attack.privilege_escalation
|
|
|
|
- attack.t1055
|
2020-08-24 00:01:50 +00:00
|
|
|
- attack.execution
|
|
|
|
- attack.t1059.001
|
|
|
|
- attack.t1086 #an old one
|
2018-11-17 08:10:09 +00:00
|
|
|
author: David Ledbetter (shellcode), Florian Roth (rule)
|
|
|
|
date: 2018/11/17
|
2020-12-01 01:24:35 +00:00
|
|
|
modified: 2020/12/01
|
2018-11-17 08:10:09 +00:00
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: powershell
|
2020-07-12 02:17:06 +00:00
|
|
|
definition: 'Script block logging must be enabled'
|
2018-11-17 08:10:09 +00:00
|
|
|
detection:
|
|
|
|
selection:
|
|
|
|
EventID: 4104
|
2020-12-01 01:24:35 +00:00
|
|
|
ScriptBlockText|contains: 'AAAAYInlM'
|
|
|
|
selection2:
|
2021-04-03 21:21:13 +00:00
|
|
|
ScriptBlockText|contains:
|
2020-12-01 01:24:35 +00:00
|
|
|
- 'OiCAAAAYInlM'
|
|
|
|
- 'OiJAAAAYInlM'
|
|
|
|
condition: selection and selection2
|
2018-11-17 08:10:09 +00:00
|
|
|
falsepositives:
|
|
|
|
- Unknown
|
|
|
|
level: critical
|