Execute Code with Pester.bat
Description
Detects code execution via Pester.bat (Pester - Powershell Modulte for testing)
Query · sigma
powershell_module: Image|endswith: - \powershell.exe - \pwsh.exe CommandLine|contains|all: - Pester - Get-Help cmd_execution: Image|endswith: \cmd.exe CommandLine|contains|all: - pester - ; get_help: CommandLine|contains: - help - \? condition: powershell_module or (cmd_execution and get_help)
Known false positives
- Legitimate use of Pester for writing tests for Powershell scripts and modules