Packet Analysis with Wireshark
Wireshark is the world's most widely used network protocol analyzer and an indispensable tool for both attackers and defenders. You will learn to capture, filter, and reconstruct network sessions to extract meaningful intelligence from raw packet data. Mastering Wireshark allows you to see exactly what is happening on a network at any given moment.
Learning Objectives — Deep Dive
Each objective below is broken down into plain English so you know exactly what you are learning, why it matters, and what you will be able to do when you are done. Mark each one complete as you work through the lesson.
Open a sample capture
Download the http.cap sample file from the Wireshark wiki at wiki.wireshark.org/SampleCaptures and open it in Wireshark using File > Open. This pre-recorded capture contains real HTTP traffic and is ideal for analysis practice because you can repeat the exercise as many times as needed. Alternatively, record your own HTTP capture by visiting a plain HTTP site while Wireshark is running. Confirm the capture loaded correctly by checking that the packet list is populated and the protocol column shows a mix of TCP and HTTP entries.
Filter for HTTP GET requests
In the display filter bar, type 'http.request.method == "GET"' and press Enter to isolate only HTTP GET requests. This filter is more precise than simply typing 'http' because it excludes POST requests, responses, and other HTTP traffic. You should see a list of requests for web resources such as HTML pages, images, and scripts. Note the Host and URI fields in each packet — together they form the full URL that was requested, which is valuable intelligence in a real investigation.
Follow a TCP stream
Right-click any HTTP GET packet and choose Follow > TCP Stream to reconstruct the full HTTP request and response conversation. The client request will appear in red and the server response in blue, including all HTTP headers and the response body. Look for sensitive headers such as Set-Cookie, Authorization, or X-Powered-By that reveal information about the server. This technique is used in real investigations to recover web sessions, extract credentials, and identify the exact content a user downloaded.
Export HTTP objects
Navigate to File > Export Objects > HTTP in the Wireshark menu to open the HTTP object export dialog. This dialog lists every file transferred over HTTP in the capture, including HTML pages, images, JavaScript files, and any other downloaded content. Select all objects and click Save All to export them to a folder on your desktop. In a forensic investigation, this technique can recover files that were downloaded by a suspect, including malware, documents, and images — making it one of the most powerful features in Wireshark for incident response.