Unusually Long PowerShell CommandLine
Description
Detects unusually long PowerShell command lines with a length of 1000 characters or more
Query · sigma
selection_powershell:
- Image|endswith:
- \powershell.exe
- \pwsh.exe
- OriginalFileName:
- PowerShell.EXE
- pwsh.dll
- Description: Windows Powershell
- Product: PowerShell Core 6
selection_length:
CommandLine|re: .{1000,}
condition: all of selection_*
Known false positives
- Unknown