Repository navigation
MS-RPRN OPNUM 88 + Example script to coerce HTTP authentication from remote target using IPP - #2361
ThatTotallyRealMyth wants to merge 4 commits into
Conversation
Added RpcXcvData and RpcXcvDataResponse classes as these are needed if someone wanted to coerce HTTP authentication
|
lol literally had the same idea as I saw the BOF today, very nice! |
Thanks @sudonoodle :p |
|
With Windows 10 22H2 Build 19045.6456 it works. With low privileged users I get on all versions when calling |
|
This coercion technique doesn't work on Server workstations unless you're running with high-integrity. This is because the IPP interface is behind UAC on server editions. So, the technique is for workstations only unless you have admin credentials. |
|
Doesn't work for me on Windows 11 26H2, latest update. I tried the manual way from the settings, only getting null HTTP requests. |
|
On Windows 10 Pro 22H2 19045.6456 running it with lowpriv user i get: [-] DCERPC Runtime Error: code: 0x5 - rpc_s_access_denied. Works with admin credentials only.. |
As a non-privileged user, I'm seeing the same access denied error on Windows 11 Pro 24H2 26100.1742. Spun up a Nxc module and it only works with admin creds. |
|
I think the technique was discovered in the past under the name "evilprinter", but I think the "trick" was not well-known. It works locally on W11 as a low priv user. It can not be triggered remotely as a low-priv user. It does not work at all with a low-priv user on servers. |
|
I've tested the technique (my BOF - not this Python script) on 26H2, fully patched and updated as of today, and it works. @sup3rDav3 @ADHDMurky @GeisericII - have you tried the original BOF? Run it from a low-priv context and it should work without issue. |
|
Tried to do it via AdaptixC2 but still the same issue: and ntlmrelayx: |
|
@ADHDMurky You're relaying to SMB. Try relaying to LDAP. Something like: |
|
hmm I don't think that is the issue. It is possible due to my environment having different EDR setup or its my skill issue. But even so that remote impacket script doesn't work either way, BOF is fine though, sick work btw sir! :D |
|
can we confirm this works only with Administrator credentials? ( I haven't tested it yet ). @ThatTotallyRealMyth on your first screenshot, which user was used to coerce the connection? |
|
Hey @anadrianmanrique I had used an admin in the screenshots provided yeah. Low priv user would need to be on the local host : ( |



Hi there, this is a PR to implement a method to coerce and trigget HTTP authentication on a remote target. There was a neccesary OPNUM to implement from MS-RPRN, which was 88 and a example script to show case this. I have also added screenshots showing it working. Disregard the bottom stuff as I have got it now working
Im just struggling as I keep getting bad stub errors. Could I potentially get some help with figuring out where I am going wrong?
Original BoF from which this was made from: https://github.com/sudonoodle/BOF-coerce-ipp
To be abundantly clear, the TTP(using the above bof) should work locally on a workstation to trigger HTTP authentication from a low priv user perspective. This script, works remotely but needs elevated access to the target(be it workstation or server)