SMTP Penetration Testing
Structured walkthrough for assessing SMTP servers covering banner grabbing, user enumeration, open relay checks, and authentication testing.
- CCM score
- 61 of 100
- skills.sh installs
- 185
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers service discovery, banner grabbing, command enumeration, user enumeration, relay testing, brute force, injection, TLS, and SPF/DKIM/DMARC review
- Includes tool invocations for smtp-user-enum, Nmap SMTP scripts, Hydra, Medusa, and Metasploit modules, plus manual Telnet and Netcat steps
- Provides SMTP command and response code reference tables for interpreting VRFY, EXPN, and RCPT results
- Designed for penetration testers assessing mail server security under written authorization
Install
$ npx -y skills add davila7/claude-code-templates --skill 'SMTP Penetration Testing' -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SMTP Penetration Testing
Purpose
Conduct comprehensive security assessments of SMTP (Simple Mail Transfer Protocol) servers to identify vulnerabilities including open relays, user enumeration, weak authentication, and misconfiguration. This skill covers banner grabbing, user enumeration techniques, relay testing, brute force attacks, and security hardening recommendations.
Prerequisites
Required Tools
# Nmap with SMTP scripts
sudo apt-get install nmap
# Netcat
sudo apt-get install netcat
# Hydra for brute force
sudo apt-get install hydra
# SMTP user enumeration tool
sudo apt-get install smtp-user-enum
# Metasploit Framework
msfconsole
Required Knowledge
- SMTP protocol fundamentals
- Email architecture (MTA, MDA, MUA)
- DNS and MX records
- Network protocols
Required Access
- Target SMTP server IP/hostname
- Written authorization for testing
- Wordlists for enumeration and brute force
Outputs and Deliverables
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- Security
- First seen
- Jun 3, 2026
Questions
What does the SMTP Penetration Testing skill do?
It guides security assessments of SMTP mail servers, covering banner grabbing, user enumeration with VRFY, EXPN and RCPT, open relay testing, and brute force login checks. It also covers TLS testing, SPF, DKIM and DMARC analysis, and ends with remediation recommendations.
How do I test an SMTP server for open mail relay?
The skill shows a manual telnet test that sends mail from an outside sender to an external recipient and checks whether the server accepts it, plus an Nmap smtp-open-relay script and a Metasploit relay module. A 250 OK response on the external recipient means the server is an open relay.
What tools do I need to use the SMTP Penetration Testing skill?
The skill calls for Nmap with SMTP scripts, netcat, Hydra, smtp-user-enum and Metasploit, plus a wordlist for enumeration and brute force. It also requires the target server address and written authorization for the test.
How do I install the SMTP Penetration Testing skill?
Run npx -y skills add davila7/claude-code-templates --skill 'SMTP Penetration Testing' -y in your project. After that, the agent can carry out SMTP security assessments such as user enumeration and relay checks.
More from davila7/claude-code-templates
All 398- Avalonia Viewmodels Zafiro184
- Blockrun177
- Moodle External Api Development177
- Windows Privilege Escalation176
- Busybox On Windows173
- Inngest168
- Zapier Make Patterns167
- Trigger Dev164
- Segment Cdp163
- Upstash Qstash163
- Fastmcp Server155
- Memory Search139
- Design To Code135
- Senior Data Scientist3.2K
- Senior Backend2.7K
- Excel Analysis2.7K
- Markitdown2.7K
- Senior Frontend2.2K
- Ui Ux Pro Max2K
- Scientific Writing2K
- Market Research Reports1.9K
- Exploratory Data Analysis1.9K
- Mobile Design1.9K
- Senior Data Engineer1.8K
Similar to SMTP Penetration Testing
More SecuritySSH Penetration TestingSkilldavila7/claude-code-templates213 installsStructured guide for SSH penetration testing covering discovery, enumeration, credential attacks, exploitation, tunneling, and post-exploitation.
email-header-injectionSkillyaklang/hack-skills4K installsExpert playbook for email header injection and SPF/DKIM/DMARC bypass, covering CRLF payloads, spoofing vectors, and mail client abuse.
Network 101Skilldavila7/claude-code-templates210 installsLab setup guide for configuring and testing HTTP, HTTPS, SNMP, and SMB services for penetration testing practice.
penetration-testingSkillaj-geddes/useful-ai-prompts1.1K installsStructured security testing that identifies and documents exploitable application and infrastructure vulnerabilities through simulated attacks.
deliverability-checkerSkillguia-matthieu/clawfu-skills267 installsDiagnoses email deliverability by checking SPF, DKIM, DMARC, and MX records with a score and fixes.
Parse-DMARC MCP ServerMCP servermeysam81236 starsRead and analyze DMARC aggregate reports in one dashboard, backed by a single SQLite file.