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:
|
2019-03-05 22:25:49 +00:00
|
|
|
- attack.privilege_escalation
|
2018-11-17 08:10:09 +00:00
|
|
|
- attack.execution
|
2019-03-05 22:25:49 +00:00
|
|
|
- attack.t1055
|
|
|
|
- attack.t1086
|
2020-06-16 20:46:08 +00:00
|
|
|
- attack.t1059
|
2018-11-17 08:10:09 +00:00
|
|
|
author: David Ledbetter (shellcode), Florian Roth (rule)
|
|
|
|
date: 2018/11/17
|
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: powershell
|
|
|
|
description: 'Script block logging must be enabled'
|
|
|
|
detection:
|
|
|
|
selection:
|
|
|
|
EventID: 4104
|
2020-06-16 20:46:08 +00:00
|
|
|
keyword1:
|
2018-11-17 08:10:09 +00:00
|
|
|
- '*AAAAYInlM*'
|
2020-06-16 20:46:08 +00:00
|
|
|
keyword2:
|
2018-11-17 08:10:09 +00:00
|
|
|
- '*OiCAAAAYInlM*'
|
|
|
|
- '*OiJAAAAYInlM*'
|
|
|
|
condition: selection and keyword1 and keyword2
|
|
|
|
falsepositives:
|
|
|
|
- Unknown
|
|
|
|
level: critical
|