SigmaHQ/rules/windows/process_creation/sysmon_long_powershell_commandline.yml

29 lines
745 B
YAML
Raw Normal View History

title: Too Long PowerShell Commandlines
id: d0d28567-4b9a-45e2-8bbc-fb1b66a1f7f6
description: Detects Too long PowerShell command lines
references:
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse
tags:
- attack.execution
- attack.t1059.001
status: experimental
author: oscd.community, Natalia Shornikova
date: 2020/10/06
2021-05-21 10:22:36 +00:00
modified: 2021/05/21
logsource:
category: process_creation
product: windows
detection:
Powershell_selection:
2021-04-02 22:00:43 +00:00
- CommandLine|contains:
- 'powershell'
- 'pwsh'
- Description: 'Windows Powershell'
- Product: 'PowerShell Core 6'
Length_selection:
2021-04-02 22:00:43 +00:00
CommandLine|re: '.{1000,}'
condition: all of them
2021-05-21 10:22:36 +00:00
falsepositives:
- Unknown
level: medium