MITMsmtp is an Evil SMTP Server for pentesting SMTP clients to catch login credentials and mails sent over plain or SSL/TLS encrypted connections. The idea is to catch sensitive emails sent by clients which are not correctly verifying the SMTP servers identity in SSL/TLS mode. It will catch username and password as well as the message itself. This way you might gain access to a companies mail server or catch information like password reset tokens or verification links sent by applications. Using that information you might gain more and more access to a system. MITMsmtp has been built to work together with MITM Attacks like ARP Spoofing to terminate encrypted connections.
MITMsmtp offers a command line tool as well as an open Python3 API which can be used to build own tools for automated pentesting of applications.
MITMsmtp has been tested against the SMTP client of Thunderbird 60.5.3 and some other SMTP clients.
MITMsmtp supports the following connection security modes:
- STARTTLS (under development, not yet working)
MITMsmtp supports the following login methods:
- LOGIN (under development, not yet working)
Other methods are not supported as we want to extract the cleartext password. As this might be a problem for restrictive clients, it is planned to add support for MD5 later. However, NTLM or Kerberos can’t be supported as these methods require the server to know the cleartext password.
This release introduces STARTTLS support and flexible authentication plugins which can be easily loaded to allow custom attacks against clients
Copyright (C) 2019 RobinMeis