Detection rules › Sigma

Suspicious Printer Driver Empty Manufacturer

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

Detects a suspicious printer driver installation with an empty Manufacturer value

Known false positives

  • Alerts on legitimate printer drivers that do not set any more details in the Manufacturer value

MITRE ATT&CK coverage

Telemetry coverage

Rule body

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

The rule actively suppresses these predicates.

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • (Empty) corpus 2 (sigma 2)
field:"Details" kind:eq value:"(Empty)"
TargetObjectmatch
  • \Control\Print\Environments\Windows x64\Drivers
  • \Manufacturer
field:"TargetObject" kind:match