<?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 Nishant kumar on Medium]]></title>
        <description><![CDATA[Stories by Nishant kumar on Medium]]></description>
        <link>https://medium.com/@nishant__kumar?source=rss-f92ee774897b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8m1mbfKrXdG_QquJMZwrUQ.jpeg</url>
            <title>Stories by Nishant kumar on Medium</title>
            <link>https://medium.com/@nishant__kumar?source=rss-f92ee774897b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:35:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nishant__kumar/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[My First $$ From Real Bug — And It Was Very Simple]]></title>
            <link>https://meetcyber.net/my-first-from-real-bug-and-it-was-very-simple-60cf697649f0?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/60cf697649f0</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 09:23:21 GMT</pubDate>
            <atom:updated>2026-10-25T09:23:21.174Z</atom:updated>
            <content:encoded><![CDATA[<p><em>From networking diagrams to actual exploitation — my bug hunting journey starts here.</em></p><p>For the last several months, <strong>I’ve been documenting my cybersecurity learning journey — Linux fundamentals, networking protocols, ARP, HTTP/HTTPS, Wi-Fi security, the works</strong>. It was a lot of theory, a lot of “here’s how this attack conceptually works.”</p><p>Then I decided it was time to talk about vulnerabilities and start <em>finding</em> them.</p><blockquote>This is the story of the first real bug I found — and honestly, it was hiding somewhere so mundane I almost didn’t bother testing it.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*0aH-f5sOBUUXmUpviy_crQ.gif" /></figure><h3>The Target Nobody Thinks to Test</h3><p>Most beginners go straight for login forms and search bars — everyone tests those. I decided to go somewhere less obvious: <strong>a lead-generation form on an e-commerce platform’s knowledge base page, the kind that says <em>“Enter your email and we’ll send you a free ebook.”</em></strong></p><p>You’ve seen a hundred of these. You’ve probably filled one out yourself without a second thought. That’s exactly why I was curious about it — <strong>nobody tests the boring forms.</strong></p><p>The form asked for three things: an email address, a phone number, and a name.</p><p>That last field — the humble <strong>Name field</strong> — is where everything unraveled.</p><h3>The Payload That Shouldn’t Have Worked</h3><p>Here’s the thing about a “Name” field: developers almost never expect it to contain anything dangerous. Nobody thinks a first name could carry a weapon.</p><p>So I tried this in the Name field:</p><pre>&quot;&gt;&lt;a href=&quot;https://evil.com&quot;&gt;Click Me!&lt;/a&gt;</pre><p>Filled in a real email (mine), a random phone number, hit submit, and waited.</p><p>A minute later, I opened my inbox.</p><p><strong>There it was.</strong> A perfectly rendered, clickable hyperlink — sitting inside an official email from the platform’s own domain — pointing straight to a URL I controlled.</p><p>No sanitization. No encoding. Nothing stopping raw HTML from flowing straight from a form field into a real email sent to a real inbox.</p><h3>Why This Is More Dangerous Than It Looks</h3><p>At first glance, this might seem like “just a broken input field.” But walk through what an attacker could actually do with it:</p><p><strong>1. Weaponized phishing, wearing a trusted mask</strong><br> The email comes from the <em>company’s own legitimate domain</em>. Every spam filter, every “does this look suspicious?” instinct a user has — bypassed, because the email genuinely did come from the real company’s mail server.</p><p><strong>2. Spear-phishing at scale</strong><br> An attacker doesn’t need to fake a company email anymore. They just fill out a public form, and the <em>company does the phishing for them</em> — sending a convincing, legitimately-hosted malicious link straight to a victim’s inbox.</p><p><strong>3. A door left open for something worse</strong><br> If that same email content is ever rendered inside the application itself (say, in an admin dashboard showing “recent form submissions”), this stops being just HTML Injection — it becomes <strong>Stored XSS</strong>, and the entire threat model escalates.</p><h3>The Real Lesson Here</h3><p>This bug didn’t require Burp Suite, a fuzzing script, or any advanced tooling. It required exactly one thing: <strong>treating an unassuming input field with the same suspicion as a login form.</strong></p><p>If there’s one thing I’m taking from my first real find, it’s this — <strong>the most dangerous vulnerabilities often live in the fields everyone assumes are harmless.</strong> A “Name” field feels so innocent that most developers never imagine it needs the same encoding rigor as a password field. That assumption is exactly the gap attackers live in.</p><h3>The Report:</h3><p>After successfully validating the vulnerability, I created a simple report with video poc and submits it.</p><p>After 3 days, I got response that this report was accepted and rewarded $$ bounty and a place in company’s hall of fame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*LCk8xttZP3QZ9UJ2DxG2Fw.gif" /><figcaption>Small Bounty</figcaption></figure><h3>What’s Next</h3><p>This is the first entry in what I’m calling my <strong>Bug Bounty Diaries</strong> — real hunts, real findings, real lessons, documented as they happen. No more theory-only content. If you’re on a similar path — moving from “I understand security concepts” to “I actually find real vulnerabilities” — follow along. I’ll be sharing the wins, the rejections, and everything in between.</p><p><em>If this piece helped you look at “harmless” input fields a little differently, give it a clap and follow for the next writeup. Bug Bounty Diaries #2 is coming soon.</em></p><p><em>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</em></p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60cf697649f0" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/my-first-from-real-bug-and-it-was-very-simple-60cf697649f0">My First $$ From Real Bug — And It Was Very Simple</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 18: Common Network Attacks — The Ones Every Beginner Should Know]]></title>
            <link>https://meetcyber.net/week-18-common-network-attacks-the-ones-every-beginner-should-know-0a7de6973400?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a7de6973400</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Tue, 25 Aug 2026 15:06:44 GMT</pubDate>
            <atom:updated>2026-08-25T15:06:44.354Z</atom:updated>
            <content:encoded><![CDATA[<p>Eighteen weeks ago I couldn’t have told you the difference between a switch and a router. This week, I sat down and mapped out the attacks that show up in almost every networking and security course — and honestly, once you see how they connect to things like <strong>ARP, DNS, DHCP, and TCP/IP,</strong> they stop feeling like scary hacker magic and start feeling like logical exploitation of trust.</p><p>That’s the theme of this week: <strong>most network attacks aren’t about breaking cryptography — they’re about exploiting protocols that were never designed to ask “are you really who you say you are?”</strong></p><p>Let’s walk through eight of the most common ones.</p><blockquote>Sorry, this week’s article is mostly theory-focused. I wanted to strengthen my understanding of common network attacks before moving forward. More practical learning coming soon!</blockquote><h3>1. Man-in-the-Middle (MITM):</h3><p><strong>What it is:</strong> An attacker <strong>secretly positions themselves between two parties </strong>— say, you and your bank’s website — and intercepts (or even alters) the traffic passing between them.</p><p><strong>Simple example:</strong> You connect to “Free Airport WiFi,” but it’s actually a laptop run by an attacker sitting nearby, quietly relaying your traffic while reading everything you send.</p><p><strong>Impact:</strong> Stolen credentials, session hijacking, altered transactions.</p><blockquote><strong>Prevention:</strong> HTTPS/TLS everywhere, VPNs on untrusted networks, certificate validation, avoiding public WiFi for sensitive logins.</blockquote><h3>2. DoS / DDoS:</h3><p><strong>What it is:</strong> Denial of Service <strong>floods a system with traffic or requests</strong> until it can’t serve legitimate users. Distributed DoS does the same thing using many machines (often a botnet) at once.</p><p><strong>Simple example:</strong> Imagine <strong>10,000 people calling the same pizza shop’s one phone line at the exact same second </strong>— real customers can never get through.</p><p><strong>Impact:</strong> Downtime, lost revenue, reputational damage.</p><blockquote><strong>Prevention:</strong> Rate limiting, traffic filtering, CDNs/load balancers, and firewalls or IDS/IPS tuned to spot abnormal traffic spikes.</blockquote><h3>3. Network Sniffing:</h3><p><strong>What it is:</strong> <strong>Capturing packets as they travel across a network</strong>, often using tools like Wireshark, to read data in transit.</p><p><strong>Simple example:</strong> On an unencrypted network, someone sniffing traffic could literally watch plaintext HTTP form data go by.</p><p><strong>Impact:</strong> Exposure of credentials, session tokens, or confidential data.</p><blockquote><strong>Prevention:</strong> Encrypt everything (HTTPS over HTTP), use switched networks instead of hubs, and segment sensitive traffic with VLANs.</blockquote><h3>4. ARP Spoofing:</h3><p><strong>What it is:</strong> The Address Resolution Protocol (ARP) maps IP addresses to MAC addresses on a local network — but it has no built-in authentication. An <strong>attacker sends fake ARP replies claiming “I own this IP,” tricking devices into sending traffic to them instead of the real destination</strong>.</p><p><strong>Simple example:</strong> This is usually the technique <em>behind</em> a local MITM attack — the attacker poisons the ARP tables of the victim and the router.</p><p><strong>Impact:</strong> Traffic interception, session hijacking, MITM setup.</p><blockquote><strong>Prevention:</strong> Dynamic ARP inspection on switches, static ARP entries for critical systems, and network monitoring for ARP anomalies.</blockquote><h3>5. DNS Spoofing / Poisoning:</h3><p><strong>What it is:</strong> DNS translates domain names into IP addresses. If an <strong>attacker corrupts that translation — in a DNS resolver’s cache or via a spoofed response </strong>— they can redirect users to a malicious site while the address bar still shows a familiar name.</p><p><strong>Simple example:</strong> You type yourbank.com, but poisoned DNS quietly resolves it to an attacker&#39;s look-alike server.</p><p><strong>Impact:</strong> Credential theft, malware delivery, phishing at scale.</p><blockquote><strong>Prevention:</strong> DNSSEC, restricting recursive resolvers, monitoring for cache anomalies, and using trusted DNS providers.</blockquote><h3>6. DHCP Attacks:</h3><p><strong>What it is:</strong> DHCP automatically assigns IP addresses, gateways, and DNS servers to devices joining a network. Attackers can run a <strong>rogue DHCP server</strong> to hand out malicious configurations, or exhaust the legitimate server’s IP pool (DHCP starvation).</p><p><strong>Simple example:</strong> A rogue DHCP server hands your laptop a gateway address pointing to the attacker’s machine — instant MITM, no ARP spoofing needed.</p><p><strong>Impact:</strong> Traffic redirection, denial of network access, MITM.</p><blockquote><strong>Prevention:</strong> DHCP snooping on switches, port security, and monitoring for unauthorized DHCP servers.</blockquote><h3>7. MAC Flooding</h3><p><strong>What it is:</strong> Switches keep a table mapping MAC addresses to physical ports so they know where to send frames. Flood that table with thousands of fake MAC addresses, and some switches “fail open,” broadcasting all traffic to every port like a hub.</p><p><strong>Simple example:</strong> Once the switch is confused, an attacker plugged into any port can now see traffic meant for other devices.</p><p><strong>Impact:</strong> Loss of network segmentation, easier sniffing.</p><blockquote><strong>Prevention:</strong> Port security limiting MAC addresses per port, switch hardware with proper fail-closed behavior.</blockquote><h3>8. Port Scanning</h3><p><strong>What it is:</strong> Systematically <strong>probing a host’s ports to see which services are open and running </strong>— often the reconnaissance phase before an attack.</p><p><strong>Simple example:</strong> A scan reveals <strong>port 3389 (RDP) </strong>is open to the internet — a tempting target if it’s unpatched or weakly secured.</p><p><strong>Impact:</strong> By itself, mostly reconnaissance — but it maps out your attack surface for later exploitation.</p><blockquote>Prevention: Firewalls to restrict exposed ports, IDS/IPS to detect scanning behavior, and closing/hiding unnecessary services.</blockquote><h4>Quick Comparison Table:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WoaS7ry7coqAlT4TKyw53A.png" /><figcaption>Comparison of attacks</figcaption></figure><h4>The Common Thread:</h4><p>Notice how many of these come back to the same root cause: <strong>protocols like ARP, DHCP, and classic DNS were built for a trusting, cooperative network</strong> — not one full of adversaries. They assume the sender is honest. That single assumption is what attackers exploit, over and over, just wearing different protocol costumes.</p><blockquote>This is also why layered defenses matter so much. A firewall alone won’t stop ARP spoofing. An IDS/IPS alone won’t stop a rogue DHCP server. Real network security is routing, switch configuration, encryption, and monitoring all pulling together — not one silver-bullet tool.</blockquote><h3>What I Learned in Week 18:</h3><ul><li>Most “attacks” are really just <strong>trust exploited</strong>, not some genius-level hack.</li><li>Layer 2 (ARP, MAC, DHCP) attacks are terrifyingly easy on unsegmented networks — segmentation and switch-level protections matter as much as firewalls.</li><li>Encryption (HTTPS/TLS) is doing more silent, everyday defensive work than I ever appreciated.</li><li>Reconnaissance (like port scanning) usually comes <em>before</em> the real attack — which means visibility and monitoring are half the battle.</li><li>IDS/IPS isn’t just a buzzword on a diagram — it’s the thing actually watching for the weird traffic patterns these attacks create.</li></ul><h3>Conclusion:</h3><p>Eighteen weeks in, and <strong>the biggest shift in how I think about security isn’t technical — it’s the mindset</strong>. Every protocol I study now, I instinctively ask: <em>“What is this assuming about the sender, and what happens if that assumption is false?”</em> That question alone explains almost every attack on this list.</p><p>In next week, I came up with more interesting article.</p><p><em>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</em></p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a7de6973400" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-18-common-network-attacks-the-ones-every-beginner-should-know-0a7de6973400">Week 18: Common Network Attacks — The Ones Every Beginner Should Know</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 17: Network Scanning with Nmap — A Beginner’s Guide]]></title>
            <link>https://meetcyber.net/week-17-network-scanning-with-nmap-a-beginners-guide-5706868f9d9b?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5706868f9d9b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Mon, 17 Aug 2026 15:48:37 GMT</pubDate>
            <atom:updated>2026-08-17T15:48:37.519Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re starting your journey into cybersecurity, there’s one tool you’ll hear about again and again — <strong>Nmap</strong>. It’s one of the first tools every ethical hacker, penetration tester, and security researcher learns. In this article, I’ll explain what Nmap is, why it matters, and how to use it — in the simplest way possible.</p><h3>What is Nmap?</h3><p><strong>Nmap</strong> stands for <strong>Network Mapper</strong>. It’s a free, open-source tool used to discover devices on a network and find out what’s running on them.</p><p>Think of it like this: imagine you’re standing outside a huge office building with hundreds of doors. Some doors are locked, some are open, and some lead to different rooms. <strong>Nmap is like walking around that building and checking every single door — which ones are open, which ones are locked, and what’s behind each open door</strong>.</p><p>In technical terms — Nmap scans a computer or network and tells you:</p><ul><li>Which devices are online</li><li>Which “doors” (ports) are open</li><li>What services are running behind those doors</li><li>What operating system the device might be using</li></ul><h3>Why Do Hackers and Security Researchers Use Nmap?</h3><p>Before attacking or securing anything, you need to understand it first. Nmap is usually the very <strong>first step</strong> in any security assessment. It helps answer basic but important questions:</p><ul><li>Is this device even online?</li><li>What services is it running (website, email server, database, etc.)?</li><li>Are there any old, outdated, or risky services running?</li><li>What operating system is it using?</li></ul><blockquote>This information helps testers identify weak points before an actual attacker does.</blockquote><h4>Installing Nmap:</h4><p>Nmap comes pre-installed on <strong>Kali Linux</strong>. If you’re using Windows or macOS, you can download it from the official website: <strong>nmap.org</strong></p><p>To check if it’s installed, open your terminal and type:</p><pre>nmap --version</pre><p>If you see a version number, you’re ready to go.</p><h4>Basic Nmap Syntax:</h4><p>The basic structure of an Nmap command looks like this:</p><pre>nmap [options] [target]</pre><p>Where:</p><ul><li><strong>options</strong> = what kind of scan you want to run</li><li><strong>target</strong> = the IP address or website you want to scan</li></ul><p>Example:</p><pre>nmap 192.168.1.1</pre><p>This runs a basic scan against that IP address.</p><h3>Understanding Ports — The Most Important Concept</h3><p>Before going further, you need to understand <strong>ports</strong>.</p><p>Imagine a building has many doors, and each door leads to a different room. In computers, these &quot;doors&quot; are called <strong>ports</strong>. Each port is linked to a specific service.</p><p>Some common ports you&#39;ll see often:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T3FH9R11pw9rYinfrdHcOA.png" /><figcaption>Common Ports</figcaption></figure><p>When Nmap scans a target, it checks these ports and tells you if they are:</p><ul><li><strong>Open</strong> — the door is open, service is running</li><li><strong>Closed</strong> — the door exists but nothing is behind it</li><li><strong>Filtered</strong> — a firewall is blocking the view, Nmap can’t tell</li></ul><h3>Types of Nmap Scans</h3><p>Now let’s go through the most commonly used scan types — one by one, explained simply.</p><h4>1. Basic Scan:</h4><pre>nmap 192.168.1.1</pre><p>This is the simplest scan. It checks the most common 1000 ports and tells you which ones are open.</p><h4>2. Scan a Range of IP Addresses:</h4><p>Instead of scanning one device, you can scan a whole network.</p><pre>nmap 192.168.1.1-50</pre><p>This scans every device from 192.168.1.1 to 192.168.1.50 — useful when you want to see everything connected to a network.</p><p>You can also scan an entire subnet:</p><pre>nmap 192.168.1.0/24</pre><p>This scans all 254 possible addresses in that network range.</p><h4>3. Scan Specific Ports:</h4><p>If you only care about certain ports, you can specify them directly:</p><pre>nmap -p 80,443 192.168.1.1</pre><p>This checks only port 80 (HTTP) and port 443 (HTTPS).</p><p>You can also scan a range:</p><pre>nmap -p 1-1000 192.168.1.1</pre><p>Or scan <strong>all 65535 ports</strong>:</p><pre>nmap -p- 192.168.1.1</pre><h4>4. Service and Version Detection:</h4><p>This is one of the most useful scans. It doesn’t just tell you a port is open — it tells you <strong>what software and version</strong> is running behind it.</p><pre>nmap -sV 192.168.1.1</pre><p>Example output:</p><pre>80/tcp   open   http     Apache httpd 2.4.41<br>22/tcp   open   ssh      OpenSSH 8.2p1</pre><p>This is extremely useful because outdated software versions often have known vulnerabilities.</p><h4>5. Operating System Detection:</h4><p>Want to guess what OS a device is running? Use:</p><pre>nmap -O 192.168.1.1</pre><p>Nmap analyzes network behavior patterns to make an educated guess — Windows, Linux, macOS, etc.</p><h4>6. Aggressive Scan:</h4><p>This combines multiple scan types into one — service detection, OS detection, script scanning, and traceroute — all at once.</p><pre>nmap -A 192.168.1.1</pre><p>It gives you a lot of information quickly, but it’s also <strong>louder</strong> — meaning it’s easier for the target to detect that they’re being scanned.</p><h4>7. Stealth Scan (SYN Scan):</h4><p>This is a quieter way to scan. Instead of completing a full connection, it <strong>sends a request and immediately backs out — making it harder to detect and log.</strong></p><pre>nmap -sS 192.168.1.1</pre><p>This is often called a <strong>“half-open scan”</strong> and is one of the most commonly used scan types by penetration testers.</p><h4>8. Ping Scan (Host Discovery Only):</h4><p>Sometimes you just want to know which devices are online — without scanning their ports at all.</p><pre>nmap -sn 192.168.1.0/24</pre><p>This is like knocking on every door in the building just to see who answers, without actually checking what’s inside.</p><h4>9. Scan Using Nmap Scripting Engine (NSE):</h4><p>Nmap has a huge library of built-in scripts that can detect vulnerabilities, gather extra information, or even test for weak passwords.</p><pre>nmap --script vuln 192.168.1.1</pre><p>This runs vulnerability-detection scripts against the target and reports common known issues.</p><p>Another useful one:</p><pre>nmap --script http-title 192.168.1.1</pre><p>This grabs the title of a website running on that server.</p><h4>10. Save Scan Results to a File:</h4><p>You’ll often want to save your results for later or for a report.</p><pre>nmap -oN results.txt 192.168.1.1</pre><p>This saves the output in a normal readable text file. You can also save it in XML format for further processing:</p><pre>nmap -oX results.xml 192.168.1.1</pre><h3>Putting It All Together — A Real Example</h3><p>Let&#39;s say you want to do a proper scan of a target with service detection, OS detection, and save the results:</p><pre>nmap -sV -O -oN scan_report.txt 192.168.1.1</pre><p>This single command:</p><ul><li>Detects services and their versions (-sV)</li><li>Detects the operating system (-O)</li><li>Saves everything to a file (-oN)</li></ul><h3>Reading Nmap Output — What It Actually Means</h3><p>Here’s a sample output and what each part tells you:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nCiP6KFh0gCqJwGoF9anww.png" /><figcaption>Result of Nmap</figcaption></figure><ul><li><strong>PORT</strong> — the port number and protocol (TCP/UDP)</li><li><strong>STATE</strong> — open, closed, or filtered</li><li><strong>SERVICE</strong> — what service is expected to run there</li><li><strong>VERSION</strong> — exact software version (very useful for finding vulnerabilities)</li></ul><h3>Important Legal Note:</h3><p>Nmap is a powerful tool, and with power comes responsibility. <strong>Never scan a network or device you don’t own or don’t have explicit permission to test.</strong> Unauthorized scanning can be illegal in many countries and is considered unethical in the security community.</p><p>Always practice on:</p><ul><li>Your own home network</li><li>Deliberately vulnerable machines (like Metasploitable, DVWA, HackTheBox, TryHackMe)</li><li>Systems where you have written permission to test</li></ul><h4>Cheat Sheet:</h4><p>Here is the link of cheatsheet. You can learn more and use it for your work.</p><p><a href="http://www.stationx.net/nmap-cheat-sheet/">Nmap Cheat Sheet 2026: All the Commands &amp; Flags</a></p><h4>Final Thoughts:</h4><p>Nmap might look intimidating at first with all its options and flags, but once you understand the basic idea — <strong>it’s just a tool that checks which doors are open and what’s behind them</strong> — everything else becomes much easier to learn.</p><p>Start simple. Practice on your own home network or on legal training platforms. Slowly add more flags and options as you get comfortable. Before you know it, Nmap will become second nature — and it’s a skill that will stay useful throughout your entire cybersecurity journey.</p><p>Happy scanning, and always stay ethical!</p><p><em>This article is part of my Week 17 learning series in cybersecurity. Follow along as I document my journey from beginner to security researcher.</em></p><p>In next week, I came up with more interesting article.</p><p><em>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</em></p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5706868f9d9b" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-17-network-scanning-with-nmap-a-beginners-guide-5706868f9d9b">Week 17: Network Scanning with Nmap — A Beginner’s Guide</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 16: VPNs & Tunneling — The Secret Underground Passages of the Internet]]></title>
            <link>https://meetcyber.net/week-16-vpns-tunneling-the-secret-underground-passages-of-the-internet-3f72d9688672?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f72d9688672</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[computer-networking]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Sat, 08 Aug 2026 17:56:40 GMT</pubDate>
            <atom:updated>2026-08-08T17:56:40.445Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you live in a city where every street has spies watching who walks where, reading letters people carry, and sometimes even opening them. Annoying, right? Now imagine someone builds you a <strong>private, invisible tunnel</strong> under the whole city — you walk in at your house, and walk out wherever you want to go, and nobody watching the streets above has any idea where you entered, where you’re headed, or what you’re carrying.</p><p>That, in a nutshell, is what a <strong>VPN</strong> does for your internet traffic.</p><p>Let’s break this whole topic down — simply, but completely — so by the end of this article, you’ll actually <em>get</em> VPNs and tunneling, not just nod along.</p><h3>1. What Is a VPN, Really?</h3><p><strong>VPN = Virtual Private Network.</strong></p><p>Let’s unpack that name, because it actually tells you everything:</p><ul><li><strong>Virtual</strong> — it’s not a real physical private line; it’s <em>simulated</em> using software over the public internet.</li><li><strong>Private</strong> — your data is hidden/encrypted from everyone else on that public network.</li><li><strong>Network</strong> — it connects your device to another network (a company’s office network, or a VPN provider’s servers) as if you were physically plugged into it.</li></ul><p><strong>In plain English:</strong> A VPN creates a secure, encrypted “tunnel” between your device and a server somewhere else. All your internet traffic travels through that tunnel first, before going out to the wider internet.</p><h4>Real-life analogy :</h4><p>Think of the internet as a busy highway system with tollbooths (your ISP), and everyone can see your car (data), your license plate (IP address), and sometimes even peek inside your car (unencrypted data).</p><p>A VPN is like putting your car inside an <strong>armored, windowless truck</strong> that drives through its own private tunnel to a different city, then lets your car back out. Anyone watching the highway just sees the truck — they don’t know it’s <em>you</em> inside, or where you’re really going.</p><h3>2. What Is “Tunneling”? (The Core Mechanism)</h3><p><strong>Tunneling</strong> is the <em>technique</em> that makes VPNs possible. It means taking your data, wrapping it inside another layer of data (encryption + new headers), and sending it through a normal network as if it were just “ordinary traffic” — even though it’s secretly carrying your private information inside.</p><p>Think of it like this:</p><blockquote><em>You want to mail a secret letter. Instead of sending it as-is, you put the letter in a locked box, then put </em>that<em> box inside a plain, boring cardboard package. To the postal worker (your ISP/network), it just looks like an ordinary package. Only the person with the correct key (the VPN server) can open the box and read the letter.</em></blockquote><p>This is called <strong>encapsulation</strong> — wrapping one packet of data inside another.</p><h4>The Two Key Ingredients of Tunneling:</h4><ol><li><strong>Encapsulation</strong> — wrapping your original data packet inside a new packet.</li><li><strong>Encryption</strong> — scrambling the contents so even if someone intercepts the package, they can’t read what’s inside.</li></ol><p>Not all tunnels are encrypted (some are just for routing), but <strong>VPN tunnels almost always combine both</strong>.</p><h3>3. How Does a VPN Actually Work? (Step-by-Step)</h3><ol><li>You turn on your VPN app and connect to a server (say, one located in Germany).</li><li>Your device and the VPN server perform a <strong>“handshake”</strong> — they agree on encryption keys.</li><li>From now on, every piece of data leaving your device gets <strong>encrypted and wrapped</strong> before it goes anywhere.</li><li>This wrapped data travels through your normal internet connection (your Wi-Fi, your ISP) — but it’s unreadable gibberish to anyone snooping on it.</li><li>It arrives at the VPN server, which <strong>unwraps and decrypts</strong> it, then forwards your request to the actual website/service you wanted (like Instagram or your bank).</li><li>The response comes back to the VPN server, gets <strong>re-encrypted</strong>, sent back through the tunnel to you, and your VPN app decrypts it so you can see it normally.</li></ol><p>To any website you visit, it looks like the request came from the <strong>VPN server’s location</strong>, not your real one. That’s why VPNs can make it look like you’re browsing from a different country.</p><h3>4. Types of VPNs</h3><h4>i)Remote Access VPN:</h4><p>The most common type — used by individuals (you, using NordVPN/ExpressVPN) or employees connecting to <strong>their company’s internal network from home</strong>.</p><h4>ii)Site-to-Site VPN:</h4><p>Connects <strong>two entire networks</strong> together — for example, a company’s Mumbai office network permanently tunneled to its Delhi office network, so employees in both locations can access shared resources as if they’re on one big local network.</p><h4>iii)Split Tunneling:</h4><p>A clever middle-ground option: you choose which apps/traffic go through the VPN tunnel, and which go through your normal internet connection directly.</p><p><strong>Example:</strong> You might route your work apps through the VPN (for security) while letting Netflix use your regular connection (for faster streaming speed).</p><h3>5. The Major Tunneling Protocols (The “Engines” Under the Hood)</h3><p>Different VPNs use different underlying protocols — think of these as different <strong>“tunnel-building technologies,”</strong> each with trade-offs in speed, security, and compatibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IY4suiTMeqoCbJ_db42pqw.png" /><figcaption>VPN Tunneling Protocols</figcaption></figure><p><strong>Simple takeaway:</strong> If a VPN offers <strong>WireGuard</strong>, that’s usually the best modern choice — fast <em>and</em> secure, with a much smaller, easier-to-audit codebase than older protocols.</p><h3>6. Why Do People Actually Use VPNs?</h3><ul><li><strong>Privacy</strong> — hide your browsing activity from your ISP.</li><li><strong>Bypass geo-restrictions</strong> — access content/services only available in certain countries.</li><li><strong>Public Wi-Fi safety</strong> — encrypt your traffic on untrusted networks (airports, cafés).</li><li><strong>Secure remote work</strong> — safely access company systems from anywhere.</li><li><strong>Avoid tracking/censorship</strong> — bypass network-level surveillance or blocked websites in restrictive regions</li></ul><h3>7. Common Misconceptions (Let’s Clear These Up)</h3><p><strong>Myth 1:</strong> <strong>“A VPN makes me 100% anonymous.”</strong> Nope. The VPN provider itself can usually still see your traffic (unless they have a strict no-logs policy). <strong>You’re hiding from your ISP and websites — not becoming invisible to everyone.</strong></p><p><strong>Myth 2:</strong> <strong>“VPNs make everything unhackable.”</strong> A VPN protects data <em>in transit</em>. It doesn’t protect you from malware, phishing, weak passwords, or a compromised device.</p><p><strong>Myth 3:</strong> <strong>“All VPNs are equally safe.”</strong> Free VPNs, in particular, sometimes log and sell your data — the opposite of what you signed up for. Choose reputable providers with independently audited no-logs policies.</p><h3>8. A Quick Security Angle (For My Fellow Bug Hunters )</h3><p>Since a lot of you reading this are also into security/bug bounty work, here’s a fun connector: <strong>VPN and tunneling concepts show up constantly in real vulnerabilities</strong>, such as:</p><ul><li>Misconfigured <strong>split-tunneling</strong> exposing internal company resources to the public internet</li><li><strong>VPN client vulnerabilities</strong> (buffer overflows, auth bypasses) — several major VPN products have had CVEs allowing full network compromise</li><li><strong>DNS leaks</strong> — where VPN tunnels traffic correctly, but DNS requests “leak” outside the tunnel, revealing real browsing activity</li><li><strong>IP/WebRTC leaks</strong> — browser features accidentally exposing your real IP despite an active VPN</li></ul><p>Understanding tunneling isn’t just useful for privacy — it’s foundational knowledge for network security testing too.</p><h3>9. Quick Recap</h3><ul><li>A <strong>VPN</strong> = a private, encrypted tunnel for your internet traffic.</li><li><strong>Tunneling</strong> = wrapping (encapsulating) and often encrypting data so it can travel safely through a public network.</li><li>Different <strong>protocols</strong> (PPTP, L2TP/IPsec, IKEv2, OpenVPN, WireGuard) offer different speed/security trade-offs — WireGuard is the modern favorite.</li><li>VPNs help with privacy, security on public Wi-Fi, remote work, and bypassing restrictions — but they’re not a magic invisibility cloak.</li></ul><p><em>That’s a wrap for Week 16! Next week, we’ll dive into </em><strong>Network Scanning with Nmap</strong><em>— see you there. If this helped simplify VPNs for you, drop a clap 👏 and let me know in the comments what topic you want simplified next!</em></p><p><em>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</em></p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f72d9688672" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-16-vpns-tunneling-the-secret-underground-passages-of-the-internet-3f72d9688672">Week 16: VPNs &amp; Tunneling — The Secret Underground Passages of the Internet</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 15: Wi-Fi — How It Works and How Hackers Break It]]></title>
            <link>https://meetcyber.net/week-15-wi-fi-how-it-works-and-how-hackers-break-it-7f5cc0d1cdda?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f5cc0d1cdda</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Sat, 25 Jul 2026 15:48:19 GMT</pubDate>
            <atom:updated>2026-07-25T15:48:19.942Z</atom:updated>
            <content:encoded><![CDATA[<h4>Everyone uses Wi-Fi. Almost nobody knows how easy it is to attack.</h4><p>If you’re reading this at a café, airport, or your home — <strong>you’re on Wi-Fi right now</strong>. It feels invisible and magical. But under the hood, Wi-Fi is just radio signals flying through the air, and anything flying through the air can be intercepted, jammed, or faked.</p><blockquote>This week we’re breaking down exactly how Wi-Fi works, what attackers do to exploit it, and how you can protect yourself — all without needing a computer science degree.</blockquote><p>Let’s get into it.</p><h3>1. First — How Does Wi-Fi Actually Work?</h3><p>Your router is basically a mini radio station. <strong>It broadcasts a signal on a specific frequency, your phone or laptop tunes into that frequency, and data travels back and forth as radio waves</strong>.</p><p>Two main frequencies exist:</p><ul><li><strong>2.4 GHz</strong> — travels farther, goes through walls better, but slower and more congested (your microwave, Bluetooth, and neighbours’ routers all compete here)</li><li><strong>5 GHz</strong> — faster, less congested, but shorter range</li></ul><p>Your router has a name — called an <strong>SSID</strong> (Service Set Identifier) — that’s just the Wi-Fi name you see when you search for networks. Every router also has a unique hardware address called a <strong>BSSID</strong> (its MAC address).</p><p>When you connect, your device and the router go through a small conversation — a <strong>handshake</strong> — to verify each other and set up an encrypted channel. That handshake is one of the most important things in Wi-Fi security, and also one of the most targeted.</p><h3>2.Wi-Fi Security Standards — A Quick History</h3><p>Not all Wi-Fi is equally protected:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*N3UKHlbBhxyqR_FPRLm72w.png" /><figcaption>Wi-Fi Security Standards</figcaption></figure><p>Most home and office networks still run <strong>WPA2</strong>. It’s good — but as you’ll see below, it’s not bulletproof.</p><h3>3.Wi-Fi Attacks — How Hackers Actually Do It</h3><h3>i). Evil Twin Attack (The Most Dangerous One)</h3><p>Imagine walking into a Starbucks and seeing two Wi-Fi networks: <strong>“Starbucks_Wi-Fi”</strong> and <strong>“Starbucks_Wi-Fi”</strong> — identical names. You connect to one. But one of them is a fake access point set up by an attacker on a laptop nearby.</p><p>This is the <strong>Evil Twin attack</strong>.</p><p><strong>The attacker creates a rogue hotspot mimicking a legitimate network. Your device connects automatically (because it looks familiar), and now all your traffic flows through the attacker’s machine before reaching the internet</strong>. They can see everything — login pages, cookies, browsing history.</p><p><strong>Why it works:</strong> Devices automatically reconnect to known network names. The attacker just needs a stronger signal than the real router.</p><h3>ii). PMKID / Handshake Capture Attack</h3><p>Remember the handshake we mentioned? When your device connects to a WPA2 router, they exchange a cryptographic handshake to authenticate. Attackers can <strong>capture this handshake</strong> passively just by listening to nearby WiFi traffic with the right tools.</p><p><em>Once captured, the handshake is taken offline and fed into a password cracking tool (like Hashcat) alongside a wordlist of common passwords. If your WiFi password is </em><em>password123 or </em><em>John1990, it gets cracked in seconds.</em></p><p><strong>Why it works:</strong> The handshake is broadcast over the air and WPA2 is only as strong as your password. Weak passwords = instant crack.</p><blockquote><strong><em>Fix:</em></strong><em> Use a long, random WiFi password (20+ characters). Seriously — nobody needs to memorise it, it’s just saved on devices.</em></blockquote><h3>iii). Deauthentication (Deauth) Attack</h3><p>Wi-Fi has a management frame called a <strong>deauthentication frame</strong> — it’s meant to politely disconnect devices from a network. The problem? In WPA2, these frames are <strong>not authenticated</strong>. Anyone can send a fake deauth frame pretending to be your router.</p><p><em>An attacker sends a flood of these fake deauth frames → your device gets kicked off the network repeatedly → you can’t stay connected.</em></p><p>This is used in two ways:</p><ul><li>As a pure <strong>denial of service</strong> — just knocking devices offline</li><li>As a <strong>setup for Evil Twin</strong> — kick you off the real network, force you onto the fake one</li></ul><p><strong>WPA3 fixes this</strong> with Protected Management Frames (PMF), which is one of the biggest reasons to upgrade.</p><h3>iv). WPS PIN Attack</h3><p>WPS (Wi-Fi Protected Setup) was designed to make connecting devices easier —<strong> you press a button or enter an 8-digit PIN</strong> instead of typing a long password. Sounds convenient. It’s a disaster.</p><p><em>The 8-digit PIN is validated in two halves (4 digits + 4 digits) separately, which reduces the combinations from 100,000,000 to just </em><strong><em>11,000 guesses</em></strong><em>. Tools like </em><em>Reaver can brute-force this in hours.</em></p><p><strong>Fix:</strong> Disable WPS entirely in your router settings. Nobody needs it.</p><h3>v). Rogue DHCP / DNS Spoofing on Open Networks</h3><p>When you connect to an open Wi-Fi (no password — airports, hotels, cafés), your device asks the network: <em>“What IP should I use? What DNS server should I talk to?”</em> This is handled by <strong>DHCP</strong>.</p><p><strong><em>An attacker on the same open network can run a rogue DHCP server that responds faster than the real one, giving your device a fake DNS server address. Now when you type </em></strong><strong><em>gmail.com, the attacker&#39;s DNS resolves it to a fake phishing page instead. You never notice — the URL looks fine.</em></strong></p><p><strong>Fix:</strong> Use a trusted VPN on all open/public Wi-Fi. Always.</p><h3>vi). Krack Attack (Key Reinstallation Attack)</h3><p>Discovered in 2017, <strong>KRACK is a vulnerability in the WPA2 handshake process itself</strong>. By manipulating and replaying handshake messages, an attacker can trick a device into reinstalling an already-used encryption key — effectively resetting it to a known state and breaking the encryption.</p><p><strong>This allows decryption of packets in real time — not just passive capture for offline cracking.</strong></p><p><strong>Good news:</strong> It was widely patched in 2017–2018. If your devices are updated, you’re safe. If you’re running ancient unpatched firmware on routers or IoT devices — you’re not.</p><h3>4.How to Actually Protect Yourself</h3><p>Here’s the no-nonsense list:</p><ul><li><strong>Use WPA3 if your router supports it</strong> — it fixes deauth attacks and improves handshake security</li><li><strong>Strong, random WiFi password</strong> — 20+ characters, not a word, not a date</li><li><strong>Disable WPS</strong> — go into router settings right now and turn it off</li><li><strong>Never trust open WiFi without a VPN</strong> — treat all public WiFi as hostile</li><li><strong>Keep router firmware updated</strong> — manufacturers patch vulnerabilities; apply updates</li><li><strong>Use HTTPS everywhere</strong> — even if someone intercepts your traffic, encrypted HTTPS makes it useless to read</li><li><strong>Forget networks you don’t use</strong> — stops auto-reconnect to Evil Twin networks</li></ul><h3>Quick Recap:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*gPs5owYrtANlBcMAaHQDWQ.png" /><figcaption>Summary</figcaption></figure><h3>Final Thought:</h3><p>Wi-Fi feels safe because it’s invisible. But invisible doesn’t mean secure — it just means you can’t see the attack happening. The good news is that all of the attacks above have straightforward defences, and most of them cost you nothing to implement.</p><p><strong>Next time you’re at a café and you see two networks with the same name — you’ll know exactly what’s going on</strong>.</p><p><em>Week 15 of my security series. If you missed Week 14, check it out . Next week: VPNs — how they actually work, when they protect you, and when they don’t.</em></p><p>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f5cc0d1cdda" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-15-wi-fi-how-it-works-and-how-hackers-break-it-7f5cc0d1cdda">Week 15: Wi-Fi — How It Works and How Hackers Break It</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 14: How the Internet Actually Moves Your Data — Routing, Switching, Firewalls & IDS/IPS…]]></title>
            <link>https://meetcyber.net/week-14-how-the-internet-actually-moves-your-data-routing-switching-firewalls-ids-ips-28241a16a915?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/28241a16a915</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Sun, 12 Jul 2026 17:46:55 GMT</pubDate>
            <atom:updated>2026-07-12T17:46:55.209Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 14: How the Internet Actually Moves Your Data — Routing, Switching, Firewalls &amp; IDS/IPS Explained Simply</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xm5Xyb1rhwg-uTQV5RqJnA.jpeg" /></figure><p><em>You type google.com and hit Enter. In milliseconds, your request travels across the globe and comes back with a webpage. But how? And who’s making sure nothing evil sneaks in along the way? Let’s break it all down.</em></p><h3>Part 1: Routing &amp; Switching — The Postal System of the Internet</h3><p>Think of the internet as a massive city with millions of buildings (devices). Data needs to travel between them. Two things make that happen: <strong>switches</strong> and <strong>routers</strong>. They sound similar but do very different jobs.</p><h4>Switches — The Building’s Internal Mail Room:</h4><p>Imagine you’re in a large office building. You want to send a document to a colleague on the 3rd floor. You don’t go outside — you use the internal mail system.</p><p>That’s exactly what a <strong>switch</strong> does. <strong>It connects devices <em>within the same network</em> — like computers, printers, and phones inside one office or home.</strong></p><p><strong>How it works:</strong></p><ul><li>Every device has a unique address called a <strong>MAC address</strong> (think of it as a device’s fingerprint)</li><li>The switch keeps a table that maps which device is on which port</li><li>When data arrives, the switch reads the destination MAC address and sends it <em>only</em> to the right device — not everyone else</li></ul><p><strong>Key point:</strong> Switches are smart. Old devices called <em>hubs</em> used to shout data to everyone. Switches whisper directly to the right person. More efficient, more secure.</p><h4>Routers — The Post Office Between Cities:</h4><p>Now imagine your colleague is in a <em>different city</em> (a different network). The internal mail room can’t help here. You need the post office.</p><p>That’s a <strong>router</strong>. <strong>It connects <em>different networks</em> together — like your home network to the internet.</strong></p><p><strong>How it works:</strong></p><ul><li>Every network has an <strong>IP address</strong> (like a street address for your network)</li><li>The router reads the destination IP address on every data packet</li><li>It looks at its <strong>routing table</strong> — a map of which path leads where</li><li>It forwards the packet down the best available path toward its destination</li></ul><p><strong>Real world example:</strong> When you open YouTube, your request hops through multiple routers — your home router → your ISP’s router → YouTube’s servers. Each router makes a small forwarding decision until the data arrives.</p><h4>Static vs Dynamic Routing:</h4><p>Routers need to know their map (routing table). There are two ways they build it:</p><p><strong>Static routing</strong> — An admin manually types in every route. Simple but doesn’t adapt if a path breaks. Good for small networks.</p><p><strong>Dynamic routing</strong> — Routers talk to each other automatically using protocols like <strong>OSPF</strong> or <strong>BGP</strong> and share updates. If one path goes down, they reroute automatically. This is how the internet stays alive even when cables break.</p><h3>Part 2: Firewalls &amp; IDS/IPS — The Security Guards of Your Network</h3><p><em>Now that you understand how data moves, here’s the problem: anyone can send data to anyone. That includes attackers. This is where firewalls and IDS/IPS step in.</em></p><h4>i)Firewall — The Bouncer at the Door:</h4><p>A <strong>firewall</strong> is exactly what it sounds like —<strong> a wall between your network and the outside world. It decides what traffic gets in and what gets blocked based on a set of rules.</strong></p><p><strong>Simple analogy:</strong> A club bouncer with a guest list. If your name’s on it, you’re in. If not, you’re out — no questions asked.</p><p><strong>What a firewall checks:</strong></p><ul><li>Source IP address (where did this come from?)</li><li>Destination IP address (where is it going?)</li><li>Port number (which service is being used? Port 80 = web, Port 22 = SSH)</li><li>Protocol (TCP, UDP, ICMP)</li></ul><p><strong>Types of firewalls:</strong></p><p><strong>Packet filtering firewall</strong> — The most basic. Checks each packet individually against rules. Fast but doesn’t understand context.</p><blockquote>Allow: Port 80 from any IP → web traffic allowed Block: Port 23 from any IP → Telnet blocked</blockquote><p><strong>Stateful firewall</strong> — Smarter. Tracks the <em>state</em> of connections. If you initiated a connection, the response is allowed back in automatically. Random unsolicited traffic is blocked.</p><p><strong>Application layer firewall (Next-Gen Firewall)</strong> — The most advanced. Understands what’s <em>inside</em> the traffic, not just the headers. Can block specific apps, detect malicious content, and inspect encrypted traffic.</p><h4>ii)IDS — The Security Camera:</h4><p>A <strong>firewall</strong> blocks things. An <strong>IDS (Intrusion Detection System)</strong> <em>watches</em> and <em>alerts</em>.</p><p>Think of it as a security camera. It doesn’t stop a thief — it records what happened and triggers an alarm.</p><p><strong>How IDS detects threats:</strong></p><p><strong>Signature-based detection</strong> — Has a database of known attack patterns. If incoming traffic matches a known attack signature, it alerts. Fast and accurate for known threats, blind to new ones.</p><p><strong>Anomaly-based detection</strong> — Learns what “normal” traffic looks like, then alerts on anything unusual. Can catch new attacks but can trigger false alarms.</p><p><strong>What IDS does:</strong> Monitors → Detects → Alerts. That’s it. It doesn’t block anything on its own.</p><h4>iii)IPS — The Security Guard With Authority:</h4><p>An <strong>IPS (Intrusion Prevention System)</strong> is IDS with power. It doesn’t just alert — it <em>acts</em>.</p><p>Same security camera, but now the guard can lock the door the moment they see something suspicious.</p><p><strong>What IPS does:</strong> Monitors → Detects → Blocks automatically in real time.</p><p><strong>Actions an IPS can take:</strong></p><ul><li>Drop malicious packets immediately</li><li>Block the source IP</li><li>Reset a suspicious connection</li><li>Alert the security team</li></ul><p><strong>The tradeoff:</strong> Because IPS acts automatically, a false positive means legitimate traffic gets blocked. Tuning it correctly is critical.</p><h4>IDS vs IPS — Quick Comparison:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*avYtiXeYFY-wDS1rX32Dkw.png" /><figcaption>Difference b/w : IDS/IPS</figcaption></figure><h4>How They All Work Together:</h4><p>In a real-world network, these aren’t separate — they work as a team:</p><pre>Internet<br>    ↓<br>[ Firewall ] ← First line — blocks obvious bad traffic by rules<br>    ↓<br>[ IPS ] ← Second line — inspects and blocks sophisticated threats in real time<br>    ↓<br>[ Switch/Router ] ← Routes legitimate traffic internally<br>    ↓<br>[ IDS ] ← Watches internal traffic for lateral movement or insider threats<br>    ↓<br>Your Devices</pre><p>The firewall handles the obvious stuff. IPS catches the sneaky stuff. IDS keeps watching even inside the network — because sometimes the threat is already in.</p><h4>Quick Recap:</h4><ul><li><strong>Switch</strong> → connects devices <em>within</em> a network, uses MAC addresses</li><li><strong>Router</strong> → connects <em>different</em> networks, uses IP addresses, finds best path</li><li><strong>Firewall</strong> → enforcer — allows or blocks traffic based on rules</li><li><strong>IDS</strong> → detective — watches and alerts but doesn’t block</li><li><strong>IPS</strong> → detective with handcuffs — watches, alerts, and blocks in real time</li></ul><p><em>That’s Week 14 done. Next week we go deeper into wireless network attacks— </em>Wireless Networks (WiFi) + attacks.</p><p><em>Found this useful? Drop a clap, share it with someone learning cybersecurity, and leave a comment if something didn’t click — I’ll explain it differently.</em></p><p>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28241a16a915" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-14-how-the-internet-actually-moves-your-data-routing-switching-firewalls-ids-ips-28241a16a915">Week 14: How the Internet Actually Moves Your Data — Routing, Switching, Firewalls &amp; IDS/IPS…</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 13: ARP — The Silent Translator Your Network Can’t Live Without]]></title>
            <link>https://meetcyber.net/week-13-arp-the-silent-translator-your-network-cant-live-without-269fa9db5da6?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/269fa9db5da6</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Fri, 03 Jul 2026 13:16:18 GMT</pubDate>
            <atom:updated>2026-07-03T13:16:18.398Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The protocol nobody talks about — until someone uses it against you.</em></p><p>Imagine you walk into a huge office building and you need to deliver a package to “John.” You know John’s name, but you don’t know which desk he sits at. So you shout across the room — <em>“Hey, does anyone know where John sits?”</em> — and John raises his hand and says <em>“That’s me, desk 42!”</em> You walk over, drop the package, and life goes on.</p><p><strong>That’s literally how ARP works.</strong></p><p>Simple? Yes. Dangerous? Absolutely — and by the end of this article, you’ll understand exactly why.</p><h3>First, a Quick Background — IP vs MAC Addresses</h3><p>Before we talk about ARP, we need to understand why it even exists.</p><p>Every device on a network has two identifiers:</p><p><strong>IP Address</strong> — the logical address. Think of it like your home address — <strong>it tells the network <em>where</em> you are.</strong> It can change (dynamic IPs, VPNs, etc.).</p><p><strong>MAC Address</strong> — the physical address. <strong>Think of it like your national ID number</strong> — it’s burned into your network card at the factory and (in theory) never changes. Format looks like: A4:C3:F0:85:AC:2D</p><blockquote>Here’s the problem: when your computer wants to send data to another device on the same local network, the internet protocol works with IP addresses — but the actual hardware-level communication needs a MAC address. Your computer knows the IP of the device it wants to talk to, but not the MAC.</blockquote><p>So how does it find out?</p><p>It asks. Out loud. To everyone.</p><p>That asking mechanism is called <strong>ARP</strong>.</p><h3>1.What is ARP?</h3><p><strong>ARP</strong> stands for <strong>Address Resolution Protocol.</strong></p><p>It’s a network protocol that translates (resolves) an IP address into a MAC address so that data can actually be delivered on a local network.</p><p>ARP was defined in 1982 in RFC 826. It’s been around longer than most of us and was designed in an era where the internet was a cozy, trusted place between researchers — security was an afterthought.</p><p>That decision still haunts us today.</p><h3>2.How ARP Works — Step by Step</h3><p>Let’s say your laptop (192.168.1.5) wants to send data to a printer (192.168.1.20) on the same Wi-Fi network.</p><p>Your laptop knows the printer’s IP address, but needs its MAC address to actually send the packet at the hardware level.</p><p>Here’s what happens:</p><p><strong>Step 1 — ARP Request (Broadcast)</strong> Your laptop shouts to every device on the network:</p><blockquote>“Hey everyone! Who has IP address 192.168.1.20? Tell me your MAC address!”</blockquote><p>This message goes to all devices on the network — it’s called a <strong>broadcast</strong>.</p><p><strong>Step 2 — ARP Reply (Unicast)</strong> The printer hears the question and responds directly back to your laptop:</p><blockquote>“That’s me! My MAC address is B2:4F:A1:33:CD:91”</blockquote><p><strong>Step 3 — Communication Begins</strong> Your laptop now has both the IP and MAC address of the printer. It stores this mapping in a local table called the <strong>ARP Cache</strong> and starts sending data.</p><p><strong>Step 4 — ARP Cache</strong> To avoid asking the same question repeatedly, your laptop caches the IP→MAC mapping for a few minutes. You can see your own ARP cache by running:</p><p>bash</p><pre># On Linux/Mac<br>arp -a<br><br># On Windows<br>arp -a</pre><p>Simple, elegant, efficient. Works perfectly in a trusted environment.</p><p>The keyword there? <strong>Trusted.</strong></p><h3>3.The Fatal Flaw — ARP Has Zero Verification</h3><p>Here’s where things get scary.</p><p>ARP was built with a fundamental design choice that made sense in 1982 but is a nightmare today:</p><blockquote><strong><em>ARP is stateless and completely unauthenticated.</em></strong></blockquote><p>What does that mean?</p><ul><li>Any device can send an ARP reply <strong>at any time</strong>, even without being asked.</li><li>No device will verify whether the reply is legitimate.</li><li>Whoever answers last wins — your ARP cache gets updated, no questions asked.</li></ul><p>Your computer essentially trusts every ARP message it receives, blindly, forever.</p><p><strong>This is the door that attackers walk right through</strong>.</p><h3>4.What is ARP Spoofing?</h3><p><strong>ARP Spoofing</strong> (also called ARP Poisoning) is an attack where a malicious actor sends <strong>fake ARP replies</strong> across the local network to link their own MAC address with a legitimate IP address — usually the default gateway (your router).</p><p><strong>In plain English: the attacker lies to everyone on the network and says <em>“I am the router.”</em></strong></p><p>Once devices believe the attacker’s MAC is the router’s MAC, all traffic meant for the internet flows through the attacker’s machine first — before reaching the real router.</p><p>This is called a <strong>Man-in-the-Middle (MitM) attack.</strong></p><h3>5.ARP Spoofing — How it Actually Happens</h3><p>Let’s walk through a real attack scenario.</p><p><strong>The setup:</strong></p><ul><li>Victim: 192.168.1.10 (MAC: AA:AA:AA:AA:AA:AA)</li><li>Router/Gateway: 192.168.1.1 (MAC: BB:BB:BB:BB:BB:BB)</li><li>Attacker: 192.168.1.99 (MAC: CC:CC:CC:CC:CC:CC)</li></ul><p><strong>The attack:</strong></p><p>The attacker sends two unsolicited fake ARP replies simultaneously:</p><p><strong>To the victim:</strong></p><blockquote>“Hey! IP 192.168.1.1 (the router) is at MAC CC:CC:CC:CC:CC:CC (me).”</blockquote><p><strong>To the router:</strong></p><blockquote>“Hey! IP 192.168.1.10 (the victim) is at MAC CC:CC:CC:CC:CC:CC (me).”</blockquote><p>Both devices update their ARP caches with the fake information. No warnings. No errors.</p><p><strong>The result:</strong></p><pre>BEFORE ATTACK:<br>Victim → Router → Internet  ✅</pre><pre>AFTER ATTACK:<br>Victim → Attacker → Router → Internet  🚨<br>         (intercepts everything)</pre><p>Every single packet the victim sends now passes through the attacker’s machine. The attacker can:</p><ul><li><strong>Read</strong> all unencrypted traffic (passwords, cookies, session tokens)</li><li><strong>Modify</strong> data in transit (inject malicious content into web pages)</li><li><strong>Drop</strong> packets entirely (denial of service)</li><li><strong>Capture</strong> credentials from protocols like HTTP, FTP, Telnet</li></ul><p>And the victim? Completely unaware. Their internet still works. Everything looks normal.</p><h3>6.Real-World Impact — What Can an Attacker Actually Steal?</h3><p>If the traffic is unencrypted (HTTP instead of HTTPS), an attacker sitting in the middle can grab:</p><ul><li>Login credentials from unencrypted login forms</li><li>Session cookies (which can be used to hijack logged-in sessions without needing a password)</li><li>Sensitive form data (personal info, credit card numbers on old/broken HTTP sites)</li><li>DNS queries (revealing which websites the victim is visiting)</li><li>Email contents over unencrypted mail protocols</li></ul><p>Even with HTTPS, ARP spoofing enables more advanced follow-up attacks like <strong>SSL stripping</strong> — where the attacker downgrades the victim’s HTTPS connection to HTTP without them noticing, stripping away the encryption entirely.</p><h3>7.How to Detect ARP Spoofing</h3><p>There are a few signs and tools that can help spot an ongoing ARP spoofing attack:</p><p><strong>1. Duplicate IP entries in ARP cache</strong> Run arp -a and look for two different IP addresses mapped to the same MAC address — a dead giveaway that someone is poisoning the cache.</p><p><strong>2. Network monitoring tools</strong></p><ul><li><strong>Wireshark</strong> — look for a flood of gratuitous ARP replies from a single MAC</li><li><strong>XArp</strong> — dedicated ARP spoofing detection tool</li><li><strong>Arpwatch</strong> — monitors ARP activity and alerts on unexpected MAC-IP changes</li></ul><p><strong>3. Unusual latency</strong> If your connection suddenly slows down, that could be traffic being routed through an extra hop (the attacker’s machine).</p><h3>8.How to Defend Against ARP Spoofing</h3><p><strong>For individuals:</strong></p><ul><li>Always prefer <strong>HTTPS</strong> websites — even if traffic is intercepted, it’s encrypted</li><li>Use a <strong>VPN</strong> — encrypts all traffic before it leaves your device, making interception useless</li><li>Avoid sensitive activity on public/untrusted Wi-Fi networks</li></ul><p><strong>For network admins:</strong></p><ul><li><strong>Dynamic ARP Inspection (DAI)</strong> — a feature on managed switches that validates ARP packets against a trusted DHCP snooping binding table before allowing them. Fake ARP replies get dropped automatically.</li><li><strong>Static ARP entries</strong> — manually configure IP→MAC mappings for critical devices (router, servers) so they can’t be overwritten by fake replies</li><li><strong>VLANs</strong> — segment the network so that even a compromised device can only poison a small, isolated portion of the network</li><li><strong>802.1X port authentication</strong> — ensure only authenticated devices can even join the network in the first place</li></ul><p>In penetration tests, ARP spoofing is often used as a stepping stone to demonstrate what an attacker could do once they gain internal network access — capturing credentials, hijacking sessions, or moving laterally across systems.</p><h3>9.Quick Recap — Everything in One Place</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v8PLJB-fVUtHWdyEF4gGAQ.png" /><figcaption>Summary</figcaption></figure><h3>Final Thought:</h3><p>ARP spoofing is a perfect example of why security can’t be an afterthought. A protocol designed in 1982 for a trusted environment is still powering billions of devices today — with the same zero-verification design it launched with.</p><p>The attacker doesn’t need to break encryption, exploit a complex vulnerability, or write sophisticated malware. They just need to be on the same network and say — loudly and confidently — <em>“I am the router.”</em></p><p>And the network believes them.</p><p>That’s the kind of simplicity that keeps security researchers employed.</p><p><em>If you found this useful, follow along for Week 14 where we’ll dive into Routing &amp; Switching basics.</em></p><p><em>Have questions or want me to cover a specific topic? Drop a comment below.</em></p><p>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=269fa9db5da6" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-13-arp-the-silent-translator-your-network-cant-live-without-269fa9db5da6">Week 13: ARP — The Silent Translator Your Network Can’t Live Without</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 12: HTTP & HTTPS — The Secret Language of the Internet]]></title>
            <link>https://meetcyber.net/week-12-http-https-the-secret-language-of-the-internet-7735d69c9b48?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7735d69c9b48</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Tue, 23 Jun 2026 14:47:01 GMT</pubDate>
            <atom:updated>2026-06-23T14:47:01.640Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Welcome back to another interesting article on my networking series.</em></strong></p><p>You open your browser. You type google.com. You hit Enter.</p><p>Google loads in under a second.</p><p>But have you ever wondered — <strong>what actually happened in that one second?</strong></p><p>Who talked to whom? What did they say? How did Google <em>know</em> what to send back?</p><p>That’s exactly what we’re unpacking today. And we’ll do it through a story — because honestly, that’s the only way this stuff actually sticks.</p><h3>Think of the Internet as a Pizza Delivery System</h3><p>Imagine you’re hungry. You pick up the phone and call a pizza place.</p><p>You say: <em>“Hi, I’d like one large pepperoni pizza delivered to my address.”</em></p><p>They say: <em>“Sure! It’ll be there in 30 minutes. Here’s your order number: #4521.”</em></p><p>The pizza arrives. You’re happy.</p><p>Now — <strong>this exact conversation is what happens between your browser and a web server, every single time you open a website.</strong></p><p>Your browser is <strong>you</strong>, the customer. The web server is <strong>the pizza place</strong>. And the language they speak? That’s called <strong>HTTP</strong>.</p><h3>1.What is HTTP?</h3><p><strong>HTTP</strong> stands for <strong>Hyper Text Transfer Protocol</strong>.</p><p>Ignore the fancy name. It’s just a set of rules — a common language — that your browser and web servers use to talk to each other.</p><p>Think of it like this: you speak English. The pizza place also speaks English. So you can understand each other. <strong>HTTP is that “English” for browsers and servers</strong>. Without HTTP, your browser would say something. The server wouldn’t understand. Nothing would load. Chaos.</p><p>HTTP was invented by <strong>Tim Berners-Lee</strong> in 1989 — the same person who invented the World Wide Web. Wild, right?</p><h3>2.Then What is HTTPS?</h3><p>Now imagine you’re ordering pizza but you’re also giving your <strong>credit card number</strong> over the phone.</p><p>If someone is secretly listening to your call — that’s a problem.</p><p>That’s why people started using <strong>encrypted calls</strong> — where even if someone intercepts it, they hear nothing but gibberish.</p><p><strong>HTTPS</strong> is exactly that encrypted version of HTTP.</p><p><strong>HTTPS</strong> = <strong>HTTP + Security</strong> (the S stands for Secure)</p><p>It uses something called <strong>TLS (Transport Layer Security)</strong> to scramble all data between your browser and the server. Even if someone intercepts it mid-way, they can’t read a thing.</p><p>That’s why you should <strong>always</strong> look for https:// in the URL before entering passwords or card numbers. If it&#39;s http:// — walk away.</p><blockquote>https:// = Safe. Encrypted. Private. http:// = Unencrypted. Anyone can peek.</blockquote><h3>3.The HTTP Request — You Placing Your Order</h3><p>Every time you open a webpage, your browser sends an <strong>HTTP Request</strong> to the server. It’s like placing your pizza order.</p><p>A request has three main parts:</p><h4>1. The Method (What do you want to do?)</h4><p>The method tells the server what kind of action you want. The most common ones are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*qWV5p310xRn8gd_G8-OqRw.png" /><figcaption>HTTP Methods</figcaption></figure><p>When you open google.com, your browser sends a <strong>GET</strong> request — &quot;Hey Google, give me your homepage.&quot;</p><p>When you fill a login form and click Submit, your browser sends a <strong>POST</strong> request — “Here’s my username and password, check them.”</p><h4>2. The URL (Where do you want to go?)</h4><p>The URL tells the server <em>exactly</em> what you’re asking for.</p><p><a href="https://google.com/search?q=cats">https://google.com/search?q=cats</a></p><ul><li>google.com → the address of the pizza place</li><li>/search → the specific menu item you want</li><li>?q=cats → your customization (&quot;I want cat results&quot;)</li></ul><h4>3. The Headers (Extra instructions)</h4><p>Headers are like the special notes you add to your pizza order.</p><p><em>“Extra cheese. No onions. Please ring the bell twice.”</em></p><p>In HTTP, headers carry extra info like:</p><ul><li>What language you prefer</li><li>What browser you’re using</li><li>Whether you’re sending cookies</li><li>What type of content you can accept</li></ul><p>We’ll dig into headers more in a moment. They’re important.</p><h3>4,The HTTP Response — The Server Sends Back Your Pizza</h3><p>Once the server gets your request, it processes it and sends back an <strong>HTTP Response</strong>.</p><p>A response also has three main parts:</p><h4>i)The Status Code (How did it go?)</h4><p>This is the first thing the server says back — a number that tells you if your request worked or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DSX85Y6UJDPKkqHNHenl6g.png" /><figcaption>HTTP Status Codes</figcaption></figure><p>You’ve definitely seen a <strong>404 page</strong> before. Now you know what it actually means — the server is saying, “I looked everywhere. That page doesn’t exist.”</p><h4>ii)The Headers (Extra info about the response)</h4><p>Just like your request had headers, the response has them too.</p><p>The server uses headers to tell the browser things like:</p><ul><li>What type of content is being sent (HTML? Image? JSON?)</li><li>How long to cache this response</li><li>Whether cookies should be stored</li></ul><h4>iii)The Body (The actual content)</h4><p>This is the pizza itself — the actual webpage, image, video, or data you asked for.</p><p>For a webpage, the body is the <strong>HTML code</strong> that your browser reads and turns into what you see on screen.</p><h3>5.HTTP Headers — The Unsung Heroes</h3><p>Okay, let’s talk about headers properly. Most people skip this. Don’t skip this.</p><p><strong>Headers are key-value pairs</strong> — like little labels attached to every request and response.</p><p>They look like this:</p><pre>Content-Type: text/html<br>Accept-Language: en-US<br>Authorization: Bearer eyJhbGci...</pre><p>Each line is: <strong>Name: Value</strong></p><p>Here are the most important ones you’ll encounter:</p><h4>i)Request Headers (Sent by your browser)</h4><p><strong>Host</strong> — The domain you&#39;re visiting. Host: www.google.com Without this, the server won&#39;t know which site you want (one server can host thousands of sites).</p><p><strong>User-Agent</strong> — Your browser&#39;s ID card. User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) This tells the server &quot;I&#39;m Chrome on Windows.&quot; Servers use this to send the right version of the site.</p><p><strong>Accept</strong> — What formats you can handle. Accept: text/html, application/json Like saying &quot;I can eat pizza or pasta, either works.&quot;</p><p><strong>Authorization</strong> — Your login credentials. Authorization: Bearer your-token-here This is how logged-in users prove their identity on every request.</p><p><strong>Cookie</strong> — Small data your browser remembers. Cookie: session_id=abc123 This is how websites remember you&#39;re logged in across pages.</p><h4>ii) Response Headers (Sent by the server)</h4><p><strong>Content-Type</strong> — What type of content is being sent back. Content-Type: text/html; charset=UTF-8 Your browser needs this to know <em>how</em> to display what it receives.</p><p><strong>Content-Length</strong> — How big the response is. Content-Length: 3495 Like knowing your pizza weighs 500g — the browser knows when it has received everything.</p><p><strong>Cache-Control</strong> — How long to save this response locally. Cache-Control: max-age=3600 This tells your browser &quot;save this for 1 hour, no need to fetch again.&quot; Saves time and data.</p><p><strong>Set-Cookie</strong> — Save this cookie on your browser. Set-Cookie: session_id=abc123; HttpOnly This is how the server tells your browser to remember something for next time.</p><p><strong>Location</strong> — Redirect to this URL. Location: https://www.example.com/new-page Used with 301/302 status codes to send you somewhere else.</p><h3>Putting It All Together — The Full Story</h3><p>Let’s trace one complete pizza delivery — I mean, web request:</p><ol><li><strong>You type</strong> https://github.com and press Enter.</li><li><strong>Your browser sends a GET request:</strong></li></ol><pre>GET / HTTP/1.1<br>   Host: github.com<br>   User-Agent: Chrome/125.0<br>   Accept: text/html</pre><p><strong>3.GitHub’s server receives it</strong>, finds the homepage, and sends back:</p><pre>HTTP/1.1 200 OK<br>   Content-Type: text/html; charset=UTF-8<br>   Cache-Control: no-cache<br>   <br>   &lt;!DOCTYPE html&gt;<br>   &lt;html&gt;... (the entire GitHub homepage) ...<br>   &lt;/html&gt;</pre><p><strong>4.Your browser reads the response</strong>, sees the HTML in the body, and <strong>paints the page</strong> on your screen.</p><p>All of this happens in <strong>milliseconds</strong>. Thousands of times a day, every day, for every website you visit.</p><h4>One Quick Analogy to Lock It All In:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M8ntuJys1dmjctVPQMTIEw.png" /><figcaption>Summary</figcaption></figure><h4>What’s Next?</h4><p>Next week in <strong>Week 13</strong>, we’ll talk about ARP &amp; ARP spoofing.</p><p>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7735d69c9b48" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-12-http-https-the-secret-language-of-the-internet-7735d69c9b48">Week 12: HTTP &amp; HTTPS — The Secret Language of the Internet</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 11:- Ports & Protocols: The Hidden Language of the Internet]]></title>
            <link>https://meetcyber.net/week-11-ports-protocols-the-hidden-language-of-the-internet-f45dc3c16d45?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f45dc3c16d45</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 13:02:33 GMT</pubDate>
            <atom:updated>2026-06-10T13:02:33.974Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction: Imagine Your Home Receives Mail</h3><p>Imagine your house is a computer on the internet. Every day, your mailman (the network) arrives with packages addressed to your house. But here’s the thing — your house has multiple doors:</p><ul><li><strong>Door 1 (Port 80):</strong> Receives regular letters (web pages)</li><li><strong>Door 2 (Port 443):</strong> Receives locked, secure packages (encrypted web pages)</li><li><strong>Door 3 (Port 25):</strong> Receives email</li><li><strong>Door 4 (Port 22):</strong> Allows only trusted friends with special keys (SSH access)</li></ul><p><strong>Without specific doors, packages would pile up at your front entrance and nobody would know what to do with them.</strong></p><p>This is exactly how <strong>ports</strong> and <strong>protocols</strong> work on the internet. Today, let’s understand this hidden system that powers every connection you make online.</p><h3>1: What Are Ports?</h3><h4>The Simple Explanation:</h4><p>A <strong>port</strong> is a virtual door on your computer. Your computer has <strong>65,535 ports</strong> (numbered 0–65535), and each one can be used for a specific purpose.</p><p>Think of it this way:</p><ul><li>Your computer’s IP address is like your home address: 192.168.1.5</li><li>Your port number is like the door number on your address: 192.168.1.5:22 (Door 22)</li></ul><p>When someone wants to connect to your computer, they send a message to:</p><pre>IP Address : Port Number<br>192.168.1.5 : 22<br>(Your house) : (The specific door)</pre><h4>Why Do We Need Ports?</h4><p>Imagine a single door in your house. Everyone — your friends, delivery people, strangers — all use the same door. Complete chaos, right?</p><p>With ports, we can:</p><ul><li><strong>Web service</strong> uses port 80 (HTTP)</li><li><strong>Email service</strong> uses port 25 (SMTP)</li><li><strong>Remote access</strong> uses port 22 (SSH)</li><li><strong>Database</strong> uses port 3306 (MySQL)</li></ul><p>Each service has its own door. Clean, organized, and secure.</p><h3>2: What Are Protocols?</h3><h4>The Simple Explanation:</h4><p>A <strong>protocol</strong> is a set of rules that determine HOW data is sent and HOW the receiving computer should handle it.</p><p>Think of it like this:</p><p><strong>Scenario 1: Mail Protocol</strong></p><ul><li>Rule 1: Address must be on the front</li><li>Rule 2: Message goes inside</li><li>Rule 3: Recipient reads and throws away</li></ul><p><strong>Scenario 2: Email Protocol (SMTP)</strong></p><ul><li>Rule 1: Email header contains sender info</li><li>Rule 2: Body contains the message</li><li>Rule 3: Server receives and stores</li></ul><p><strong>Scenario 3: Web Protocol (HTTP)</strong></p><ul><li>Rule 1: Client sends a “GET” request</li><li>Rule 2: Server responds with webpage data</li><li>Rule 3: Connection closes</li></ul><h4>Why Do We Need Protocols?</h4><p><strong>Without protocols, computers wouldn’t understand each other</strong>. Imagine sending a package to your friend without any standard format — they won’t know:</p><ul><li>Where it came from</li><li>What’s inside</li><li>How to respond</li></ul><p>Protocols are the universal language that makes the internet work.</p><h3>3: Important Ports Every Cybersecurity Pro Must Know</h3><h4>i)Port 22: SSH (Secure Shell)</h4><p><strong>What it does:</strong> Allows secure remote login to computers</p><p><strong>Real-world example:</strong> You’re traveling and need to access your server. Instead of going to the office, you open SSH on port 22, enter your password/key, and you’re in.</p><p><strong>Why it matters for security:</strong> SSH is heavily targeted by hackers. They try to break in using:</p><ul><li>Brute force (guessing passwords)</li><li>Key theft</li><li>Default credentials</li></ul><p><strong>Protection:</strong> Use strong passwords, disable root login, use SSH keys instead of passwords.</p><h4>ii)Port 80: HTTP (Hyper Text Transfer Protocol)</h4><p><strong>What it does:</strong> Serves unencrypted web pages</p><p><strong>Real-world example:</strong> When you visit http://example.com, you&#39;re connecting on port 80.</p><p><strong>Why it matters for security:</strong> Data sent over HTTP is <strong>not encrypted</strong>. A hacker on your network can see:</p><ul><li>Passwords you type</li><li>Credit card numbers</li><li>Personal information</li></ul><p><strong>The Problem:</strong> Websites should NEVER use HTTP for sensitive data.</p><h4>iii)Port 443: HTTPS (HTTP Secure)</h4><p><strong>What it does:</strong> Serves encrypted web pages (HTTP + SSL/TLS)</p><p><strong>Real-world example:</strong> When you visit https://www.bank.com, you&#39;re connecting on port 443. Your data is encrypted.</p><p><strong>Why it matters for security:</strong> This is the good guy. All sensitive websites use this. The little lock icon means the connection is encrypted.</p><p><strong>Best practice:</strong> If a website doesn’t have HTTPS, don’t enter sensitive data.</p><h4>iv)Port 25: SMTP (Simple Mail Transfer Protocol)</h4><p><strong>What it does:</strong> Sends emails</p><p><strong>Real-world example:</strong> When you hit “Send” in Gmail, it uses SMTP on port 25 to send the email to the mail server.</p><p><strong>Why it matters for security:</strong> Open SMTP servers are dangerous because:</p><ul><li>Spammers use them to send mass emails</li><li>Attackers impersonate legitimate emails (phishing)</li></ul><p><strong>Real attack:</strong> A hacker finds an open SMTP server and sends 1 million spam emails from your domain. Now your domain reputation is destroyed.</p><h4>v)Port 3306: MySQL (Database)</h4><p><strong>What it does:</strong> Allows access to MySQL databases</p><p><strong>Real-world example:</strong> Your web application connects to the database to store/retrieve user data.</p><p><strong>Why it matters for security:</strong> Exposing port 3306 to the internet is like leaving your data vault door open. Attackers can:</p><ul><li>Steal all customer data</li><li>Delete databases</li><li>Modify records</li><li>Install malware</li></ul><p><strong>Real attack:</strong> Thousands of MongoDB databases were ransomed because port 27017 was exposed to the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*5lBcUpJ2U_mnaXV_8UfevA.png" /><figcaption>Important Ports</figcaption></figure><h3>4: Important Protocols Every Cybersecurity Pro Must Know</h3><h4>i)TCP (Transmission Control Protocol)</h4><p><strong>What it does:</strong> Ensures data arrives safely and in order</p><p><strong>Real-world analogy:</strong> You send a letter to your friend:</p><ul><li>You write it carefully</li><li>You address it properly</li><li>You track the delivery</li><li>You wait for confirmation that they received it</li></ul><p><strong>How it works:</strong></p><ol><li>Connection established (handshake)</li><li>Data sent in chunks</li><li>Each chunk is confirmed (“I received chunk 1”)</li><li>Connection closed properly</li></ol><h4>ii)UDP (User Datagram Protocol)</h4><p><strong>What it does:</strong> Sends data fast, but doesn’t guarantee delivery</p><p><strong>Real-world analogy:</strong> You shout a message across a crowded room:</p><ul><li>Fast delivery</li><li>Doesn’t care if everyone heard</li><li>No confirmation needed</li></ul><p><strong>How it works:</strong></p><ol><li>Send the data</li><li>Don’t wait for confirmation</li><li>Done</li></ol><h4>iii)ICMP (Internet Control Message Protocol)</h4><p><strong>What it does:</strong> Sends diagnostic messages (ping, traceroute)</p><p><strong>Real-world example:</strong> You “ping” a server to see if it’s alive.</p><pre>ping google.com<br>Response: Yes, I&#39;m here! ✓</pre><p><strong>Why it matters for security:</strong></p><ul><li>Useful for diagnosing network issues</li><li>But attackers use it for reconnaissance</li><li>Some admins block ICMP to hide their servers</li></ul><h4>iv)DNS (Domain Name System)</h4><p><strong>We covered this in Week 10</strong>, but as a quick reminder:</p><p>DNS translates domain names to IP addresses.</p><pre>You: &quot;Take me to google.com&quot;<br>DNS: &quot;That&#39;s IP 142.250.1.1&quot;<br>Your browser: &quot;Connecting to 142.250.1.1&quot;</pre><p><strong>Security threat:</strong> DNS spoofing — attacker tricks DNS to send you to fake website.</p><h4>v)TLS/SSL (Encryption Protocol)</h4><p><strong>What it does:</strong> Encrypts the connection between you and the server</p><p><strong>Real-world analogy:</strong> Instead of sending a postcard (everyone can read it), you send a locked box (only recipient has the key).</p><p><strong>How it works:</strong></p><ol><li>Browser requests secure connection</li><li>Server sends digital certificate</li><li>They agree on encryption method</li><li>All data is encrypted</li></ol><p><strong>Why it matters:</strong> Without TLS, passwords and credit cards are visible to anyone on the network. This is why HTTPS (HTTP + TLS) is mandatory.</p><h3>5: Why Should You Care? (The Security Angle)</h3><p>As a cybersecurity professional, understanding ports and protocols helps you:</p><h4>i) Harden Your Systems</h4><pre>❌ Open Port 23 (Telnet) = Attacker can log in<br>✅ Close Port 23 = Attacker blocked</pre><h4>ii)Detect Attacks</h4><pre>🚨 Seeing 10,000 connections on Port 445 = Ransomware trying to spread<br>✅ You block it immediately</pre><h4>iii)Understand Firewall Rules</h4><pre>Rule: Block all inbound traffic except ports 80, 443, 22<br>Translation: Only web browsing and SSH are allowed</pre><h4>iv)Investigate Security Breaches</h4><pre>Attack discovered: &quot;Check port 3306 (MySQL)&quot;<br>Finding: Database was exposed to the internet for 3 months<br>Impact: 1 million customer records stolen</pre><h4>v)Build Secure Applications</h4><pre>❌ Use HTTP for banking website = Customer data stolen<br>✅ Use HTTPS for banking website = Customer data encrypted</pre><h3>Conclusion: You’re Now a Ports &amp; Protocols Expert</h3><p><strong>What you learned today:</strong></p><ol><li><strong>Ports</strong> are virtual doors on your computer (65,535 of them)</li><li><strong>Protocols</strong> are rules for how data is sent and received</li><li><strong>TCP</strong> is reliable but slow; <strong>UDP</strong> is fast but unreliable</li><li><strong>HTTP</strong> is insecure; <strong>HTTPS</strong> is encrypted and safe</li><li><strong>SSH (port 22)</strong> is secure remote access; <strong>Telnet (port 23)</strong> is insecure and outdated</li><li><strong>Database ports</strong> (3306, 5432) are high-value attack targets</li><li><strong>Firewalls</strong> control which ports are accessible</li></ol><p>In <strong>Week 12</strong>, we’ll dive into — <strong>HTTP/HTTPS — requests, responses, headers and ARP </strong>how to actually block the bad guys using what you learned about ports and protocols.</p><p>Until then, remember: <strong>Ports are doors, protocols are languages. Know which doors are open and who speaks which language on your network.</strong></p><blockquote>Have questions about ports and protocols? Drop them in the comments below! And if this helped you understand networking better, share it with someone learning cybersecurity.</blockquote><p><em>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</em></p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f45dc3c16d45" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-11-ports-protocols-the-hidden-language-of-the-internet-f45dc3c16d45">Week 11:- Ports &amp; Protocols: The Hidden Language of the Internet</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 10: The Complete Guide to IP Addressing, Subnetting & DNS]]></title>
            <link>https://meetcyber.net/week-10-the-complete-guide-to-ip-addressing-subnetting-dns-d5be131042f1?source=rss-f92ee774897b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5be131042f1</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Nishant kumar]]></dc:creator>
            <pubDate>Wed, 03 Jun 2026 13:58:34 GMT</pubDate>
            <atom:updated>2026-06-03T13:58:34.754Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part of the Networking Series — if you missed Week 9, go check out OSI and TCP/IP models first!</em></p><h3>1.IP Addressing &amp; Subnetting:</h3><h4>What is an IP Address?</h4><p>Think of an IP address like your home address. Just like a postman needs your address to deliver a letter, <strong>computers need an IP address to send data to the right place.</strong></p><p>Every device connected to the internet — your phone, laptop, smart TV — has an IP address.</p><p>There are two versions:</p><p><strong>i)IPv4</strong> — the classic, looks like this:</p><pre>192.168.1.1</pre><p>Four numbers separated by dots, each between 0 and 255. This gives us about <strong>4.3 billion</strong> unique addresses — which sounds like a lot until you realize there are 8 billion people on earth, each with multiple devices.</p><p><strong>ii)IPv6</strong> — the modern solution, looks like this:</p><pre>2001:0db8:85a3:0000:0000:8a2e:0370:7334</pre><p>Longer, harder to read, but gives us virtually <strong>unlimited addresses</strong>. The internet is slowly shifting to this.</p><h4>Public vs Private IP →</h4><p>Not all IPs are the same:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*WSl8CFqxLajiZ8_FZ_Aryg.png" /><figcaption>Types of IP</figcaption></figure><p>Your router has a public IP that the internet sees. Your devices at home get private IPs assigned by the router. This is why your laptop shows 192.168.x.x — that&#39;s its private address inside your home network.</p><h4>IP Address Classes →</h4><p>Originally IPs were divided into classes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*GoXwokRXkt4DREQtQjkZww.png" /><figcaption>IP Classes</figcaption></figure><p>Most home and small business networks fall under <strong>Class C</strong>.</p><h4>What is Subnetting?</h4><p>Imagine you have a big office building with 1000 employees. <strong>Instead of letting everyone share one huge network, you divide it into floors</strong> — HR on floor 1, Engineering on floor 2, Finance on floor 3. Each floor is its own smaller network.</p><p>That’s exactly what <strong>subnetting</strong> is — dividing a large network into smaller, manageable sub-networks called <strong>subnets</strong>.</p><p><strong>Why subnet?</strong></p><ul><li>Better security — departments can’t see each other’s traffic</li><li>Better performance — less congestion</li><li>Easier management</li></ul><h4>Subnet Mask — The Key Concept</h4><p>Every IP address works alongside a <strong>subnet mask</strong>. It tells the computer which part of the IP is the <strong>network</strong> and which part is the <strong>host (device)</strong>.</p><p>Common example:</p><pre>IP Address:   192.168.1.50<br>Subnet Mask:  255.255.255.0</pre><p>Here the first three octets (192.168.1) identify the <strong>network</strong> and the last octet (.50) identifies the <strong>device</strong>.</p><p>This means devices from 192.168.1.1 to 192.168.1.254 are all on the same network — that&#39;s <strong>254 usable hosts</strong>.</p><h4>CIDR Notation — The Shorthand →</h4><p>Instead of writing the full subnet mask, we use a shorthand called <strong>CIDR</strong>:</p><pre>192.168.1.0/24</pre><p>The /24 means the first 24 bits are the network part. This is the same as 255.255.255.0.</p><p>Common CIDR values:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*ICfcbFFMr_6xPy0ZpJnYBA.png" /><figcaption>CIDR Ranges</figcaption></figure><p><strong>/30 is commonly used for point-to-point links between routers where you only need 2 hosts.</strong></p><h4>Quick Subnetting Example</h4><p>You have the network 192.168.10.0/24 and need to divide it into 4 subnets:</p><p>Use /26 which gives you 4 subnets with 62 hosts each:</p><pre>Subnet 1: 192.168.10.0/26   (hosts: .1 to .62)<br>Subnet 2: 192.168.10.64/26  (hosts: .65 to .126)<br>Subnet 3: 192.168.10.128/26 (hosts: .129 to .190)<br>Subnet 4: 192.168.10.192/26 (hosts: .193 to .254)</pre><p>Clean, organized, and each subnet is isolated from the others.</p><h3>2.DNS: The Internet’s Phone Book</h3><h4>What is DNS?</h4><p>When you want to call your friend, you don’t memorize their phone number — you search their name in your contacts. <strong>DNS does the exact same thing for the internet.</strong></p><p>Instead of remembering 172.217.14.206, you just type google.com and DNS translates it to the right IP address behind the scenes.</p><p><strong>DNS = Domain Name System</strong> It converts human-readable domain names into machine-readable IP addresses.</p><h4>How DNS Works — Step by Step</h4><p>Let’s say you type google.com in your browser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*RxNVk2kan1VsMmUIimIVjQ.png" /><figcaption>How DNS Works</figcaption></figure><p>This entire process happens in <strong>milliseconds</strong>.</p><h4>DNS Record Types</h4><p>DNS isn’t just about IPs — it stores different types of records:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*24SgoUNyiyk1jwOBmAVLTA.png" /><figcaption>DNS Record Types</figcaption></figure><h4>DNS Caching — Why It’s Fast</h4><p>Every DNS response comes with a <strong>TTL (Time To Live)</strong> value — it tells your system how long to remember the answer.</p><pre>google.com → 142.250.1.1 (TTL: 300 seconds)</pre><p>For 300 seconds, your computer won’t ask DNS again — <strong>it uses the cached answer</strong>. This is why DNS is fast and the internet doesn’t collapse under billions of queries every second.</p><h3>3.DNS Attacks — The Dark Side</h3><p>Now the security part — here are the most common DNS attacks:</p><p><strong>i)DNS Spoofing / Cache Poisoning</strong></p><p>An attacker injects a <strong>fake DNS record</strong> into a resolver’s cache.</p><pre>You type: bank.com<br>DNS Cache (poisoned): bank.com → attacker&#39;s IP<br>You land on: fake bank website</pre><p><strong>Impact:</strong> Phishing, credential theft, man-in-the-middle attacks</p><p><strong>Defense:</strong> DNSSEC (DNS Security Extensions), use trusted resolvers like 1.1.1.1 or 8.8.8.8</p><p><strong>ii)DNS Hijacking</strong></p><p>The attacker modifies DNS settings at the <strong>router or ISP level</strong> to redirect all traffic.</p><p><strong>Impact:</strong> All devices on the network get redirected to malicious sites</p><p><strong>Defense:</strong> Use encrypted DNS (DoH — DNS over HTTPS), monitor router settings</p><p><strong>iii)DNS Tunneling</strong></p><p>Attackers <strong>hide malicious data inside DNS queries</strong> to bypass firewalls.</p><pre>Normal DNS query: &quot;What&#39;s the IP of google.com?&quot;<br>Tunneled query:   &quot;What&#39;s the IP of STOLENCREDITCARDDATA.attacker.com?&quot;</pre><p>Since most firewalls allow DNS traffic, data exfiltration goes undetected.</p><p><strong>Defense:</strong> DNS traffic monitoring, anomaly detection</p><p><strong>iv)DDoS via DNS Amplification</strong></p><p>Attacker sends small DNS requests <strong>spoofed with victim’s IP</strong> to open DNS resolvers. The resolvers send large responses to the victim, flooding their bandwidth.</p><pre>Attacker sends: 50 byte request<br>Victim receives: 3000 byte response × millions of requests</pre><p><strong>Defense:</strong> Disable open DNS resolvers, implement rate limiting on DNS servers</p><p><strong>v)NXDOMAIN Attack</strong></p><p>Flooding a DNS server with requests for <strong>non-existent domains</strong>, exhausting its resources.</p><p><strong>Defense:</strong> Rate limiting, DNS query filtering</p><h4>How to Stay Safe — DNS Best Practices</h4><ul><li>Use <strong>encrypted DNS</strong> — DNS over HTTPS (DoH) or DNS over TLS (DoT)</li><li>Use trusted public resolvers — Cloudflare 1.1.1.1 or Google 8.8.8.8</li><li>Enable <strong>DNSSEC</strong> on your domains</li><li>Regularly audit your DNS records for unauthorized changes</li><li>Monitor DNS traffic for anomalies</li></ul><blockquote>That’s a wrap for Week 10! Next week we’ll be diving into different types of ports and protocols before continuing our journey. Follow along so you don’t miss it!</blockquote><p><em>If you found this article helpful and would like to support my cybersecurity learning journey, you can do so here:</em></p><p><a href="https://buymeacoffee.com/nis.sec">https://buymeacoffee.com/nis.sec</a></p><p>You can connect with me on social media platforms.</p><p><strong>Linkedin: </strong><a href="https://www.linkedin.com/in/nishant-kumar-3a07952b6/">https://www.linkedin.com/in/nishant-kumar-3a07952b6/</a></p><p><strong>Twitter:</strong><a href="https://x.com/BugBugproofmind">https://x.com/BugBugproofmind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5be131042f1" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/week-10-the-complete-guide-to-ip-addressing-subnetting-dns-d5be131042f1">Week 10: The Complete Guide to IP Addressing, Subnetting &amp; DNS</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>