Files
blue-team-tools/rules/windows/process_creation/win_susp_powershell_enc_cmd.yml
T

46 lines
1.4 KiB
YAML
Raw Normal View History

title: Suspicious Encoded PowerShell Command Line
2019-11-12 23:12:27 +01:00
id: ca2092a1-c273-4878-9b4b-0d60115bf5ea
2019-12-20 14:59:26 +01:00
description: Detects suspicious powershell process starts with base64 encoded commands (e.g. Emotet)
status: experimental
references:
2019-03-02 00:14:20 +01:00
- https://app.any.run/tasks/6217d77d-3189-4db2-a957-8ab239f3e01e
2021-03-02 22:48:55 +03:00
author: Florian Roth, Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, Anton Kutepov, oscd.community
date: 2018/09/03
2021-03-02 22:48:55 +03:00
modified: 2021/03/02
2019-03-06 01:56:05 +03:00
tags:
2020-06-16 14:46:08 -06:00
- attack.execution
- attack.t1059.001
- attack.t1086 # an old one
logsource:
2019-03-02 00:14:20 +01:00
category: process_creation
product: windows
detection:
2019-03-02 00:14:20 +01:00
selection:
2021-03-02 22:48:55 +03:00
CommandLine|contains: ' -e' # covers -en and -enc
2020-10-15 19:38:47 -03:00
selection2:
2021-03-02 22:48:55 +03:00
CommandLine|contains: ' JAB'
2020-10-15 19:38:47 -03:00
selection3:
2020-12-01 01:47:23 +01:00
CommandLine|contains|all:
- ' -w'
2021-03-02 22:48:55 +03:00
- ' hidden '
2020-10-15 19:38:47 -03:00
selection4:
2020-11-28 13:05:47 -03:00
CommandLine|contains:
2020-10-15 19:38:47 -03:00
- ' BA^J'
2020-10-15 19:39:11 -03:00
- ' SUVYI'
2020-10-15 19:38:47 -03:00
- ' SQBFAFgA'
- ' aQBlAHgA'
- ' aWV4I'
2021-03-02 22:48:55 +03:00
- ' IAA'
- ' IAB'
- ' UwB'
- ' cwB'
selection5:
CommandLine|contains:
- '.exe -ENCOD '
2019-03-02 00:14:20 +01:00
falsepositive1:
2020-11-28 17:29:15 +01:00
CommandLine|contains|all:
- ' -ExecutionPolicy'
- 'remotesigned '
2021-03-02 22:48:55 +03:00
condition: ((selection and selection2) or (selection and selection2 and selection3) or (selection and selection4) or selection5) and not falsepositive1
level: high