<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" >

<channel><title><![CDATA[theuib - nahamsec]]></title><link><![CDATA[https://www.theuib.com/nahamsec]]></link><description><![CDATA[nahamsec]]></description><pubDate>Thu, 07 May 2026 03:10:03 +0530</pubDate><generator>Weebly</generator><item><title><![CDATA[Nahamsec]]></title><link><![CDATA[https://www.theuib.com/nahamsec/nahamsec]]></link><comments><![CDATA[https://www.theuib.com/nahamsec/nahamsec#comments]]></comments><pubDate>Mon, 29 Jun 2020 06:53:35 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">https://www.theuib.com/nahamsec/nahamsec</guid><description><![CDATA[Agent 95 (Web)  They've given you a number, and taken away your name~Connect here:http://jh2i.com:50000flag{user_agents_undercover}Solution:&nbsp;Change User agent to Windows 95  Localghost(Web)  BooOooOooOOoo! This spooOoOooky client-side cooOoOode sure is scary! What spoOoOoOoky secrets does he have in stooOoOoOore??Connect here:http://jh2i.com:50003JCTF{spoooooky_ghosts_in_storage}Solution:&nbsp;In JavaScript code for jquerty.jscroll2 after beautifying, flag variable contains flag in bytes  C [...] ]]></description><content:encoded><![CDATA[<h2 class="wsite-content-title"><font color="#91e05c">Agent 95 (Web)</font></h2>  <div class="paragraph"><font color="#5848b7">They've given you a number, and taken away your name~</font><br /><span></span><font color="#5848b7">Connect here:<br /><a href="http://jh2i.com:50000/">http://jh2i.com:50000</a></font><br /><span></span><span style="font-weight:600"><font color="#5848b7">flag{user_agents_undercover}</font></span><br /><span></span><font color="#5848b7"><span style="font-weight: 600;">Solution:</span>&nbsp;Change User agent to Windows 95</font><br /><span></span></div>  <h2 class="wsite-content-title"><font color="#91e05c">Localghost(Web)</font></h2>  <div class="paragraph"><font color="#5848b7">BooOooOooOOoo! This spooOoOooky client-side cooOoOode sure is scary! What spoOoOoOoky secrets does he have in stooOoOoOore??</font><br /><span></span><font color="#5848b7">Connect here:<br /><a href="http://jh2i.com:50003/">http://jh2i.com:50003</a></font><br /><span></span><span style="font-weight:600"><font color="#5848b7">JCTF{spoooooky_ghosts_in_storage}</font></span><br /><span></span><font color="#5848b7"><span style="font-weight: 600;">Solution:</span>&nbsp;In JavaScript code for jquerty.jscroll2 after beautifying, flag variable contains flag in bytes</font><br /><span></span></div>  <h2 class="wsite-content-title"><font color="#91e05c">CLIsay</font></h2>  <div class="paragraph"><font color="#5848b7">cowsay is hiding something from us!</font><font color="#5848b7"><br /><span style="font-weight:600">flag{Y0u_c4n_r3Ad_M1nd5}</span></font><br /><font color="#5848b7"><span style="font-weight:600">Solution:</span>&nbsp;With the challenge we are given an ELF file (a type of Unix executable), by running it we get:<br />&#8203;<br />well that didn't give us much, we can check if there are printable strings in the file by using the strings command on it, doing that gives us the flag:<br />notice that you need to append the two parts of the flag together (the strings after and before the ascii art).</font></div>  <div><div style="height: 20px; overflow: hidden;"></div> 				<div id='884345877184204501-gallery' class='imageGallery' style='line-height: 0px; padding: 0; margin: 0'><div id='884345877184204501-imageContainer0' style='float:left;width:33.28%;margin:0;'><div id='884345877184204501-insideImageContainer0' style='position:relative;margin:5px;'><div class='galleryImageHolder' style='position:relative; width:100%; padding:0 0 75%;overflow:hidden;'><div class='galleryInnerImageHolder'><a href='https://www.theuib.com/uploads/1/0/0/9/100993662/clisay-1_orig.png' rel='lightbox[gallery884345877184204501]'><img src='https://www.theuib.com/uploads/1/0/0/9/100993662/clisay-1.png' class='galleryImage' _width='1290' _height='387' style='position:absolute;border:0;width:250%;top:0%;left:-75%' /></a></div></div></div></div><div id='884345877184204501-imageContainer1' style='float:left;width:33.28%;margin:0;'><div id='884345877184204501-insideImageContainer1' style='position:relative;margin:5px;'><div class='galleryImageHolder' style='position:relative; width:100%; padding:0 0 75%;overflow:hidden;'><div class='galleryInnerImageHolder'><a href='https://www.theuib.com/uploads/1/0/0/9/100993662/clisay-2_orig.png' rel='lightbox[gallery884345877184204501]'><img src='https://www.theuib.com/uploads/1/0/0/9/100993662/clisay-2.png' class='galleryImage' _width='800' _height='457' style='position:absolute;border:0;width:131.29%;top:0%;left:-15.65%' /></a></div></div></div></div><span style='display: block; clear: both; height: 0px; overflow: hidden;'></span></div> 				<div style="height: 20px; overflow: hidden;"></div></div>  <h2 class="wsite-content-title"><font color="#91e05c">Metameme</font></h2>  <div class="paragraph"><font color="#5848b7">Hacker memes. So meta.</font><br /><br /><span style="font-weight:600"><font color="#5848b7">flag{N0t_7h3_4cTuaL_Cr3At0r}</font></span><br /><font color="#5848b7"><span style="font-weight:600">Solution:</span>&nbsp;With the challenge we get this image:</font><br /><br /><font color="#5848b7">We can guess by the name of the challenge and its description that there is something in the metadata of the image, so we can use exiftool on it, exiftool allows you to see the metadata of an image, and by using it we get the flag:</font></div>  <div><div style="height: 20px; overflow: hidden;"></div> 				<div id='174820694696827541-gallery' class='imageGallery' style='line-height: 0px; padding: 0; margin: 0'><div id='174820694696827541-imageContainer0' style='float:left;width:33.28%;margin:0;'><div id='174820694696827541-insideImageContainer0' style='position:relative;margin:5px;'><div class='galleryImageHolder' style='position:relative; width:100%; padding:0 0 75%;overflow:hidden;'><div class='galleryInnerImageHolder'><a href='https://www.theuib.com/uploads/1/0/0/9/100993662/hackermeme_orig.jpg' rel='lightbox[gallery174820694696827541]'><img src='https://www.theuib.com/uploads/1/0/0/9/100993662/hackermeme.jpg' class='galleryImage' _width='800' _height='450' style='position:absolute;border:0;width:133.33%;top:0%;left:-16.67%' /></a></div></div></div></div><div id='174820694696827541-imageContainer1' style='float:left;width:33.28%;margin:0;'><div id='174820694696827541-insideImageContainer1' style='position:relative;margin:5px;'><div class='galleryImageHolder' style='position:relative; width:100%; padding:0 0 75%;overflow:hidden;'><div class='galleryInnerImageHolder'><a href='https://www.theuib.com/uploads/1/0/0/9/100993662/metameme_orig.png' rel='lightbox[gallery174820694696827541]'><img src='https://www.theuib.com/uploads/1/0/0/9/100993662/metameme.png' class='galleryImage' _width='800' _height='527' style='position:absolute;border:0;width:113.85%;top:0%;left:-6.93%' /></a></div></div></div></div><span style='display: block; clear: both; height: 0px; overflow: hidden;'></span></div> 				<div style="height: 20px; overflow: hidden;"></div></div>  <h2 class="wsite-content-title"><font color="#91e05c">Easy Keesy</font></h2>  <div class="paragraph"><font color="#5848b7">Dang it, not again...</font><br /><br /><span style="font-weight:600"><font color="#5848b7">flag{jtr_found_the_keys_to_kingdom}</font></span><br /><font color="#5848b7"><span style="font-weight:600">Solution:</span>&nbsp;With the challenge we get a file with an unknown format, we can use the file command to see that the file is a KeePass database:</font><br /><br /><br /><font color="#5848b7">This type of files are databases used to keep passwords on the computer 'safely', there are many password managers to view this kind of files but I used KeeWeb for this challenge mostly because it is a web tool, if we try to open the file with it we can quickly notice that we don't have the password for doing that, furthermore there aren't any mentions of a password in the file or in the description of the challenge, so it seems we need to bruteforce for the password.<br />Passwords are commonly saved as hashes, hashes are data created using cryptographic hash functions which are one way functions (easy to find an hash for a password, hard to find a password for the hash) who are also able to return a value with a fixed length to any file with any size, a simple example for an hash function is the algorithm shown in the December challenge with the slight modification that only the last block of the cipher is returned, hashes are great because it is easy to validate a value using them as you can just as hash the value using the hash function and compare the hashes, but, it is hard to get the value from an hash.<br />In the case of a KeePass database file, the password for the database, which is called a master password, is saved as an hash in the file in order for a password manager to verify it, this is not a smart idea to save the password locally like that but it's good for us.<br />To find the password I used a dictionary attack, this type of attack uses a known database in order to find the right data, in the case of password cracking we use a database of passwords, preferably ordered by most frequently used to least frequently used, we will hash each password and compare it to the hash we have until we'll find a password with the same one, this does not guarantee that we found the correct password (an hash collision can occur) but most probably it will find the correct one, the dictionary I used is called rockyou.txt which lists common passwords. for executing the attack I used John the Ripper, a great tool for cracking hashes using a dictionary, I first converted the file to something john can use and then used john with rockyou.txt to crack the password by executing the following commands:</font><br /><font color="#5848b7">keepass2john easy_keesy <span>&gt;</span> kp john --wordlist=/usr/share/wordlists/rockyou.txt -format:keepass kp</font><font color="#5848b7">by doing that we get that the password for the file is monkeys, if we try using it in KeeWeb we are given access to the database and we get the flag:</font></div>  <div><div style="height: 20px; overflow: hidden;"></div> 				<div id='239210359359677205-gallery' class='imageGallery' style='line-height: 0px; padding: 0; margin: 0'><div id='239210359359677205-imageContainer0' style='float:left;width:33.28%;margin:0;'><div id='239210359359677205-insideImageContainer0' style='position:relative;margin:5px;'><div class='galleryImageHolder' style='position:relative; width:100%; padding:0 0 75%;overflow:hidden;'><div class='galleryInnerImageHolder'><a href='https://www.theuib.com/uploads/1/0/0/9/100993662/easy-keesy_orig.png' rel='lightbox[gallery239210359359677205]'><img src='https://www.theuib.com/uploads/1/0/0/9/100993662/easy-keesy.png' class='galleryImage' _width='1537' _height='410' style='position:absolute;border:0;width:281.16%;top:0%;left:-90.58%' /></a></div></div></div></div><div id='239210359359677205-imageContainer1' style='float:left;width:33.28%;margin:0;'><div id='239210359359677205-insideImageContainer1' style='position:relative;margin:5px;'><div class='galleryImageHolder' style='position:relative; width:100%; padding:0 0 75%;overflow:hidden;'><div class='galleryInnerImageHolder'><a href='https://www.theuib.com/uploads/1/0/0/9/100993662/easy-keesy-1_orig.png' rel='lightbox[gallery239210359359677205]'><img src='https://www.theuib.com/uploads/1/0/0/9/100993662/easy-keesy-1.png' class='galleryImage' _width='1770' _height='497' style='position:absolute;border:0;width:267.1%;top:0%;left:-83.55%' /></a></div></div></div></div><span style='display: block; clear: both; height: 0px; overflow: hidden;'></span></div> 				<div style="height: 20px; overflow: hidden;"></div></div>]]></content:encoded></item></channel></rss>