IPP Coercion: The Windows Printer Trick That Relays NTLM

By 11 min read
IPP coercion forcing a Windows workstation to send its machine account NTLM over HTTP

A Windows 11 laptop asked to add a network printer will, under the right conditions, hand its machine account’s NTLM authentication to whatever address it was given. On 3 November 2026 a researcher published a small tool that turns that behaviour into an on-demand trigger, and within three days the community had built three more.

In short: IPP coercion makes a Windows 10 or 11 workstation authenticate over HTTP as its computer account by sending an AssocIppDirected request to the WSD port monitor, and attackers can relay that authentication to LDAP to take over the machine. There is no patch, so the defence is to make the relay fail.

What is IPP coercion?

IPP coercion is a forced authentication technique built on the Windows printing stack. Forced authentication, which MITRE ATT&CK tracks as T1187, means tricking a system into authenticating to a host the attacker controls so the credentials can be captured or relayed.

The Internet Printing Protocol (IPP) is the standard way modern printers accept jobs over HTTP. The WSD port monitor is the Windows component that manages printers found through Web Services on Devices, and it lives in APMon.dll.

The original tool, BOF-coerce-ipp by sudonoodle, opens a configuration handle to that monitor, sends it an AssocIppDirected command with an IPP address, and lets the spooler do the rest. The spooler calls the Device Association Service over RPC, which makes the outbound connection and authenticates as HOSTNAME$.

Four headline figures for IPP coercion: four tools in three days, 116 stars, 26H2, zero servers
The technique spread fast, but it stops at the workstation boundary. Data: GitHub, fortra/impacket PR 2361.

What is a BOF?

A Beacon Object File (BOF) is a small compiled module that runs inside a command-and-control agent’s memory instead of as a separate program. The IPP BOF ships a Cobalt Strike script, and one tester in the Impacket discussion ran it from AdaptixC2, the open-source C2 covered in our AdaptixC2 detection guide.

How was it found?

The author says the BOF was produced by tracing printui.exe while adding an IPP printer, then reducing the trace to the API calls that matter, using Claude Opus 5.5, Frida and ETW. The README says it was tested on Windows 11 26H2.

The underlying idea is not entirely new. In the Impacket pull request, a reviewer pointed out that a similar trick had appeared earlier under the name EvilPrinter, published by the Russian firm Compliance Control.

Why does IPP coercion matter now?

Coercion techniques are the first half of most NTLM relay attacks. Defenders have spent years closing the famous ones, and IPP coercion adds a new trigger at the point where many networks are weakest: ordinary workstations.

Why HTTP authentication is the prize

Most server coercions produce SMB authentication. HTTP authentication is more valuable to an attacker because it can be relayed to LDAP on a domain controller that does not demand signing, and LDAP writes are how relay attacks turn into account takeover.

Our coverage of the LDAP signing bypass CVE-2026-70229 showed the opposite case: that bypass needed SMB and failed with HTTP. IPP coercion fills the HTTP side of the toolbox.

Why there is no patch

The IppRelayUp README argues that the technique is not patched because it uses a legitimate printing feature rather than a flaw. Compliance Control says it reported its EvilPrinter variant to Microsoft and was told it was not considered a vulnerability, with LDAP signing and channel binding recommended instead.

How does IPP coercion work?

At a conceptual level the chain has three moving parts: a trigger, an outbound connection and a relay.

The trigger

The BOF opens the WSD port monitor through the standard printer API and calls XcvDataW with the AssocIppDirected command and an ipp:// address. The Impacket pull request implements the same request remotely as MS-RPRN operation number 88, the Print System Remote Protocol call the spooler exposes over RPC.

The connection

The spooler hands the association to the Device Association Service, which reaches out to the supplied address. Logs posted in the pull request show the listener receiving a request for /ipp/print, and the BOF reports Windows error 3012, printer not found, even when the connection succeeded.

EvilPrinter describes the same moment from the other side: the fake printer answers the HTTP POST with a 401 challenge, and Windows replies with the machine account’s NTLM credentials.

The relay

What happens next depends on the attacker. IppRelayUp, published on 5 November as a fork of WebClientRelayUp, turns the trigger into local privilege escalation on the same workstation.

Six-stage IPP coercion chain from a low-privileged foothold to SYSTEM via Shadow Credentials
The coercion is only step two; every later step depends on the domain accepting a relayed LDAP bind. Data: IppRelayUp README.

Shadow Credentials is the step that makes the chain work. It means writing an attacker-controlled public key into a computer’s msDS-KeyCredentialLink attribute, so the attacker can then request Kerberos tickets as that computer through PKINIT, the certificate-based Kerberos logon.

IppRelayUp lists its requirements as a domain controller on Server 2016 or later with its own key pair, through AD CS or another CA. It also says it starts the WebClient service, which is set to manual by default, although the original BOF README does not mention WebClient.

Who is affected by IPP coercion?

Domain-joined Windows 10 and Windows 11 workstations with the Print Spooler running and the WSD port monitor present are the exposed population. IppRelayUp says both are present by default on workstations, and that Windows Server is not affected because APMon.dll is missing there.

