Community detections
dnscmd.exe
2 community detection rules look for suspicious dnscmd.exe command lines, most often for Modify Registry (T1112), DLL Search Order Hijacking (T1574.001). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.
What defenders look for
- HighNew DNS ServerLevelPluginDll Installed Via Dnscmd.EXE
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)
T1574.001T1112by Florian Roth (Nextron Systems)
- MediumPotential Discovery Activity Via Dnscmd.EXE
Detects an attempt to leverage dnscmd.exe to enumerate the DNS zones of a domain. DNS zones used to host the DNS records for a particular domain.
by @gott_cyber
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.
Questions
- Is dnscmd.exe malicious?
- Not by itself. These rules flag specific ways of running it: 2 rules, 1 rated high or critical. New DNS ServerLevelPluginDll Installed Via Dnscmd.EXE; Potential Discovery Activity Via Dnscmd.EXE. Judge a run by its command line, its parent process, the account and the host.
- What does dnscmd.exe have to do with ATT&CK?
- The rules for it map to Modify Registry (T1112), DLL Search Order Hijacking (T1574.001).
- How do I check a dnscmd.exe command line?
- Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.