# dirkjanm/PrivExchange

Exchange your privileges for Domain Admin privs by abusing Exchange

Repository: https://github.com/dirkjanm/PrivExchange
Canonical: https://ross.abutalabs.com/products/privexchange
Language: Python
License: MIT
License Family: permissive
Last push: 2020-01-23T19:48:51+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2781, "days_push": 2414, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1077, forks 175 (observed 2026-08-28T04:03:29.604415+00:00)

## What it is
PrivExchange is a set of Python proof-of-concept tools that abuse Exchange Web Services push notifications to relay authentication and escalate privileges to Domain Admin. It includes a standalone attack tool and an ntlmrelayx attack module for credential-less exploitation.

## Use cases
- abuse Exchange push subscriptions to capture SYSTEM authentication
- relay NTLM authentication to escalate to Domain Admin
- demonstrate Exchange privilege escalation vulnerabilities in pentests
- test whether Exchange servers are patched against PrivExchange attacks
- integrate an Exchange attack module into ntlmrelayx workflows

## When to choose
- you are performing an authorized penetration test against an Active Directory environment with Exchange
- you need to verify whether Exchange servers are vulnerable to the pushSubscription abuse
- you want a lightweight impacket-based relay attack tool

## When to avoid
- you need a maintained tool with recent updates and support for modern Exchange
- you are not authorized to test the target environment
- your target runs patched Exchange with the vulnerability mitigated

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, http-client
- domain: security, penetration-testing, windows
- platform: python, cli, windows
- tags: active-directory, exchange, ntlm-relay, privilege-escalation, red-team, impacket, proof-of-concept, linux, macos

## Member repositories
- dirkjanm/PrivExchange (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.604415+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:14.508422+00:00, confidence not recorded.
  - readme: https://github.com/dirkjanm/PrivExchange (fetched 2026-08-28T04:03:29.604415+00:00, sha 02278653b0f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
