PrivExchange – Exchange Your Privileges For Domain Admin Privs By Abusing Exchange


POC tools accompanying the blog Abusing Exchange: One API call away from Domain Admin.


These tools require impacket. You can install it from pip with pip install impacket, but it is recommended to use the latest version from GitHub.

This tool simply logs in on Exchange Web Services to subscribe to push notifications. This will make Exchange connect back to you and authenticate as system.

Attack module that can be used with to perform the attack without credentials. To get it working:

  • Modify the attacker URL in to point to the attacker’s server where ntlmrelayx will run
  • Clone impacket from GitHub git clone
  • Copy this file into the /impacket/impacket/examples/ntlmrelayx/attacks/ directory.
  • cd impacket
  • Install the modified version of impacket with pip install . --upgrade or pip install -e .

Leave a Reply

Leave a Reply