SigmaHQ/rules/windows/process_creation/sysmon_long_powershell_commandline.yml
2021-05-21 12:22:36 +02:00

29 lines
745 B
YAML

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
modified: 2021/05/21
logsource:
category: process_creation
product: windows
detection:
Powershell_selection:
- CommandLine|contains:
- 'powershell'
- 'pwsh'
- Description: 'Windows Powershell'
- Product: 'PowerShell Core 6'
Length_selection:
CommandLine|re: '.{1000,}'
condition: all of them
falsepositives:
- Unknown
level: medium