1. Resources
  2. Identity Threats
  3. Active Directory

Print Operators Privilege Escalation (SeLoadDriverPrivilege)

Also known as: Print Operators abuse, SeLoadDriverPrivilege abuse, Load and unload device drivers abuse, Vulnerable driver loading

A member of Print Operators can load device drivers on domain controllers; loading a signed but vulnerable driver gives kernel code execution and SYSTEM on the domain controller.

Platform
Active Directory
Impact
Critical
Last updated
Attack difficulty
High
Detection difficulty
Medium
Privileges required: Specific rights or roles
Membership of the built-in Print Operators group of the domain, or SeLoadDriverPrivilege on the target, and a local logon with an elevated token.
What the attacker gains
Kernel code execution and a SYSTEM session on a domain controller, which is control of the domain.
Threat groups
APT28APT29APT32APT33BITTERBlackByteCobalt GroupFIN6FIN8HAFNIUMLAPSUS$MoustachedBouncerOilRigPLATINUMand 43 more in MITRE ATT&CKGroups that MITRE ATT&CK records using T1068, T1543.003, T1078.002.

How it works

Print Operators is a built-in group of the domain (SID S-1-5-32-550). Members can manage, create, share and delete printers connected to domain controllers, manage printer objects in the directory, and sign in locally to domain controllers and shut them down. To let them install printer drivers, the default domain controller policy gives the group three user rights: allow log on locally, shut down the system, and load and unload device drivers (SeLoadDriverPrivilege).

That last right is the problem. Microsoft's description of it says that the holder can dynamically load and unload device drivers or other code into kernel mode, and the policy reference warns not to assign it to anyone you don't want to take over the system. Its description of the group carries the same caution: members can load and unload device drivers on all domain controllers in the domain.

The privilege does not let the holder load unsigned code on a system that enforces driver signing. The attack therefore uses a driver that is legitimately signed but vulnerable, a pattern often called bring your own vulnerable driver:

  1. The attacker enables SeLoadDriverPrivilege in their token.
  2. They create a driver service registry key with two values: ImagePath, the path of the driver file, and Type set to 1 (kernel driver).
  3. They call the native function NtLoadDriver with the path of that key. The kernel loads the driver.
  4. A second program talks to the driver and uses its flaw to run code in the kernel, typically to give the attacker's process the SYSTEM token.

Driver service keys normally live under HKLM\SYSTEM\CurrentControlSet\Services, which only administrators can write. The published technique gets around that by creating the key in the attacker's own hive and passing NtLoadDriver a path of the form \Registry\User\<SID>\.... The research that introduced it used the signed driver Capcom.sys, whose control interface runs a function supplied by the caller in kernel mode.

Two changes have narrowed this since. The same research notes that from Windows 10 version 1803, NtLoadDriver no longer accepts keys under HKEY_CURRENT_USER. And the Microsoft vulnerable driver blocklist, enforced when memory integrity is on and enabled by default on current Windows client releases, refuses many known vulnerable drivers. On older domain controllers, and wherever the attacker has another way to register a driver, the path still works. The group is a shadow admin exposure either way.

Prerequisites

  • An account that is a member of Print Operators, or any account that a policy has given SeLoadDriverPrivilege on the target.
  • A local logon on the target. On domain controllers the group has the right to log on locally.
  • An elevated token. User Account Control removes the privilege from the standard token of a non-administrator, so the attacker needs an elevated process ("Run as administrator" with their own credentials).
  • A signed driver with a usable flaw that the target will load: not on the vulnerable driver blocklist in force, and compatible with the code integrity policy of the host.
  • A registry location for the driver service key that the loader accepts. Before Windows 10 version 1803, the user's own hive is enough.

Attack steps

For authorized security testing and lab use only. Run these steps against systems you own or have written permission to assess.

1. Confirm the membership and the privilege

Get-ADGroupMember -Identity 'Print Operators' -Recursive | Select-Object SamAccountName, objectClass
:: In an elevated prompt on the domain controller: SeLoadDriverPrivilege should be listed
whoami /priv

A privilege shown as Disabled is present in the token and can be enabled by the program that needs it. A privilege that is missing from the list is not in this token, usually because the prompt is not elevated.

2. Load the vulnerable driver

EoPLoadDriver enables the privilege, creates the service key under the current user's hive with the ImagePath and Type values, and calls NtLoadDriver. Its two arguments are the registry path relative to the user's hive and the driver file:

EoPLoadDriver.exe System\CurrentControlSet\MyService C:\Users\alice\Desktop\Capcom.sys

3. Use the driver to become SYSTEM

With Capcom.sys loaded, ExploitCapcom asks the driver to run a routine in the kernel that gives the exploit process the SYSTEM token, and then opens a new command prompt that runs as SYSTEM:

ExploitCapcom.exe

4. Act as SYSTEM on the domain controller

From the SYSTEM prompt the attacker has the whole domain controller: add an account to Domain Admins, dump LSASS, or copy the directory database.

net group "Domain Admins" alice /add /domain

5. Clean up

The service key stays in the user's hive (HKCU\System\CurrentControlSet\MyService) and the driver stays loaded until it is unloaded or the system restarts. Operators delete the key and the driver file after use.

Impact

