Detects the use of the ‘Pubprn.vbs’ Microsoft signed script to execute commands.
title: Pubprn.vbs Proxy Execution
id: 1fb76ab8-fa60-4b01-bddd-71e89bf555da
status: test
description: Detects the use of the 'Pubprn.vbs' Microsoft signed script to execute commands.
references:
- https://lolbas-project.github.io/lolbas/Scripts/Pubprn/
author: frack113
date: 2022-05-28
tags:
- attack.stealth
- attack.t1216.001
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine|contains|all:
- '\pubprn.vbs'
- 'script:'
condition: selection
falsepositives:
- Unknown
level: medium
imProcessCreate
| where TargetProcessCommandLine contains "\\pubprn.vbs" and TargetProcessCommandLine contains "script:"
| Sentinel Table | Notes |
|---|---|
imProcessCreate | Ensure this data connector is enabled |