<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Namaswi_tiwari on Medium]]></title>
        <description><![CDATA[Stories by Namaswi_tiwari on Medium]]></description>
        <link>https://medium.com/@namaswitiwari?source=rss-a403e76533bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*qLq5HPPzj_oxiw6i</url>
            <title>Stories by Namaswi_tiwari on Medium</title>
            <link>https://medium.com/@namaswitiwari?source=rss-a403e76533bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:47:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@namaswitiwari/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Beyond the WiFi Password: Understanding WPA2 Authentication Through TryHackMe’s WiFi Hacking 101]]></title>
            <link>https://medium.com/@namaswitiwari/beyond-the-wifi-password-understanding-wpa2-authentication-through-tryhackmes-wifi-hacking-101-c07da2b7a4a7?source=rss-a403e76533bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/c07da2b7a4a7</guid>
            <category><![CDATA[cybersecutiy]]></category>
            <category><![CDATA[wifi-security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[Namaswi_tiwari]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 17:59:36 GMT</pubDate>
            <atom:updated>2026-11-22T17:59:36.951Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qOlLdb4vPxXy-M0Q" /><figcaption>Photo by <a href="https://unsplash.com/@dreamlikestreet?utm_source=medium&amp;utm_medium=referral">Dreamlike Street</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>Exploring WPA2 authentication, wireless networking fundamentals, and the lessons behind a beginner-friendly WiFi security lab.</em></p><p>Most people interact with WiFi in the same way: find a network, enter a password, and connect.</p><p>What usually goes unnoticed is the authentication process happening behind the scenes. Terms like SSID, BSSID, WPA2, and the four-way handshake are rarely discussed outside networking or cybersecurity circles, yet they form the foundation of wireless security.</p><p>To refresh my understanding of these concepts, I recently completed the <strong>WiFi Hacking 101</strong> room on TryHackMe. The room serves as a beginner-friendly introduction to WiFi authentication, WPA2 security, and password cracking using the Aircrack-ng suite.</p><p>While the room itself keeps things relatively simple by providing a pre-captured handshake, it still offers a useful overview of the concepts behind wireless authentication.</p><h3>Understanding the Terminology</h3><p>Before looking at attacks, the room introduces a few important terms that appear throughout wireless assessments.</p><h3>SSID</h3><p>The SSID (Service Set Identifier) is simply the network name users see when searching for available WiFi networks.</p><p>Examples:</p><p>Home_Wifi</p><p>Coffee_Shop_Wifi</p><p>Office_Network</p><h3>ESSID</h3><p>An ESSID can represent a larger wireless network that may span multiple access points.</p><p>In practical terms, several access points can broadcast the same ESSID while each maintains its own unique hardware address.</p><h3>BSSID</h3><p>The BSSID identifies an individual access point and is usually represented as a MAC address.</p><p>One example provided in the room was:</p><p>02:1A:11:FF:D9:BD</p><p>When targeting a specific access point, the BSSID becomes particularly important.</p><h3>WPA2 and the Four-Way Handshake</h3><p>The most important concept in the room is the four-way handshake.</p><p>Most home WiFi networks use <strong>WPA2-PSK (Pre-Shared Key)</strong> authentication, where every user connects using the same password.</p><p>When a device joins the network, both the access point and client must prove they know the correct password. However, neither side directly sends the password across the network.</p><p>Instead, this verification happens through the four-way handshake.</p><p>One thing I found interesting is that attackers are generally not trying to capture the password directly. They’re usually interested in capturing the handshake, which can later be used to test password guesses offline.</p><p>The strength of WPA2 therefore depends heavily on password quality.</p><h3>WPA2 Personal vs WPA2 Enterprise</h3><p>The room also briefly introduces the difference between WPA2-Personal and WPA2-Enterprise.</p><h3>WPA2-Personal</h3><ul><li>Shared password</li><li>Common in homes and small offices</li><li>Uses a Pre-Shared Key (PSK)</li></ul><h3>WPA2-Enterprise</h3><ul><li>Username and password authentication</li><li>Typically used in organizations</li><li>Authentication handled using a RADIUS server</li></ul><p>This distinction is important because the attack approaches differ significantly between the two.</p><h3>A Quick Note on WEP</h3><p>Before WPA and WPA2 became common, many wireless networks relied on WEP (Wired Equivalent Privacy).</p><p>WEP is now considered insecure because attackers can recover keys by analyzing sufficient amounts of captured traffic.</p><p>The weaknesses in WEP eventually led to the adoption of WPA and WPA2.</p><h3>Aircrack-ng and Wireless Assessments</h3><p>The room introduces the Aircrack-ng suite, including tools such as:</p><ul><li>airmon-ng</li><li>airodump-ng</li><li>aircrack-ng</li></ul><p>Although the room focuses primarily on cracking a provided capture file, I had previously worked with handshake capture techniques during a cybersecurity assignment, I completed several months ago.</p><p>In that exercise, I used tools such as:</p><ul><li>airmon-ng</li><li>airodump-ng</li><li>aireplay-ng</li></ul><p>to place a wireless adapter into monitor mode, capture traffic, and force client reconnections in order to obtain a fresh handshake.</p><p>Because of that prior exposure, some of the concepts discussed in this room were already familiar, but the room served as a useful refresher and helped reinforce the theory behind the workflow.</p><h3>Ethical Note</h3><p><strong><em>Disclaimer:</em></strong><em> The practical exercise discussed below was performed in a controlled learning environment using a packet capture provided as part of the TryHackMe room. The purpose of this exercise was to understand wireless authentication and password auditing concepts within an authorized educational setting.</em></p><h3>The Practical Exercise</h3><p>The final task of the room provides a captured handshake and asks learners to recover the wireless password.</p><p>At first, I attempted to run Aircrack-ng using the provided archive and the RockYou wordlist:</p><pre>aircrack-ng -w /usr/share/wordlists/rockyou.txt -b 02:1A:11:FF:D9:BD Captures_1578171018678.tar</pre><p>The first obstacle appeared almost immediately.</p><p>The RockYou wordlist wasn’t available in its extracted form, so I had to decompress it first:</p><pre>sudo gunzip /usr/share/wordlists/rockyou.txt.gz</pre><p>After fixing that issue, Aircrack-ng complained about the capture itself.</p><p>It turned out that the provided file was actually a TAR archive rather than a capture file.</p><p>To inspect its contents, I extracted it using:</p><pre>tar -xvf Captures_1578171018678.tar</pre><p>This produced several files:</p><blockquote>NinjaJc01–01.csv</blockquote><blockquote>NinjaJc01–01.kismet.csv</blockquote><blockquote>NinjaJc01–01.kismet.netxml</blockquote><blockquote>NinjaJc01–01.log.csv</blockquote><p>Once I identified the correct capture file, I ran:</p><pre>aircrack-ng -w /usr/share/wordlists/rockyou.txt NinjaJc01–01.cap</pre><p>After processing the handshake against the wordlist, Aircrack-ng successfully recovered the password:</p><p>greeneggsandham</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SW327G3iKi65rWbtCJ-WZQ.png" /></figure><h3>What I Took Away from This Room</h3><p>While this room is fairly introductory, it does a good job of explaining the terminology and concepts that appear repeatedly in wireless security discussions.</p><p>For me, the most valuable part wasn’t the password recovery itself but revisiting the relationship between:</p><ul><li>WPA2 authentication</li><li>Four-way handshakes</li><li>ESSIDs and BSSIDs</li><li>Dictionary attacks</li><li>Password strength</li></ul><p>The practical exercise also served as a reminder that troubleshooting often becomes part of the workflow. Before cracking the password, I had to identify why the wordlist wasn’t available, determine why Aircrack-ng rejected the archive, and locate the correct capture file.</p><h3>Final Thoughts</h3><p>WiFi Hacking 101 won’t turn someone into a wireless security expert, nor is that its goal.Instead, it provides a beginner-friendly overview of how wireless authentication works and introduces some of the terminology and tools used during wireless security assessments.</p><p>If you’re completely new to WiFi security, it’s a solid starting point. If you’ve already explored handshake capture techniques before, as I had, the room works best as a refresher and a way to reinforce the concepts behind the process rather than teaching entirely new material.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c07da2b7a4a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>