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