Identifier / Programs / Windows
pester.bat
LOLBAS Execute 1 ATT&CK technique 2 documented commands
How pester.bat is abused
Execute T1216 System Script Proxy Execution
Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for pester.bat.
2 documented commands
Execute T1216 System Script Proxy Execution User privileges
Execute code using Pester. The third parameter can be anything. The fourth is the payload.
Pester.bat [/help|?|-?|/?] "$null; {CMD}"IdentifyExecute T1216 System Script Proxy Execution User privileges
Execute code using Pester. Example here executes specified executable.
Pester.bat ;{PATH:.exe}IdentifyNone of the 2 commands the identifier reads trips a Sigma process-creation rule. These commands and their descriptions are from LOLBAS’s entry for pester.bat, by Oddvar Moe, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for pester.bat. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.