SigmaHQ/rules/windows/process_creation/win_susp_powershell_enc_cmd.yml
2020-11-28 13:05:47 -03:00

43 lines
1.2 KiB
YAML

title: Suspicious Encoded PowerShell Command Line
id: ca2092a1-c273-4878-9b4b-0d60115bf5ea
description: Detects suspicious powershell process starts with base64 encoded commands (e.g. Emotet)
status: experimental
references:
- https://app.any.run/tasks/6217d77d-3189-4db2-a957-8ab239f3e01e
author: Florian Roth, Markus Neis
date: 2018/09/03
modified: 2019/12/16
tags:
- attack.execution
- attack.t1059.001
- attack.t1086 # an old one
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine|contains:
- ' -e' #Covers -en and -enc
- ' -w hidden -e'
selection2:
CommandLine|contains:
- 'JAB'
selection3:
CommandLine|contains:
- '-e' #Covers -en and -enc
selection4:
CommandLine|contains:
- ' BA^J'
- ' SUVYI'
- ' aWV4I'
- ' SQBFAFgA'
- ' aQBlAHgA'
- ' SUVYI'
- ' aWV4I'
- ' SQBFAFgA'
- ' aQBlAHgA'
falsepositive1:
CommandLine|contains: ' -ExecutionPolicy remotesigned '
condition: (selection and selection2) or (selection3 and selection4) and not falsepositive1
level: high