Sigma rule: Add Port Monitor Persistence in Registry

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ce335f3ca0ac, updated 2024-03-25T00:00:00.000Z.

Rule

Title
Add Port Monitor Persistence in Registry
Status
test
Level
medium
Author
frack113
Date
2021-12-30
Modified
2024-03-25
File
rules/windows/registry/registry_set/registry_set_add_port_monitor.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Adversaries may use port monitors to run an attacker supplied DLL during system boot for persistence or privilege escalation.
A port monitor can be set through the AddMonitor API call to set a DLL to be loaded at startup.

Log source

product
windows
category
registry_set

Detection

selection:
    TargetObject|contains: '\Control\Print\Monitors\'
    Details|endswith: '.dll'
filter_optional_cutepdf:
    Image: 'C:\Windows\System32\spoolsv.exe'
    TargetObject|contains: '\Control\Print\Monitors\CutePDF Writer Monitor v4.0\Driver'
    Details: 'cpwmon64_v40.dll'
    User|contains: # covers many language settings
        - 'AUTHORI'
        - 'AUTORI'
filter_optional_monvnc:
    TargetObject|contains: '\Control\Print\Monitors\MONVNC\Driver'
filter_optional_vnc:
    TargetObject|contains|all:
        - 'Control\Print\Environments\'
        - '\Drivers\'
        - '\VNC Printer'
condition: selection and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1547.010

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_add_port_monitor.yml

Sources and licences

  • SigmaHQ

    "Add Port Monitor Persistence in Registry" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_add_port_monitor.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Add Port Monitor Persistence in Registry",
entity page, dataset version ref-ce335f3ca0ac, updated 2024-03-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/944e8941-f6f6-4ee8-ac05-1c224e923c0e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 944e8941-f6f6-4ee8-ac05-1c224e923c0e, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.