Decoding SMTP Authentication Using Wireshark

In this video, Tony Fortunato shows how Wireshark can decrypt the Base54 encoding on an SMTP trace file.

Tony Fortunato

December 8, 2015

1 Min Read
Network Computing logo

In my last video, I discussed HTTP Basic authentication. I also demonstrated that some network protocol analyzers like Wireshark can decode the Base64 encoding scheme used by HTTP Basic.

In this video, I show you – using Wireshark -- that even the Simple Mail Transfer Protocol (SMTP) can use Base64 encoding as a very basic, weak form of encryption. 

Base64 is a binary-to-text encoding scheme that is generally used to transfer content-based messages and works by dividing every three bits of binary data into six bit units. This new data is represented in a 64-radix numeral system and as seven-bit ASCII text. Because each bit is divided into two bits, the converted data is 33%, or one-third, larger than the original data. Like binary data, Base64-encoded resultant data is not human readable.

The lesson here would be to be aware of what form of encryption you are using.

About the Author(s)

Tony Fortunato

Sr Network Performance Specialist

Tony Fortunato is a network performance expert who has been designing, implementing and troubleshooting networks since 1989. His company, The Technology Firm, provides clients of all sizes with services ranging from project management, network design, consulting, troubleshooting, designing custom-designed training courses, and assisting with equipment installation. Tony's experience in networking started with financial trading floor networks and ISPs, where he learned to integrate and support equipment from various vendors. Tony has taught and presented at numerous colleges and universities, public forums and private classes. He blogs frequently at NetworkDataPediaand has a popular YouTube channel.

SUBSCRIBE TO OUR NEWSLETTER
Stay informed! Sign up to get expert advice and insight delivered direct to your inbox
More Insights