25 - SMTP
Last updated
[nc -nC <TARGET> <PORT>] | [telnet <TARGET> <PORT>] | [openssl s_client -starttls smtp -connect <TARGET>:587]
EHLO localhost
VRFY root
252 2.0.0 root
VRFY idontexist
550 5.1.1 <idontexist>: Recipient address rejected: User unknown in local recipient tableauxiliary/scanner/smtp/smtp_enummail from: <username@company.com>
rcpt to: <victim1@company.com>, <victim2@company.com>
data
Subject: Not a phishing email
Hello,
Please access this website with your work credentials...
The IT department
.swaks --to <EMAIL_1>,<EMAIL_2> --from <EMAIL_3> --server <SMTP_IP> [--auth LOGIN --auth-user "<USER>" --auth-password "<PASSWORD>"] [--add-header "MIME-Version: 1.0" --add-header "Content-Type: text/html"] --header "Subject: <Subject>" --body "<a href='https://evil.com'>Microsoft</a>" [ --attach <FILE_PATH>]
sendemail -t <EMAIL_1> -f <EMAIL_2> -s <SMTP_IP> -u "<subject>" -m "<Message>" [-a <FILE_PATH>]