Potential Encoded PowerShell Patterns In CommandLine
Description
Detects specific combinations of encoding methods in PowerShell via the commandline
Query · sigma
selection_img: - Image|endswith: - \powershell.exe - \pwsh.exe - OriginalFileName: - PowerShell.EXE - pwsh.dll selection_to_1: CommandLine|contains: - ToInt - ToDecimal - ToByte - ToUint - ToSingle - ToSByte selection_to_2: CommandLine|contains: - ToChar - ToString - String selection_gen_1: CommandLine|contains|all: - char - join selection_gen_2: CommandLine|contains|all: - split - join condition: selection_img and (all of selection_to_* or 1 of selection_gen_*)
Known false positives
- Unknown