1.1 KiB
1.1 KiB
Description
This module grabs the banner from an SMTP server.
Vulnerable Application
Postfix on Kali Linux:
This is mainly based on the instructions from digitalocean.com. In this case, we don't need to configure all the users and set up the server fully, just enough to display a banner.
apt-get install postfix
- Select
Internet Site
- Select OK, the default is fine
systemctl restart postfix
Verification Steps
- Do:
use auxiliary/scanner/smtp/smtp_version
- Do:
set rhosts [ips]
- Do:
run
Scenarios
Postfix 3.3.0-1+b1 (Ubuntu package number) on Kali (using above config)
msf5 > use auxiliary/scanner/smtp/smtp_version
msf5 auxiliary(scanner/smtp/smtp_version) > set rhosts 10.168.202.216
rhosts => 10.168.202.216
msf5 auxiliary(scanner/smtp/smtp_version) > run
[+] 10.168.202.216:25 - 10.168.202.216:25 SMTP 220 rageKali.ragegroup ESMTP Postfix (Debian/GNU)\x0d\x0a