Detection rules › Sigma

Abusing Print Executable

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Furkan CALISKAN, @caliskanfurkan_, @oscd_initiative
Source
github.com/SigmaHQ/sigma

Attackers can use print.exe for remote file copy

MITRE ATT&CK coverage

Event coverage

Rule body yaml

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_print

Stage 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

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
CommandLinematchprint.exe

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • .exe corpus 5 (sigma 5)
  • /D corpus 4 (sigma 3, kusto 1)
CommandLinestarts_with
  • print
Imageends_with
  • \print.exe corpus 2 (sigma 2)