For those of you who love Wireshark and are asking the question:
How do I find what HTTPS site were visited within a capture?
I have a clever answer.
The problem is that Wireshark does Follow TCP and streams really well, but that assumes you have sort of found what you are looking for.
We begin with our HTTPS profile. Profiles are one of the most important Wireshark capabilities. Setting up and using different profiles for different environments, protocols, and tasks is a crucial skill that we teach in our Wireshark courses. Let's say you went to the Wireshark site and tried to find some! Suprisingly, here is what you would get:
No worries. We have an answer below:
Let's look at what you get with this default basic HTTPS profile.
Here are the capture filters in this profile:
Here are the display filters in this profile:
We have not changed any of the default colors.
Here are the columns set up we like:
Again, all of this is a great starting point. What do you think we are missing? What would you add?
To download this ZIP file click here. Make sure you unzip it into your personal folders, profiles subdirectory:
How Do I use This?
The first thing to do is make sure the profile is in play. Click on the profile area of the bottom information bar of Wireshark, and select the HTTPS profile.
Next, I apply the display filter called SSL Handshake Servers List.
These are all the packets that contain a HTTPS Client Hello packet via SSL to some server:
We now see what sites have been visited in the Server Name column.
Select one of the packets of interest by clicking on it once (I selected the platform.twitter.com packet):
Right click on the packet, select Follow> TCP Stream:
You will get the filtered TCP Stream (note in this case the filter is 'tcp.stream eq 13':
Poof - you are there!
We hope this helps you with finding HTTPS sessions and Wireshark!
Another way to find profiles, click on "Profile" in the tag cloud.