Files
hayabusa/rules/sigma/process_creation/sysmon_long_powershell_commandline.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

35 lines
818 B
YAML

title: Too Long PowerShell Commandlines
ruletype: Sigma
author: oscd.community, Natalia Shornikova
date: 2020/10/06
description: Detects Too long PowerShell command lines
detection:
SELECTION_1:
EventID: 1
SELECTION_2:
CommandLine:
- '*powershell*'
- '*pwsh*'
SELECTION_3:
Description: Windows Powershell
SELECTION_4:
Product: PowerShell Core 6
SELECTION_5:
CommandLine|re: .{1000,}
condition: (SELECTION_1 and (SELECTION_2 or SELECTION_3 or SELECTION_4) and SELECTION_5)
falsepositives:
- Unknown
id: d0d28567-4b9a-45e2-8bbc-fb1b66a1f7f6
level: medium
logsource:
category: process_creation
product: windows
modified: 2021/12/02
references:
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse
status: experimental
tags:
- attack.execution
- attack.t1059.001