<?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 Hiruna Perera on Medium]]></title>
        <description><![CDATA[Stories by Hiruna Perera on Medium]]></description>
        <link>https://medium.com/@hirunaperera24?source=rss-32627b0d05a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*N17aPE1Nfs-Lx2mi</url>
            <title>Stories by Hiruna Perera on Medium</title>
            <link>https://medium.com/@hirunaperera24?source=rss-32627b0d05a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:44:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hirunaperera24/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[In Plain Sight (Warmup)—1337UP LIVE CTF (2024) Writeup]]></title>
            <link>https://medium.com/@hirunaperera24/in-plain-sight-warmup-1337up-live-ctf-2024-writeup-a1bdbef1b4aa?source=rss-32627b0d05a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1bdbef1b4aa</guid>
            <dc:creator><![CDATA[Hiruna Perera]]></dc:creator>
            <pubDate>Sun, 17 Nov 2024 18:03:45 GMT</pubDate>
            <atom:updated>2024-11-19T15:58:42.214Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello CTF Players! Today we are going to solve the <strong>In Plain Sight </strong>CTF challenge from <strong>Intigriti 1337UP Live CTF</strong>. This challenge tested my knowledge of metadata analysis, Bit Plane Browsing and creative problem-solving.</p><p>By the end of this writeup, you’ll understand how to:</p><ul><li>Extract hidden data from a file.</li><li>Analyze metadata using tools like <strong>exiftool</strong>.</li><li>Browse Bit Planes of an image.</li></ul><p>Let’s dive into it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*4EEw7ZKACrT7so5dA_A54A.png" /></figure><h3>Challenge Description</h3><p>Barely hidden tbh..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YItqiLw2HZ4bnPm11d79qw.jpeg" /><figcaption>meow.jpg</figcaption></figure><p>We can download this nice cat’s image.</p><h3>Analyzing the File</h3><p>At first, I looked into the metadata of <strong>meow.jpg </strong>by using <strong>exiftool.</strong></p><pre>exiftool meow.jpg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*fJwt3bJopHAyLB-sDqxPGA.png" /></figure><p>But with that, I couldn’t find anything interesting. So I checked <strong>strings</strong> of the meow.jpg with the hope that I would get any hint.</p><pre>strings meow.jpg</pre><p><strong>And YES!</strong> We got a hint. There’s a string called ‘<em>flag.pngUT</em>’. So, it means there could be a flag.png file hidden inside the meow.jpg.</p><p>So, I checked whether it has any hidden files with <strong>binwalk</strong>.</p><pre>binwalk meow.jpg</pre><p>And like we thought, there is a zip file, and inside that zip, there is a file called ‘<em>flag.png</em>’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEMhwNW3AwDXeBwntpj31w.png" /></figure><p>So let’s extract the zip file from meow.jpg.</p><pre>binwalk -e meow.jpg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gRLAdiBGl9hxdDtuH2eZVg.png" /></figure><p>Now we can see there is a new directory called ‘<em>_meow.jpg.extracted</em>’ and inside that there is a zip file called ‘<em>20BA6E.zip</em>’.</p><p>So Let’s extract the zip file and get our flag!</p><pre>unzip 20BA6E.zip</pre><p>OOPS! They are asking for a password.</p><p>So, I checked for <strong>strings </strong>and <strong>file</strong> of the zip file but I couldn’t find anything.</p><p>Then I checked the <strong>strings </strong>of meow.jpg again and this time i noticed two suspicious strings.</p><pre>CDEFGHIJSTUVWXYZcdefghijstuvwxyz<br><br>YoullNeverGetThis719482</pre><p>I tried both those strings as the password and YES! ‘<em>YoullNeverGetThis719482</em>’ worked and extracted the flag.png.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*v4zBKtsbOu4pS-6ci4Qj6g.png" /></figure><p>So without any waiting, let’s get our flag!</p><p>But wait. Where&#39;s the flag. flag.png is just a pure white image. (I don&#39;t know whether you can see it here with the white background. But it’s in here 😅)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*7Z7dmVpZWopuNZ7GcZ7emA.png" /><figcaption>flag.png</figcaption></figure><p>I looked for <strong>strings, file, metadata, </strong>and even <strong>hidden files. </strong>But I couldn’t find anything.</p><p>Then I upload flag.png to <a href="https://georgeom.net/StegOnline/upload"><strong>StegOnline</strong></a><strong> </strong>and Browse Bit Planes.</p><p><strong>Whoa! </strong>In the Blue 1 Bit Plane, we can see the flag!</p><pre>INTIGRITI{w4rmup_fl46z}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*N8a_kRTiYcj5t77lwz0cFg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1bdbef1b4aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No Comment (OSINT)—1337UP LIVE CTF (2024) Writeup]]></title>
            <link>https://medium.com/@hirunaperera24/no-comment-osint-1337up-live-ctf-2024-writeup-b3f3003cb2b2?source=rss-32627b0d05a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3f3003cb2b2</guid>
            <dc:creator><![CDATA[Hiruna Perera]]></dc:creator>
            <pubDate>Sun, 17 Nov 2024 08:27:49 GMT</pubDate>
            <atom:updated>2024-11-17T08:27:49.378Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello CTF Players! Today we are going to solve the <strong>No Comment </strong>CTF challenge from <strong>Intigriti 1337UP Live CTF</strong>. This is one of my favourite challenges from the whole Intigriti CTF. This challenge tested my knowledge of metadata analysis, XOR encryption and creative problem-solving.</p><p>By the end of this writeup, you’ll understand how to:</p><ul><li>Extract hidden data from a file.</li><li>Analyze metadata using tools like <strong>exiftool</strong>.</li><li>Decrypt XOR-encrypted data using tools like <strong>CyberChef</strong> and <strong>xortool</strong>.</li></ul><p>Let’s dive into it!</p><h3><strong>Challenge Description</strong></h3><p>Or is there? 🤔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8lgR0f08IYT0SIH0BOv0JA.jpeg" /></figure><p>We can download this colorful ripple.jpg file.</p><h3><strong>Analyzing the File</strong></h3><p>Since the challenge name is No Comment, I first inspect the metadata using <strong>exiftool</strong> to see whether there is a comment. (because I always do what they say NO 😂)</p><pre>exiftool ripple.jpg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*pgHKhgC1k__wBSTxOleIKg.png" /></figure><p>And yes! There is a comment: <strong>/a/pq6TgwS</strong></p><p>At first, I didn’t have any idea what is this. So I did some research in google and had a chat with ChatGPT and found out that it should be from <a href="https://imgur.com/"><strong>imgur</strong></a>.</p><p>Then I searched for imgur.com/a/pq6TgwS</p><p>We can see the same image with a comment:</p><pre>V2hhdCBhICJsb25nX3N0cmFuZ2VfdHJpcCIgaXQncyBiZWVuIQoKaHR0cHM6Ly9wYXN0ZWJpbi5jb20vRmRjTFRxWWc=</pre><p>It’s a Base64 encryption and we can decode it with <a href="https://cyberchef.io/#recipe=From_Base64(&#39;A-Za-z0-9%2B/%3D&#39;,true)&amp;input=VjJoaGRDQmhJQ0pzYjI1blgzTjBjbUZ1WjJWZmRISnBjQ0lnYVhRbmN5QmlaV1Z1SVFvS2FIUjBjSE02THk5d1lYTjBaV0pwYmk1amIyMHZSbVJqVEZSeFdXYz0"><strong>cyberchef.io</strong></a><strong> </strong>or using <strong>Kali Terminal.</strong></p><pre>What a &quot;long_strange_trip&quot; it&#39;s been!<br><br>https://pastebin.com/FdcLTqYg</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*UJ6TVnC0mxbVigo8jn4RvA.png" /></figure><p>Visit <a href="https://pastebin.com/FdcLTqYg">https://pastebin.com/FdcLTqYg</a> and we can find a password-protected note. Enter ‘long_strange_trip’ to unlock the paste.</p><pre>25213a2e18213d2628150e0b2c00130e020d024004301e5b00040b0b4a1c430a302304052304094309</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*mpBlloM-JStT7FoJz5H9VA.png" /></figure><p>It looks like a Hex. So I tried to convert it using cyberchef.io<strong> </strong><a href="https://cyberchef.io/#recipe=From_Hex(&#39;Auto&#39;)&amp;input=MjUyMTNhMmUxODIxM2QyNjI4MTUwZTBiMmMwMDEzMGUwMjBkMDI0MDA0MzAxZTViMDAwNDBiMGI0YTFjNDMwYTMwMjMwNDA1MjMwNDA5NDMwOQ"><strong>like this</strong></a><strong> </strong>But it didn’t work.</p><p>Then I just look at the profile of the account who had posted that paste on pastebin.com. And found out that he has posted another public paste with the title <strong>Learning cybersecurity!!</strong></p><p><a href="https://pastebin.com/UavLs18i">That paste contains:</a></p><pre>I&#39;ve been learning all about cryptography recently, it&#39;s cool you can just XOR data with a password and nobody can recover it!!<br> <br>I think I&#39;ve learnt enough about that now, hopefully I&#39;ll learn something new in next weeks topic: https://specopssoft.com/blog/password-reuse-hidden-danger</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*or5zEy4TcSLXiy5b56AxPA.png" /></figure><p>And YES! Now we have a clue. It’s a XOR with a password. So I decoded it with the same password ‘long_strange_trip’ with cyberchef.io <a href="https://cyberchef.io/#recipe=From_Hex(&#39;Auto&#39;)XOR(%7B&#39;option&#39;:&#39;UTF8&#39;,&#39;string&#39;:&#39;long_strange_trip&#39;%7D,&#39;Standard&#39;,false)&amp;input=MjUyMTNhMmUxODIxM2QyNjI4MTUwZTBiMmMwMDEzMGUwMjBkMDI0MDA0MzAxZTViMDAwNDBiMGI0YTFjNDMwYTMwMjMwNDA1MjMwNDA5NDMwOQ"><strong>like this</strong></a><strong> </strong>and <strong>BOOM! We got the Flag.</strong></p><pre>INTIGRITI{instagram.com/reel/C7xYShjMcV0}</pre><p>Submit it and Just look at the Instagram reel 😉 It’s another colorful concert like our colorful ripple.jpg</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3f3003cb2b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>