Hayabusa medium test sigma

Add Port Monitor Persistence in Registry

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.

View Source

Detection Logic

{
  "registry_set": {
    "EventID": 4657,
    "Channel": "Security"
  },
  "selection": {
    "ObjectName
| contains": "\\Control\\Print\\Monitors\\",
    "NewValue
| endswith": ".dll"
  },
  "filter_optional_cutepdf": {
    "ProcessName": "C:\\Windows\\System32\\spoolsv.exe",
    "ObjectName
| contains": "\\Control\\Print\\Monitors\\CutePDF Writer Monitor v4.0\\Driver",
    "NewValue": "cpwmon64_v40.dll",
    "SubjectUserName
| contains": [
      "AUTHORI",
      "AUTORI"
    ]
  },
  "filter_optional_monvnc": {
    "ObjectName
| contains": "\\Control\\Print\\Monitors\\MONVNC\\Driver"
  },
  "filter_optional_vnc": {
    "ObjectName
| contains
| all": [
      "Control\\Print\\Environments\\",
      "\\Drivers\\",
      "\\VNC Printer"
    ]
  },
  "condition": "registry_set and (selection and not 1 of filter_optional_*)"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...