<?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 Sakshi Gurao on Medium]]></title>
        <description><![CDATA[Stories by Sakshi Gurao on Medium]]></description>
        <link>https://medium.com/@isakshigurao?source=rss-1fe033d6e2f2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EFzWcb9XZflFGvJ3.jpg</url>
            <title>Stories by Sakshi Gurao on Medium</title>
            <link>https://medium.com/@isakshigurao?source=rss-1fe033d6e2f2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 14:12:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isakshigurao/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[Metasploitable Machine (VSFTPD 2.3.4)]]></title>
            <link>https://medium.com/@isakshigurao/metasploitable-machine-vsftpd-2-3-4-676e43598a06?source=rss-1fe033d6e2f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/676e43598a06</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vsftpd234]]></category>
            <category><![CDATA[vsftpd]]></category>
            <category><![CDATA[metasploitable-machine]]></category>
            <dc:creator><![CDATA[Sakshi Gurao]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 12:21:49 GMT</pubDate>
            <atom:updated>2026-06-11T12:21:49.093Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>One of the most well-known vulnerabilities found in vulnerable training machines is the backdoored version of <strong>VSFTPD 2.3.4</strong> (Very Secure FTP Machine). In this exercise, a Kali Linux machine is used to identify and exploit the vulnerable FTP service running on a Metasploitable target.</p><p>The objective is to:</p><ol><li>Discover the target system.</li><li>Identify the vulnerable FTP service.</li><li>Verify the existence of the VSFTPD 2.3.4 backdoor.</li><li>Use Metasploit to exploit the vulnerability.</li><li>Gain remote access to the target machine.</li></ol><h3>Phase 1: Reconnaissance</h3><h3>Step 1: Identify Your Kali Linux IP Address</h3><p>The first screenshot shows the use of the <strong>ifconfig</strong> command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*ashB3cRqQYpkGBbXE7vc4A.png" /></figure><h3>Phase 2: Service Enumeration</h3><p>The next step is to determine which services are running, and we use nmap for that.</p><p><strong>nmap -p 21 192.168.0.102 -sV -sC</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KmIIZA8t5ddUEW0zMZcgqQ.png" /></figure><h4>What Nmap Found</h4><p>The scan revealed:</p><p><strong>21/tcp open ftp vsftpd 2.3.4</strong> &amp; <strong>Anonymous FTP login allowed</strong></p><p>This tells us that <strong>port 21 is open.</strong> The <strong>FTP</strong> <strong>service is running,</strong> and its service <strong>version is vsftpd 2.3.4. </strong>It also tells us that<strong> anonymous FTP login is allowed.</strong></p><h3>Phase 3: Vulnerability Research</h3><p>Once a version has been identified, the next step is to determine whether it is vulnerable. So we try to search public exploits: <strong>“searchsploit vsftpd 2.3.4&quot;</strong> on Kali and on the browser just “<strong>vsftpd 2.3.4.</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_l-yaAw9NzNARVd5qG7A2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3diNoQzKhg3rLscBnEFI2g.png" /></figure><p>The above image tells us that a malicious version of <strong>VSFTPD 2.3.4 </strong>was accidentally distributed with a hidden backdoor. This backdoor allows an attacker to trigger unauthorized command execution under certain conditions.</p><h3>Phase 4: Exploitation</h3><p>After confirming the vulnerability, the next phase is exploitation. We can start the metasploit framework using</p><p><strong>msfconsole</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fXiljL3zpcZjo_0Jj9GUPw.png" /></figure><p>Load the VSFTPD exploit module:</p><p><strong>use exploit/unix/ftp/vsftpd_234_backdoor.</strong></p><p>we verify the module by selecting <strong>options</strong> mode</p><p>In the result, we have to set <strong>RPORT</strong> and <strong>RHOSTS.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*IjztWBMshCF0xgxlrR8LmQ.png" /></figure><p>In which <strong>RPORT </strong>should be <strong>21</strong> and <strong>RHOSTS </strong>should be the <strong>victim&#39;s IP.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*RwT-eOS0RJxKhuURFNCzPA.png" /></figure><p>Once done, you can execute the module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MoC9SMQmOeJ4ZX0Dy1u8xg.png" /></figure><p>After getting the shell check the id and make shell stability by using <strong>/bin/bash -i</strong></p><p>we are checking the active sessions and connecting with session 1</p><p><strong>sessions -u 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cEztiEXcyhEEqlOkst98sw.png" /></figure><p>check if our 1st session is connected or not and then interact with session 2</p><p><strong>sessions</strong></p><p><strong>getuid</strong></p><p><strong>root</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YBfh1_hw3yuEy4m3sbSaVw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=676e43598a06" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>