<?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 Tinonymous on Medium]]></title>
        <description><![CDATA[Stories by Tinonymous on Medium]]></description>
        <link>https://medium.com/@martinebrv?source=rss-ec6416bebbb1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-wIsOjvFT3iUQ1B2V9Q4Qg.png</url>
            <title>Stories by Tinonymous on Medium</title>
            <link>https://medium.com/@martinebrv?source=rss-ec6416bebbb1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 21:23:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@martinebrv/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[UDOM X-M455 CTF 2023|CRYPTOGRAPHY WRITE-UP.]]></title>
            <link>https://medium.com/@martinebrv/udom-x-m455-ctf-2023-cryptography-write-up-c8b1479448f3?source=rss-ec6416bebbb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8b1479448f3</guid>
            <dc:creator><![CDATA[Tinonymous]]></dc:creator>
            <pubDate>Mon, 01 Jan 2024 23:39:36 GMT</pubDate>
            <atom:updated>2024-01-01T23:39:36.541Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*plTd8kLPsXBqWgkZP0fw-g.jpeg" /></figure><p><em>Yo, fellow code breakers! Martin here . Ready to spill the beans on the mind-bending world of CTF cryptographic challenges. We’re talking about cracking codes, unraveling secrets, and diving deep into the digital trenches. Get ready to join the hacking party as we dissect these cryptic puzzles, one challenge at a time. Stay tuned for the hacks, the cracks, and the wild ride through the CTF crypto universe!</em></p><p><strong>Cryptography</strong> refers to the practice and study of techniques for securing communication and data from adversaries or malicious entities. It involves the use of mathematical algorithms to transform information into a format that is unintelligible to unauthorized users, ensuring confidentiality, integrity, and authenticity of the data.</p><blockquote>Below are the solutions of the cryptography CTF challenges hosted by <strong>UDOM CYBER SECURITY CLUB</strong>:</blockquote><p><strong>CHALLENGE 01: XMASS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*XYbuw4DFPYPH-A0aionWVA.png" /></figure><p>This challenge proved to be surprisingly easy, requiring participants to effortlessly copy the deciphered words and employ the cipher identifier on dcode.fr, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*HlLvm4UcKkE__6bSZfAYUg.jpeg" /></figure><p>After knowing that it is <strong>ATBASH CIPHER</strong> we can then select the cipher and decode the message. As shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*_lxskes1TkGoAh9QLIkljA.jpeg" /></figure><p>Upon observing the decrypted text on the results side, it definitely represents the flag we have been seeking:</p><p><strong>FLAG: UDOM{r3v3r51ng_is_th3_Best_th1ng_on_atbash_cipher5}</strong></p><p><strong>CHALLENGE 02: play</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*9-FLuJMX4Td0CcF-tlmjXQ.png" /></figure><p>After downloading the play.txt you will get the below decrypted text:</p><p>This particular challenge was indicating a straightforward nature; all that you was need was the “<strong>PLAYWELL</strong>” as a key and then to be employed in deciphering the text using the Playfair cipher on <strong>Boxentriq</strong> :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*tW6OyxA43NlbbaOVmIlm4Q.png" /></figure><p>Yeah!!! the flag is captured as seen above.</p><p><strong>FLAG: UDOM{PLAYFAIR_CIPHER_MEANS_PLAY-WELY}</strong></p><p><strong>CHALLENGE 03: Symbolic</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*hu4Z4fS3vDjyVoagr9a8ig.png" /></figure><p>Furthermore, this challenge show the open nature of the given symbols. The Braille cipher emerged as the direct solution, requiring participants to copy and apply the symbols on <strong>dcode.fr</strong> to yield the desired results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*XVvJDb8IcDsm2sP-pg-ayw.png" /></figure><p>Upon observing on the result side the flag is successfully captured as <strong>UDOMCYBERCLUB </strong>so the next move was to write it in the prescribed flag format i.e<strong> <em>UDOM{WORD_WORD_WORD}</em></strong> ,so far the flag is:</p><p><strong>FLAG: UDOM{UDOM_CYBER_CLUB}</strong></p><p><strong>CHALLENGE 04:Baby RSA</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*iNyak8MML1FJOxxv7qG0Ig.png" /></figure><p>This challenge proved to be straightforward, requiring participants to utilize dcode.fr, select the RSA cipher, input the values into their respective places, and directly decode the encrypted content as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Bi1RFl8o_d8ph8ZKJixinQ.jpeg" /></figure><p>As observing above the flag is successfully captured!!!</p><p><strong>FLAG: UDOM{RS4_C1ph4r_C00l!}</strong></p><p><strong>CHALLENGE 05: Rotat3 with Bas3s</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*itVUmumGUCxt43e4yHxJTg.png" /></figure><p>This challenge was requiring you to take the decoded message and employ into any decrypting tool and decode the message initially from base 32 and thrice from base 64 and lastly from ROT47 , I used <strong>cyberchef </strong>to perform the decryption above as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*CnhxxGMJFHwhWA1E71GstQ.png" /></figure><p>Hence the flag captured successfully!!!</p><p><strong>FLAG:</strong> <strong>UDOM{m3rr7_chr1s7m2ss_an9_h2997_n3w_y3ar_1n_2dv2nc3}</strong></p><p><strong>CHALLENGE 06: BaseFFFF+1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*VOwDr-0o_oHK_1Wq7SXhSg.png" /></figure><blockquote>Upon inspection, the file appears to contain a Chinese string, adding an extra layer of complexity to the challenge. The challenge context provides a subtle clue “BASE FFFF+1.” Understanding hex values, FFFF translates to 65535. Adding 1 to this value yields 65536.</blockquote><p>Then I preferred to use the <strong>BetterConverter </strong>tool to decode the Chinese strings given as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*OZNgOC8u15X4vajoU-hIkA.png" /></figure><p>In the “BASE FFFF+1” challenge, what initially seemed like a Chinese string takes on a new meaning through the lens of base65536 encoding.</p><p><strong>FLAG:</strong> <strong>UDOM{d0n7_b3_L1mi73d_t0_bas3_64}</strong></p><p><strong>CHALLENGE 07: Murife don’t run</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*5vOUgayiFBkm0tCGYmNSDg.jpeg" /></figure><p>In this challenge you are provided with an encrypted message in the format: <strong>JXGQ{nZmh_Aw_YfggshxXIf_ciL_tHuSsCFk}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*tQ2aYDxoKA_WGbJBkUPT1Q.png" /></figure><p>Additionally, you were also given the python script “<strong>enc.py</strong>” used for encryption , which employs a random key for each character in the “UDOM” part of the plaintext.</p><p>The provided Python script uses a Caesar cipher to encrypt the “UDOM” part of the plaintext. The key for each character is a random value generated within the range of the alphabet’s length.</p><p>given a decryption key: <strong>[X, 20, 18, 4]</strong>.</p><p>You was necessarily needed to reverse the encryption process using the provided key. The decryption involves applying a Caesar cipher in the reverse direction.</p><blockquote>The script below is modified by Open Artificial Intelligence <strong>CHATGPT </strong>to iterate through possible values of X until the decrypted message matches the expected format UDOM{…}:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*BlINCSuNPqXElIEv_T-Ofw.jpeg" /></figure><p>Upon observing the codes and output above, we can see when x=15 we can successfully capture the flag</p><p><strong>FLAG: UDOM{tHis_Is_EncryptI0n_noT_eNc0dINg}</strong></p><p><strong>CHALLENGE 08: Java</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*95zB9aCxumHYeImV7tyQkw.png" /></figure><p>In this challenge, you’ve got three files to grab. The first one, ‘secret.class,’ needed some decompiling. I used an online tool to break it down into ‘secret.java.’ Check it out below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*jYpO-4qqBTdZzswd_EraXA.jpeg" /><figcaption>Tool name <strong>Java Decompiler Online.</strong></figcaption></figure><p>I uploaded the ‘secret.class’ file and decompile it down into ‘secret.java,’ like this;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*nfbuS7GEqXWqYJCofhzytA.jpeg" /></figure><p>But the ‘secret.java’ I got had encryption codes, not what we needed — the decryption. So, I turned to<strong> OpenAI’s CHATGPT</strong> to whip up the modified decryption codes based on the encryption ones in ‘secret.java:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*5Lph7iqZbIg1SnHorOHHmw.jpeg" /></figure><p>Looking at the code above, you’ll notice a spot where you gotta put in ‘<strong>SecretKey.ser</strong>’ and the encrypted message to make the code run smoothly.</p><p>The encrypted message, given as ‘<strong>flag.enc</strong>,’ produced the following results after downloading:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*4vQBlODvCMtZ8uVhFtWWKQ.jpeg" /></figure><p>So in order to get the SecretKey.ser we have to unzip the file <strong>SecretKey.zip </strong>by using <strong>john the ripper </strong>tool as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*6wzPO9T2ftmpIPUN8bYMUg.jpeg" /></figure><p>After unzipping, check out my findings in ‘hash.txt.’ In there, I discovered the decrypted file ‘<strong>Secret.ser</strong>.’ To access its contents, I had to crack the password once again using<strong> John the Ripper </strong>,</p><p>I kicked it successfully as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*VVxKy08zF2XuMTGC5Fvnyw.jpeg" /></figure><p>After cracking, the final password revealed itself as ‘<strong>iloveyoudominic</strong>’ Now, use this password directly to extract and open the ‘<strong>Secret.ser’</strong> file.</p><p>Next, go back to your decryption codes. Attach<strong> ‘Secret.ser’</strong> and the <strong>encrypted message</strong> to their designated spots. Run the decryption code, just like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*4m5AJlFOBZ3X8b6KKIfNlQ.jpeg" /></figure><p>I used the<strong> JDK</strong> in the terminal to execute the above code, and here’s what I observed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*zle8HwejfRKwm_PD5xpCqQ.jpeg" /></figure><p>O0oooh Yeaaaah!!!!! Finally the flag is successfully captured !!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*bfyVeSD4wBy1b_hVVQHW1w.jpeg" /></figure><p><strong>FLAG: UDOM{J4V4_Cryp70gr4phy_hahaha_Very_Fun}</strong></p><p><strong><em>Unlocking these cryptographic mysteries has been a fascinating journey. Stay curious, keep coding, and embrace the thrill of the hack. Until next time, happy decrypting!!!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8b1479448f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>