New DNS ServerLevelPluginDll Installed

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)

Sigma rule (View on GitHub)

 1title: New DNS ServerLevelPluginDll Installed
 2id: e61e8a88-59a9-451c-874e-70fcc9740d67
 3related:
 4    - id: cbe51394-cd93-4473-b555-edf0144952d9
 5      type: derived
 6    - id: f63b56ee-3f79-4b8a-97fb-5c48007e8573
 7      type: derived
 8status: test
 9description: 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)
10references:
11    - https://medium.com/@esnesenon/feature-not-bug-dnsadmin-to-dc-compromise-in-one-line-a0f779b8dc83
12    - https://blog.3or.de/hunting-dns-server-level-plugin-dll-injection.html
13author: Florian Roth (Nextron Systems)
14date: 2017-05-08
15modified: 2023-08-17
16tags:
17    - attack.privilege-escalation
18    - attack.persistence
19    - attack.execution
20    - attack.stealth
21    - attack.defense-impairment
22    - attack.t1574.001
23    - attack.t1112
24logsource:
25    product: windows
26    category: registry_set
27detection:
28    selection:
29        TargetObject|endswith: '\services\DNS\Parameters\ServerLevelPluginDll'
30    condition: selection
31falsepositives:
32    - Unknown
33level: high

References

Related rules

to-top