MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
title: Abusing Print Executable
id: bafac3d6-7de9-4dd9-8874-4a1194b493ed
status: test
description: Attackers can use print.exe for remote file copy
references:
- https://lolbas-project.github.io/lolbas/Binaries/Print/
- https://twitter.com/Oddvarmoe/status/985518877076541440
author: 'Furkan CALISKAN, @caliskanfurkan_, @oscd_initiative'
date: 2020-10-05
modified: 2022-07-07
tags:
- attack.stealth
- attack.t1218
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\print.exe'
CommandLine|startswith: 'print'
CommandLine|contains|all:
- '/D'
- '.exe'
filter_print:
CommandLine|contains: 'print.exe'
condition: selection and not filter_print
falsepositives:
- Unknown
level: medium
Stages and Predicates
Stage 0: condition
selection and not filter_printStage 1: selection
selection:
Image|endswith: '\print.exe'
CommandLine|startswith: 'print'
CommandLine|contains|all:
- '/D'
- '.exe'
Stage 2: not filter_print
filter_print:
CommandLine|contains: 'print.exe'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
CommandLine | match | print.exe | excludes:CommandLine field:"CommandLine" value:"print.exe" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match |
CommandLine | starts_with |
| field:"CommandLine" kind:starts_with value:"print" |
Image | ends_with |
| field:"Image" kind:ends_with value:"\print.exe" |