Files
blue-team-tools/rules/windows/process_creation/sysmon_long_powershell_commandline.yml
T
2020-10-12 18:28:28 +03:00

27 lines
724 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
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