<?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 Iitiananchalgupta on Medium]]></title>
        <description><![CDATA[Stories by Iitiananchalgupta on Medium]]></description>
        <link>https://medium.com/@iitiananchalgupta79?source=rss-07cc3fc09c3c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Y-y4FlG70h3si4Hr</url>
            <title>Stories by Iitiananchalgupta on Medium</title>
            <link>https://medium.com/@iitiananchalgupta79?source=rss-07cc3fc09c3c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:42:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iitiananchalgupta79/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My First Hands-on Experience with Metasploitable2 Using Nmap and Metasploit]]></title>
            <link>https://medium.com/@iitiananchalgupta79/my-first-hands-on-experience-with-metasploitable2-using-nmap-and-metasploit-bfda98810fcb?source=rss-07cc3fc09c3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfda98810fcb</guid>
            <dc:creator><![CDATA[Iitiananchalgupta]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 13:57:17 GMT</pubDate>
            <atom:updated>2026-07-17T13:57:17.278Z</atom:updated>
            <content:encoded><![CDATA[<p>Cybersecurity is not just about learning theories — it is about applying concepts in a practical environment. To strengthen my penetration testing skills, I recently worked with <strong>Metasploitable2</strong>, one of the most popular intentionally vulnerable virtual machines used for cybersecurity training.</p><p>This lab gave me an opportunity to understand how professionals perform reconnaissance, identify vulnerable services, and analyze security weaknesses using industry-standard tools like Nmap and the Metasploit Framework.</p><h4>What is Metasploitable2?</h4><p>Metasploitable2 is a deliberately vulnerable Linux virtual machine developed by <strong>Rapid7</strong> for educational purposes. It contains multiple insecure services and outdated software versions that allow students and cybersecurity enthusiasts to practice penetration testing safely.</p><p>Unlike production systems, Metasploitable2 is specifically designed to help learners understand vulnerabilities without causing harm to real-world networks.</p><p>Some of the services available on the machine include:</p><ul><li>FTP</li><li>SSH</li><li>Telnet</li><li>HTTP</li><li>MySQL</li><li>SMB</li><li>PostgreSQL</li></ul><p>Because of these intentionally vulnerable services, Metasploitable2 has become one of the most widely used practice environments for aspiring penetration testers.</p><h4>Setting Up the Lab:-</h4><p>The lab environment consisted of two virtual machines:</p><ul><li><strong>Kali Linux</strong> (Attacker Machine)</li><li><strong>Metasploitable2</strong> (Target Machine)</li></ul><p>Both virtual machines were connected to the same network so they could communicate with each other during testing.</p><h4>Finding the Target Machine:-</h4><p>Before starting any assessment, I first identified the IP address assigned to the Metasploitable2 virtual machine.</p><p>Knowing the correct IP address is important because every scan and security assessment is performed against this target.</p><p>IP address: 192.168.58.129</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*wrGG6YWkl9owigNm.png" /></figure><h4>Discovering Open Services with Nmap:-</h4><p>The next step was to perform service enumeration using Nmap.</p><p>The -sV option tells Nmap to detect the versions of the services running on open ports.</p><p>The scan identified several open services including:</p><ul><li>FTP (Port 21)</li><li>SSH (Port 22)</li><li>Telnet (Port 23)</li></ul><p>Version detection plays an important role because outdated software versions may contain publicly documented security vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*XB3gFBpF2DSQYLC6.png" /></figure><p><strong>Launch the Metasploit Framework:-</strong></p><p>After gathering information during reconnaissance, I started the Metasploit Framework using: msfconsole</p><p>Metasploit provides a comprehensive platform for security professionals to analyze known vulnerabilities in a controlled environment.</p><p>It also allows users to organize assessments, configure modules, and validate findings discovered during reconnaissance.</p><p><strong>Analyze the FTP Service:-</strong></p><p>The Nmap scan identified that the FTP service on port 21 was running:</p><p><strong>Service:</strong> FTP</p><p><strong>Version:</strong> vsftpd 2.3.4</p><p>This version is widely known within security training environments because it contains a documented vulnerability. It was selected for further analysis inside the Metasploitable2 lab.</p><p>This demonstrated how service version detection helps prioritize systems that require attention during a security assessment.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*VY6EeIW1ziwX77uT.png" /></figure><p><strong>Configure the Assessment Module:-</strong></p><p>Within Metasploit, I reviewed the module configuration to identify the required parameters.</p><p>The primary configuration required was the target host (<strong>RHOSTS</strong>), which was set to the IP address of the Metasploitable2 machine.</p><p>Reviewing module options before running an assessment is an important practice because it ensures the module is configured correctly.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*2Tbben8XT74YenRN.png" /></figure><p><strong>Execute the Assessment:-</strong></p><p>After configuring the required options, the selected module was executed to assess the identified vulnerability in the controlled lab environment.</p><p>This exercise demonstrated how publicly documented vulnerabilities can be validated safely within a practice environment. It also reinforced the importance of patch management and keeping software updated to reduce exposure to known security issues.</p><p><strong>Key Learnings:-</strong></p><p>This lab provided valuable practical experience with several important cybersecurity concepts:</p><ul><li>Performing network reconnaissance using Nmap</li><li>Identifying services and software versions</li><li>Understanding the penetration testing workflow</li><li>Using the Metasploit Framework in a controlled lab</li><li>Recognizing the importance of software updates and vulnerability management</li><li>Improving documentation skills by recording each stage of the assessment.</li></ul><h4>Final Thoughts</h4><p>Working with Metasploitable2 gave me practical exposure to penetration testing concepts in a safe and controlled environment. Instead of only reading about vulnerabilities, I was able to see how reconnaissance and service analysis are performed in real scenarios.</p><p>This experience strengthened my confidence in using security tools like Nmap and Metasploit and highlighted the importance of continuous learning through hands-on practice. As I continue my cybersecurity journey, I look forward to exploring more labs and improving my technical and analytical skills.</p><p>Thanks for reading!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfda98810fcb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>