What the testers actually reported

The Impacket pull request is the best public record of how reliable the technique is, and it is mixed.

Tester Setup Result reported
rtpt-romankarwacik Windows 10 22H2, remote script Works with admin rights
rtpt-romankarwacik Windows 11 24H2 Named pipe missing; switched to endpoint mapper
rtpt-romankarwacik Server 2025, admin No incoming connection
rtpt-romankarwacik, ADHDMurky, sup3rDav3 Remote, low-privileged Access denied
GeisericII Windows 11 26H2, fully updated Only empty HTTP requests
ADHDMurky Windows 11 Pro 25H2, BOF Request arrived, no machine auth
sudonoodle Windows 11 26H2, fully patched, BOF Works as low-privileged user

Two points are agreed. Remote use needs administrative rights on the target, and low-privileged use on server editions fails, which the BOF author attributes to the IPP interface sitting behind UAC on servers. Whether every current Windows 11 build sends machine credentials locally is still disputed.

How to check your exposure

Three questions decide whether IPP coercion matters in your domain:

  • Do domain controllers accept unsigned LDAP binds, or LDAPS binds without channel binding? Microsoft documents events 2887, 2888 and 2889 for unsigned binds.
  • Do AD CS web enrollment endpoints accept NTLM over HTTP without Extended Protection for Authentication (EPA)?
  • Can workstations make HTTP connections to arbitrary internal hosts, including other workstations?

If all three answers are no, the coercion still fires, but the authentication has nowhere useful to go.

How does IPP coercion compare with other coercion methods?

IPP coercion joins a long list of techniques that make Windows authenticate on command. The differences are in which machines they reach and what kind of authentication they produce.

Technique Protocol abused Abused call or feature What the sources say
PrinterBug (SpoolSample) MS-RPRN Spooler notifications Needs the Spooler service running
PetitPotam MS-EFSR EfsRpcOpenFileRaw IppRelayUp calls it an EFS vulnerability
DFSCoerce MS-DFSNM NetrDfsRemoveStdRoot Example usage shows domain credentials
WSP coercion MS-WSP Windows Search SMB only; wsearch on by default only on workstations
EvilPrinter IPP, mDNS Add-printer wizard Microsoft: not a vulnerability
IPP coercion MS-RPRN AssocIppDirected HTTP auth, workstations only, no patch

Two things set the newest entries apart. WSP coercion, EvilPrinter and IPP coercion lean on services that are on by default on workstations rather than servers, and IPP coercion produces HTTP rather than SMB authentication, which is the form that relays most easily into LDAP.

The four public implementations

Tool Published Mode Licence
BOF-coerce-ipp (sudonoodle) 3 Nov 2026 Local, inside a C2 agent MIT
Impacket PR 2361 (ThatTotallyRealMyth) 4 Nov 2026 Remote, admin needed Pull request, not merged
coerce_ipp NetExec module (sup3rDav3) 4 Nov 2026 Remote, admin needed None stated
IppRelayUp (nollium) 5 Nov 2026 Local privilege escalation Apache-2.0

As of 1 December 2026 the BOF had 116 stars and 20 forks on GitHub, and the Impacket pull request was still open. The IppRelayUp author says its code and README were largely written with Claude.

Timeline from the IPP coercion BOF release on 3 November to the open Impacket pull request
A local trick became a remote module and a full escalation chain in three days. Data: GitHub repositories and PR 2361.

How do you detect IPP coercion?

No vendor has published a dedicated signature in the sources reviewed, so detection has to cover the trigger, the connection and the payoff.

Network signals

  • Workstations sending HTTP requests to internal hosts that are not printers, especially requests for /ipp/print or to unusual ports.
  • HTTP connections from workstations to other workstations or to unmanaged hosts, which normal printing rarely needs.
  • mDNS announcements for _ipp._tcp.local from hosts that are not printers, which is how EvilPrinter lures a victim.

Directory signals

  • Event 5136 on msDS-KeyCredentialLink with a value added. IppRelayUp’s own README recommends this and notes it needs an audit SACL on the attribute.
  • LDAP binds by a computer account coming from an IP address that does not belong to that computer, which is the core sign of any relay.
  • Events 2887 and 2889 for unsigned LDAP binds, and events 3074 and 3075 for channel binding problems, as described in Microsoft KB4520412.

Host signals

  • Remote MS-RPRN calls that open the WSD port monitor, which require admin rights and are rare outside print management tools.
  • A Kerberos PKINIT logon for a workstation account that has never used certificates before.

The ATT&CK techniques to map are T1187 Forced Authentication and T1557.001 Adversary-in-the-Middle, with Shadow Credentials following as a credential abuse step.

What should defenders do about IPP coercion?

