<?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 Issan on Medium]]></title>
        <description><![CDATA[Stories by Issan on Medium]]></description>
        <link>https://medium.com/@issanpanda?source=rss-6da775227476------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4oDyYUQbuN51YwT5-BLzCQ.png</url>
            <title>Stories by Issan on Medium</title>
            <link>https://medium.com/@issanpanda?source=rss-6da775227476------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:42:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@issanpanda/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[Phase 2: The Wireless Authentication Saga:)]]></title>
            <link>https://medium.com/@issanpanda/phase-2-the-wireless-authentication-saga-6d58cdca72a7?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d58cdca72a7</guid>
            <category><![CDATA[wpa3]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[wpa2]]></category>
            <category><![CDATA[wireless-security]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 17:54:40 GMT</pubDate>
            <atom:updated>2026-06-25T18:14:05.308Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>From WEP’s fall to WPA3’s rise,</em></strong></p><p><strong>The Problem No One Talked About:</strong></p><p>Imagine walking into a library where every conversation is overheard by everyone else in the room. That is what wireless was from the beginning. When Wi-Fi first appeared, engineers knew they needed to protect conversations. But there was an even bigger problem hiding beneath the surface.</p><p>How do you prove someone knows a secret without actually revealing it?</p><p>This is the fundamental challenge that has driven wireless authentication for over two decades. <strong>WEP</strong> tried one solution. <strong>WPA2</strong> improved it. <strong>WPA3 </strong>reimagined it entirely and understanding this evolution is like watching a detective story unfold. Each generation discovered a weakness and designed a smarter defense.</p><p><strong>WEP: The First Attempt</strong></p><p>Let us start with why WEP existed. It was not just about encrypting data. Engineers needed to verify that the device joining a network actually had permission to be there. They chose a <strong>stream cipher</strong> called <strong>RC4</strong>.</p><p>To a ten year old, <strong>RC4</strong> works like a magic pen. You have a secret writing pad. The pen produces a random stream of ink. You write your message by mixing your words with the random ink. To read it, you need the exact same random stream. The problem was that WEP used something called an <strong>Initialization Vector</strong>, or <strong>IV</strong>. Think of the IV as a starting point for the magic pen. WEP’s IV was only <strong>24 bits</strong> long. That might sound large, but it meant that after about 5,000 packets, the IV would repeat.</p><p>When the IV repeats, the magic pen produces the same random stream again. If an attacker captures two packets encrypted with the same IV, they can do something dangerous. They can compare the two encrypted packets. The random streams cancel out, leaving behind the plaintext messages.</p><p>This is why the <strong>FMS</strong> and <strong>KoreK</strong> attacks worked. They did not magically reveal the key from one packet. They exploited the patterns created when IVs repeated. They collected many packets, looked for statistical anomalies, and gradually assembled enough clues to recover the full key.</p><p>The real weakness was not the encryption itself. It was the design that allowed repeated IVs to create recognizable patterns. WEP failed because it gave attackers too many pieces of the puzzle.</p><p><strong>The WPA2 Handshake That Changed Everything:</strong></p><p><strong>WPA2</strong> took a dramatically different approach. Instead of just encrypting traffic, it asked a deeper question. How can a client prove they know the password without ever sending it across the air?</p><p>Think of it like a detective proving they know a secret code without shouting it out in a crowded room. Both the detective and the police chief know the code. But neither wants to say it where eavesdroppers can hear.</p><p>This is where the concept of <strong>PMK</strong> enters the story. Both sides independently derive the <strong>Pairwise Master Key</strong> from the Wi-Fi password. The PMK is like a master ingredient in a recipe. Both sides have it, but neither ever transmits it.</p><p>The handshake begins with the access point sending an <strong>ANonce</strong>. This is just a random number. It is like the detective saying, “Here is a fresh code word for today.” The client responds with their own random number called the <strong>SNonce</strong>. Together, these fresh values ensure that every authentication session is unique.</p><p>Now the magic happens. The client combines the <strong>PMK</strong>, the<strong> ANonce</strong>, the <strong>SNonce</strong>, and the <strong>MAC</strong> <strong>addresses</strong> of both devices. This mixture produces the <strong>PTK</strong>, which is the session key used for that specific connection. The client then creates a <strong>MIC</strong>, which is like a cryptographic signature proving they performed the calculation correctly.</p><p>The access point performs the same calculation. When it receives the client’s MIC, it can verify whether the client actually knows the password. If the values match, authentication succeeds. If they do not, the attempt fails.</p><p>Here is why WPA2 cracking became possible. An attacker standing outside a building can capture the ANonce, SNonce, and MIC from a successful handshake. They cannot directly learn the password from these values. But they can go home, fire up their computer, and bruteforce password guesses offline. For each guess, they derive a PMK, compute what the MIC should be, and compare it to the captured MIC. If the values match, they have found the password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ws6d7ObU6zj5TTqRdMFlfA.png" /></figure><p>This is why WPA2 handshakes are valuable. Once captured, they can be cracked at your leisure. The target does not need to be present. The network does not need to be active. Everything happens on your computer.</p><p><strong>PMKID: A Smarter Approach -</strong></p><p>Researchers eventually discovered something even more efficient. Some access points include a <strong>PMKID</strong> in their <strong>beacon frames</strong> or during association. The PMKID is a hash that combines the PMK, the access point’s MAC address, and the client’s MAC address.</p><p>Why was this a breakthrough? Traditional WPA2 attacks required a client to perform the four way handshake. If no clients were connecting, you had to wait. Sometimes you waited for hours. Sometimes you waited forever.</p><p>The PMKID changed everything. You could capture it directly from the access point without needing any connected clients at all. This made attacks faster and more reliable. Instead of waiting for someone to join the network, you simply asked the access point for the information you needed.</p><p><strong>The Dragonfly: WPA3’s New Approach –</strong></p><p><strong>WPA3</strong> represented a fundamental rethink of wireless authentication. The core change was replacing the four-way handshake with <strong>SAE</strong>, which stands for <strong>Simultaneous Authentication of Equals</strong>. You will often hear it called the <strong>Dragonfly handshake</strong>.</p><p>Imagine two mathematicians meeting in a room. Both know the same formula. Neither wants to say it out loud. Instead, each performs complex calculations using the formula combined with fresh random numbers. They exchange the results and verify that both arrived at the same conclusion. If the verification succeeds, they know they share the same secret.</p><p>This is how SAE works. There are two main phases. In the Commit phase, each side sends a public contribution derived from the password and fresh randomness. Think of it as each person placing a locked box on the table. In the Confirm phase, each side verifies whether the other arrived at the same shared secret. Only after this verification do they derive encryption keys.</p><p>WPA3 also introduced <strong>anti-clogging protection</strong>. Imagine a public wi-Fi network under attack from thousands of fake devices. Each authentication request requires expensive cryptographic work. Anti-clogging forces devices to prove they are serious before the access point spends CPU resources. It works like a deli counter where customers take numbered tickets before being served.</p><p>The biggest improvement was in password guessing resistance. With WPA2, an attacker who captures a handshake can test unlimited password guesses offline. With WPA3, the protocol is designed to make passive password guessing significantly harder. Each guess requires active interaction with the network, which changes the economics of the attack.</p><p><strong>Transition Mode and Protected Management Frames:</strong></p><p>Real-world networks often support both <strong>WPA2</strong> and <strong>WPA3</strong>. This is called <strong>transition mode</strong>. Older devices cannot understand WPA3, so the network offers WPA2 as a fallback. While this improves compatibility, it also means administrators need to think carefully about their security posture.</p><p><strong>Protected Management Frames</strong>, or <strong>PMF</strong>, are another critical WPA3 feature. Remember from Phase 1 that management frames like beacons, authentication, and deauthentication were originally unprotected. Attackers could forge these messages to disrupt connections. WPA3 requires PMF for WPA3 connections, cryptographically protecting management frames and making forgery much harder.</p><p><strong>The Complete Story:</strong></p><p>If you close your eyes and visualize the entire evolution, a clear pattern emerges. WEP asked how to encrypt Wi-Fi traffic. WPA2 asked how to prove both sides know the password without sending it. WPA3 asked how to do that while making passive password guessing significantly harder and strengthening authentication. Each generation built on the previous one. WEP failed because of repeated IVs and predictable patterns. WPA2 introduced a handshake that established trust through cryptographic proof. WPA3 improved resistance to offline password verification attempts and strengthened management frame protection.</p><p>Enjoyed this? Phase three covers <strong>Enterprise Wi‑Fi &amp; Rogue APs</strong>. Stay tuned!!</p><pre>Written by Issan (Max)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d58cdca72a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phase 1: The Hacker’s Guide to Wireless Reconnaissance]]></title>
            <link>https://medium.com/@issanpanda/the-hackers-guide-to-wireless-reconnaissance-phase-1-242ffda4eca4?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/242ffda4eca4</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[network]]></category>
            <category><![CDATA[wireless]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 18:32:41 GMT</pubDate>
            <atom:updated>2026-06-25T18:17:47.324Z</atom:updated>
            <content:encoded><![CDATA[<p>”The only way to understand wireless security is to first understand what wireless actually is.”</p><p><strong>The Nightclub Analogy That Changed Everything</strong></p><p>Let me tell you about the nightclub. Not because I am cool , I am absolutely not xd but because it is the only way I could finally understand what the hell was happening when I first opened a terminal and typed `airmon-ng start wlan0` followed by `airodump-ng wlan0mon`. For three solid days, I stared at screens full of cryptic MAC addresses, strange numbers, and blinking interfaces, feeling like I was reading ancient Egyptian hieroglyphics. Then someone told me about the nightclub, and suddenly, everything clicked.</p><p><strong>Part 1: The Radio Wave</strong></p><p>You know that feeling when you are standing in a club and the bass hits so hard you can feel it in your chest? That is pressure, sound pressure. Radio waves work almost exactly the same way, except instead of air molecules vibrating, we are dealing with electromagnetic fields vibrating. You do not need to know Maxwell’s equations to understand this; you just need to picture throwing a stone into a pond. When your Wi-Fi router sends a signal, it is like throwing that stone. The ripples spread outward in all directions, but the farther they travel, the weaker they become. This weakening is called <strong>attenuation</strong>.</p><p>Now, let us talk about <strong>antennas</strong>. A standard Wi-Fi antenna is like a light bulb, it sends signal everywhere, front and back, left and right, up and down. This is great for covering a whole house but terrible for reaching long distances. What if we wanted to go far? That is where the directional antenna enters the picture. Think of it like a flashlight instead of a light bulb, or even better, like putting your thumb over a garden hose. The same amount of water shoots farther because it is concentrated. This concentration is called <strong>gain</strong>, and gain is everything in wireless hacking. A <strong>Yagi antenna</strong> takes that omnidirectional signal and focuses it into a tight beam; the same power covers less area but travels much further. The trick is that gain does not create power, it simply directs it.</p><p><strong>The Numbers That Actually Matter:</strong></p><p>Let us talk about the numbers that matter, starting with <strong>dBm</strong>, which is how RF engineers measure signal strength. The scale is weird because it goes into the negatives. Excellent signal sits at -30 dBm, great at -50, good at -60, usable at -70, poor at -80, and nearly dead at -90. The golden rule is that closer to zero means a stronger signal. Think of -30 as someone shouting directly in your ear, while -70 is someone whispering from across the room. This brings us to <strong>RSSI</strong>, or <strong>Received Signal Strength Indicator</strong>(PWR), which is literally just a measure of how loudly your adapter is hearing the router. If the router shouts “HELLO!” and your phone hears it clearly, that is a strong RSSI; if it hears a faint “he…lo,” that is a weak RSSI.</p><p>Of course, signal alone is not the whole story because the wireless world is filled with noise. Imagine you are trying to talk to your friend at that nightclub you say “HELLO!” but there is music, other conversations, clinking glasses, and someone screaming about their ex. All that background noise makes it harder for your friend to hear you. The same thing happens with Wi-Fi; noise includes other routers, Bluetooth devices, microwaves, wireless cameras, and even your neighbor’s baby monitor. This is why we have <strong>SNR</strong>, or <strong>Signal-to-Noise Ratio</strong>, which asks the most important question: how much louder is the useful signal compared to the garbage? A signal of 100 with noise of 10 is excellent, but a signal of 20 with noise of 18 is terrible. Higher SNR simply means easier and more reliable communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82zFYJoaTyDBWlMVcAhdHA.png" /></figure><p><strong>Part 2: The Airodump-ng Treasure Hunt</strong></p><p>Now we get to the good stuff. You have got your adapter in monitor mode, you type `airodump-ng wlan0mon`, and suddenly your screen fills with a table of access points. At first glance, it looks confusing, but every single column tells a specific part of the story. Starting with the top table, <strong>BSSID</strong> is simply the MAC address of the access point , think of it like the router’s unique fingerprint. <strong>PWR</strong> is the signal strength of the beacon frames your adapter heard, with -30 meaning you are basically on top of the AP and -80 meaning it is almost impossible. If you ever see PWR equal to <strong>-1</strong>, that does not mean “router on forehead”; it just means the adapter could not determine the RSSI, so it is a placeholder.</p><p><strong>Beacons</strong> are the frames where the AP shouts “I’m here! I’m here!” every few milliseconds so that devices know it exists, and more beacons simply mean more consistent shouting. However, the most misunderstood column is definitely `<strong>#Data</strong>`, which stands for the number of data frames captured during your scan. It is not internet usage, not megabytes, and not packets sent. it is literally just the count of data frames your adapter happened to see while channel hopping. Most values are zero because no one was actively using that AP, or your adapter missed the traffic while jumping between channels. When you do see a high number like 44, it means someone was actually browsing, messaging, or doing background sync on that network. The `<strong>#/s</strong>` column gives you the current packets-per-second rate, while `<strong>CH</strong>` tells you the frequency channel, channels 1 through 11 are the crowded <strong>2.4 GHz band</strong>, and channels 36 and above are the faster but shorter-range <strong>5 GHz band</strong>.</p><p>The `<strong>MB</strong>` column is another point of confusion; it stands for Maximum Supported Data Rate in Mbps, so a value of 130 means roughly 130 Mbps capability, while 866 usually indicates a 5 GHz radio. Finally, the security columns <strong>ENC</strong>, <strong>CIPHER</strong>, and <strong>AUTH</strong> tell you how protected the network is. Open networks have no encryption, <strong>WEP</strong> is completely broken, <strong>WPA</strong> with <strong>TKIP</strong> is old and vulnerable, <strong>WPA2 </strong>with <strong>CCMP</strong> and <strong>PSK</strong> is good if the password is strong, and <strong>WPA3</strong> with <strong>SAE</strong> is currently the best available.</p><p><strong>Reading the Client Table:</strong></p><p>Below the AP table is the client table, which lists every device connected to those access points. The <strong>BSSID</strong> column tells you which AP the client is attached to, and the <strong>STATION</strong> column gives you the client’s unique MAC address, that is the actual phone, laptop, or smart TV. The <strong>PWR</strong> for clients follows the same scale as before; a value of -33 means the device is basically sitting right on top of the AP, while -78 indicates a very weak and struggling connection. The <strong>Rate</strong> column can be tricky because it shows the transmit and receive speeds, so `0–54` means one direction is idle while the other is running at about 54 Mbps, whereas `<strong>1e-24</strong>` usually means the device is sleeping or there is almost no traffic.</p><p>The Lost column is important to understand because it does not necessarily mean the network is bad. If you see Lost equal to 773, it often means your cheap adapter missed packets while hopping channels, or there was interference and weak signal. Wireless is fundamentally messy, so lost frames happen all the time and are often a capture problem rather than a network problem. The <strong>Frames</strong> column tells you how many frames your adapter actually saw involving that client, with higher numbers indicating more active devices. Finally, the <strong>Probe</strong> column will show an ESSID if the client is actively searching for a specific network, so seeing “Probe = Starbucks WiFi” means that device is out there looking for Starbucks.</p><p><strong>Part 3: Reading the Wireless Story:</strong></p><p>When you put all this together, you stop seeing random numbers and start reading a story. A well-behaved Wi-Fi connection begins when the AP broadcasts a Beacon saying “I’m here!” Then the client shouts a Probe Request asking “Anyone home?” and the AP replies with a Probe Response saying “Yes, I’m here!” Next, the client sends an Authentication frame to start the relationship, and the AP responds with an Authentication Response to say “Go ahead.” The client then asks to join the network with an Association Request, and the AP grants access with an Association Response. After that, they shake hands using <strong>EAPOL frames </strong>to prove the client is legitimate, which is the famous WPA handshake. Finally, Data frames flow back and forth for actual communication, and every successful packet gets confirmed with an <strong>ACK frame</strong>. When you look at airodump-ng output now, you are not just seeing numbers you are seeing which chapters of this story are currently happening.</p><p><strong>Part 4: Wireshark:Reading the Actual Conversation</strong></p><p>Airodump-ng tells you who exists and what they are doing at a high level, but Wireshark tells you what they are actually saying. For your very first Wireshark session, do not touch any filters and do not panic at the thousands of packets. Just scroll through the capture and practice recognizing frames. Find a Beacon and say to yourself, “This AP is advertising itself.” Find a Probe Request and say, “A device is searching.” Spot a Probe Response and acknowledge that the AP answered. Locate an Authentication frame and recognize that a relationship is beginning, then find an Association frame to see the client joining. When you see EAPOL, understand that trust is being established, and when you spot Data, you know actual communication is happening, followed by ACK frames confirming delivery. If you can point to a packet and explain its role in the connection story, you have already succeeded at Phase 1.</p><p>Enjoyed this? Dropping out the rest of the series: Phase 2: <strong>Encryption &amp; Authentication Protocols</strong>, Phase 3: <strong>Enterprise Wi‑Fi &amp; Rogue APs</strong>, Phase 4: <strong>SDR, Bluetooth, NFC, and IoT</strong>, Phase 5: <strong>Wi‑Fi 6/6E/7, Packet Analysis, and Firmware and </strong>Phase 6<strong>: Full Attack Chain Integration &amp; Lab Practice </strong>soon. Stay tuned!</p><pre>-Written by Issan(Max)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=242ffda4eca4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I built a secret dashboard for hackers and left the door unlocked]]></title>
            <link>https://medium.com/@issanpanda/i-built-a-secret-dashboard-for-hackers-and-left-the-door-unlocked-5341ab3b76df?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/5341ab3b76df</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[js]]></category>
            <category><![CDATA[github-pages]]></category>
            <category><![CDATA[offensive-security]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 10:55:28 GMT</pubDate>
            <atom:updated>2026-06-10T10:55:28.793Z</atom:updated>
            <content:encoded><![CDATA[<p>No sign-ups. No BS. Just a gate, a cipher, and everything I wish I had when I started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*krWbjKaXnJg_nK8YV2l-mg.png" /></figure><p>I used to live in 47 browser tabs. One for web security. One for API hacking. Another for Android exploits. A few more for notes, tools, labs, and that one PDF I swore I’d read later. It was chaos. And I knew every other aspiring hacker was drowning in the same mess.</p><p>So I built Maxagain_dashboard a cyber operations dashboard that puts everything in one place. But I didn’t want it to be just another resource library. I wanted it to feel like a <em>command center</em>. A place where you knock to enter, not just click a login button.</p><h3>🚪 The Gate</h3><p>No registration. No email verification.<br>Just a single cipher.</p><pre>OPERATOR ID: issan<br>ACCESS CIPHER: max</pre><p>If you know, you know;)</p><p>Enter the gate. A glitched‑out UI surrounds you. From that moment, you’re not a visitor. You’re an operator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxV7tpLy3HHmYQuF7J8HTw.png" /></figure><h3>⚡ Inside the Dashboard</h3><p>Once you’re in, the sidebar gives you thirteen modules everything a modern hacker touches:</p><ul><li>Web Security</li><li>API Exploits</li><li>Android &amp; iOS Hacking</li><li>Malware Analysis</li><li>Wireless &amp; IoT/5G Attacks</li><li>Social Engineering</li><li>Cryptography</li><li>DDoS Research</li><li>Play Labs</li><li>My Tools <em>(including MAXMAP — my automated recon pipeline)</em></li></ul><p>No PDFs scattered across devices. No YouTube playlists on pause.<br>Just one dark‑themed interface where everything lives.</p><h3>👨‍💻 The Hacker’s Lounge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bG-V5zu9X9hvbZCZ2l3fZw.png" /></figure><p>A live, anonymous chat built into the dashboard.<br>You enter an alias no registration, no email and you’re in.<br>Messages auto purge after 100 entries. No logs. No traces.It’s a digital speakeasy.<br>Drop a question, share a zero‑day, or just lurk in the shadows.<br>The community is small right now — but that’s exactly how the best things start.</p><h3>Why MAXAGAIN_DASHBOARD Matters:</h3><p>There’s a thousand courses, books, and YouTube channels.<br>But very few places where you can learn, lurk, and practice all in the same environment.</p><p>I built MAX_AGAIN because I needed it myself.<br>Now I’m opening the gate for anyone else walking the same path🔗 The Gate is Open</p><p>🌐 Live Dashboard: <a href="https://issanpy.github.io/maxagain_dashboard">issanpy.github.io/maxagain_dashboard</a><br>🛠️ GitHub (MAXMAP): <a href="https://github.com/IssanPy/MAXMAP">github.com/IssanPy/MAXMAP</a></p><p>Got an idea? Drop it in the comments I’m listening and if you find the dashboard useful DROP YOUR FAV EMOJI;)</p><p><em>Stay curious. Hack responsibly. Keep building.</em><br> — Issan (Max)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5341ab3b76df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MAXMAP: Your automated recon sidekick.]]></title>
            <link>https://medium.com/@issanpanda/maxmap-your-automated-recon-sidekick-21f906bf665a?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/21f906bf665a</guid>
            <category><![CDATA[bugbounty-tips]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[recon]]></category>
            <category><![CDATA[bash]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Wed, 27 May 2026 18:39:35 GMT</pubDate>
            <atom:updated>2026-05-27T18:39:35.064Z</atom:updated>
            <content:encoded><![CDATA[<p>I remember the nights when recon meant opening six terminal tabs, copy-pasting subdomains from one tool to another, normalizing URLs by hand, and still wondering what I’d missed. That workflow was killing my curiosity and my edge. So I built MAXMAP: a single-command pipeline that runs your entire attack-surface discovery from start to finish, the way a human would, just faster and without the burnout.</p><h3>What MAXMAP Actually Does</h3><p>MAXMAP isn’t just a script that chains tools together. It’s a battle tested reconnaissance workflow wrapped in bash. You feed it a domain, and it delivers everything you need to start hunting:</p><ul><li>Every subdomain from passive sources (subfinder + crt.sh).</li><li>Only the live ones, filtered through httpx.</li><li>Open ports across the estate, discovered with naabu.</li><li>Service and version data from a targeted nmap scan.</li><li>Hidden directories brute-forced with dirsearch.</li><li>Historical URLs and parameters extracted by gau.</li><li>JavaScript files ripped from those endpoints, then cleaned with uro.</li></ul><p>All of this lands in a single timestamped report folder. No mess, no manual merging, no “where did I save that file” moments.</p><h3>The Pipeline</h3><p>Every step feeds the next without human intervention. Here’s the flow:</p><p>text</p><pre>Subfinder → crt.sh → Live Host Detection → Port Scan → Nmap → Dirsearch → GAU → JS Extraction → Normalization → Clean Reports</pre><p>Deduplication happens automatically. Dead hosts are ignored early. Timeouts are built in so a single unresponsive server doesn’t stall the whole operation. It feels like turning on a surveillance radar over a target’s entire internet presence.</p><h3>Using It Is Painfully Simple</h3><p>Clone the repo, make it executable, and run it.</p><p>bash</p><pre>git clone https://github.com/IssanPy/MAXMAP.git<br>cd MAXMAP<br>chmod +x maxmap.sh<br>./maxmap.sh target.com</pre><p>Miss a dependency? MAXMAP installs it for you on the first run if you let it. You don’t need to chase Go tools or Python packages manually. It’s built to work on a fresh Kali install.</p><h3>What You’re Left With</h3><p>After the scan, you’ll have a directory like maxmap_reports/target.com_2026-05-28_14-32/ containing:</p><ul><li>all_subdomains.txt — every subdomain discovered.</li><li>subdomains_alive_urls.txt — live HTTP/HTTPS URLs ready for fuzzing.</li><li>naabu_ports.txt — open ports across all hosts.</li><li>nmap_full.txt — service banners and versions.</li><li>directory.txt — interesting directories and files.</li><li>filterparam.txt — unique parameters waiting for injection tests.</li><li>jsfiles_uro.txt — clean JavaScript URLs begging to be crawled.</li></ul><p>It’s not raw telemetry, it’s a curated attack surface, organized for immediate action. Whether you’re hunting IDORs, XSS, info leaks, or subdomain takeovers, everything you need is already sitting in that folder.</p><h3>Why It Matters</h3><p>Recon is where most bugs are found, but it’s also where most hunters burn out before they even start testing. MAXMAP removes the repetitive grind so you can spend your time doing the part that actually matters: thinking like an attacker and exploiting the weaknesses the scan uncovered. I wrote this tool because I was tired of the noise. I wanted one command that answered the question <em>“What the hell is actually out there?”</em> and gave me a clean map of the territory. Now I start every hunt with MAXMAP, and within minutes I know more about the target than most people learn in hours.</p><h3>Get Started</h3><p>The code is open-source under MIT. If you believe recon should be fast, complete, and human centric, give it a star and take it for a spin.</p><p><a href="https://github.com/IssanPy/MAXMAP">MAXMAP on GitHub</a></p><p>Screenshots:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cLLCsTf_8ewOYN9HOoThzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wK35UTZf1UUYeO-N3Ck_uA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFqx92tI3tuCnv8Czl-FMg.png" /></figure><pre>Recon hard. Hunt clean. Let the machine do the grunt work.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21f906bf665a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explore how I hunted entire government’s db from a multi national car dealer’s forgotten folder]]></title>
            <link>https://medium.com/@issanpanda/explore-how-i-hunted-an-entire-governments-db-from-a-multi-national-car-dealer-s-forgotten-119d7641ced9?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/119d7641ced9</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[responsible-disclosure]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Mon, 25 May 2026 19:19:46 GMT</pubDate>
            <atom:updated>2026-05-27T19:31:22.404Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Just a directory listing that should never have been public.</strong></p><p>TBH, I wasn’t hunting for a government breach. I was auditing and mapping the digital shadow of a luxury automotive dealership, part of a multinational conglomerate. The goal was simple when I found few exposed API endpoints, maybe a forgotten test drive form.</p><p>But but but what I found instead was a complete tps(transfer proposal system) for a state government’s IT department, with live employee records, db admin passwords, and the entire source code laid out like a red mat welcoming me xd</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h0OpZMH6j4MppateF42M1w.png" /></figure><p><strong>The Accidental Click</strong></p><p>A routine subdomain enumeration brought up a domain. No login page, just an Apache index. At mans the directory listing was on, and the folders inside weren’t juss marketing assets.</p><p>They were:</p><ul><li>DB/ — multiple .xls files named after GUIDs, each a full dump of employee_detail.</li><li>Controller/ — JavaScript files controlling authentication, user rights, and transfers.</li><li>Handler/ — raw .ashx handlers with source code visible because <a href="https://asp.net/">ASP.NET</a> wasn’t even processing them.</li><li>App_Code/ — C# backend classes (though later blocked by 403, their names were listed).</li><li>web.config — the application’s master configuration file, fully readable.</li></ul><p>The login page title? <strong>TPS</strong> tagged with state’s IT department. This wasn’t a dealership project. It was a government HR application parked on a third‑party mail server.</p><p><strong>What the Spreadsheets Revealed</strong></p><p>One .xls download later, my terminal filled with columns: Employee Name | Father’s Name | Date of Birth | Mobile Number | Permanent Address | SIPF ID | Retirement Date | Designation | Official Email that even spoke me if the employee is alive or not. Over two hundred rows, real names, real government IDs,home addresses and phone numbers. Some records had retirement dates years in the past this was production data mirrored into a publicly accessible backup folder.</p><p>No SQL injection required. No authentication bypass. Just a direct HTTP GET.</p><p><strong>The Authentication Source Code, Unmasked</strong></p><p>LoginApp.js gave away the entire login mechanism. Two functions stood out:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xSp4Icew9yRWidF-Trxztw.png" /></figure><ul><li>SSOLogin(): skipped the server entirely, just stored a username in localStorage and redirected. A broken client‑side shortcut, though protected by API token checks later.</li><li>LOGIN_SECURE: called /Handler/LogoPath.ashx with a username and password, then a stored procedure USP_SSO_LOGIN validated them. The source of that handler was also exposed, showing token generation and host‑IP filtering logic.</li></ul><p>Even the main prod site’s call‑back form had otp_status set to yes in the hidden input a potential OTP bypass if you wanted to flood their CRM with fake leads.</p><p>But the real gem was still one directory up.</p><p><strong>The web.config That Gave Me God Mode</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcL3XLWeKgDl7b_QCjSsjQ.png" /></figure><p>GET /mans/web.config returned raw XML. Among the configuration was a pair of connection strings that made my blood run cold:</p><p>xml</p><p>&lt;connectionStrings&gt;</p><p>&lt;! — Production →</p><p>&lt;add name=”con” connectionString=”Data Source=10.x.x.x,1433;Database=TransferProposalSystem;User ID=tps;Password=pSt@@#*#@2026#;Integrated Security=False;”/&gt;</p><p>&lt;! — Staging →</p><p>&lt;add name=”connect” connectionString=”Data Source=VM-TPSYS-STAG;Database=TransferProposalSystem;User ID=sa;Password=dtcsarsa@$@#2026#;Integrated Security=False;”/&gt;</p><p>&lt;/connectionStrings&gt;</p><ul><li>Sa(sys admin) on staging: the SQL Server equivalent of root. Full control over every database, with the ability to enable xp_cmdshell and run OS commands.</li><li>tps on production: direct access to the live employee transfer system, with all its data.</li></ul><p>Both were plaintext passwords, sitting in a file accessible from anywhere.</p><p>The same config exposed internal network topology: web server at 163.x.x.2xx, database at 10.70.235.154, and an external master data web service at 2xx.xx.xx.x32 — another potential entry point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HuXboqjiOb-UZbXHvohLg.png" /></figure><p><strong>The Blueprint: Default Admin and Schema</strong></p><p>TableSetup.sql was also in the DB/ folder. It created every table: employees, transfers, postings, designations, departments,pvt tokens. And it inserted a default administrator:</p><p>sql</p><p>INSERT tbl_LoginUserMaster (SsoID,Name,IsActive,IsAdmin,Token,CreatedBy,CreatedDate)</p><p>SELECT ‘admin’,’app_admin’,1,1,NULL,’ADMIN’,GETDATE()</p><p>A pre‑baked admin account with full privileges. Combined with sa access to the database, you could directly inject a valid token into that table and impersonate the admin without ever seeing the login page.</p><p><strong>The Attack Chain I Never Executed</strong></p><p>Even without touching a live system, the passive discovery mapped a devastating kill chain:</p><ol><li><strong>Directory listing</strong> → full inventory of all sensitive files.</li><li><strong>DB backups</strong> → PII of hundreds of government employees.</li><li>web.config → sa credentials for staging, tps for production.</li><li>TableSetup.sql → default admin account and complete schema.</li><li><strong>Source code</strong> the only deal for REs→ authentication bypasses, internal IPs, service endpoints.</li></ol><pre>I never exploited a single thing beyond my auth😉 Well the evidence was already in plain text.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=119d7641ced9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I hacked the reports database of a Mid‑Cap Industrial Stock while my flatmate grinded Valo]]></title>
            <link>https://medium.com/@issanpanda/how-i-hacked-the-reports-database-of-a-mid-cap-industrial-stock-while-my-flatmate-grinded-valo-5e17f0064449?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e17f0064449</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Mon, 18 May 2026 14:46:04 GMT</pubDate>
            <atom:updated>2026-05-18T14:46:04.855Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Just a 3 AM rabbit hole, a locked admin page, and a secret that should’ve never left at the server.</strong></p><p>My flatmate was screaming about a missed headshot while I was staring at a password form on a multi‑hundred‑crore company’s website. Two hours later, I was inside their reports database, every job application, every contact‑form inquiry, every résumé link, dating back to day one. And I never had to break a thing.</p><p>This isn’t a CTF writeup. This is a real mid‑cap industrial stock listed on the NSE. And they left the keys in the Js.</p><p><strong>Step 1: The Gate</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUKgg7DJ1r7_N6GKql7NIA.jpeg" /></figure><p>The /reports page was a simple white box: “Enter Password.” No username. No submit to a server. Just a client‑side form. When a site does that, it’s screaming one thing: <strong>the password is in the code.</strong></p><p>But how do you find it in a modern Next.js app with a hundred minified chunks?</p><p><strong>Step 2: The Chunk Hunt</strong></p><p>Next.js gives every page its own JavaScript file. I opened the page source, looked for the script tag:</p><p>html</p><p>&lt;script src=”/_next/static/chunks/pages/reports-69xae817429f1ce4.js” defer=””&gt;&lt;/script&gt;</p><p>That’s the file with the logic. I downloaded it with curl, then ran one command:</p><p>bash</p><p>grep -i ‘password’ reports.js</p><p>And there it was, inside a single giant line:</p><p>javascript</p><p>“__admhost __*8899*@*21#285#699#64”===r ? p(!0) : showToast(“Incorrect password…”)</p><p>The password was a hardcoded string. No hashing. No server check. Just a string comparison in the browser.</p><p><strong>Step 3: The Bypass</strong></p><p>I typed that password into the form, hit Submit, and the page immediately transformed into an <strong>Export Data</strong> panel with a form selector, date range picker, and a bright “Export to Excel” button.</p><p>No API token. No session. The client-side gate just let me through because I knew the secret that never should have been client-side in the first place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rWxBdG_CVOdUKnEhOB5oKg.jpeg" /></figure><p><strong>Step 4: What Was Behind the Gate</strong></p><p>Two forms could be exported:</p><ul><li><strong>Contact Us Form</strong> — every personal info: names, emails, phone numbers, messages.</li><li><strong>Career Form</strong> — every job application: resumes, cover letters, contact details, positions applied for.</li></ul><p>The career form even returned direct URLs to uploaded résumés, stored on the company’s CDN. The data went back to the very first submissions. I could filter by any date range and download an .xlsx with everything.</p><p>I didn’t download anything, that’s the line every ethical hacker should respect of😉 I won’t cross without authorization but the attack surface was massive: full of PII exposure, internal hiring pipeline leaks, and a h@cker*’s phishing goldmines.</p><p><strong>The Technical Lessons (Why This Happened)</strong></p><ol><li><strong>Client‑side authentication is theater</strong><br> If the password check happens in JavaScript, the password lives in the JavaScript. There is no way to hide it. Move auth to the server.</li><li><strong>Static exports don’t mean safe</strong><br> The page was nextExport:true, but developers often assume static == no secrets. They forgot that the JS bundle still runs on the client.</li><li><strong>Secrets in source code are trivially discoverable</strong><br> A single grep command on the right chunk revealed the password. Any visitor can do this.</li><li><strong>Staging environments clone production flaws</strong><br> The same vulnerability existed on the staging subdomain, with an identical password. Always lock down staging like production.</li></ol><p><strong>🎯 The Takeaway</strong></p><p>This wasn’t a CTF. This was a real company with real money, real employees, and a real vulnerability that could’ve been exploited by anyone with cURL and a keyboard.</p><p>If you’re a developer building admin panels, please remember — <strong>Never ever trust clients!</strong></p><pre>Now back to my flatmate, who&#39;s still stuck in Silver XD</pre><p><em>Found this useful? Smash that clap button and follow for more real‑world security breakdowns. No labs. No fake targets. Just the messy, beautiful internet.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e17f0064449" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I hacked a protected wifi in 15 minutes!(With a $20 Adapter)]]></title>
            <link>https://medium.com/@issanpanda/how-i-hacked-a-protected-wifi-in-15-minutes-with-a-20-adapter-fd1e96999805?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd1e96999805</guid>
            <category><![CDATA[network]]></category>
            <category><![CDATA[prentesting]]></category>
            <category><![CDATA[wireless]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Fri, 08 May 2026 18:50:57 GMT</pubDate>
            <atom:updated>2026-05-08T18:50:57.494Z</atom:updated>
            <content:encoded><![CDATA[<p>This summer eve, I unboxed a TP‑Link AC1300 USB Wi‑Fi adapter. By midnight, I had cracked the password of a test Wi‑Fi network I set up in my home lab, using nothing but open source tools and a little patience.</p><p>Disclaimer: This was performed against my own test network. Hacking networks you don’t own is illegal. This is for educational purposes only.</p><h3>The Weapon</h3><p>The adapter is a TP‑Link Archer T3U Plus a USB 3.0 dongle with a Realtek RTL8812BU chipset. It supports monitor mode and packet injection, the two ingredients that turn a regular Wi‑Fi card into a hacker’s Swiss Army knife. Price: around $20.After plugging it into a Kali Linux machine, I compiled the open‑source driver from GitHub, rebooted, and I was ready.</p><h3>Step 1: Activating Monitor Mode</h3><p>Monitor mode lets a Wi‑Fi card sniff all wireless traffic, not just what’s addressed to you. This is the foundation of every wireless attack.</p><p>bash</p><pre>sudo airmon-ng check kill<br>sudo airmon-ng start wlan0</pre><p>Within seconds, my interface was listening to the air.</p><h3>Step 2: Recon: Seeing the Invisible</h3><p>To discover nearby networks, I ran:</p><p>bash</p><pre>sudo airodump-ng wlan0mon</pre><p>A live table appeared: access points, channels, encryption types, and connected clients. I had set up a test ACT network on channel 2 with WPA2 security and a weak password for the experiment with an BSSID(censored). Two clients were connected a smartphone and a laptop.</p><h3>Step 3: Capturing the Handshake</h3><p>WPA2 uses a 4‑way handshake to authenticate devices. If you capture that handshake, you can crack it offline. The trick is to force a client to reconnect, which they do when you send a deauthentication frame.I zoomed in on my target:</p><p>bash</p><pre>sudo airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w mycapture wlan0mon</pre><p>In a second terminal, I fired deauth packets at one client:</p><p>bash</p><pre>sudo aireplay-ng -0 10 -a AA:BB:CC:DD:EE:FF -c 11:22:33:44:55:66 wlan0</pre><p>The client was kicked, immediately reconnected, and “WPA handshake: AA:BB:CC:DD:EE:FF” appeared on my screen. I had the encrypted key material.</p><h3>Step 4: Cracking the Password</h3><p>The capture file contained the handshake. To crack it, I used aircrack-ng with the infamous rockyou.txt wordlist:</p><p>bash</p><pre>sudo aircrack-ng mycapture-01.cap -w /usr/share/wordlists/rockyou.txt</pre><p>In few minutes, the terminal lit up: text</p><pre>KEY FOUND! [ password123 ]</pre><p>I had compromised my own network.</p><h3>Forensics:The Client That Hided Itself</h3><p>Out of curiosity, I ran a packet analysis to see which client actually performed the handshake:</p><p>bash</p><pre>tshark -r mycapture-01.cap -Y &quot;eapol&quot; -T fields -e wlan.sa</pre><p>The output showed a MAC address I hadn’t targeted a randomized, locally administered address. My smartphone, which had been deauthed, reconnected with a completely new random MAC. Modern privacy features tried to hide the device, but the handshake still gave it away. This is network forensics at its simplest and it felt like a detective work;)</p><h3>Lessons Learned</h3><ul><li>Weak passwords are a gift to attackers. A dictionary word falls in seconds. Use long, random passphrases.</li><li>Wi‑Fi management frames are unprotected. You don’t need the password to send a deauth; you just need to be nearby.</li><li>Always test on what you own. Real‑world skills are built in safe, legal labs.</li></ul><h3>What’s Next?</h3><p>Today I’ll explore PMKID attacks — cracking Wi‑Fi without a single deauth packet, and without a connected client. Then WPS brute‑forcing, evil twin phishing, and eventually full automation with wifite2. The journey is just starting.</p><p>If you’re interested in cybersecurity, start building your own lab. It’s the most rewarding way to learn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CG76HxO20pZ2ilN7tDJgYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M2m_DQyTUasper9beh-xTw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd1e96999805" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚙️ Day 4 of RE: Time is the Ultimate Resource — How Your OS Steals, Shares, and Slices It!]]></title>
            <link>https://medium.com/@issanpanda/%EF%B8%8F-day-4-of-re-time-is-the-ultimate-resource-how-your-os-steals-shares-and-slices-it-80844437b9f3?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/80844437b9f3</guid>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[system-designing]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 15:38:41 GMT</pubDate>
            <atom:updated>2026-04-13T15:38:41.380Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome back to our RE deep‑dive series. Today we didn’t just learn about processes — we learned about time. How does an OS decide who runs next? How does it measure time down to the microsecond? And how does Linux’s Completely Fair Scheduler (CFS) live up to its name?</p><p>Buckle up. We’re talking timer chips, interrupts, time slices, and the beautiful chaos of multitasking.</p><h3>⏲️ The Clock Inside Your Machine — Timer Chips &amp; PIT</h3><p>Every OS needs a heartbeat. That’s where timer chips come in. The most famous is the PIT (Programmable Interval Timer) — an old but gold chip (Intel 8253/8254) that’s been ticking since the IBM PC era.</p><ul><li>How it works: The OS programs the PIT with a counter value. The PIT counts down at a fixed frequency (usually 1.193182 MHz). When it hits zero, it fires a hardware interrupt — the CPU stops whatever it’s doing and jumps into the kernel’s timer interrupt handler.</li><li>What it enables: Time slicing, scheduling, time() syscalls, and even your music player’s metronome.</li></ul><p>Modern systems also use HPET (High Precision Event Timer) and TSC (Time Stamp Counter) for nanosecond precision, but the concept is the same: hardware pokes the OS at regular intervals.</p><blockquote><em>💡 Fun fact: The PIT’s default frequency (~18.2 Hz back in the day) is why old DOS games felt jittery. Today we run at 100 Hz, 250 Hz, or even 1000 Hz (CONFIG_HZ).</em></blockquote><h3>🔌 Hardware Interrupt vs. Software Interrupt — The Two Doors</h3><p>Interrupts are how the CPU stops its current work to handle something important.</p><p>Hardware InterruptSoftware InterruptTriggered by a device (PIT, keyboard, network card)Triggered by an int instruction (e.g., syscall)Asynchronous – can happen at any timeSynchronous – happens when a program asks for itExample: Timer interrupt, disk completionExample: read(), write(), fork()</p><p>The timer interrupt (hardware) is the scheduler’s drum major. Every few milliseconds, it forces the kernel to ask: <em>“Has this process run long enough? Time to switch?”</em></p><p>Software interrupts, on the other hand, are how user‑land programs politely enter kernel space to do privileged work.</p><h3>🧵 Cooperative vs. Preemptive Multitasking — The Civilized vs. The Firm</h3><h4>🤝 Cooperative Multitasking</h4><ul><li>How it works: Each process voluntarily yields control (e.g., via yield() or sleep()). The OS waits until the process says “I’m done for now.”</li><li>Problem: One buggy or malicious process can hold the CPU forever. The whole system freezes.</li><li>Where it’s used: Old Windows (3.1, 95), some embedded systems, and async frameworks (Node.js’s event loop is <em>cooperative</em> in a single thread).</li></ul><h4>⚡ Preemptive Multitasking (What you use today)</h4><ul><li>How it works: The OS’s timer interrupt fires, and the scheduler <em>forces</em> a switch — even if the process didn’t want to stop.</li><li>Result: No single process can hog the CPU. Smooth, responsive systems.</li></ul><p>Linux, Windows, and macOS all use preemptive multitasking. That timer chip we talked about? It’s the enforcer.</p><h3>⏱️ Time Slice (aka Quantum) — Your Turn at the CPU</h3><p>A time slice is the maximum amount of CPU time a process gets before it’s preempted. Think of it like a talking stick in a meeting — when the timer runs out, you must pass the stick.</p><ul><li>Typical values: 4ms to 100ms.</li><li>Too short → overhead from context switching (saving registers, switching page tables).</li><li>Too long → system feels sluggish (a background task can block your UI).</li></ul><p>Modern schedulers don’t use fixed time slices for everything. They use dynamic time slices based on priority and recent behavior. Which brings us to…</p><h3>🌱 CFS — The Completely Fair Scheduler (Linux’s Masterpiece)</h3><p>Since Linux 2.6.23, CFS has been the default scheduler. It doesn’t use fixed time slices or priorities in the traditional way. Instead, it uses a model of perfect fairness.</p><p>Key concepts:</p><ul><li>vruntime (virtual runtime) – Each process has a vruntime that tracks how much CPU time it <em>should</em> have received. It increases while the process runs.</li><li>Red‑black tree — CFS keeps all runnable processes in a red‑black tree keyed by vruntime. The leftmost node (smallest vruntime) runs next.</li><li>Target latency — A tunable parameter (default ~20ms). CFS aims to schedule every runnable process at least once within this window.</li><li>Minimal granularity — The smallest time a process can run before being preempted (default ~1ms). Prevents excessive switching.</li></ul><p>How a scheduling decision works:</p><ol><li>Timer interrupt fires.</li><li>CFS checks current process’s vruntime.</li><li>If the process has run enough (exceeds granularity) and there’s another process with much smaller vruntime, preempt.</li><li>Pick the leftmost node in the red‑black tree.</li></ol><blockquote><em>🧠 Insight: CFS doesn’t ask “who has highest priority?” It asks “who has been treated most unfairly so far?” — and gives the CPU to that process. That’s why it’s </em>completely fair<em>.</em></blockquote><h3>📍 “Point in Time” Reader &amp; Target Latency</h3><p>You also learned about a “point in time” reader — which is a fancy way of saying “a function that reads the current system time with high precision.” In Linux, that’s ktime_get() or rdtsc (read time‑stamp counter).</p><p>Target latency (in CFS) is the scheduler’s promise: “Every runnable process will get a turn within this many milliseconds.” If you have 10 processes, each gets roughly target_latency / 10 time. But CFS caps that per‑process slice with min_granularity to avoid ridiculously small slices.</p><p>Example:</p><ul><li>Target latency = 20ms</li><li>min_granularity = 2ms</li><li>With 20 processes → naive slice = 1ms (but that’s below 2ms) → CFS raises it to 2ms, and target latency effectively becomes 40ms. Trade‑offs.</li></ul><h3>🧠 Putting It All Together — A Day in the Life of a Timer Interrupt</h3><ol><li>Hardware timer chip (PIT/HPET) counts down.</li><li>Interrupt fires → CPU saves current process state.</li><li>Kernel interrupt handler runs, updates system time, increments jiffies.</li><li>Scheduler (CFS) checks current process’s vruntime and the red‑black tree.</li><li>Decision:</li></ol><ul><li>If current process has run less than min_granularity → continue it.</li><li>Else if another process has significantly smaller vruntime → context switch.</li></ul><ol><li>Switch — save registers, load new process’s registers, update MMU, resume.</li><li>Return from interrupt — new process runs.</li></ol><p>All of this happens in microseconds. Thousands of times per second. And you never notice.</p><h3>🧾 One‑Line Takeaways</h3><blockquote><em>Timer chip = hardware metronome that kicks the OS.<br>Hardware interrupt = device shouts “Hey, CPU!”<br>Software interrupt = program asks for kernel service.<br>Cooperative multitasking = trust‑based; risky.<br>Preemptive multitasking = timer‑based; reliable.<br>Time slice = max CPU time before forced yield.<br>CFS = scheduler that picks the most starved process.<br>vruntime = measure of received CPU fairness.<br>Target latency = max time before every runnable process runs.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2PkemK1oQDZ5ZPD0N-R99g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80844437b9f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Think You Know How a Computer Works? Try Reversing It;)]]></title>
            <link>https://medium.com/@issanpanda/you-think-you-know-how-a-computer-works-try-reversing-it-e927ff752a7c?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/e927ff752a7c</guid>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kernel]]></category>
            <category><![CDATA[cisc-humans]]></category>
            <category><![CDATA[syscalls]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Sun, 12 Apr 2026 17:38:18 GMT</pubDate>
            <atom:updated>2026-04-12T17:38:18.840Z</atom:updated>
            <content:encoded><![CDATA[<p><em>From </em>int 0x80<em> to kernel rings – what really happens when you call </em>exit(9)<em>?</em></p><h3>🧠 Before we start — a quick test</h3><p>Answer in your head:</p><ol><li>When you press a key on your keyboard, how many mode switches does the CPU make before the letter appears on screen?</li><li>What’s the difference between syscall and int 0x80?</li><li>Why does a segmentation fault happen, and who throws it?</li></ol><p>If you hesitated on any, this article is for you.</p><h3>1️⃣ The CPU: A Stupid Machine That Thinks It’s Smart</h3><p>The CPU doesn’t “understand” your program. It just:</p><ul><li>Fetches an instruction from memory (the address is in EIP – Instruction Pointer).</li><li>Decodes it.</li><li>Executes it.</li></ul><p>That’s it. Billions of times per second.</p><p>But here’s the magic:<br>The CPU has a tiny set of registers — super-fast storage inside the chip.<br>On x86, EAX, EBX, ECX, EDX, ESP (stack pointer), EBP (base pointer), and the star of the show: EIP.</p><blockquote><em>EIP is the finger of God. It points to the next instruction. Change it, and the program dances to your tune.</em></blockquote><h3>2️⃣ RAM — The Big Grid of Bytes</h3><p>Your computer’s memory is just a giant array of bytes. Each byte has an address.<br>When a program runs, its code, data, stack, and heap all live somewhere in this grid.</p><h3>Little‑endian vs Big‑endian — The Hidden Convention</h3><p>Write a number like 0x12345678 to memory. How are the bytes stored?</p><ul><li>Little‑endian (x86, most PCs): 78 56 34 12 – least significant byte first.</li><li>Big‑endian (network, some old architectures): 12 34 56 78 – most significant first.</li></ul><p>Why does a reverser care?<br>When you see a hex dump like 78 56 34 12, you must read it backwards to get the real value. Mess this up, and you’ll miscalculate addresses.</p><blockquote><em>🧠 </em>“Endianness is the silent killer of novice reversers.”</blockquote><h3>3️⃣ The Stack — Where Functions Breathe</h3><p>Every time a function is called, the CPU pushes the return address onto the stack. When the function ends, RET pops it and jumps back.</p><p>That’s why buffer overflows work — overwrite the return address, and you hijack the program.</p><p>In a debugger, you watch ESP move up and down like a yo‑yo. That’s the rhythm of the program.</p><h3>4️⃣ Kernel vs User Mode — The Two Worlds</h3><p>Modern CPUs have protection rings:</p><p>RingWho lives thereRing 0Kernel — full hardware accessRing 3User applications — restricted</p><p>Your program runs in Ring 3. When it needs to do something privileged (write to a file, allocate memory, draw a window), it must ask the kernel.</p><p>How? Through a system call.</p><h3>5️⃣ System Calls — The Door to the Kernel</h3><p>Example: you call exit(9) in C.</p><p>Behind the scenes:</p><ol><li>The C library puts 9 in EBX and the syscall number for exit (usually 1) in EAX.</li><li>It triggers a software interrupt — on older Linux, that’s int 0x80.</li><li>The CPU looks up the interrupt in the Interrupt Descriptor Table (IDT) — a table set up by the kernel.</li><li>The IDT points to a handler inside the kernel. The CPU switches to Ring 0 and jumps there.</li><li>The kernel does its job, then returns to user mode via iret.</li></ol><p>Newer CPUs have faster gates: syscall (AMD64) and sysenter (Intel) – dedicated instructions that skip the IDT overhead.</p><blockquote>“Every time you call <em>printf</em>, you cross a invisible border – from userland to kernel and back. That border is your attack surface.”</blockquote><h3>6️⃣ Segmentation Fault — What Really Happens</h3><p>You’ve seen Segmentation fault (core dumped).<br>It means the CPU tried to access a memory address that isn’t mapped or is protected.<br>The MMU (Memory Management Unit) raises a page fault exception. The kernel’s fault handler sees the violation and sends a SIGSEGV signal to your process.</p><p>In reverse engineering, segfaults are clues. They tell you where the program assumes wrong addresses or overwrote something.</p><h3>7️⃣ RISC vs CISC — The Architecture War</h3><p>CISC (x86, x64)RISC (ARM, MIPS)Complex instructions, variable lengthSimple instructions, fixed lengthFewer instructions per taskMore instructions, but each is fastHeavier to decodeEasier to pipeline</p><p>Why this matters for RE:<br>When you reverse an ARM binary (e.g., mobile apps, IoT), you’ll see a different assembly style — MOV R0, #9 instead of mov eax, 9. But the core concepts (registers, stack, syscalls) are the same.</p><h3>🧠 The Big Picture — Putting It All Together</h3><p>ComponentWhat it doesHow a reverser sees itCPUExecutes instructionsWatch EIP, modify registersRAMStores code and dataDump memory, search for stringsStackFunction calls, local varsTrace CALL/RET, find overflowsKernel modePrivileged operationsSyscall hooks, anti‑debug tricksIDTInterrupt handlersCan be hijacked (rootkits)EndiannessByte orderRead hex dumps correctly</p><h3>✅ Your Takeaway (Never Forget)</h3><blockquote>“A computer is not magic. It’s a layered machine — registers, memory, stack, kernel. Each layer has rules. Learn the rules, then learn how to break them.”</blockquote><p>When you reverse, you slow down time. You watch one instruction, one syscall, one interrupt at a time. That’s where control begins.</p><h3>🔥 Homework (for the curious)</h3><ol><li>Run strace ls on Linux – see every syscall ls makes.</li><li>Open x32dbg, load a simple program, and set a breakpoint on ntdll!NtWriteFile – that’s a syscall stub.</li><li>Answer the opening questions now. Have your answers changed?</li><li>And ofc feel free to comment down your querries:)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J4EXuNryjSg5gL1QC5xkHg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dR3Z28k-0fZJyayWeJIOjg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GGllrMoqHeiI2ZL2-GR0gQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Pw62Y6TFdc1___F_Ri5Zg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J8Bf9UvayxxDXsfSJsjUxQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e927ff752a7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two Reverse Engineering Tricks That Fool Beginners (But Not You) — Day 2]]></title>
            <link>https://medium.com/@issanpanda/two-reverse-engineering-tricks-that-fool-beginners-but-not-you-day-2-cb480ae06ea0?source=rss-6da775227476------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb480ae06ea0</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Issan]]></dc:creator>
            <pubDate>Sat, 11 Apr 2026 21:12:00 GMT</pubDate>
            <atom:updated>2026-04-11T21:12:00.290Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Fixed seeds and byte rotations — how to spot them and crush them.</em></p><h3>What You’ll Learn Today</h3><ul><li>Why srand(2022) is a gift to a reverser, not a mystery.</li><li>How a simple XOR with random numbers hides a flag — and how to unmask it.</li><li>What rol16(x, 8) really means (hint: it’s just swapping two bytes).</li><li>A reliable method to reverse any transformation when you have the final string.</li></ul><p>No magic. Just logic and a debugger mindset.</p><h3>1️⃣ The “Bad Seed” Vulnerability — Predictable Randomness</h3><p>You’ve seen this pattern in crackmes and even some old software:</p><p>c</p><pre>srand(2022);<br>int nb = rand();<br>int x = (nb &amp; 0xFF) ^ t[i];<br>if (input[i] != x) fail;</pre><p>The developer thinks: <em>“It’s random, so you can’t guess it.”</em><br>The reverser thinks: <em>“It’s deterministic — I’ll just run the same code and print the flag.”</em></p><h3>🔍 Why it’s broken</h3><ul><li>A PRNG (like rand()) is just math:<br>next = (state * A + C) mod M</li><li>Same seed → same sequence. Forever.</li><li>If the seed is hardcoded (like 2022) or guessable (time(0), getpid()), an attacker can replay the entire sequence.</li></ul><h3>🛠️ How to exploit it — step by step</h3><ol><li>Find the seed in the binary (often a constant or a weak source).</li><li>Extract any fixed arrays (like t[36] in our challenge).</li><li>Write a small program that:</li></ol><ul><li>Seeds the same PRNG.</li><li>Generates each “random” byte.</li><li>XORs with the array to produce the flag.</li></ul><p>C solver (exactly what the program would do, but output instead of compare):</p><p>c</p><pre>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;</pre><pre>int main() {<br>    int t[36] = {5,141,43,73,114,50,197,26,166,235,37,150,<br>                 75,115,4,82,35,235,201,21,198,220,162,8,<br>                 184,40,239,37,49,97,177,4,175,13,197,138};<br>    srand(2022);<br>    for (int i = 0; i &lt; 36; i++) {<br>        int nb = rand();<br>        int x = (nb &amp; 0xFF) ^ t[i];<br>        printf(&quot;%c&quot;, x);<br>    }<br>    printf(&quot;\n&quot;);<br>}</pre><p>Run it → the flag appears. No brute force, no guessing.</p><h3>🧿 Third‑Eye Takeaway</h3><blockquote>“If you see <em>srand()</em> with a fixed number, you’ve already won. Just replay the randomness.”</blockquote><h3>2️⃣ The ROL16 Trick — When Bytes Swap Places</h3><p>The second challenge looked scary, but it’s just a 16‑bit rotation on odd indices.</p><p>c</p><pre>unsigned short rol16(unsigned short x, unsigned int bits) {<br>    return (x &lt;&lt; bits) | (x &gt;&gt; (16 - bits));<br>}</pre><pre>for (int i = 0; i &lt; 53; i++) {<br>    unsigned short *psh = &amp;input[i];<br>    if (i &amp; 1)                 // odd index<br>        *psh = rol16(*psh, 8);<br>}</pre><h3>🤔 What does rol16(x, 8) actually do?</h3><ul><li>A 16‑bit number has two bytes: high byte and low byte.</li><li>Rotating left by 8 bits swaps the two bytes.</li><li>Example: 0xAB12 → 0x12AB.</li></ul><p>Because it’s a rotation (not a shift), no bits are lost. And here’s the magic:<br>Applying the same rotation twice brings back the original.<br>So rol16(rol16(x,8),8) == x.</p><h3>✅ How to reverse it when you have the final string</h3><p>The program compares the transformed input to a hardcoded string.<br>That means the hardcoded string is after the rotation.<br>To find the real input, you apply the same rotation again to the hardcoded string (on the same odd indices).</p><p>Python one‑liner (conceptual):</p><p>python</p><pre>s = &quot;Securunite{s4p1ldNOr3M&amp;_1_1_ s0C0o_L5196744813486543}1&quot;<br>arr = bytearray(s, &#39;utf-8&#39;)<br>for i in range(1, len(arr), 2):   # odd indices<br>    arr[i], arr[i+1] = arr[i+1], arr[i]   # swap bytes<br>print(arr.decode())</pre><p>Run that → you get the real flag.</p><h3>🧠 Why this pattern is common</h3><ul><li>It’s a cheap way to “obfuscate” strings without encryption.</li><li>It breaks static string searches (the flag isn’t plainly visible).</li><li>But it takes 2 minutes to reverse</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q6n4kkrbRdS7cVJToOR_8Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb480ae06ea0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>