Wireshark Traffic Analysis: ARP Poisoning & Man In The Middle

Wireshark Traffic Analysis: ARP Poisoning & Man In The Middle

in

Wireshark Traffic Analysis: ARP Poisoning & Man In The Middle

Analyzing network traffic to identify ARP requests, HTTP packets, and sniffed login credentials

In this article, we’ll walk through the process of analyzing network traffic to identify key data points such as ARP requests, HTTP packets, and sniffed login credentials. These techniques are often used in penetration testing and security research to understand how network traffic can be intercepted and manipulated in a Man In The Middle (MITM) attack.

Question 1: What is the number of ARP requests crafted by the attacker?

Process:
 The ARP requests crafted by the attacker can be identified by applying the following filter:
 arp.opcode == 1 and eth.src == 00:0c:29:e2:18:b4

This filter captures ARP request packets sent by the attacker.

1_kKBNaOYzzTp1Ldlgw0bjqw.png

Answer:
284

Question 2: What is the number of HTTP packets received by the attacker?

Process:
To find the number of HTTP packets received by the attacker, I applied the following filter:
 eth.dst == 00:0c:29:e2:18:b4 and http

This filter isolates HTTP packets directed to the attacker’s MAC address.

1_Wa4wn1dR7qvxdd0qrCQdtQ.png

Answer:
90

Question 3: What is the number of sniffed username and password entries?

Process:
To find sniffed credentials, I used the filter:
 eth.dst == 00:0c:29:e2:18:b4 and http.request.method == "POST"

I followed the TCP stream, but it contained too much information. By searching for the term “pass,” I was able to narrow down the entries related to passwords. Although there were some irrelevant results, it was easier to find and count the valid username and password pairs.

1_nSi8fUd2uo5MgPotta7LeQ.png

Answer:
6

Question 4: What is the password of the “Client986”?

Process:
From the results of Question 3, I located the password for the “Client986” by searching through the filtered HTTP POST requests.

1_yCmdROtbWQVXLpDqzEihXA.png

Answer:
clientnothere!

Question 5: What is the comment provided by the “Client354”?

Process:
Similarly, I found the comment provided by “Client354” in the HTTP POST results from Question 3.

1_WlnQN4aYif04JF8Wnnu6Mw.png

Answer:
Nice work!


Conclusion

This exercise provides an excellent demonstration of how an attacker can use ARP poisoning to intercept network traffic and sniff sensitive information like usernames, passwords, and comments. Through Wireshark filters and TCP stream analysis, we were able to identify crucial network activity, including HTTP packets and login data. Understanding these techniques is vital for anyone studying network security, as it highlights the potential risks and methods attackers might use to compromise sensitive data.