Detection rules › Sigma

New DNS ServerLevelPluginDll Installed Via Dnscmd.EXE

Severity
high
Author
Florian Roth (Nextron Systems)
Source
upstream

Detects the installation of a DNS plugin DLL via ServerLevelPluginDll parameter in registry, which can be used to execute code in context of the DNS server (restart required)

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry, T1574.001 Hijack Execution Flow: DLL
Privilege EscalationT1574.001 Hijack Execution Flow: DLL
Defense EvasionT1112 Modify Registry, T1574.001 Hijack Execution Flow: DLL

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

CommandLine|contains: '/config'
CommandLine|contains: '/serverlevelplugindll'
Image|endswith: '\dnscmd.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
  • /config
  • /serverlevelplugindll
Imageends_with
  • \dnscmd.exe corpus 2 (sigma 2)

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.