<?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 Si3r3 on Medium]]></title>
        <description><![CDATA[Stories by Si3r3 on Medium]]></description>
        <link>https://medium.com/@si3r3?source=rss-5e0b7327840c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cpBUrmdL8i8-c1iDPaYd-w.jpeg</url>
            <title>Stories by Si3r3 on Medium</title>
            <link>https://medium.com/@si3r3?source=rss-5e0b7327840c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:31:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@si3r3/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[Corridor | tryhackme]]></title>
            <link>https://si3r3.medium.com/corridor-tryhackme-f19172885ab?source=rss-5e0b7327840c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f19172885ab</guid>
            <category><![CDATA[thm-writeup]]></category>
            <category><![CDATA[thm]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <dc:creator><![CDATA[Si3r3]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 04:20:20 GMT</pubDate>
            <atom:updated>2022-11-03T04:22:40.422Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello,</p><p>here we are again with another ctf from tryhackme. This one is particularly interesting cos it projected a particular type of vulnerability on websites-<strong>IDOR</strong>s.</p><p>For those of us that don’t know what IDORs are, it means Insecure Direct Object Reference. And if that still doesn’t make sense, it refers to an access control vulnerability where unvalidated user input can be used for unauthorized access to resources or operations.</p><p>Still doesn’t make sense? Read through <a href="https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/05-Authorization_Testing/04-Testing_for_Insecure_Direct_Object_References">this</a>.</p><p>It’s usually found in url endpoints. This ctf challenge explores IDORs in action; so stay with me as I walk you through this challenge. It was quite an interesting one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mjhCuIcB3lS1DTxodU0GVw.png" /><figcaption>Corridor THM</figcaption></figure><p><strong>Platform</strong>: Tryhackme</p><p><strong>Title</strong>: Corridor</p><p><strong>Difficulty:</strong> Easy</p><p><strong>Link: </strong><a href="https://tryhackme.com/room/corridor">https://tryhackme.com/room/corridor</a></p><p>The challenge simply tells us to find our way back. From the hint, you’ll find that the end points follow a particular pattern.</p><p>I would have done an nmap scan, but we’re already told it’s an IDOR, why waste your time? You can do that yourself by</p><blockquote>nmap -sV -sC $IP</blockquote><p>But I’ll go straight to slap the IP to the web browser. For some reasons, this my web browser keeps adding the https after I hit return key on pasting the given IP. So I added the “<strong>:80</strong>&quot; to the IP and it worked.</p><p>I’m faced with an image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_6RDAfEnjwbTyATaqR3mYg.png" /></figure><p>of so many doors. I have to find my way back.</p><p>Using directory fuzzers returns nothing tangible, so I resorted to viewing the source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Re1ZEj9-pl2UdKdpRV9og.jpeg" /></figure><p>From the screenshot, you can see various links that seems not to make sense. They’re more like hashes. They are directories and will lead you to different rooms. Example</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*gySfxxNPIA720PRVM5TAYQ.png" /></figure><p>I used <a href="https://github.com/blackploit/hash-identifier">hash-identifier</a> from blacksploit to detect an md5 hash. Pasting the hashes gives on <a href="https://crackstation.net/">Crackstation</a> gives you numbers from 1 to 13.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYT_gXs0SNDm8T0UVcNlQA.png" /></figure><p>If we were to go back to where we came from, we needed to use the md5 hash of 0. To do that I ran the following command on my terminal</p><blockquote>echo -n 0 | md5sum</blockquote><p>which gives an output of “cfcd208495d565ef66e7dff9f98764da”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*DsvFQx2xl84Be78AJepXnA.jpeg" /></figure><p>heading to the IP address and adding the directory <strong>$IP/</strong>cfcd208495d565ef66e7dff9f98764da, I’m greeted with the flag.</p><p>Leave a comment below. Your suggestions too will be appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f19172885ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cyborg | Tryhackme Walk-through]]></title>
            <link>https://si3r3.medium.com/cyborg-tryhackme-walk-through-2c80850eadc3?source=rss-5e0b7327840c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c80850eadc3</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[cyborg]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Si3r3]]></dc:creator>
            <pubDate>Mon, 26 Sep 2022 01:25:02 GMT</pubDate>
            <atom:updated>2022-09-26T19:18:09.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Cyborg Tryhackme challenge" src="https://cdn-images-1.medium.com/max/242/1*zjPEd1rp4LKMIH8i8IbEUQ.png" /><figcaption>Cyborg THM</figcaption></figure><p>I’m here again and this time to take you through the process of how I solved an easy challenge on tryhackme. In the end, I gained root on the machine.</p><p>I received some feedback regarding the text size on my terminal in my last article. It wasn’t big enough. I apologize for it.<br>I completely forgot that not everyone uses a small font size because I am used to that style of font. And for today’s article, I made the font size bigger.</p><p>Let’s dive straight into the challenge.</p><p><strong>Challenge name: </strong>Cyborg</p><p><strong>Platform:</strong> Tryhackme</p><p><strong>Difficulty: </strong>Easy</p><p><strong>Link: </strong><a href="https://tryhackme.com/room/cyborgt8">https://tryhackme.com/room/cyborgt8</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*tRXUndZvj2ylnJN-IwVERA.png" /></figure><p>As usual, the first step is to deploy the machine. Then connect to the same network using OpenVPN or via the attack box in tryhackme. I normally use OpenVPN.</p><p>After spinning the machine, the next thing I did was to enumerate the ports and services running on the machine using the following command.</p><blockquote><strong>nmap </strong>-<strong>sV IP_addr</strong></blockquote><p>The <strong>-p-</strong> flag scans all the ports on the machine and it takes time. I would normally run the command without the<strong> -p- </strong>flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*oKEjkT1AHC1j2XN07fHucg.png" /><figcaption>nmap scan on the target.</figcaption></figure><p>As indicated in the screenshot, a web server and ssh are running( port 80 and 22 respectively). Pasting the IP_ADDR in my browser directs me to this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*3SK9OC86QAOWmM7WJEStIA.png" /><figcaption>A default page that shows that the web server works properly and is accessible.</figcaption></figure><p>The next step to take is to view the page source while automating directory discovery with tools such as ffuf, or gobuster or any other one of your choice. I used both ffuf and gobuster but just ffuf would do for this challenge. I used <strong>gobuster</strong> to check for php, txt, html etc, extensions with the command:</p><blockquote><strong>gobuster</strong> dir -u <a href="http://10.10.214.91/admin">http://<strong>IP_ADDR</strong>/</a> -w /usr/share/wordlists/common.txt -t 16 -x php,txt,conf,html</blockquote><p>The <strong>-u</strong> flag is for the ip_address or URL, while the <strong>-w </strong>flag points to the wordlist used for brute forcing the directories.</p><p>As for ffuf, the screenshot below identifies the directories it picked up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*QRHgJMBNG1rjwFPW0zeyRg.png" /><figcaption><strong>ffuf </strong>-w /usr/share/wordlists/common.txt -u <a href="http://10.10.26.78/FUZZ">http://<strong>IP_ADDR</strong>/FUZZ</a> -mc 200,301,302</figcaption></figure><p>Directories admin, etc, index.html were discovered. Index.html leads to the apache default page. Heading over to the /etc directory and lands on this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*KFZPGun7cKEZJ0pz-GrYlQ.png" /><figcaption>IP_ADDR/etc</figcaption></figure><p>Hmm, a squid folder? What could be in there? The squid folder contains a <strong><em>passwd</em> </strong>and and <strong><em>squid.conf</em></strong> file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_VX55TR5OFA4G0kAoPj6QQ.png" /></figure><p>Yh, I didn’t need to be told the next thing to do. I open the password and squid.conf file to find anything that may be useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*6kfE3WNA7H-GC0dbSgOyRA.png" /><figcaption>passwd</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*ly3HG1fkLldwpaab7v0s0w.png" /><figcaption>squid.conf</figcaption></figure><p>I honestly didn’t understand the conf file. Did some research, but came up with nothing tangible. But the passwd seems more like a hash. In order to identify the hash, you can use <strong>hashid</strong> on the terminal.</p><blockquote><strong>hashid </strong>‘$apr1$BpZ.Q.1m$F0qqPwHSOG50URuOVQTTn.’</blockquote><p>Try that on the terminal. You can use it if you intend to use <strong>hashcat</strong> to crack the password. That way you know the option to use in the cracking process.</p><p>However, I used <strong>JohntheRipper</strong> to crack the hash.</p><p>The first step is to copy that username and hash as seen in the image into a file, say<strong> hash.txt.</strong></p><p>Then use john to crack it as seen in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*g8Jhbsb5LN21jiToe2EERw.png" /><figcaption><strong>john</strong> hash.txt — wordlist=/usr/share/wordlists/rockyou.txt</figcaption></figure><p>Now I’ve gotten a password “<strong>squidward</strong>”. Normally, I would have begun brute forcing the <strong>ssh login </strong>with <strong>hydra </strong>using the usernames I would later discover. But it did not work. So we keep enumerating.</p><p>The admin directory displays this page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WmK2B3F6f8EzqOKEP1uO2g.png" /><figcaption>IP_ADDR/admin</figcaption></figure><p>Look around the page and test functionalities. View the source code to check for pointers. I didn’t find anything interesting on the source page. So I began viewing other pages on the admin directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*24qZWxNVOtDHVlFWr2-xaA.png" /><figcaption>IP_ADDR/admin/admin.html</figcaption></figure><p>The admin page gives you some usernames(the ones used to brute force the ssh)</p><p>Then I checked the archive. I had the option to listen and to download a file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*FyuR-8AkOBPQ_Lnja9l30w.png" /><figcaption>IP_ADDR/admin/archive</figcaption></figure><p>And so I downloaded the file and used my terminal to analyze it. It’s a compressed file named <strong>archive.tar</strong></p><p>using the command “<strong><em>tar </em></strong><em>-xvf archive.tar</em><strong>”</strong> will successfully uncompressed the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/1*-NkQSTBMoP1-BG5nEDADMQ.png" /></figure><p>That creates a home directory in the current directory. I used the tree command to get a better view of the files and folders within the home directory.</p><p>Reading through the file you’ll discover they’re encrypted. But there is a README file that directs us to <strong>borgbackup</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*foWK39p4QPstuAxh6hXu8w.png" /></figure><p>Initially, I knew nothing about Borgbackups. But with the tons of resources available, plus Youtube videos I was able to get my head around it. The docs didn’t help me much. YouTube did. Check <a href="https://www.youtube.com/watch?v=QIMJdnghEmU&amp;t=983s">this</a> and <a href="https://www.youtube.com/watch?v=CuUOT-X89wk">this</a> for a more practical application.</p><p>After the tutorial, you’ll discover the use of the password hash that was earlier uncovered during the first phase of your enumeration.</p><p>So basically, the user backed up his files using <strong>borg. </strong>Borg let’s you to encrypt the file(s) using a password or other means. That way you can back up the file to any server, whether the server is trusted or not.</p><p>To list the backed up files, use the following command:</p><blockquote><strong>borg</strong> list home/field/dev/final_archive</blockquote><p>You can also extract the file using a similar command. In both cases you’ll need to provide a passphrase: <strong>squidward</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*yoPQc1h39j57yjC9h7Lgiw.png" /></figure><p>It seems like nothing happened, but when you run the tree command again, you discover another directory named <strong>alex </strong>in the home directory.</p><p>Going through the files and directory, <strong>notes.txt</strong> stands to be the most interesting and important. In it, we find a username and password in clear text.</p><blockquote>alex:S3cretP@s3</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*dUUrpIzql4JbNOwiEe7N9Q.png" /></figure><p>You know what to do next. Head straight to the ssh service and test the username and password. And voila, the magic works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*rP1osXmODlN3OjRp-6QXug.png" /></figure><p>We’ve gotten access to the user “<strong>alex</strong>”. Print the <strong>user.txt</strong> to the terminal and submit. I’m now left with the final step of escalating my privilege to a root user.</p><p>For this I checked “<strong>sudo -l</strong>”<strong> </strong>to list the user’s privilege. I’ll know commands I can run as a root user, and try to exploit it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*yoLtj8uzAxJW6HQo6qAL4g.png" /></figure><p>As you can see in the screenshot above, I can run a backup script that’s located in the <strong><em>/etc/mp3backups/ </em></strong>folder as root.</p><p>Luckily, the file is owned by alex, although I can’t instantly write to the file. But that’s easy with “<strong>chmod 770</strong>” will do.</p><p>Since I can now write to the file, I’ll just open a shell on the first line, so that when the script runs, it first opens the shell as root. I tried that and it worked. Nice!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jV4aG3ISspx-ccYIHTzE_w.png" /></figure><p>And Root!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*9tZjj0linyOApL6k55fo5A.png" /></figure><p>Definitely, there are other ways around it. This was the first method that came to my mind and it worked.</p><p>As always, if you read through to the end, Kudos! And remember not to follow. Yes. Don’t follow me. lol.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c80850eadc3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agent Sudo | Tryhackme]]></title>
            <link>https://si3r3.medium.com/agent-sudo-tryhackme-2506ae584238?source=rss-5e0b7327840c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2506ae584238</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[agent-sudo-walkthrough]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[agent-sudo]]></category>
            <dc:creator><![CDATA[Si3r3]]></dc:creator>
            <pubDate>Sun, 11 Sep 2022 12:24:15 GMT</pubDate>
            <atom:updated>2022-09-11T12:24:15.546Z</atom:updated>
            <content:encoded><![CDATA[<p>Well, well, well…here we are and I’m so excited to finally put down something here. Initially, I’ve been so lazy to write an article on Medium; then I realized its importance to the community since I’ve also benefited greatly from reading other people’s content.</p><p>In this article I’ll walk you through the process I took to solve this challenge and gain root access to a machine. I’ll try to make it as simple as possible for us, the newbies. It’s an easy challenge by the way, but not as easy as they sayy.</p><p>I’ll try to break it down just as I went through the process, the ups and downs included. That being said, do me the honors.</p><p><strong><em>Challenge name: </em></strong>Agent Sudo</p><p><strong><em>Platform: </em></strong>Tryhackme</p><p><strong><em>Category:</em></strong> Easy</p><p><strong><em>Link:</em></strong> <a href="https://tryhackme.com/room/agentsudoctf">https://tryhackme.com/room/agentsudoctf</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*ACFyoCcGClMPYS4Z-WxUKQ.png" /><figcaption>Agent Sudo</figcaption></figure><p><strong><em>Task 1</em></strong></p><p>The first task involves deploying the machine. After deploying the machine, you can connect to it using the <strong>attack box</strong> or via <strong>OpenVPN</strong>.</p><p>In order to communicate with the machine, you’ll need to be on the same network. OpenVPN helped me with that since the attack box has a limited time for those not subscribed.</p><p><strong><em>Task 2</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*6cfl-4j9z7oI4Rl78DGWdg.png" /></figure><p>Since the machine is accessible over the network, the next step is to enumerate ports and services running on the target. And for that, I used <strong>nmap</strong>(<em> a very useful penetration testing tool</em>).</p><p>The command I used to enumerate the open ports and services running on the machine is:</p><blockquote><strong><em>nmap -A ipaddress</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9bxKjG_r9hekmNKsYAZ6w.png" /></figure><p>As can be seen in the screenshot below, there were three open ports: 21,22 and 80 representing ftp, ssh, and http.</p><p>port 80 being open means it can be accessed via a web browser. It’s basically a website. You can see the result of pasting the IP on a web browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ms3IUAQtVjPpIG6MWv2X6g.png" /></figure><p>Seems the site is hidden and can be accessed by a code name. I actually looked at the hint and had to change my user agent from Mozilla Firefox to <strong><em>C. </em></strong>On firefox, I downloaded the <strong><em>user-agent switcher extension. </em></strong>That did the job for me and got me to this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aATAxjn-eZtQ_AoloauInQ.png" /></figure><p>I’ve found one user name and that’s <strong>chris</strong>. I also did some sub-directory discovery with <strong><em>ffuf</em></strong>, but couldn’t find any sub-directories.</p><p>And so I proceeded to other services: <strong>ftp</strong>(file transfer protocol). If you don’t know what that means, I’m not telling you either. Ask google.😄</p><p>Unfortunately, FTP does not support anonymous login because I tried it and it didn’t work. But we could try brute forcing the login since we’ve found one user name. For brute forcing ftp, I used <strong><em>hydra.</em></strong></p><blockquote><strong>hydra</strong> <strong>-l</strong> chris <strong>-P </strong>password_list.txt <strong>IP </strong>ftp</blockquote><p>I used the <strong>-l</strong> flag since I already had a user name, else I would have used -<strong>L. </strong>The same goes for the <strong>-P </strong>where I provided hydra with a password list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2X4d04ZCnejpuvBs1SwWTg.png" /></figure><p>From the picture, I used a 7-character password list cos I figured the password had 7 characters. I did this by writing a simple python script that takes a password list and prints out the ones with a given number of characters.</p><p>That way, I can save time while using hydra.</p><p>Okay, we’ve found the password <strong>crystal. </strong>That’s a weak one, but it’s common and normal. Next, I logged into ftp simply by:</p><blockquote>ftp <strong><em>IP_addr</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXq8E5d8yBJb_u6_pl_eSA.png" /></figure><p>We’re logged in after being prompted for the username and password. The are some files present, two pictures and a text To_agent_J. On the ftp server, I used the get file to successfully download the files.</p><p>We get a message from agent C to agent J. From the message Agent C seems to be pointing to a picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5uoAzw1TxTieAcRLRKa9sw.png" /></figure><p>We go back to check the picture for hidden messages(steganography). For this I used <strong><em>binwalk.</em></strong></p><blockquote>binwalk <strong>-e</strong> cutie.pgn</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_2o2pullp2hEKQNL3HnW9A.png" /></figure><p>You can see a hidden zip file there with some other blah blah blah that I didn’t want to care about. I was able to extract it with the command above only to discover it was a passworded zip file(8702.zip). Luckily, johntheRipper’s there to do the heavy lifting.</p><p>First thing’s to use ziptojohn to get the password hash, then john to crack the hashes.</p><blockquote><strong>zip2john 8702.zip &gt; ziphash</strong></blockquote><blockquote>john ziphash</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e1-Cr7XmpeGJscEEk6I4Xg.png" /></figure><p>I’m getting tired of screenshotting…. just so many picturesssssssss and I’m hungry!</p><p>So we get a password, “<strong>alien”. </strong>But how does that help my life. I remember trying <strong><em>unzip</em></strong> and <strong><em>tar </em></strong>to unzip the file but it didn’t work. Didn’t know why then I googled the error it gave me. From the result, I found <strong><em>7z</em></strong> to be the perfect tool for it.</p><blockquote><strong>7z</strong> <strong>x </strong>8702.zip</blockquote><p>I was prompted to input a password and successfully extracted a message <strong><em>To_agentR.txt. </em></strong>It had a message with some seemingly encoded text. And though I’m not good at cryptography, I tried an online <a href="https://www.base64decode.org/">base64 decoder.</a></p><p><em>note: I’ll appreciate any form of assistance with cryptography..thank you, thank you.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MjuMUInEJtxS1KKjof5-kA.png" /><figcaption><strong>QXJlYTUx</strong> was decoded to <strong>Area51</strong></figcaption></figure><p>At first, I didn’t know what to do with the password I got. I tried using binwalk with the other picture I found from the ftp server, but got nothing. I also tried stegsnow, yet nothing. Later I discovered <strong>steghide. </strong>I also discovered stegcracker.</p><p>Normally, I would have tried steghide, but stegcracker seemed way easier to use. So why not? Maybe you should go check steghide yourself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hp9GyEoaZtdl7_zFRMPypg.png" /></figure><p>Then we get another message, this time to james(another user) and from chris. The message also contains the password “<strong>hackerrules!</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pgiNrUtL7NwOjt1_Qbu3Dw.png" /></figure><p>The next possible thing to think of is to use these details to log in via ssh. And it worked. Upon logging in as james, you find a user.txt flag and an image.</p><blockquote><strong><em>ssh </em></strong>username<strong><em>@</em></strong><em>IP</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PIlfHDwSvpkw-hZeDpy7A.png" /></figure><p>then the command</p><blockquote>scp james@<strong>IPaddr</strong>:<strong>/home/james/Alien_autospy.jpg</strong> <strong>Path_you_want_to_download_to</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-dDS9pwmp5VIugJS4lHhA.png" /></figure><p>I used google image search, and FoxNews to find the incident of the photo as “<strong>Roswell alien autopsy</strong>”</p><p>Now we’re left with escalating our privilege to become a root user. Running <strong>sudo -l </strong>gives us “(ALL, !root) /bin/bash”</p><p>Google searching the exploit for this lands me on this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*60LTTZP1j-LTafhj6nd2_w.png" /><figcaption>that’s <strong>exploit-db</strong></figcaption></figure><p>Running <strong>sudo -u#-1 /bin/bash</strong> gives me root access to the machine. Next is to navigate to the root directory. And voila, you find the root.txt file. Open it to find the name of that troublesome agent and the flag. I’m not pasting the flag here, lol. Just use google lens to do that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_UsO7bgW6TQAYmMhEYFZw.png" /></figure><p>Another thing, go to <strong><em>/var/www/html/</em></strong> and create a file called hacked or anything of your choice. Write whatever you want there. You’ve successfully <strong><em>rooted</em></strong> the machine. Gracias!</p><p>This was a long one. I was also tired. Hopefully, you didn’t reach the end of the article. If you did, kudos! If you found the article interesting, don’t follow. Yes, don’t follow me. However, I still appreciate your comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2506ae584238" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>