Pester.bat
Used as part of the Powershell pester
Full path
c:\Program Files\WindowsPowerShell\Modules\Pester\<VERSION>\bin\Pester.batCommands
Proxy execution
Pester.bat [/help|?|-?|/?] "$null; {CMD}"Execute code using Pester. The third parameter can be anything. The fourth is the payload.
os: Windows 10, Windows 11
Proxy execution
Pester.bat ;{PATH:.exe}Execute code using Pester. Example here executes specified executable.
os: Windows 10, Windows 11
Detection
Resources
acknowledgement: Emin Atac @p0w3rsh3ll, Stamatis Chatzimangou @_st0pp3r_