DnsAdmins
About
Members of the DnsAdmins group can access DNS information within the network. The Windows DNS service allows custom plugins, which can execute functions to resolve name queries beyond the locally hosted DNS zones. Since the DNS service operates with NT AUTHORITY\SYSTEM
privileges, being part of this group could be exploited to escalate privileges on a Domain Controller or a dedicated DNS server for the domain. The built-in dnscmd utility can be used to define the path of the plugin DLL.
Importing custom plugin
Generating malicious dll
Starting local HTTP server
Loading DLL
You should be DnsAdmins group member!
If successful:
Registry property serverlevelplugindll successfully reset.
Restart DNS Service
Confirm Admin Privileges
Cleanup
Confirming Registry Key Added
Delete Registry Key
Restart DNS Service
Last updated