Skip to content
Back to skills

Smtp Mail Enumeration

ASecurity

SMTP and mail (25/465/587, 110/995, 143/993) enumeration — user enumeration via VRFY/EXPN/RCPT, open-relay testing, NTLM internal-info leak, spoof testing, and SMTP smuggling awareness. Tier 1. Use against mail servers to harvest valid users, abuse relays, and test anti-spoofing.

  • 16 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 17, 2026
securityrusttestingbackend

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill smtp-mail-enumeration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Smtp Mail Enumeration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Smtp Mail Enumeration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-smtp-mail-enumeration/badge)](https://www.skillsdirectory.com/skills/anandjogawade-smtp-mail-enumeration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: smtp-mail-enumeration
description: SMTP and mail (25/465/587, 110/995, 143/993) enumeration — user enumeration via VRFY/EXPN/RCPT, open-relay testing, NTLM internal-info leak, spoof testing, and SMTP smuggling awareness. Tier 1. Use against mail servers to harvest valid users, abuse relays, and test anti-spoofing.
---

# SMTP / Mail Enumeration

Mail services leak valid usernames, often relay for anyone, and disclose internal hostnames via NTLM. Enumerate users, test relay/spoofing, and check for SMTP smuggling that bypasses SPF/DKIM/DMARC.

## Trigger phrases
`smtp, 25, 587, mail, vrfy, expn, rcpt, open relay, smtp-user-enum, swaks, smtp smuggling, imap, pop3`

## Method
1. **Banner / capabilities:** `nc -vn <IP> 25`; `nmap -p25 --script smtp-commands <IP>`; TLS: `openssl s_client -starttls smtp -connect <IP>:587`.
2. **User enumeration:** test `VRFY root`, `EXPN <list>`, `RCPT TO:<user>` in a live session; automate: `smtp-user-enum -M VRFY -U users.txt -t <IP>` (fall back `-M RCPT` when VRFY is disabled); `nmap --script smtp-enum-users <IP>`.
3. **Open relay:** `nmap -p25 --script smtp-open-relay -v <IP>`; Metasploit `auxiliary/scanner/smtp/smtp_relay`. Confirm by sending an external→external message.
4. **NTLM info leak:** `nmap --script smtp-ntlm-info <IP>` → internal hostname/domain/OS via `AUTH NTLM`.
5. **Spoof / send test:** `swaks --to victim@target --from ceo@target --server <IP> --body test` → check inbound spoofing (SPF/DMARC enforcement).
6. **IMAP/POP3 (143/993, 110/995):** `openssl s_client`/`nc` banner, `A1 LOGIN user pass`, cleartext-auth check, mailbox enum; brute with hydra where RoE allows.

## Modern / rare techniques
- **[NEW/RARE] SMTP smuggling:** exploit differing end-of-data (`<CR><LF>.<CR><LF>` variant) interpretation between outbound and inbound servers to inject a second spoofed message that passes SPF/DKIM/DMARC of a trusted domain. Craft `.\r\n` variants (e.g., `\r\n.\r`); test sender/receiver pairs — high-impact phishing primitive.
- **STARTTLS stripping / plaintext downgrade** on 587 → credential capture on-path.
- **AUTH mechanism enum** → weak/cleartext LOGIN/PLAIN over non-TLS.

## Escalation / chaining
Valid users → password-spraying, kerberos/winrm; open relay/spoofing + smuggling → redteam-phishing; captured creds → mailbox access/lateral-movement; NTLM leak → domain intel.

## Backend & tooling
Kali/WSL or HexStrike. swaks/smtp-user-enum/openssl work from most vantage points; route spoof/smuggling tests through the operator host.

## Verification (background, before reporting)
Confirm user enum isn't a false positive (server may accept all RCPTs — test a known-bad address first; if it also "exists", enum is unreliable). Re-confirm open relay with an actual delivered test message. For smuggling, prove a spoofed message landed before reporting.

## Evidence
Session transcript (VRFY/RCPT results with the bad-address control), relay/spoof proof, NTLM-info output, smuggling PoC, impact. Remediation: disable VRFY/EXPN, require auth + TLS, close open relay, enforce SPF/DKIM/DMARC, patch mail server for smuggling.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.