Because the trigger is a supported feature, the priorities below focus on making the stolen authentication useless.

  1. Require LDAP signing and LDAP channel binding on every domain controller. Microsoft’s KB4520412 documents the channel binding policy and says its updates do not change the defaults, so check them yourself. This is also what Microsoft recommended to the EvilPrinter researchers.
  2. Harden AD CS web enrollment. Microsoft’s KB5005413 recommends Extended Protection for Authentication set to Required, HTTPS only, and restricting NTLM on CA servers.
  3. Filter workstation egress inside the network. ATT&CK lists network traffic filtering as the main mitigation for forced authentication. Workstations rarely need to reach other workstations over HTTP.
  4. Turn on the audits before you need them. Add the SACL for msDS-KeyCredentialLink, raise LDAP diagnostic logging long enough to find unsigned binds, and alert on event 5136 for that attribute.
  5. Trim the trigger where it is cheap. Disable the Print Spooler on workstations that never print, and the WebClient service where nobody uses WebDAV, as IppRelayUp’s README suggests.
  6. Reduce NTLM. Every NTLM path you remove is one less thing a coercion can feed. Compliance Control lists NTLM reduction and auditing first in its own advice.
Four defensive control points that break an IPP coercion relay chain
LDAP hardening is the control that defeats this coercion and every other one. Data: Microsoft, IppRelayUp, Compliance Control.

For a wider view of where relayed workstation access leads, see how BloodHound 9.10 maps ADCS attack paths, and how a Rust rewrite changes the network fingerprints in our Impacket-RS detection article.

The catch: IPP coercion is not a domain takeover button

It is easy to read “new coercion, no patch” as a crisis. The sources support something narrower.

Limits that the testers found

The low-privileged path works only locally, so an attacker already needs code running on the workstation. Remote use needs admin rights, which already give an attacker most of what the relay would. Servers and domain controllers are out of reach for a low-privileged user.

Limits that defenders control

The whole value of the trick is a relayed LDAP bind. Domains that enforce LDAP signing and channel binding turn it into a captured hash and nothing more. The open bug reports on recent Windows 11 builds also mean it may fail on a share of a patched fleet.

Open questions about IPP coercion

  • Which Windows 11 builds still send machine credentials? The author reports success on a fully patched 26H2 system, while two testers on 25H2 and 26H2 saw requests with no authentication.
  • Will Microsoft change the behaviour? No Microsoft statement about AssocIppDirected appears in the sources; the only reported response concerns EvilPrinter.
  • When was EvilPrinter published? The Compliance Control page shows no date or author, so the order of discovery cannot be confirmed.
  • Is it used in real intrusions? None of the sources reports in-the-wild use. With a BOF for two C2 frameworks already public, that may change.
  • Does WebClient matter? IppRelayUp lists it as a requirement; the BOF does not. Nobody in the sources has explained the difference.

The bottom line

IPP coercion gives attackers a new, unpatched way to make Windows workstations hand over machine account NTLM over HTTP, and the tooling already spans Cobalt Strike, AdaptixC2, NetExec and a one-shot escalation tool. It is not a remote domain takeover. It is one more reason to finish the job of enforcing LDAP signing, channel binding and EPA, which neutralise this coercion and every one that comes after it.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is IPP coercion?

IPP coercion is an authentication coercion technique that asks the Windows WSD port monitor to associate an IPP printer at an address the attacker controls. The workstation then connects to that address over HTTP and authenticates with NTLM as its machine account, which the attacker can capture or relay.

Is IPP coercion a vulnerability with a CVE?

No CVE has been assigned. The IppRelayUp author describes it as a legitimate printing feature rather than a bug, and Compliance Control says Microsoft told it that a closely related printer-install technique it reported was not considered a vulnerability.

Does IPP coercion need admin rights?

Locally on a Windows 10 or 11 workstation, its author and other testers say a low-privileged user can trigger it. Remotely, through the Impacket script or the NetExec module, testers got access denied without administrative rights on the target.

Does IPP coercion work against Windows Server or domain controllers?

Not as a low-privileged user. The BOF author says the IPP interface sits behind UAC on server editions, and IppRelayUp says the WSD port monitor is absent on Windows Server. A tester also saw no incoming connection from Server 2025 even with admin credentials.

How is IPP coercion different from PetitPotam or PrinterBug?

PetitPotam abuses the EFS remote protocol and PrinterBug abuses spooler change notifications. IPP coercion abuses a printer association feature that its tooling finds only on workstations, and it produces HTTP authentication, which attackers value because HTTP NTLM can be relayed to LDAP when the domain controller does not require signing.

How do I detect IPP coercion?

Look for workstations making HTTP requests such as /ipp/print to internal hosts that are not printers, LDAP binds by a machine account from an IP that is not that machine, and event 5136 changes to msDS-KeyCredentialLink. Domain controllers also record unsigned LDAP binds in events 2887 and 2889.

What stops IPP coercion relay attacks?

Requiring LDAP signing and LDAP channel binding on every domain controller blocks the relay to LDAP that IppRelayUp relies on. Enabling Extended Protection for Authentication and HTTPS on AD CS web enrollment closes the other common HTTP relay target.

Should I disable the Print Spooler on workstations?

Only where users do not print, because the coercion needs the spooler and the WSD port monitor. For most fleets, hardening LDAP and AD CS against relay is the more practical fix, since it covers every coercion method and not only this one.

Keep reading

IPP coercionNTLM relayActive DirectoryPrint Spoolerred team toolsShadow Credentialsdetection engineering