<?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 D4nnyt3ll0 on Medium]]></title>
        <description><![CDATA[Stories by D4nnyt3ll0 on Medium]]></description>
        <link>https://medium.com/@dannytello001?source=rss-3d8fa834c3da------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WsiEy6NmhvOhLAZn</url>
            <title>Stories by D4nnyt3ll0 on Medium</title>
            <link>https://medium.com/@dannytello001?source=rss-3d8fa834c3da------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:44:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dannytello001/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[P3RF3CTR00TCTF2025 SERIES |Cryptography]]></title>
            <link>https://medium.com/@dannytello001/p3rf3ctr00tctf2025-series-cryptography-5412a6064262?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/5412a6064262</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Sun, 07 Dec 2025 18:52:11 GMT</pubDate>
            <atom:updated>2025-12-07T18:54:27.278Z</atom:updated>
            <content:encoded><![CDATA[<p>The weekend was alive, everyone was talking of it. Now it came and now its gone, probably to restructure, cook more vawulence and give us time to catch up.</p><p>By now you know I’m taking of p3rf3ctr00t’s ctf don’t ask ,me if i struggled writing that name coz, I’m D4nnyt3ll0 a n3rdy who inj3cts keystrokes to th3 computer’s adrenaline. Enough of the murmurs lets get started:)</p><h3>INTRODUCTION</h3><p>From the challenge, <em>Numbers Don’t Lie</em> to the Description <em>A mysterious numeric message was found — use </em><em>key to read it and submit it as r00t{…}. </em>Honestly i felt cheated at first, why lie</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*5d2cN2CrrKL-xN_jZyqixw.png" /><figcaption>Chall Description</figcaption></figure><p>Looking at the numbers i thought aaah!! this is the easiest of all just some Decimal number notation, i knew i had this flag but trying Decimal to text ooh my, the madness they promised me started kicking in. Had to come back to the description to really ascertain if i was being lied to. I started off view the hint, which i vowed never to smile at it again after a tragic accident, story for another day.</p><pre>Could be Russians?</pre><p>That was the hint could be Russians, i wonder why every one points fingers at them not that they’re soft lol. First off firing my search engine and queried for Russian Ciphers and magically i stumbled upon a gem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*ZQFLMpqBNtLgDimPp9tgxQ.png" /><figcaption>Nihilist cipher</figcaption></figure><p>On opening the suspected website my eyes glowed on what i saw, you know the feeling when u see that crushie, here she comes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XNFuEoXB6jN1EcXZznxlhQ.png" /><figcaption>perfect hint fs</figcaption></figure><p>I’m a great fun of dcode fr and Cyberchef but since my magic failed on them i’ve to try out a new toy <a href="https://cryptii.com/pipes/nihilist-cipher"><em>Cryptii</em></a>. Looking at what were presented is identical to the cipher were given number [0–9]. Without wasting time lets slap the payload and see what the Russians were secretly saying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QM62So0Iu-nMPeBAqeu2yg.png" /><figcaption>plaintext: enioyciphers</figcaption></figure><p>You might think we’ve the flag right, yeah i also thought so until my eyes read “enioyciphers” while my brain read “enjoyciphers” typosquatting in action, if you dont know what it is i’ve a <a href="https://www.upguard.com/blog/typosquatting">spoiler</a> for you.</p><p>HURRAY!! we got the flag, the format was <em>r00t{enjoyciphers}. You might think it was easy right no it was not here is the breakdown. R</em>emove all the Alphabets and leave it blank, use the key given in our case its<em> key</em>.</p><h3>CONCLUSION</h3><p>What i learnt</p><p>Numbers dont lie, they’re just numbers but with a deep meaning than what meets the eye. The substitution of j to i in the flag is a clever way Hackers are getting a way to trick individuals while hiding their nefarious foot prints. A simple typo error can lead to a compromise yeah. Finally</p><p>Its time to part ways, before the hackers catch up with me, they must be mad for i cracked open their cipher. Clap for more writeups and most importantly if you learnt something.</p><h4><em>“Amateurs hack systems; professionals hack people.”</em><br>- Bruce Schneier</h4><p><em>…………………………………………………………………………….2nd writeup boiling…ferociously</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5412a6064262" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cryptography, Steganography & Network Forensics I&M ctf 2025]]></title>
            <link>https://medium.com/@dannytello001/cryptography-steganography-network-forensics-i-m-ctf-2025-dd778299e499?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd778299e499</guid>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Mon, 06 Oct 2025 08:03:33 GMT</pubDate>
            <atom:updated>2025-10-06T08:03:33.227Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>INTRODUCTION</strong></h3><p>Hello good people hope you’re doing fine, it’s me again D4nnyt3ll0 the nerdy. It was a weekend to remember, a weekend like no other packed with ctfs, i liked the pump of adrenaline, I thought i could breakdown but no I made It.</p><p>I was representing my school JKUAT University in the CTF we became 2nd and 5th team A and B respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FKeNytrdz7z9amdYAO-sRw.png" /><figcaption>scoreboard: KCA 1st, JKUAT 2nd and Dekut 3rd</figcaption></figure><h3><strong>CRYPTOGRAPHY</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*iTX4K893kYHatsBMe1fg0g.png" /></figure><p>On opening the secret file my brain almost broke down, what a gibberish i saw there, i was like noo this aint my stuff lol. Gained some composure, first off using <strong><em>file secret.txt</em></strong><em> </em>to see what it really is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*fgFQLKvjSfC563FaiylSmQ.png" /></figure><p>Now the road was somehow clear, spinning some google search i see that i can use keepass2john to extract the hash and later crack it.</p><pre>$ keepass2john secret.txt <br>secret.txt:$keepass$*2*600000*0*9267f3c1fabd036f3192ce7f73ce9ec6674f54e956dd45983e62eedc2fb2c3b1*f0b95c4da2be8b98c482dc17254579c470d05ea32f125e42de6bc03484cf0f47*7fea903ca4a7881b4aac515cb024f3b8*a08073bd429014cb8aa17707aef991a1148c601bd7198b5f5198365343e22d65*bb0b8e8002bc6a2a7fe3ac4caae42adb99b8907afca22866115bd961c0c595cd<br>#remove the first part, &quot;secret.txt:&quot; to clean the hash</pre><p>Wait a minute we need keepassxc a tool to read the Keepass Password database, its like unzip for .zip files yeah. so lets see the hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*j-Fy-iW4asCBzc9VgbZ0fA.png" /><figcaption>keepass hash</figcaption></figure><p>Since we’ve obtained the hash lets crack the password.</p><pre>$ john --wordlist=/usr/share/wordlists/rockyou.txt kdbx.hash<br><br>#The password was cracked lets see what it was<br>$ john --show kdbx.hash <br>?:password123<br><br>1 password hash cracked, 0 left<br># Passwd is: password123 #terrible indeed its 2025 but still in 2016 lol</pre><p>Lets use <em>keepassxc secret.txt</em> to open the secret file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*MI_KfghPKPuHmToJELUG7A.png" /><figcaption>flag in notes</figcaption></figure><h3><strong>Steganography</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*TZZOrJuNyn50dMLh47ybSw.png" /></figure><p>This challenge was not straight-forward but was still easy for me. Its now a culture for me to look at the metadata coz i know meta-data is key. I’ll be using exiftool on linux terminal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*PffO7UIxLyi0Ku_UlNM-KQ.png" /><figcaption>Take a look at that sweat comment</figcaption></figure><p>The comment says alot than it should, we have a zip file and the is a password base64 encoded you’ll need <a href="https://cyberchef.org/"><strong>cyber-chef</strong></a><strong> </strong>for this, lets extract the zip using binwalk a forensics tool. Using this command binwalk -e file.jpg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*-x-o1apYuuWjnoXMFtwQLQ.png" /><figcaption>extracted contents</figcaption></figure><p>Trying to cut layer1 through layer3 i saw nothing but dust.</p><p>Lets unzip 0.zip using the passwd, remember to decode the passwd from base64 otherwise you’ll be stuck there forever punching you damn keyboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*3puSyOBYriEkrwq7n3Swpg.png" /><figcaption>Flag in layer3, simply cat layer3.txt</figcaption></figure><pre>┌─[✗]─[root@parrot]<br>└──╼ #cat layer3.txt <br>inm{layers_within_layers}</pre><h3>Steg2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*4FGSAifW8dIADyL1l0aFVA.png" /></figure><p>Downloaded the image file, run through exiftool found something that seemed obvious but not that obvious spent some good time trying to crack that encryptyion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d1SirhrOADSHI5ohD4l5SQ.png" /><figcaption>we have to decode that comment and see what we’ll dig up</figcaption></figure><p>Using Cyberchef, threw some magic to see what it is really i get some hints its XORing, i used XOR bruteforce to find the actual key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*iCH6mWSsH30HnVjk8Fl88w.png" /><figcaption>flag encoded using key 33</figcaption></figure><h3><strong>FORENSICS</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*v007zAVRy5aw_AYvJiZwlw.png" /></figure><p>This challenge was very cunning, i should meet the creator man, mocking us through the hints ooh my, but luckily we were able to recover that damn flag.</p><p>Its a pcap file, that has a hidden .zip file init lets find the zip.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qaiJsJ8gNOnp98IyycjQrA.png" /><figcaption>reading through the line the zip has flag.txt</figcaption></figure><p>Extracting the pcap file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*TkTnMByoTSj-vtZ4_b4FTg.png" /><figcaption>flag.txt has nothing lol</figcaption></figure><p>Trying to use <em>unzip file.zip</em> its like a dead end i get an error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*j5DpdCvHFeFqCdP7ha1jyw.png" /><figcaption>its skipping flag.txt</figcaption></figure><p>After consultation with my teammates we realize its skipping intentionally, its because unzip does not support long compression methods opting to 7z, using <em>7z x file.zip</em> we are able to proceed but noo we need a password again. Our Friend John got it all zip2john is used to extract password hashes from zip files.</p><pre>$ zip2john 1149.zip &gt; zip.hash<br>$cat zip.hash <br>1149.zip/flag.txt:$zip2$*0*3*0*659c39ce502c3985d92c6b8ba8fb477c*ef5c*3d*89072f3d06bd5d5c84f6da6d5251f996e4c0591b0cf753066900ba8091197af11d01f3bf4b9dae3cf8e148269538f1cc843eee840e8c7c1b3f1b279955*28207b8897a590f31378*$/zip2$:flag.txt:1149.zip:1149.zip<br><br>#To avoid errors edit the zip and remove first this part &quot;1149.zip/flag.txt:&quot;,<br>#Your hash is cleaner now time to crack.<br>$ john --wordlist=/usr/share/wordlists/rockyou.txt zip.hash<br>$ john --show zip.hash<br>1149.zip/flag.txt:*27670*bank*:flag.txt:1149.zip:1149.zip<br>#Passwd is *27670*bank*<br>1 password hash cracked, 0 left</pre><p>With the password using <em>7x x file.zip</em>, we type the password and able to extract successfully. Opening flag.txt</p><pre>$ cat flag.txt <br>CTF{Imbank_You_Found_The_Exfiltrated_Flag_And_Cracked_The_Hash!}</pre><h3>CONCLUSION</h3><p>We’ve come to the end of our walkthrough, hope you learn as much as i did, incase of any clarification reach out to the comments. That was D4nnyt3ll0’s time till next time guys. Stay ethical but hack the planet lol:)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd778299e499" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MMUCTF | Stego | Misc.]]></title>
            <link>https://medium.com/@dannytello001/mmuctf-stego-misc-d1587632fc97?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1587632fc97</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[stego]]></category>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Mon, 04 Aug 2025 08:46:29 GMT</pubDate>
            <atom:updated>2025-08-04T08:46:29.847Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>INTRODUCTION</strong></h3><p>I’m D4nnyt3ll0 a Cyber Security enthusiast, Ctf-player — A Nerdy who injects keystrokes to the computers adrenaline. MMU(Multimedia University of Kenya) organized a CTF that spanned for 2.5 days, It was a virtual event in collaboration with Google Developer Groups, Cyber Chief Circle and MMU CIT Club, I’m glad to have participated in such an epic event that left my fingers buzzing on the keyboard and intensified my adrenaline rush CTF.</p><p>I tried some of the challenges, and found the below as the most interesting or rather solvable :)</p><p><strong>STEGO</strong></p><p><strong>i) Meet My X</strong></p><p>Stego welcomes as with finding the Authors X, I thought Xes should be done and dusted with but the author suggests otherwise, maybe he got his heart hacked lol, lets get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*zG1Qu8G2DhWSFhVAdqU6DA.png" /></figure><p>Upon close analysis of the challenge something caught my eye, some weird spacing and lettering i hope you see it, in the past I used to shy of this challs but this time round i took the courage.</p><p>Doing some simple google search i found this amazing steg <a href="https://holloway.nz/steg/">site</a> to help me out. So copied the text went to the site and decoded it, Magically I had found his X. It was that easy guys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*kAfkd1YpRCSAE9bBVE8GIg.png" /><figcaption>flag: mmuctf{oops_twitter_steg_1s_fun}</figcaption></figure><p><strong>ii) Shadow</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*c7Zz_PAXobLXA2eJDJ1_YA.png" /></figure><p>As the challenge description says i looked beyond the appearance and yeah i caught something which was a real smoking gun.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*tV7XCL_QyZ0R-iJcuxCjvA.png" /></figure><p>Decoding the last byte of the pallet i got something which seemed to be the last part of the flag <strong><em>_m3}. </em></strong>Lets roll up the sleeves and get to w<em>ork, </em>i went to this <a href="https://imagecolorpicker.com/">site, image color picker</a>, to extract the hex codes of the colors and decode them and see what i get coz the hint is hitting my brains hard. The site works like magic i now have all the hex codes of the colors.</p><p>The next part is decoding you can use Cyberchef or dcode.fr, in my case i used dcode.fr, if not sure of the cipher, i use Cipher Identifier, I knew that this was ASCII, pasting the codes i got the flag…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*8QlQsaXT1u6ASg3-flkWug.png" /></figure><p><strong>Misc</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*huGzdVz6MhTn0AcW5yTt0A.png" /></figure><p>First off downloaded the jpg file, tried to open it i’m dished out an error, try using<em> </em><strong><em>strings</em></strong><em> </em><strong><em>moabyte.jpg</em></strong><em>, </em>I see alot of numbers which are unusual when i use strings on image files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*ZwuQJu6MUar1DSqyHSYITA.png" /></figure><p>At this time I’m baffled and confused with this numbers, almost panicked, but then regained the composure firing up cipher identifier from dcode.fr.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*zW5Fm80SnKvnBH2TU8Qbhg.png" /></figure><p>Dcode.fr comes to the rescue, the cipher is identified as Morbit Cipher, so this is the cryptic communications that Moabites used, i thought — ooh my CTFs will show me wonders :) lets decode this and get our flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*rW8ZKD95PQzOyVcAhtVQeg.png" /></figure><p>Had to add {} so as to hit the flag running.</p><p><strong>CONCLUSION</strong></p><p>Its a wrap guys, i really hope you enjoyed and learned something, appreciate me in 5! if you know what i mean😄😄 . Till next time, hack the planet 🎭</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1587632fc97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[STRUTTED | HTB MACHINE]]></title>
            <link>https://medium.com/@dannytello001/strutted-htb-machine-d11c59da5de5?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/d11c59da5de5</guid>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Sun, 01 Jun 2025 19:18:20 GMT</pubDate>
            <atom:updated>2025-06-01T19:18:20.839Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello folks, its me again D4nnyt3ll0, ready to not only inject keystrokes to the Computers adrenaline but to you my reader as well. Hope you’re ready for this adventure. Let’s get the party rolling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*44xFVeEV3HaHRT0M_IKx4g.png" /></figure><h3>Introduction</h3><p>Being my first ever HTB machine adventure Strutted really got me into alot of rabbit holes that I was eventually able to come out of, alive and packed with content if not Knowledge, Its a medium machine so yeah its tough for a noob but worry not I got u :| )</p><h3><strong>Target reconnaissance</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/0*CCehszmMpsiI_3n2" /></figure><p>This is the most important stage of Hacking ask any hacker u know and you got the answer. It determines the success or failure of the mission. Lets get our hands dirty, enough of yap yapping. Fire up your nmap and lets see what goodies our target has.</p><p>Nmap helps us determine the open ports, services and version of the services running on the target with that you can now either smile or frown. We are smiling coz port 80 and 22 are running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*laUDyXcaIY6NMHsCfJHqng.png" /></figure><blockquote>Strutted is running an nginx server on port 80, ssh on port 22. Now lets interact with port 80, type your ip in the browser and make sure to add it in you hosts by modifying <em>/etc/hosts</em> file failure to that you’ll not see what we’re seeing below.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*47INB1mfgBnlMPn7FPr1eg.png" /></figure><p>Upon opening the file I’m also smiling when i see upload something to the site, it gives me a thought of playing sudo without sudo su. Before uploading anything lets try to understand this website’s infrastucture.</p><p>I see a download button upon clicking it. i downloaded a zip file.</p><p>I unzip the zip file using <em>unzip “filename.zip” </em>i see a docker file, tomcat-users.xml among other files, tomcat-users.txt caught my eye but the credentials were not of help to me at the moment. opening pom.xml file i see a bunch of information, the dependancies the site is running on. Strutted runs on struts version 2 i had to look it up, my bad i’m green at web.</p><blockquote><em>“Apache Struts 2 is </em><strong><em>an open-source web application framework for developing Java EE web applications</em></strong><em>. It uses and extends the Java Servlet API to encourage developers to adopt a model–view–controller (MVC) architecture.” </em>with the base content i search for Vulnerabilities of Struts2.</blockquote><p><strong>Vulnerability Scanning and Identification</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*GD2JY_bNgiw7-xkmx6kPMA.png" /></figure><p>A google search almost serves us the whole site’s weakness, Vulnerable to RCE, Path traversal and File upload vulnerability it also has a CVE-2023–50164, guess who’s that smiling behind the mask…</p><p>The site helps u access all ur photos you wish from anywhere in the world by using a link, you upload the image a link is generated and u can now use that link to access them when off the site. Uploading images works well, but since we know its vulnerable to File upload i try modifying the file extensions with something like .jpg.php, .txt.jpg but they failed, i now tried to make an dummy image file, using a gif header the systems will believe its an image. Open your fav text editor i like vim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/189/1*NoITYlr4dB8OxXqI107fpQ.png" /></figure><p>create a .gif file and write the following <em>GIF89a; </em>is our gif header <em>text </em>is just a random content. save your file and upload it you should see image uploaded successfully</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*X0qF8VFj8i5tY_wz6xToFg.png" /></figure><p>Now we were able to trick it thinking its a .gif file but instead we used gif header so next to exploitation phase. Here is the link to the <a href="https://github.com/jakabakos/CVE-2023-50164-Apache-Struts-RCE">CVE</a> that we’re going to use to wreck havoc. Clone into the repo and get ready for the dance. …wait lets modify the exploit.py file with the following.</p><pre>war_file_content = open(NAME_OF_WEBSHELL_WAR, &quot;rb&quot;).read()<br>war_file_content = b&quot;GIF89a;&quot; + war_file_content</pre><p>we’re passing the “GIF89a” to make website believe its a gif file and help us bypass the filters. To understand the above here is an <a href="https://www.rjeon.com/general/demo/2019/06/05/side1.html">article by Ryan Jeon </a>going into more detail on how a polyglot works.</p><p>Then change the Content-Type from <em>application/octet-stream</em> to <em>image/gif</em> as well as the filename to a .gif file.</p><pre>HTTP_UPLOAD_PARAM_NAME.capitalize(): (&quot;arbitrary.gif&quot;, war_file_content, &quot;image/gif&quot;),</pre><p>We’re now good to go what the exploit is going to do is to upload a jsp file making the website to believe its a gif file and the gives us shell our playing ground :) we need a url generated after uploading something, so copy the url from you .gif dummy file here is mine. <a href="http://strutted.htb/upload.action"><em>http://strutted.htb/upload.action</em></a></p><p>Fire up the exploit by reloading ur shotgun. Before that lemme ensure ur road is smooth, for unforgettable experience ._.</p><pre># Use this to set up your environment and install all the requirements for our exploit.<br>python3 -m venv struts<br>source ./struts/bin/activate<br>pip3 install -r requirements.txt</pre><p>Now you should be dancing to the tune</p><pre>python3 exploit.py --url http://strutted.htb/upload.action</pre><p>After some few seconds we are smiling and smiling again</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*C_-mtt-8veyi_rhj27IAjA.png" /><figcaption><strong>if u missed that don’t panic review your process and you’re good to go.</strong></figcaption></figure><p>We’re in guys hope you’re happy if not pay a visit to your physiatrist, i’m joking guys lets proceed. We’re here to get a user.txt to extract the flag</p><p>playing with the shell i realize there is a tomcat users files lets cat it</p><pre>cat ./conf/tomcat-users.xml</pre><p>Opening it i find admin and password,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*8hqVDeNBCLgx_B4_zGDtww.png" /></figure><p>lets find the users by <em>cat /etc/passwd </em>there are a bunch of users but my eyes land on the network administrator, <strong>James</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*47tCcJulKxdWlCBW_P1Kqg.png" /><figcaption><strong>Im interested with the Network Administartor at this point</strong></figcaption></figure><p>Since we had an admin passwd earlier lets try ssh with the password by typing <em>ssh james@ip</em> holaa. we’re in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*xPG06aSYjphHXtPjGLbi7A.png" /></figure><p>Now lets find the user.txt file to extract the flag, doing a long listing <em>ls -la I </em>a file opening it <em>cat user.txt </em>i get the first user flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*pxUmy_AziFJQJgiq1a7Vtw.png" /></figure><p>Now its time to pwn the system</p><p>Pwning the system is not that hard but it can be if there is no weakeness in the system, u can get access due to vulnerabilities, misconfigurations, mishandled permissions etc. Lets run <em>sudo -l </em>to see the priviledeges that james has.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*taxt881R5vMwbM1RZjoZgw.png" /></figure><p>From the above output its clear that James can run tcpdump as root, tcpdump is a tool that does network traffic analysis of all the interfaces through the terminal as oppossed to wireshark which is GUI, check it out while having coffee.</p><p>The next phase is enumeration, lets see <a href="https://gtfobins.github.io/">GTFOBins,</a> if you have no idea what it is worry not its a website with a collection of UNIX binaries used to bypass local security restrictions in misconfigured systems. Now lets navigate to Tcpdump. Type this snippet on the target.</p><pre>COMMAND=&#39;id&#39;<br>TF=$(mktemp)<br>echo &quot;$COMMAND&quot; &gt; $TF<br>chmod +x $TF<br>sudo tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z $TF -Z root</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*3u4jvmPSzTGyZWpAKJ0zxg.png" /><figcaption>tcpdump working perfectly</figcaption></figure><p>After that checking whoami should say youre root and u get the flag at /root/root.txt</p><h3><strong>Conclusion</strong></h3><p>Its a wrap guys i hope you really enjoyed the read. I look forward to be doing this every now and then, if u hate reading I’m Sorry you’ll have to love it.</p><p>If you learnt something today do me that thing 🙂.</p><blockquote>I cannot get hold of my computer coz it has ran som ware.</blockquote><p>If you want more of this be sure to follow me.</p><p>Thank you for reading… adios till next time, i sign out as r00t :).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d11c59da5de5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZUCTF | CRYPTO >$ CHATTY]]></title>
            <link>https://medium.com/@dannytello001/zuctf-crypto-chatty-24133c2f3e0e?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/24133c2f3e0e</guid>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Tue, 25 Mar 2025 16:06:30 GMT</pubDate>
            <atom:updated>2025-03-25T16:06:30.459Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>INTRODUCTION</strong></h3><p>Hello folks been long but did not forgot my fingers on the keyboard lol. I’m D4nnyt3ll0, a tech nerdy who injects keystrokes to the computers adrenaline, team Captain Cyn3rds. Enough of intros, lets get our hands dirty.</p><h4><strong>CHALLENGE DESCRIPTION</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*GOngQ7JsUafDtOj1Qcm0Yg.jpeg" /></figure><p>So we’re given a bunch of emojis, lemme be honest never knew emojis can be used to encode messages. So lets try to identify which cipher is used.</p><p>Fire up Google and search for cipher identifier i like using this one <a href="https://www.dcode.fr/cipher-identifier"><strong>https://www.dcode.fr/cipher-identifier</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3lV8vliHwB1xS-MXdBWUiA.jpeg" /></figure><p>I went to cipher identifier and inserted the emojis and started analyzing, two cipher names caught my eye <em>Base100</em> and <em>Wingdings 2 Font, </em>decided on Base 100.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*ynVjGzLH2kY7fFHr_-xIkw.jpeg" /></figure><p>Decoding the emojis i find some text that looks like a flag but not a flag😂😂. Our flag format shud be <strong><em>ZUCTF{}</em></strong> so the text seems to be an encoded flag, lets try <strong>ROT-CIPHER.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*kkNVxjLzD59xTy3RioIQ1Q.jpeg" /></figure><p>Using ROT-CIPHER looking through the possible outputs im lucky to find the flag.</p><h3><strong>CONCLUSION</strong></h3><p>Its a wrap fellow hackers, i have to go to my home 127.0.0.1 adios 😎😎, If u liked the walkthrough follow me for more…👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24133c2f3e0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EHAX CTF 2025 | Forensics Chall | Tracks]]></title>
            <link>https://medium.com/@dannytello001/ehax-ctf-2025-forensics-chall-tracks-541872ff8394?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/541872ff8394</guid>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 08:07:40 GMT</pubDate>
            <atom:updated>2025-02-22T08:07:40.924Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m Dannytello, a nerdy who injects keystrokes to the computers adrenaline. This weekend was a bit busy and fun at the same time. I and my team, <strong>Cyn3rds</strong> participated in EHAX CTF chall, we were not lucky to beat the giants but atleast we solved some challs, i solved Tracks.</p><p>Tracks was rather a weird forensic challenge per say very tricky indeed, at some point Tracks chall was not tracking the flags lol. Lets the party started</p><h3>Challenge overview</h3><p>The challenge had nothing much to tell, its a video playing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*W7-JXG8DmgRB5Ngf-AXT-Q.png" /></figure><p>I decided to look at the video dowloaded using “file filname” command i was sure its a video. Then decided to use binwalk to see if there is any data embedded in the video</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CiQgDTUHqnwRUNLnZ7NejQ.png" /></figure><p>After using binwalk i see there’s flag.txt, qrf.pngfile lets extract it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*2lI6zMjoa7bYMdDEzBIC8w.png" /></figure><p>But unfortunately flag.txt is an empty file lets look at the qrf.png. its a qr code trying to scan it i’m greeted with” Not every qr is to be scanned”, i decide to use some steg tools i use <a href="https://www.aperisolve.com/">aperisolve</a> its a great website tool when it comes to image steganography.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1rOunrQjai_JMDzkA84lJQ.png" /></figure><p>Uploading the image i see theres some text hidden under the qr, i had no idea what it was but i took not of it, at some point i thought it was a flag but ooh no… we keep trying.</p><p>On extraction of the files there we two zips lets try extracting them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*v-94e4O7D19ZxsYpNHwOgw.png" /></figure><p>so it requires a password, my mind snapped on the text we found on the qr, using it, perfectly it worked like magic. The zip file gives another file flag (2).txt but this time round it has contents lets slice the file open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*FByl4H2XBazUT6kplaSRVw.png" /></figure><p>opening the file another twist its not EH4X{} format, at this time i’m asking myself why did the author decide to be so evil, or was seeking vengance who knows lets continue to <a href="https://www.dcode.fr/en">decode.fr</a> a good site to decrypt ciphers.</p><p>The first thing is to identify the cipher type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*wgMRH2WnoEGK-qhN2B043Q.png" /></figure><p>of all the possible ciphers i decided to try ROT Cipher and it worked</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*OuhNvrxLcFNgnnkQyoxi0g.png" /></figure><p>And we can see our flag.</p><p>Its a wrap guys till next time, show some appreciation for more content like this,, adios.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=541872ff8394" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CYBER CONQUEST CTF | Forensics Writeup | OPeration Eagle Claw]]></title>
            <link>https://medium.com/@dannytello001/cyber-conquest-ctf-forensics-writeup-operation-eagle-claw-ef860ce37d4c?source=rss-3d8fa834c3da------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef860ce37d4c</guid>
            <dc:creator><![CDATA[D4nnyt3ll0]]></dc:creator>
            <pubDate>Sat, 30 Nov 2024 20:51:35 GMT</pubDate>
            <atom:updated>2024-11-30T20:51:35.915Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*5vVMJyPvG6tY594VOl97CA.png" /><figcaption>Challenge information</figcaption></figure><p><strong>#. INTRODUCTION :)</strong></p><p>I’m D4nnyt3ll0 a techie guy, who injects keystrokes to the computers adrenaline.</p><p>Forensics is the way to uncover nefarious acts done by malicious actors inside the circuit and diode world. Curiosity is the name and rule of the game, if you’re not curious enough you’ll have to learn it the hard way, didn’t mean to scare you lol, lets find this malicous actors…</p><p><strong>#. PROBLEM and APPROACH :)</strong></p><p>Task</p><p>Identify Patient zero …………flag format GoH{flaghere}………</p><p>First and foremost you should be familiar with patient zero, the first patient to be diagonized in our case the first computer to be infected</p><p><strong>What to look for</strong></p><ul><li>At first look for the computer that initiated the first external connection.</li><li>Try to identify unusual protocols associated eg DROP or unusual TCP/UDP activity.</li><li>Look for the Computer communicating with other internal computers, it might be the zombie.</li></ul><p>With the above criteria i opened my zip file, opened the firewall.txt file coz its the only placei could find the logs of connection of in and out ofthe network</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*kVxUptGT75F3bvD72uSgGQ.png" /></figure><p>From the screenshot above we can see that 192.168.1.3 initiated the external communication to 23.45.67.89, Its then seen communicating multiple times with 23.45.67.89. An abnormal connection is seen between 192.168.2.7 -&gt; 192.168.1.3 where UDP packets are DROPed. 192.168.1.3 communicates with multiple clients in the internal network</p><p><strong>#. CONCLUSION :)</strong></p><p>From the above deductions 192.168.1.3 is the Patient zero because it fulfills all our criteria.</p><p>GoH{192.168.1.3} is the correct flag.</p><p>Congrats to you if you’re reading with me this far, hope to see you again!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef860ce37d4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>