1. Resources
  2. Detection sources
  3. Event ID 770

Event ID 770: A DNS server plugin DLL has been loaded

Written by the DNS Server service when it has loaded the plug-in DLL set in its server-level plug-in setting, with the library's location. On a DNS server that uses no plug-in, the successful form of the DnsAdmins plug-in abuse.

Log source
DNS Server log
Detection value
Supporting
Volume
Low (estimate)
Last updated
Log
DNS Server log (Microsoft-Windows-DNS-Server-Service, on by default)
Logged on
Domain controllers, Member servers only
Event versions
0
Detects
1 attack (1 rule · 1 detection logic)
MITRE ATT&CK
1 technique in 2 tactics
Threat groups
26 groups that MITRE ATT&CK records using these techniques
Fields the rules read
The event ID and the provider only

When it is written

The DNS Server service writes 770 to the DNS Server log, at the Information level, when it has loaded a plug-in DLL: the event gives the location the library was loaded from and the server. The library comes from the server-level plug-in setting (ServerLevelPluginDll), which Microsoft describes as the path of a custom plug-in whose functions the DNS server calls for names outside its own zones. It is the successful counterpart of event 150, which the service writes when it could not load or initialize the library.

Microsoft's documentation does not describe event 770: its event reference for the DNS Server role lists 150 but not 770, and its current DNS logging page does not mention it. The event template that ships with the DNS Server role does, and its text is the one above. That text contradicts the SigmaHQ rule the library's rule derives from, which matches 150, 770 and 771 together and describes all three as a plug-in DLL that could not be loaded; in the same template 771 says that the V1 plug-in interface has been implemented in the server-level plug-in DLL. The library's rule reads 770 as a load, which the template supports.

Members of DnsAdmins, which Microsoft describes as having administrative access to the DNS Server service, can set the plug-in path. On a DNS server that is not meant to use a plug-in, a 770 means a library of someone's choice now runs inside the DNS Server service, on a domain controller in most domains. Keep the setting change (DNS audit event 541) and a direct check of the setting as traces as well: they show the change before any library is loaded.

How to turn it on

Microsoft-Windows-DNS-Server-Service writes the event to the DNS Server log (Event Viewer > Applications and Services Logs > DNS Server), which is on by default. Microsoft

The DNS Server log exists on every server with the DNS Server role and is on by default. What reaches it is set by the server's event log level (dnscmd /config /eventloglevel, shown as EventLogLevel by Get-DnsServerDiagnostics): 0 logs no events, 1 only errors, 2 errors and warnings, and 4, the default, errors, warnings and informational events. Keep the default: a lower level drops informational events, and level 0 drops the plug-in events of this library too.

The log sits directly under Applications and Services Logs, apart from the DNS-Server audit and analytic channels under Microsoft > Windows. Forward it by its name, DNS Server.

Show the event log level (4 is the default)
Get-DnsServerDiagnostics | Select-Object EventLogLevel
Based on vendor documentation.
Show the server-level plug-in setting (empty when no plug-in is configured)
(Get-DnsServerSetting -All).ServerLevelPluginDll
Based on vendor documentation.
Restore the default event log level
dnscmd /config /eventloglevel 4
Based on vendor documentation.

The DNS Server log is on by default. The template writes 770 at the Information level, so the event log level must be 4, the default, which logs errors, warnings and informational events; levels 1 (errors only) and 2 (errors and warnings) drop it, and 0 logs nothing. Microsoft's diagnostic settings also include EnableLoggingForPluginDllEvent (shown by Get-DnsServerDiagnostics, off by default); Microsoft does not document whether it has anything to do with event 770.

Check the plug-in setting directly as well: (Get-DnsServerSetting -All).ServerLevelPluginDll is empty in Microsoft's example of a server without a plug-in, and dnscmd /info /serverlevelplugindll reads the same setting from the DNS server's registry parameters.

Fields

In Event Viewer order. The field names are those of the event XML, from the event template of Windows Server 2025 (build 26100.32230, January 13, 2026): the provider belongs to a server role, so the template comes from the provider manifests that the EVTX-ETW-Resources project exported from that release.

FieldWhat it holdsSince
param1Location the plug-in library was loaded from (%1 in the event text). Compare it with the configured ServerLevelPluginDll and with the path of any plug-in a product you run installs.v0
param2The server the library was loaded on (%2 in the event text), an ANSI string in the template. Microsoft does not document whether it holds the short or the full name; the event's own Computer field also names the server.v0

Values to know

param1

ValueMeaningSignal
Any path, on a server that uses no plug-inA plug-in that should not exist was loadedFind the setting change (541) and who made it. On a domain controller, treat the server as compromised until shown otherwise.Attack signal
A network pathThe library was loaded from a remote shareA plug-in kept outside the server makes the case urgent.Attack signal
The documented path of a plug-in you runA known plug-inExclude it by server and path.Noise

Volume and noise

On a DNS server that uses no plug-in the event does not appear. Where a product you run installs a DNS plug-in, expect it on that server whenever the service loads the library, with the product's path in param1.

Keeping it manageable

  • Keep every 770: the library's rule reads it, and on servers without a plug-in the volume is zero.
  • Exclude only the DNS servers whose plug-in you know, by server and by the exact param1 path, and confirm the path with (Get-DnsServerSetting -All).ServerLevelPluginDll. A known server loading a library from another path still deserves an alert.
  • Raise the severity when param1 is a network path or a folder that ordinary users can write to.
  • Collect the DNS Server log at its default event log level (4): the event is informational, and levels 1 and 2 drop it while still keeping 150.

Sample event

Version 0, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-DNS-Server-Service" Guid="{71A551F5-C893-4849-886B-B5EC8502641E}" />
    <EventID>770</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000008000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>DNS Server</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">C:\Program Files\Example\DnsPlugin\exampleplugin.dll</Data>
    <Data Name="param2">DC01.corp.example.com</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

What does DNS Server event 770 mean?

The DNS Server service has loaded a plug-in DLL: the event template that ships with the DNS Server role words it as a DNS server plugin DLL that has been loaded from a location on a server. Microsoft's documentation does not describe the event, so the template is the source. On a server that is not meant to use a plug-in, someone configured one and the service is running it.

Does event 770 mean a plug-in failed to load?

No. A SigmaHQ rule groups 150, 770 and 771 as a plug-in DLL that could not be loaded, but the event template says 770 is a plug-in DLL that has been loaded. The failure is event 150, which Microsoft documents. Rules that read 770 as a failure should be read as detecting a successful load.

Which events show the DnsAdmins plug-in abuse?

DNS audit event 541 records the change of the server-level plug-in setting, with its name and new value, and is enabled by default. DNS Server event 770 records a plug-in that was loaded, and 150 one that failed to load. Check the setting itself on every DNS server as well.

References