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

0
265
PrivExchange

Requirements

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

privexchange.py

This tool (privexchange.py) will simply login on Exchange Web Services to subscribe to push notifications. That means it will make Exchange connect back to you as well and authenticate as the system.

httpattack.py

The attack module (i.e. httpattack.py) that can be used with ntlmrelayx.py to perform the attack without credentials. To get it working:

  • Make alteration to the attacker’s URL in httpattack.py to point to the attacker’s server where ntlmrelayx will run
  • Clone impacket from GitHub git clone https://github.com/SecureAuthCorp/impacket
  • 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