{"id":"f63b56ee-3f79-4b8a-97fb-5c48007e8573","title":"New DNS ServerLevelPluginDll Installed Via Dnscmd.EXE","description":"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)","author":"Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2017-05-08","modified":"2023-02-05","tags":["attack.privilege-escalation","attack.persistence","attack.execution","attack.stealth","attack.defense-impairment","attack.t1574.001","attack.t1112"],"technique_ids":["T1112","T1574.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://medium.com/@esnesenon/feature-not-bug-dnsadmin-to-dc-compromise-in-one-line-a0f779b8dc83","https://blog.3or.de/hunting-dns-server-level-plugin-dll-injection.html"],"source_path":"rules/windows/process_creation/proc_creation_win_dnscmd_install_new_server_level_plugin_dll.yml","source_sha256":"57df00bae673b19926462e888f6ca09541cb68384ab8fff5ea2691a674a0de02","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_dnscmd_install_new_server_level_plugin_dll.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: New DNS ServerLevelPluginDll Installed Via Dnscmd.EXE\nid: f63b56ee-3f79-4b8a-97fb-5c48007e8573\nrelated:\n    - id: e61e8a88-59a9-451c-874e-70fcc9740d67\n      type: derived\n    - id: cbe51394-cd93-4473-b555-edf0144952d9\n      type: derived\nstatus: test\ndescription: 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)\nreferences:\n    - https://medium.com/@esnesenon/feature-not-bug-dnsadmin-to-dc-compromise-in-one-line-a0f779b8dc83\n    - https://blog.3or.de/hunting-dns-server-level-plugin-dll-injection.html\nauthor: Florian Roth (Nextron Systems)\ndate: 2017-05-08\nmodified: 2023-02-05\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.execution\n    - attack.stealth\n    - attack.defense-impairment\n    - attack.t1574.001\n    - attack.t1112\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        Image|endswith: '\\dnscmd.exe'\n        CommandLine|contains|all:\n            - '/config'\n            - '/serverlevelplugindll'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1112","id":"T1112","name":"Modify Registry","page":"techniques/enterprise/T1112/"},{"key":"enterprise/T1574.001","id":"T1574.001","name":"DLL","page":"techniques/enterprise/T1574.001/"}],"data_path":"data/detection-rules/f63b56ee-3f79-4b8a-97fb-5c48007e8573.json","kind":"sigma"}
