<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How HTTPS prevents MITM attacks? - Cyber Security				            </title>
            <link>https://www.hacktheforum.com/cyber-security/how-https-prevents-mitm-attacks/</link>
            <description>Hack The Forum Discussion Board</description>
            <language>en</language>
            <lastBuildDate>Thu, 09 Apr 2026 22:19:37 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>How HTTPS prevents MITM attacks?</title>
                        <link>https://www.hacktheforum.com/cyber-security/how-https-prevents-mitm-attacks/#post-20073</link>
                        <pubDate>Thu, 09 Apr 2026 17:34:07 +0000</pubDate>
                        <description><![CDATA[HTTPS (HyperText Transfer Protocol Secure) prevents Man-in-the-Middle (MITM) attacks by adding strong encryption, authentication, and data integrity to web communication.
1. Encryption (kee...]]></description>
                        <content:encoded><![CDATA[<p><strong data-start="0" data-end="46">HTTPS (HyperText Transfer Protocol Secure)</strong> prevents <strong data-start="56" data-end="84">Man-in-the-Middle (MITM)</strong> attacks by adding strong <strong data-start="110" data-end="160">encryption, authentication, and data integrity</strong> to web communication.</p>
<h2 data-section-id="q5r0rb" data-start="189" data-end="228">1. Encryption (keeps data secret)</h2>
<p data-start="230" data-end="346">HTTPS uses <strong data-start="241" data-end="288"><span class="hover:entity-accent entity-underline inline cursor-pointer align-baseline"><span class="whitespace-normal">Transport Layer Security</span></span> (TLS)</strong> to encrypt the data between your browser and the website.</p>
<ul data-start="348" data-end="493">
<li data-section-id="1rwhgc5" data-start="348" data-end="427">Even if an attacker intercepts the data, it looks like unreadable gibberish</li>
<li data-section-id="3b3pld" data-start="428" data-end="493">Sensitive info (passwords, credit card details) stays private</li>
</ul>
<p data-start="495" data-end="593">Without HTTPS: attacker can read everything<br data-start="541" data-end="544" />With HTTPS: attacker sees encrypted nonsense</p>
<h2 data-section-id="ppe42r" data-start="600" data-end="652">2. Authentication (proves the website is real)</h2>
<p data-start="654" data-end="777">HTTPS uses <strong data-start="665" data-end="689">SSL/TLS certificates</strong> issued by trusted organizations called <strong data-start="729" data-end="776"><span class="hover:entity-accent entity-underline inline cursor-pointer align-baseline"><span class="whitespace-normal">Certificate Authority</span></span> (CAs)</strong>.</p>
<ul data-start="779" data-end="897">
<li data-section-id="18662ww" data-start="779" data-end="839">These certificates verify that the website is legitimate</li>
<li data-section-id="15l69cb" data-start="840" data-end="897">Your browser checks the certificate before connecting</li>
</ul>
<p data-start="899" data-end="955">Prevents attackers from impersonating real websites</p>
<h2 data-section-id="13ewozn" data-start="962" data-end="1006">3. Data Integrity (prevents tampering)</h2>
<p data-start="1008" data-end="1027">HTTPS ensures that:</p>
<ul data-start="1028" data-end="1160">
<li data-section-id="bx57f5" data-start="1028" data-end="1074">Data cannot be changed during transmission</li>
<li data-section-id="yvsnwm" data-start="1075" data-end="1160">If an attacker tries to modify anything, the connection breaks or shows a warning</li>
</ul>
<p data-start="1162" data-end="1215">Stops attackers from injecting malicious content</p>
<h2 data-section-id="i1s5u3" data-start="1222" data-end="1262">4. Secure Handshake (key exchange)</h2>
<p data-start="1264" data-end="1293">When you visit an HTTPS site:</p>
<ol data-start="1294" data-end="1421">
<li data-section-id="1wdbohx" data-start="1294" data-end="1350">Your browser and server perform a <strong data-start="1331" data-end="1348">TLS handshake</strong></li>
<li data-section-id="1d1b7xr" data-start="1351" data-end="1388">They agree on encryption methods</li>
<li data-section-id="4yy879" data-start="1389" data-end="1421">They securely exchange keys</li>
</ol>
<p data-start="1423" data-end="1489">This process often uses <strong data-start="1447" data-end="1488"><span class="hover:entity-accent entity-underline inline cursor-pointer align-baseline"><span class="whitespace-normal">public-key cryptography</span></span></strong>:</p>
<ul data-start="1490" data-end="1576">
<li data-section-id="q66fcm" data-start="1490" data-end="1526">A <strong data-start="1494" data-end="1508">public key</strong> (shared openly)</li>
<li data-section-id="nd7kvd" data-start="1527" data-end="1576">A <strong data-start="1531" data-end="1546">private key</strong> (kept secret by the server)</li>
</ul>
<p data-start="1578" data-end="1636">Ensures only the intended server can decrypt the data</p>
<p data-start="1578" data-end="1636"> </p>
<p data-start="1578" data-end="1636"> </p>
<p data-start="2274" data-end="2333">HTTPS greatly reduces MITM risk, but it’s not foolproof if:</p>
<ul data-start="2334" data-end="2458">
<li data-section-id="16nt98m" data-start="2334" data-end="2365">You ignore browser warnings</li>
<li data-section-id="pmges7" data-start="2366" data-end="2401">A device is already compromised</li>
<li data-section-id="9gtll4" data-start="2402" data-end="2458">Attackers use advanced tricks (like fake certificates)</li>
</ul>]]></content:encoded>
						                            <category domain="https://www.hacktheforum.com/cyber-security/">Cyber Security</category>                        <dc:creator>Techie</dc:creator>
                        <guid isPermaLink="true">https://www.hacktheforum.com/cyber-security/how-https-prevents-mitm-attacks/#post-20073</guid>
                    </item>
							        </channel>
        </rss>
		