Book Image

Mastering Wireshark 2

By : Andrew Crouthamel
Book Image

Mastering Wireshark 2

By: Andrew Crouthamel

Overview of this book

Wireshark, a combination of a Linux distro (Kali) and an open source security framework (Metasploit), is a popular and powerful tool. Wireshark is mainly used to analyze the bits and bytes that flow through a network. It efficiently deals with the second to the seventh layer of network protocols, and the analysis made is presented in a form that can be easily read by people. Mastering Wireshark 2 helps you gain expertise in securing your network. We start with installing and setting up Wireshark2.0, and then explore its interface in order to understand all of its functionalities. As you progress through the chapters, you will discover different ways to create, use, capture, and display filters. By halfway through the book, you will have mastered Wireshark features, analyzed different layers of the network protocol, and searched for anomalies. You’ll learn about plugins and APIs in depth. Finally, the book focuses on pocket analysis for security tasks, command-line utilities, and tools that manage trace files. By the end of the book, you'll have learned how to use Wireshark for network security analysis and configured it for troubleshooting purposes.
Table of Contents (18 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributor
Preface
Free Chapter
1
Installing Wireshark 2
Index

Email analysis


In this section, we will take a look at what POP and SMTP are used for, as well as investigating the communication in POP and SMTP and learning what some of the codes are; whether they're successful, or error codes, or something like that.

Now, we have three main protocols that we use for email on the internet:

  1. POP
  2. SMTP
  3. Internet Message Access Protocol (IMAP)

These three are used by clients such as mobile devices or software running on a computer; some sort of standalone application such as Thunderbird or Outlook. There are other protocols as well if you're dealing with Outlook for exchange, for example, but primarily, if you're using a generic application and you're accessing your email server in a generic fashion, you'll be using one of these three protocols.

We'll be focusing on POP and SMTP.

POP and SMTP

POP is used for retrieving emails from a mail server. SMTP is used for sending emails to a mail server and sending emails between mail servers. If you'd like to learn more about...