Code in the kernel of a domain controller is the highest position in the domain: every credential, every ticket key and the directory database are within reach, and security tooling on the host can be blinded from the same position. Outside domain controllers the same privilege gives SYSTEM on whatever host assigns it. The practical privilege escalation is from a group that sounds like printer administration to full control of the domain, which is why the related token privilege abuse page lists SeLoadDriverPrivilege among the privileges that are equivalent to administrator.

OPSEC and artifacts

  • Choosing the driver. Operators pick a driver that the blocklist in force does not cover and that is not widely flagged. The driver file still has to be written to disk, where its hash and signer are visible to endpoint tooling, and the load itself is recorded by Sysmon event 6 (Driver loaded) with the hashes and signature.
  • Registering under the user hive. The key avoids HKLM, where service creation is watched, but a Type and ImagePath pair under HKU\<SID>\System\CurrentControlSet\ has no legitimate use. Sysmon registry events (12 and 13) record it.
  • No service installation event. The driver is loaded with a direct NtLoadDriver call, not through the service control manager, so the usual service installation events do not describe it.
  • The logon. A local logon on a domain controller by a non-administrator writes event 4624, and event 4672 lists SeLoadDriverPrivilege for that session.
  • Privilege use. With Audit Sensitive Privilege Use enabled, event 4673 records the use of SeLoadDriverPrivilege with the process that called it, on success and on failure.
  • Blocked attempts. A driver refused by code integrity or the blocklist leaves an entry in the Microsoft-Windows-CodeIntegrity/Operational log.
  • Afterwards. A SYSTEM command prompt whose parent is a user process, and the group change or credential access that follows.

Detection

  • Membership. Alert on every addition to Print Operators (event 4732, group SID S-1-5-32-550); the privileged group membership change rules match the group by SID. Alert on the driver right being assigned to another principal (event 4704, covered by the sensitive user right rules).
  • Special logon with the driver privilege. Event 4672 on a domain controller where the privilege list contains SeLoadDriverPrivilege but not SeDebugPrivilege points to a Print Operators member, not an administrator.
  • Driver loads on domain controllers. Baseline the drivers that load on domain controllers; the set is small and stable. Alert on a driver loaded from a user profile or temporary folder, or one that is signed by a publisher that has no software on the host.
  • Privilege use by a user process. Event 4673 with SeLoadDriverPrivilege where the process is not a system component.
// Logon sessions on domain controllers that hold the driver privilege without being administrator sessions
SecurityEvent
| where EventID == 4672
| where PrivilegeList has "SeLoadDriverPrivilege" and PrivilegeList !has "SeDebugPrivilege"
| where SubjectUserSid !in ("S-1-5-18", "S-1-5-19", "S-1-5-20")
| project TimeGenerated, Computer, SubjectUserName, SubjectUserSid, SubjectLogonId, PrivilegeList
| order by TimeGenerated desc

The query shows that a session could load a driver. Pair it with the driver load telemetry to show that one was loaded.

Mitigation

  • Remove Print Operators from the driver right. Microsoft's countermeasure for domain controllers is to assign "Load and unload device drivers" to no one other than Domain Admins. Edit the user rights assignment in the domain controller policy.
  • Keep the group empty and treat any member as a domain administrator. The group has no members by default.
  • Do not run print services on domain controllers. Stop and disable the Print Spooler there, which also removes the exposure behind PrintNightmare and printer-based coercion.
  • Enforce the vulnerable driver blocklist. Turn on memory integrity, or deploy the recommended driver block rules through an App Control for Business policy, on domain controllers and other Tier 0 hosts.
  • Deny lower-tier logons on domain controllers so that an account holding a stray privilege cannot get a session there. The Active Directory hardening guide covers tiering in line with least privilege.
  • Audit. Enable Security Group Management, Special Logon, Authorization Policy Change and Sensitive Privilege Use auditing on domain controllers, and collect driver load telemetry. The audit policy guide lists the settings.

Detection rules for this attack

Log events to collect

FAQ

Why can Print Operators load drivers on a domain controller?

Installing a printer can require installing a printer driver, so the default domain controller policy assigns the 'Load and unload device drivers' user right to Administrators and Print Operators. The right is not limited to printer drivers: it covers any kernel driver the holder can get the system to load.

Does the attack still work on current Windows versions?

The public technique registers the driver under the user's own registry hive. The research that published it notes that from Windows 10 version 1803 the loader no longer accepts registry keys under HKEY_CURRENT_USER, so on newer builds the attacker needs another way to write a driver service key. The vulnerable driver blocklist also blocks many of the known drivers. The privilege itself is unchanged, so the group remains a Tier 0 exposure.

Which driver does the attacker load?

Any correctly signed driver with a flaw that lets a user-mode program run code or read and write memory in the kernel. The original proof of concept used Capcom.sys, whose control interface executes a caller-supplied function in kernel mode. The driver does not need to be installed on the target beforehand; the attacker brings it.

How should Print Operators be handled?

Keep the group empty, stop the Print Spooler on domain controllers, and remove Print Operators from the 'Load and unload device drivers' right in the domain controller policy. Microsoft's countermeasure for domain controllers is to assign that right to no one other than Domain Admins.

References

Techniques, tactics and threat groups: MITRE ATT&CK® Enterprise v20.1. © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Last updated 2026-11-29.

Does this attack work in your environment?

Forestall maps every identity and the attack paths between them across Active Directory, Entra ID and cloud, read-only and agentless.