exchange-owa-attack
Agent skill fromuphiago/recon-skills
Exchange/OWA NTLM AD leak, spray attack when mail subdomain.
How to install exchange-owa-attack
install exchange-owa-attack
# install the recon-skills pack with the skills CLI
npx skills add uphiago/recon-skills# or add only this skill to Claude Code: copy the folder
recon/exchange-owa-attack/
# into
~/.claude/skills/exchange-owa-attack/ (all projects)
.claude/skills/exchange-owa-attack/ (one project)
1# Exchange/OWA Attack Skill23Exchange Outlook Web Access reconnaissance covering endpoint mapping, NTLM4Type-2 metadata, authentication controls, and version evidence. Password or5lockout testing requires explicit authorization and approved identities.67## When to Use89- Target has `owa.`, `mail.`, `webmail.`, `exchange.`, or `autodiscover.` subdomains.10- crt.sh reveals Exchange-related SAN names (`mail.domain.com`, `autodiscover.domain.com`).11- Port 443 returns NTLM `WWW-Authenticate: Negotiate` or `WWW-Authenticate: NTLM`.12- After `subdomain-enumeration` discovers mail-related hosts.13- After `port-service-discovery` finds HTTPS on port 443 with Exchange fingerprints.1415## Prerequisites1617- `terminal` with curl, python3.18- Target Exchange/OWA URL.19- For password spray: list of usernames (from recon) and password candidates.2021## How to Run2223```bash24# Quick Exchange detection25curl --max-time 30 --connect-timeout 10 -skI "https://TARGET/owa/" | grep -iE "x-owa-version|x-feserver|exchange|microsoft"2627# NTLM challenge capture (AD domain leak)28curl --max-time 30 --connect-timeout 10 -skI "https://TARGET/owa/" -H "Authorization: Negotiate TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==" | grep -i "www-authenticate"29```3031## Quick Reference3233| Technique | What It Reveals | Severity |34|-----------|---------------|---------|35| NTLM Type-2 decode | AD domain, NetBIOS name, computer name, AD timestamp | High |36…
Excerpt shown under the repository's MIT license.
