2020-10-07 10:42:05 +00:00
|
|
|
title: Too Long PowerShell Commandlines
|
2020-10-12 15:28:28 +00:00
|
|
|
id: d0d28567-4b9a-45e2-8bbc-fb1b66a1f7f6
|
2020-10-07 10:42:05 +00:00
|
|
|
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
|
2020-10-07 10:42:05 +00:00
|
|
|
logsource:
|
2020-10-07 10:55:17 +00:00
|
|
|
category: process_creation
|
2020-10-07 11:00:41 +00:00
|
|
|
product: windows
|
2020-10-07 10:42:05 +00:00
|
|
|
detection:
|
|
|
|
Powershell_selection:
|
2021-04-02 22:00:43 +00:00
|
|
|
- CommandLine|contains:
|
2020-10-12 15:28:28 +00:00
|
|
|
- 'powershell'
|
|
|
|
- 'pwsh'
|
2020-10-07 10:42:05 +00:00
|
|
|
- Description: 'Windows Powershell'
|
|
|
|
- Product: 'PowerShell Core 6'
|
2020-10-12 15:28:28 +00:00
|
|
|
Length_selection:
|
2021-04-02 22:00:43 +00:00
|
|
|
CommandLine|re: '.{1000,}'
|
2020-10-07 10:42:05 +00:00
|
|
|
condition: all of them
|
2021-05-21 10:22:36 +00:00
|
|
|
falsepositives:
|
|
|
|
- Unknown
|
2020-10-07 10:55:17 +00:00
|
|
|
level: medium
|