<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Wireshark%2FHTTPS</id>
	<title>Wireshark/HTTPS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Wireshark%2FHTTPS"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Wireshark/HTTPS&amp;action=history"/>
	<updated>2026-06-20T05:27:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Wireshark/HTTPS&amp;diff=8906&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;=Sniffing HTTPS with Wireshark=  Over on the Man in the Middle/Wired/ARP Poisoning and Anonymous Browsing pages, I mention the danger of man-in-the-middle attacks and...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Wireshark/HTTPS&amp;diff=8906&amp;oldid=prev"/>
		<updated>2016-01-18T04:38:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Sniffing HTTPS with Wireshark=  Over on the &lt;a href=&quot;/w/index.php?title=Man_in_the_Middle/Wired/ARP_Poisoning&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Man in the Middle/Wired/ARP Poisoning (page does not exist)&quot;&gt;Man in the Middle/Wired/ARP Poisoning&lt;/a&gt; and &lt;a href=&quot;/wiki/Anonymous_Browsing&quot; title=&quot;Anonymous Browsing&quot;&gt;Anonymous Browsing&lt;/a&gt; pages, I mention the danger of man-in-the-middle attacks and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Sniffing HTTPS with Wireshark=&lt;br /&gt;
&lt;br /&gt;
Over on the [[Man in the Middle/Wired/ARP Poisoning]] and [[Anonymous Browsing]] pages, I mention the danger of man-in-the-middle attacks and traffic sniffing, and the protection that HTTPS can offer you by encrypting your traffic.&lt;br /&gt;
&lt;br /&gt;
However, it&amp;#039;s also important to understand what HTTPS does NOT protect. For example, HTTPS does not protect the destination of the traffic. This is nuanced, however, so a novice unfamiliar with Wireshark might be tricked into thinking that HTTPS is hiding the destination of their HTTPS traffic. It is not.&lt;br /&gt;
&lt;br /&gt;
When you use HTTPS, you prevent a man-in-the-middle attacker from being able to decrypt traffic - that would require your private key. &lt;br /&gt;
&lt;br /&gt;
However, if an attacker had access to your machine, they could steal your private key and use it to decrypt your HTTPS traffic with Wireshark (http://htluo.blogspot.com/2009/01/decrypt-https-traffic-with-wireshark.html and https://support.citrix.com/article/CTX116557 and http://packetpushers.net/using-wireshark-to-decode-ssltls-packets/).&lt;br /&gt;
&lt;br /&gt;
When you use HTTPS and experience a man-in-the-middle attack, you are presented with a warning that the certificate appears invalid.&lt;br /&gt;
&lt;br /&gt;
However, if you accept that certificate, even once, the browser will permanently store it in a database, and it will be very difficult to remove. Once the certificate is accepted and is in your browser&amp;#039;s database, the browser will never warn you when that certificate is being used, meaning an attacker can conduct a man-in-the-middle at any time without you being aware. This means accepting phony certificates, which is as easy as a single click of a button of an impatient and confused Sheep, has enormous implications.&lt;br /&gt;
&lt;br /&gt;
Scary, ain&amp;#039;t it?&lt;br /&gt;
&lt;br /&gt;
===Example HTTPS Traffic in Wireshark===&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s look at an example. I&amp;#039;ll fire up a browser and visit https://en.wikipedia.org and I log in with my MediaWiki username and password. An attacker performing a man-in-the-middle attack can sniff my traffic. Mostly, they see traffic passing between my browser and a certificate authority (multiple IP addresses, but all registered under Verisign, a Certificate Authority.) HTTPS packets going to external addresses can&amp;#039;t be sniffed because those are going through encrypted HTTPS tunnels that wireshark doesn&amp;#039;t &amp;quot;see&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:WiresharkHTTPSTraffic.png|500px]]&lt;br /&gt;
&lt;br /&gt;
All of those SSL and TCP packets are going between the IP address browsing MediaWiki, and IP addresses belonging to Verisign.com, a Certificate Authority.&lt;br /&gt;
&lt;br /&gt;
===Determining HTTPS Traffic Destination===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;HOWEVER, an attacker can still see the destination of HTTPS traffic!!!&amp;#039;&amp;#039;&amp;#039; While your traffic consists almost entirely of TCP packets between you and a certificate authority (IP addresses owned by Verisign), there is one key packet that an attacker may look at to see the destination of your HTTPS traffic by looking through a Wireshark traffic dump: the &amp;quot;Server Hello, Certificate, Server Hello Done&amp;quot; packet. &lt;br /&gt;
&lt;br /&gt;
[[Image:WiresharkServerHelloCertificate.png|500px]]&lt;br /&gt;
&lt;br /&gt;
When you open this packet, you will see the packet contains a certificate. This is the certificate coming from the server, to whom the request is going to. In the photo above you can see clearly that despite the Sheep&amp;#039;s use of HTTPS, someone performing a man-in-the-middle attack can still sniff the Sheep&amp;#039;s connection.&lt;br /&gt;
&lt;br /&gt;
So HTTPS traffic will protect the contents, but NOT the destination, of your traffic.&lt;br /&gt;
&lt;br /&gt;
Not to mention, HTTPS can be beat during a man-in-the-middle attack using [[SSLStrip]].&lt;br /&gt;
&lt;br /&gt;
===Sometimes Destinations are More Obvious===&lt;br /&gt;
&lt;br /&gt;
I guess that SSL certificates differ in how much information gets broadcast, because my cheapie self-signed certificate made it a lot easier to see the destination of HTTPS traffic destined for my website. It was not routed through Verisign.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{WiresharkFlag}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>