githubEdit

abuse

Nmap scan

sudo nmap -Pn -sV -sC -p25,143,110,465,587,993,995 --script=smtp* -p 25 "$ip"

Interact with the SMTP server

telnet "$ip" 25
nc "$ip" 25

Send mail

swaks --to itsupport@"$domain" --from marmeus@marmeus.com --server "$domain" --body "http://10.10.16.16/"

User enum

smtp-user-enum -M VRFY -U /usr/share/wordlists/metasploit/unix_users.txt -t "$ip"

Open Replay attack

mynetworks = 0.0.0.0/0

#With this setting, this SMTP server can send fake emails and thus initialize communication b/w multiple parties. Another attack would be to spoof the email and read it.

Default config file

Last updated