Detection rules › Sigma

Suspicious Printer Driver Empty Manufacturer

Status
test
Severity
high
Log source
product windows, category registry_set
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects a suspicious printer driver installation with an empty Manufacturer value

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 13RegistryEvent (Value Set)

Rule body yaml

title: Suspicious Printer Driver Empty Manufacturer
id: e0813366-0407-449a-9869-a2db1119dc41
status: test
description: Detects a suspicious printer driver installation with an empty Manufacturer value
references:
    - https://twitter.com/SBousseaden/status/1410545674773467140
author: Florian Roth (Nextron Systems)
date: 2020-07-01
modified: 2023-08-17
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574
    - cve.2021-1675
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains|all:
            - '\Control\Print\Environments\Windows x64\Drivers'
            - '\Manufacturer'
        Details: '(Empty)'
    filter_cutepdf:
        TargetObject|contains: '\CutePDF Writer v4.0\'
    filter_vnc:
        TargetObject|contains:
            - '\VNC Printer (PS)\'
            - '\VNC Printer (UD)\'
    filter_pdf24:
        TargetObject|contains: '\Version-3\PDF24\'
    condition: selection and not 1 of filter_*
falsepositives:
    - Alerts on legitimate printer drivers that do not set any more details in the Manufacturer value
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    TargetObject|contains|all:
        - '\Control\Print\Environments\Windows x64\Drivers'
        - '\Manufacturer'
    Details: '(Empty)'

Stage 2: not filter_*

filter_cutepdf:
    TargetObject|contains: '\CutePDF Writer v4.0\'
filter_vnc:
    TargetObject|contains:
        - '\VNC Printer (PS)\'
        - '\VNC Printer (UD)\'
filter_pdf24:
    TargetObject|contains: '\Version-3\PDF24\'

Exclusions

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

FieldKindExcluded values
TargetObjectmatch\CutePDF Writer v4.0\
TargetObjectmatch\VNC Printer (PS)\
TargetObjectmatch\VNC Printer (UD)\
TargetObjectmatch\Version-3\PDF24\

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
Detailseq
  • (Empty) corpus 2 (sigma 2)
TargetObjectmatch
  • \Control\Print\Environments\Windows x64\Drivers
  • \Manufacturer