<?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 Vishnu Chebolu on Medium]]></title>
        <description><![CDATA[Stories by Vishnu Chebolu on Medium]]></description>
        <link>https://medium.com/@cheboluvishnu?source=rss-e546ae86abe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*nJP0iCgFglaYq_Wy</url>
            <title>Stories by Vishnu Chebolu on Medium</title>
            <link>https://medium.com/@cheboluvishnu?source=rss-e546ae86abe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:53:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cheboluvishnu/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[Tryhackme : Olympus Full Walkthrough]]></title>
            <link>https://systemweakness.com/tryhackme-olympus-full-walkthrough-f28f555809a2?source=rss-e546ae86abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f28f555809a2</guid>
            <dc:creator><![CDATA[Vishnu Chebolu]]></dc:creator>
            <pubDate>Mon, 18 Jul 2022 15:51:01 GMT</pubDate>
            <atom:updated>2022-07-20T16:13:53.512Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tryhackme : Olympus Full Walkthrough</h3><p>Hello fellow hackers and bug hunters, I am<strong><em> </em></strong><a href="https://github.com/vishnuchebolu"><strong><em>Vishnu Chebolu</em></strong></a>, a security researcher from India, back again with another writeup, a walkthrough for <a href="https://tryhackme.com/room/olympusroom"><strong><em>Olympus</em></strong> </a>room on <a href="https://medium.com/u/dc49a0a3cb16">TryHackMe</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Z0lcnlFINW709rU4OELAg.png" /><figcaption>Difficulty : Medium</figcaption></figure><blockquote><strong>Disclaimer : </strong>Please try on your own before seeing this walkthrough. If you need small hints, go through this or join Tryhackme <a href="https://discord.com/invite/tryhackme">discord </a>channel.</blockquote><p><strong><em>Reconnaissance</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*58_bCCbqMeksc1sVpoSALQ.png" /><figcaption>see bottom left of the page</figcaption></figure><p>Since, the provided IP address isn’t loading, we need to add the IP into hosts file with DNS record as<a href="https://tryhackme.com/room/olympusroom"> <strong><em>olympus.thm</em></strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*ZHSX1UzcJ-NMnsHkiuxetw.png" /><figcaption>editing hosts file</figcaption></figure><p><strong>Website</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBmckuDpWeT4671UdLFJdg.png" /></figure><p>There is a text in the website saying that the previous version of CMS is still available. So I ran a <a href="https://www.kali.org/tools/dirbuster/#:~:text=DirBuster%20is%20a%20multi%20threaded,pages%20and%20applications%20hidden%20within."><strong>dirbuster</strong></a><strong> </strong>scan on the target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*rGDPw18cp46kmg3ugXJ74A.png" /></figure><p>Going to the directory found.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u1lh9GD1zYPZ1AF3UMYzOA.png" /></figure><p>The only important things that we can see as a pentester in the website are search functionality and login page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*k91cmpnaBACYxuBooisD5g.gif" /><figcaption>HEHE</figcaption></figure><p>I tried with the default credentials but it is of no use. Also there is no need to brute force the login credentials as the author said that brute force is prohibited. So I focused on search functionality and tried to inject the payload [1&#39;] in the search field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*PlCGk_auCCqPcooL8lsdMQ.png" /><figcaption>SQL Syntax error</figcaption></figure><p>You can see that there is a SQL syntax error. The next well known step is to use sqlmap. You can refer to this amazing blog about SQL Injection using SQLMap.</p><p><a href="https://www.comparitech.com/net-admin/sqlmap-cheat-sheet/">Sqlmap Cheat Sheet</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*XXqaY4pV1OgbcrQwHiMj3g.png" /><figcaption>capture the request and run sqlmap</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*TiH2KPBtropUoXeZVbUrKw.png" /></figure><blockquote>sqlmap -r req.txt — batch — tables olympus</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*sqYO4wUR4_4C5Cb8sc_J4g.png" /><figcaption>Database dump</figcaption></figure><p>After successful SQL Injection, we find the above tables present in the database named “Olympus”.</p><p>Now the first flag can easily be found by using the following command.</p><blockquote>sqlmap -r req.txt — batch — dump -T flag -D olympus</blockquote><p>There are other interesting table named <strong><em>“Users”. </em></strong><em>Lets dump the file and find the important details.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x1eEkiBnDLrXpIwaDlPWcQ.png" /><figcaption>Users table data dump</figcaption></figure><p>As we can see there are username and password for three users. Lets copy the hashes and use john to crack the passwords.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*xG3p8fSi-pTC_lavjub5vw.png" /><figcaption>only one user’s password found</figcaption></figure><p>John was able to crack only <strong><em>Prometheus’s </em></strong>password.</p><p>Now login with the credentials found.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/258/1*AwuPfiKAdotETGkcFtybwg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Akjv49BYwppjdbFHF01Mg.png" /></figure><p>I’ve tried every possible enumeration for this page, but not successful at the end of the day. After thinking and trying a lot, I remember the passwords dump file again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x1eEkiBnDLrXpIwaDlPWcQ.png" /><figcaption>see the user_email section</figcaption></figure><p>We can clearly see that there is another subdomain “<strong><em>chat.olympus.thm”</em></strong>. Lets add it to hosts file and start hacking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*ZpXPaTZpm7Iw7qgB5l81rQ.png" /></figure><p>After going through the website, we can see a login page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*yk3JmKYRSVkeegldv3CGsA.png" /><figcaption>Login with prometheus’s credentials..</figcaption></figure><p>There is an upload option in the chat page, so I’ve changed the <a href="https://github.com/pentestmonkey/php-reverse-shell/blob/master/php-reverse-shell.php"><strong><em>php_reverse_shell.php</em></strong></a> file from <a href="https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet"><strong><em>pentestmonkey</em></strong></a><strong><em>.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*19lnUFzNu7wIxR47OjRXtQ.png" /></figure><p>After wondering where the uploaded files are going to, I ran a dirbuster scan and found a directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yOPofuh0pN_7NNspdnLN1Q.png" /><figcaption>empty uploads page</figcaption></figure><p>After seeing an empty page, I remember a table from olympus database about chats. So lets try sqli again and extract data.</p><blockquote>sqlmap -r req.txt — batch — dump -T chats -D olympus</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-dasdNYW8Fh5GksOvYUIOA.png" /><figcaption>chats table dump</figcaption></figure><p>Here you can see all the file names are encoded in some manner and changed to arbitrary name. For our uploaded file, the name changed form <strong><em>reverseshell.php</em></strong> to <strong><em>0575257e57cd1b77001469aaafcfa001.php.</em></strong></p><blockquote><strong>Note: </strong>The file name is for me only, it might change if you upload the file with same name.</blockquote><p>Now try to access the uploaded file in /uploads by simultaneously starting a listener.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*LtYHqSP8uUmx0jpHgpwOhg.png" /><figcaption>nc listener</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RqO8fxG_wU_4EYu6EtwU7w.png" /><figcaption>Getting reverse shell</figcaption></figure><p>At this stage, we got a reverse shell from the website with user www-data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*GgpsRilXhvxAgqGPu-xFDQ.png" /><figcaption>Stabilizing shell</figcaption></figure><p><strong><em>First phase of privesc</em></strong></p><p>To access <strong><em>zeus</em></strong> directory, we need to upgrade our permissions or login as zeus.</p><p>I tried to use linpeas, but I cannot find anything useful to gain a extra privilege.</p><p>So I decided to manually enumerate and ran the following command.</p><blockquote>find / -perm -u=s -type f 2&gt;/dev/null</blockquote><p>There is an interesting file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*p_U44kwu-__ErW674g71JA.png" /><figcaption>cputils</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*H0-mqktDPgrZ2q7_2xEIBQ.png" /></figure><p>I said that the file is interesting because it can be run a zeus and its functionality is copying files.</p><p>I immediately got an idea to copy <strong><em>zues’s</em></strong> private ssh key so that I can login as zeus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*hXYJC_wRA5WYt_tleTEPJQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*sBdXyGi7KaZhATpDAdpCiA.png" /></figure><p>I downloaded the private key using scp, but when tried to login it is asking for a key, as it is password protected. So I used ssh2john utility to create its hash and crack it. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*hPzQ6Ip9bRH4I3qkNFNkrA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*jNTnYOYSvGJpjLQZCoNVJg.png" /><figcaption>Now you know the passkey for ssh private key</figcaption></figure><p>As I have everything clear to login as zeus, I did the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*d6awbyVw_XtMKTRXV1mqTw.png" /></figure><p><strong><em>Second Phase of privesc</em></strong></p><p>Now we need to root the machine. Again linpeas and linenum didn’t work. Manual enumeration of files owned by the user group shown an interesting file with weird name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*9aY6gGYBoTyLtCd0dc-mDQ.png" /><figcaption>yeah, the VIGQFQMYOST</figcaption></figure><p>I cannot find the file hosted as <em>http://host/0aB*************/ VIGQFQMYOST.php</em></p><p>So I tried to read and analyse the file.</p><p>If you understand the code, it just do a simple thing (runs a binary) to get root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*guKypkbOtfzp8YIL2bWncA.png" /><figcaption>This is the code snipped in the above php file</figcaption></figure><p>Running the same code in terminal as zeus gives us root access.🤩🎉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*UgBinKeO76Utit9Q-2FTNQ.png" /></figure><p><strong><em>Bonus flag</em></strong></p><p>The intended way of finding the flag in /etc folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*rgSH9Yinup9nbWi-Irqwbg.png" /></figure><p>But my way of doing &gt;&gt;&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*DBstd-6v7tQB7ilqtQnIlw.png" /></figure><p>Now find flag in the output.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*h_6ZlwBGqszlxrQKFLuSEg.png" /><figcaption>HEHE</figcaption></figure><p><strong>Conclusion</strong></p><p>This room definitely, a time taking as there is depth in content and valuable teachings. Finally, a big thanks to the room creator <a href="https://github.com/G4vr0ch3"><strong>G4vr0ch3</strong></a><strong>.</strong></p><p>Please do not hesitate to ping me up, if you have any small doubt.</p><p><strong>GitHub </strong>: <a href="https://github.com/vishnuchebolu">https://github.com/vishnuchebolu</a></p><p><strong>Twitter </strong>: <a href="https://twitter.com/CheboluVishnu">https://twitter.com/CheboluVishnu</a></p><p><strong>Tryhackme </strong>: <a href="https://tryhackme.com/p/leufeyson">https://tryhackme.com/p/leufeyson</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f28f555809a2" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/tryhackme-olympus-full-walkthrough-f28f555809a2">Tryhackme : Olympus Full Walkthrough</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I hacked my college website and be able to change my marks :>]]></title>
            <link>https://systemweakness.com/how-i-hacked-my-college-website-and-be-able-to-change-my-marks-d1f53b32800d?source=rss-e546ae86abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1f53b32800d</guid>
            <dc:creator><![CDATA[Vishnu Chebolu]]></dc:creator>
            <pubDate>Tue, 19 Apr 2022 23:07:23 GMT</pubDate>
            <atom:updated>2022-05-26T14:26:40.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I hacked my college website and was able to change my marks ;)</h3><p>Welcome to my story. In this article I going to tell story of me, hacking my college website.</p><p><strong>Note: Before starting the hunt on the website, I’ve taken the permission from the required authorities. Please do not hunt, if you do not have any permission. I am not responsible to any of your actions.</strong></p><p>Our college website has two types of authorized persons.</p><ul><li>Admin/Teacher</li><li>Student</li></ul><p>Students enrolled in the course can get the login credentials from the authorities [There is no feature to signup on the website]. While using, I got some low-hanging bugs like session management, and open redirection. So I was taught to take a chance and give it a try. So I asked the management to give permission to find bugs on their website.</p><p>After one week, I got a mail like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*Wa2XkMFihIUCyFERwAnc0g.png" /><figcaption>Email from the security team</figcaption></figure><h4><strong>Details of the Vulnerability</strong></h4><p><strong>Vulnerability Name</strong>: Account Takeover due to Parameter Tampering</p><p><strong>Reproduce the Vulnerability:</strong></p><p>There is a feature to reset the password, which sends OTP to the email address of the user, who wants to reset the password. The next request looks something like this.</p><pre>POST /reset_password HTTP/2<br>Host: prod.api.target.com<br>User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0<br>Accept: application/json, text/plain, */*<br>Accept-Language: en-US,en;q=0.5<br>Accept-Encoding: gzip, deflate<br>Content-Type: application/json<br>Content-Length: 96<br>Origin: https://target.com<br>Referer: https://target.com<br>Te: trailers<br><br>{&quot;email&quot;:&quot;<a href="/service/mailto:victim@gmail.com">email@gmail.com</a>&quot;,&quot;password&quot;:&quot;Asdf!1234&quot;,&quot;confirm_password&quot;:&quot;Asdf!1234lf&quot;}</pre><p>Guess my next step?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/1*tUKSEyVQYxxkE58000veZg.jpeg" /></figure><p>If you think to change the email address to the victim’s email address, You’re correct. I changed the email parameter to my teacher’s email address and yeah, his password got changed.</p><p>Now I can log in as my teacher and can change everyone’s marks xD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*UqrzkInIso64f82OWdXSTg.gif" /></figure><p><strong>Suggestion</strong></p><p>I guess it would be more efficient if the developer adds some tokens and validate them in every request.</p><p>That’s all for this writeup, see you next time.</p><p>Please do not hesitate to ping me up, if you have any small doubt.</p><p><strong>GitHub </strong>: <a href="https://github.com/vishnuchebolu">https://github.com/vishnuchebolu</a></p><p><strong>Twitter </strong>: <a href="https://twitter.com/CheboluVishnu">https://twitter.com/CheboluVishnu</a></p><p><strong>Tryhackme </strong>: <a href="https://tryhackme.com/p/leufeyson">https://tryhackme.com/p/leufeyson</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1f53b32800d" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/how-i-hacked-my-college-website-and-be-able-to-change-my-marks-d1f53b32800d">How I hacked my college website and be able to change my marks :&gt;</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tryhackme Crack The Hash : Level 2 Full Walkthrough]]></title>
            <link>https://systemweakness.com/tryhackme-crack-the-hash-level-2-full-walkthrough-4db58616dce1?source=rss-e546ae86abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/4db58616dce1</guid>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[cracking-hashes]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hashing]]></category>
            <dc:creator><![CDATA[Vishnu Chebolu]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 04:09:09 GMT</pubDate>
            <atom:updated>2022-04-14T06:02:05.285Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tryhackme Crack The Hash : Level 2 Full Walkthrough</h3><p>Hello viewer, I am <a href="https://github.com/vishnuchebolu">Vishnu Chebolu</a>, a security researcher from India. In this writeup, I want to cover the room <a href="https://tryhackme.com/room/crackthehashlevel2"><strong><em>Crack the hash: Level 2</em></strong></a> from <a href="https://medium.com/u/dc49a0a3cb16">TryHackMe</a>, which is a successor of the room <a href="https://tryhackme.com/room/crackthehash"><strong><em>Crack the hash</em></strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*V7M3CZpEVYy3HrUtb3M7WQ.png" /><figcaption>Crack the hash : level 2</figcaption></figure><p><strong>Task 1–5:</strong></p><p>These 5 are the basic level tasks, for which no guidance is required. They just mentioned to download the required tools such as :</p><ul><li><a href="https://noraj.github.io/haiti/#/pages/install"><strong>Haiti</strong></a> for finding the type of a given hash.</li><li>A wordlist manager such as <a href="https://github.com/BlackArch/wordlistctl"><strong>Wordlistctl</strong></a>, to download, search different wordlists.</li><li><a href="https://www.openwall.com/john/"><strong>John the Ripper</strong></a> to crack the hashes based upon rules.</li><li><a href="https://github.com/sc0tfree/mentalist"><strong>Mentalist</strong></a>, <a href="https://github.com/digininja/CeWL"><strong>CeWL</strong></a> and <a href="https://github.com/tp7309/TTPassGen"><strong>TTPassGen</strong></a> for different ways of generating wordlists.</li></ul><p><strong>Task 6:</strong> <strong>Challenge</strong> — <em>It’s time to crack hashes</em></p><p><strong>Advice n°1</strong></p><p><strong><em>Hash</em></strong> : b16f211a8ad7f97778e5006c7cecdf31</p><p><strong><em>Clues from the given advices</em></strong><em> </em>: Male name, names can contain combination of numbers and special characters / only numbers/ only special characters.</p><p><strong>Rule Explanation:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*oHgyUma6RiFSpu5BGAwpUw.png" /><figcaption>Rule 1</figcaption></figure><ul><li>A is any word from the wordlist.</li><li>c is to capitalize the first character.</li><li>0 appends the generated string to the start of the word A.</li><li>z appends the generated string to the end of the word A.</li><li>[0–9~!@#$%^&amp;*()_+] is a list of numbers and special characters.</li></ul><p>For example, is there is a word “example” in the wordlist, and the rule is <strong>cAz”[0–9~!@#$%^&amp;*()_+]</strong>”, it generates the following list of words:</p><p>Example0, Example1, Example2,…., Example9, Example~, Example!, .…, Example+.</p><p>You can check the list of words generated by a rule by the following command:</p><blockquote><strong>john — wordlist=”path to wordlist” — rules=”rule name” — stdout</strong></blockquote><p>For the same word, the rule<strong><em> </em></strong><em>cAz”[0–9~!@#$%^&amp;*()_+][0–9~!@#$%^&amp;*()_+]” generates a list of combination of 00,01,02,…,0+,10,11,…,++ appended to the end of Example.</em></p><p>Since, the advice is that, variable length of combination of words and special characters are there, I’ve appended 5 rules (my assumption: a rule with max combination length of 5) with first 5 appends generated string at the end of string and the next 5 appends the string at the beginning of the string.</p><p><strong>Hash Type:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*UkOWEhRwCgNblXB5k6KRfw.png" /><figcaption>Using Haiti, the hash type found is raw-md5</figcaption></figure><p><strong>Finding the wordlist :</strong></p><p>Now we need to find the appropriate wordlist which contains the names of a male person. We can use <strong><em>wordlistctl</em> </strong>for this purpose.</p><pre>python3 wordlistctl.py search male</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VH0QGEXCx2IW0nB3yHFpGw.png" /><figcaption>Decompressing top_1000_usa_male_names</figcaption></figure><p><strong>Cracking the hash :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*un0JTqXIVQdzED1-Zec32g.png" /></figure><p><strong>Advice n°2</strong></p><p><strong><em>Hash</em>: </strong>7463fcb720de92803d179e7f83070f97</p><p><strong><em>Clues from the given advices :</em></strong></p><p>Female name, which can contain combination of numbers and special characters / only numbers/ only special characters.</p><p><strong>Rule Explanation :</strong></p><p>Same rule from first question, as there is just a change in wordlist (name of a female).</p><p><strong>Hash Type :</strong></p><p>Haiti gives us the hash type as Raw-MD5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*olj_TfTVHllm61k7Uht5kQ.png" /></figure><p><strong>Finding the wordlist :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tgz_qnHuQR9XJCZckz7j3w.png" /><figcaption>decompressing top__usa_femalenames_english</figcaption></figure><p><strong>Cracking the hash :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*tKBVhrmRzQfH0E2Ob8S7Aw.png" /></figure><p><strong>Advice n°3</strong></p><p><strong><em>Hash : </em></strong>f4476669333651be5b37ec6d81ef526f</p><p><strong><em>Clues from the given advices:</em></strong></p><p>A wordlist of city name, Mexico.</p><p><strong>Rule Explanation:</strong></p><ol><li><strong><em>Freak mutation — </em></strong><em>substituting letters </em>with similarly looking special symbols. E.g. — a → @, o → 0</li></ol><p>We can mutate each and every letter in a word with the help of a tool named <strong>Mentalist</strong>.</p><blockquote>Enter “mentalist” , command in the terminal to load the GUI application.</blockquote><ul><li>Above generated mexico.txt is entered as the base words file.</li><li>Adding a rule for substitution (mutating all the available characters to the similar looking ones).</li><li>We can export the mutated words list after saving the chain.</li><li>Go to top menu → process → full wordlist → specify the name and location to store the file.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*58H2Vipl_i3PbbfemxY34A.png" /><figcaption>Exporting the mutated wordlist</figcaption></figure><p><strong>Hash type</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*vH3rhYpkoLxPcr4Hd_DMLw.png" /></figure><p><strong>Finding the wordlist</strong></p><p>Searching the cities wordlist using wordlistctl.</p><p>Note: Here it shows that wordlist exists, as I already downloaded it. It may not show the same to you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*1X4F5c3sGVWJT-e8RMAD7w.png" /></figure><p>We need to extract the name “Mexico” from the given list. You can follow the below image to do the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YrRKtAbL46VoFliRfHtIFQ.png" /></figure><p><strong>Cracking the hash</strong></p><p>There is a default rule in john, “l33t”, which does the freak mutation by default. I found it after I’ve completed cracking this hash, but thought to include it here, to spread the knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*peyZf-8H5ONvCxWotFtI3Q.png" /></figure><p><strong>Advice n°4</strong></p><p><strong><em>Hash : </em></strong>a3a321e1c246c773177363200a6c0466a5030afc</p><p><strong><em>Clues from the given advices:</em></strong></p><ul><li>Wordlist only has the name of the person.</li><li>All the words have case mutation randomly.</li></ul><p><strong>Rule Explanation</strong></p><p>There is a default rule in john, named “TN”. You can find some default rules <a href="https://www.openwall.com/john/doc/RULES.shtml"><strong><em>Here</em></strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*OMpBuuiykaPRiIdGUoIX8w.png" /><figcaption>Simple Commands</figcaption></figure><p><strong>Hash type</strong></p><p>Refer to Fig: Advice4</p><p><strong>Finding the wordlist</strong></p><p>Since, wordlist consists of his name. We can add his first name, last name, combined name into the wordlist.</p><p><strong>Cracking the hash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*e8FJ19GRAh4bfeI_QKkqJw.png" /></figure><p><strong>Advice n°5</strong></p><p><strong><em>Hash : </em></strong>d5e085772469d544a447bc8250890949</p><p><strong><em>Clues from the given advices:</em></strong></p><p>Lyrics of songs by Adele</p><p><strong>Rule Explanation</strong></p><p>Default rule, “r”, in John.</p><pre>r  --&gt;  reverse: &quot;Fred&quot; -&gt; &quot;derF&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*RQC5npn7JNwkSs4eLzyHgQ.png" /><figcaption>Editing rules in /usr/share/john/john-local.conf</figcaption></figure><p><strong>Hash type</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*e-8rA2yqU3d_LKahiMHIDA.png" /></figure><p><strong>Finding the wordlist</strong></p><p>We can use <a href="https://github.com/initstring/lyricpass"><strong><em>lyricpass</em></strong></a><strong><em> </em></strong>to download the lyrics of all the songs by Adele.</p><p>Using the command:</p><blockquote>lyricpass.py -a &quot;Adele&quot;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*-G0zXhyzq-uSgGjLgJ9GHQ.png" /></figure><p><strong>Cracking the hash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dtGAoZd78E3E7SQ4rFRezw.png" /></figure><p><strong>Advice n°6</strong></p><p><strong><em>Hash : </em></strong>377081d69d23759c5946a95d1b757adc</p><p><strong><em>Clues from the given advices:</em></strong></p><ul><li>Phone number from Sint Maarten.</li><li>No Mutation.</li></ul><p><strong>Rule Explanation</strong></p><p>No Rule required.</p><p><strong>Hash type</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*D3XkqjlYOCQt5Zc0CSp5Yw.png" /></figure><p><strong>Finding the wordlist</strong></p><p>For finding the wordlist of phone numbers in Sint Maarten, we need to understand the phone number type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eaRN1HbOasK5OskGJD81_g.png" /><figcaption>Rules of a phone number in Sint Maarten</figcaption></figure><p>The above picture clearly shows that every phone number starts with “+1721” followed by random numbers of length 7.</p><p>We can define a rule in John using the knowledge we got from advice 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*WJaD_1t2m9G3AuHgdvUpUA.png" /><figcaption>Custom Rule: 6</figcaption></figure><p><strong>Cracking the hash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*CkOHjhpfxYhLcmmbUS0qww.png" /></figure><p><strong>Advice n°7</strong></p><p><strong><em>Hash : </em></strong>ba6e8f9cd4140ac8b8d2bf96c9acd2fb58c0827d556b78e331d1113fcbfe425ca9299fe917f6015978f7e1644382d1ea45fd581aed6298acde2fa01e7d83cdbd</p><p><strong><em>Clues from the given advices:</em></strong></p><ul><li>“ Last Competition Project of NIST” .Searching from the internet, I got to know that the hash is Raw-SHA3.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*hs8pU3KDES86cBrW1kwYBg.png" /></figure><ul><li>Default wordlist.</li></ul><p><strong>Rule Explanation</strong></p><p>No Rule required.</p><p><strong>Hash type</strong></p><p>Haiti gives us a list of possible hashes. The first one given here is SHA-512 but after trying with john, I got to know that it is not SHA-512.</p><p>Trying with the second type, SHA3–512, (Raw-SHA3 — John code format), gives us success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*34CvEfkK3lXul3IqcD3tjw.png" /></figure><p><strong>Finding the wordlist</strong></p><p>rockyou.txt</p><p><strong>Cracking the hash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*Tl1o27Nvf0aADMf3wgrypA.png" /></figure><p><strong>Advice n°8</strong></p><p><strong><em>Hash : </em></strong>9f7376709d3fe09b389a27876834a13c6f275ed9a806d4c8df78f0ce1aad8fb343316133e810096e0999eaf1d2bca37c336e1b7726b213e001333d636e896617</p><p><strong><em>Clues from the given advices:</em></strong></p><ul><li>All the words are form the webpage “<a href="http://10.10.231.149/rtfm.re/en/sponsors/index.html">http://10.10.231.149/rtfm.re/en/sponsors/index.html</a>”.</li><li>Repetition of same word 2 or 3 or 5 or more than 5 times.</li><li>Finalist of SHA-3 project. A simple internet search gives us the hash type.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*r233UogYURiPQSuIKeV7Eg.png" /><figcaption>Internet search</figcaption></figure><p><strong>Hash type</strong></p><p>raw-blake-2</p><p><strong>Finding the wordlist</strong></p><p>Using <strong><em>CeWL </em></strong>to scrape the words from the given web page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*9MlSgXnVRbMT0rMAOc4Otg.png" /><figcaption>Using CeWL</figcaption></figure><p><strong>Rule Explanation</strong></p><p>Since, all the words are repeated many times, I wrote a python script to generate a new wordlist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*Z-nNfj1xOo7SG9YHDcGCVw.png" /><figcaption>script to create a wordlist of repeated words</figcaption></figure><p><strong>Cracking the hash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*-uBGBBn8ukWrtPn3CGNi3Q.png" /></figure><p><strong>Advice n°9</strong></p><p><strong><em>Hash : </em></strong>$6$kI6VJ0a31.SNRsLR$Wk30X8w8iEC2FpasTo0Z5U7wke0TpfbDtSwayrNebqKjYWC4gjKoNEJxO/DkP.YFTLVFirQ5PEh4glQIHuKfA/</p><p><strong><em>Clues from the given advices:</em></strong></p><ul><li>Default Wordlist</li><li>No mutation</li></ul><p><strong>Rule Explanation</strong></p><p>No rule required.</p><p><strong>Hash type</strong></p><ul><li>SHA-512 crypt</li></ul><p><strong>Finding the wordlist</strong></p><p>rockyou.txt</p><p><strong>Cracking the hash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*ade2r02F5n-0dx69risFfg.png" /></figure><p><strong>Conclusion</strong></p><p>This room definitely, a time taking as there is depth in content and valuable teachings of rules in john and made us familiar with various rules. Finally, a big thanks to the room creator <a href="https://pwn.by/noraj/"><strong>Noraj</strong></a>.</p><p>Please do not hesitate to ping me up, if you have any small doubt.</p><p><strong>GitHub </strong>: <a href="https://github.com/vishnuchebolu">https://github.com/vishnuchebolu</a></p><p><strong>Twitter </strong>: <a href="https://twitter.com/CheboluVishnu">https://twitter.com/CheboluVishnu</a></p><p><strong>Tryhackme </strong>: <a href="https://tryhackme.com/p/leufeyson">https://tryhackme.com/p/leufeyson</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4db58616dce1" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/tryhackme-crack-the-hash-level-2-full-walkthrough-4db58616dce1">Tryhackme Crack The Hash : Level 2 Full Walkthrough</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>