Execute Code with Pester.bat as Parent
Description
Detects code execution via Pester.bat (Pester - Powershell Modulte for testing)
Query · sigma
selection_module:
ParentImage|endswith:
- \powershell.exe
- \pwsh.exe
ParentCommandLine|contains: \WindowsPowerShell\Modules\Pester\
selection_cli:
ParentCommandLine|contains:
- '{ Invoke-Pester -EnableExit ;'
- '{ Get-Help "'
condition: all of selection_*
Known false positives
- Legitimate use of Pester for writing tests for Powershell scripts and modules