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