<?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 Abdulrahman_Alotaibi on Medium]]></title>
        <description><![CDATA[Stories by Abdulrahman_Alotaibi on Medium]]></description>
        <link>https://medium.com/@Abdulrahman_Alotaibi?source=rss-768f2aac5a78------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*otFrFFEFEzZjkElK</url>
            <title>Stories by Abdulrahman_Alotaibi on Medium</title>
            <link>https://medium.com/@Abdulrahman_Alotaibi?source=rss-768f2aac5a78------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:30:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Abdulrahman_Alotaibi/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[Forensics-FindTheLeak FlagYard]]></title>
            <link>https://medium.com/@Abdulrahman_Alotaibi/forensics-findtheleak-flagyard-974fee2966a4?source=rss-768f2aac5a78------2</link>
            <guid isPermaLink="false">https://medium.com/p/974fee2966a4</guid>
            <category><![CDATA[flagyard]]></category>
            <dc:creator><![CDATA[Abdulrahman_Alotaibi]]></dc:creator>
            <pubDate>Sun, 17 May 2026 12:10:14 GMT</pubDate>
            <atom:updated>2026-05-17T12:10:14.053Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gdqXJzunclDAOeVS_G4-Tg.png" /></figure><p>Hello everyone… How are you doing ?</p><p>Today, we’re solving the <strong>FindTheLeak</strong> forensics challenge. It’s easy, but you first need to download the <strong>timeline</strong> and <strong>MFTECmd</strong> tools. They’re simple to install, and I’ll show you how</p><p>First go to <a href="https://ericzimmerman.github.io/#forensic-tools">Eric Zimmerman’s</a> website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*heYwllIMWFwjm5XVIDyccQ.png" /></figure><p>Then press Ctrl+F and type <strong>timeline</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZGraKafJoM93QB7RPlnQQ.png" /></figure><p>Click on version 2026.5.0 to download the tool</p><p>Then press Ctrl+F and type <strong>MFTECmd</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vF8W2I_7RlDerHdoh1CTDA.png" /></figure><p>Now, let’s start the challenge. Let’s goo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Q-AneS7aWxtr6X3IOwIyQQ.gif" /></figure><p>After you download and unzip the challenge, you will find a file and a folder Inside that folder, there is another file. I will explain these two files to help you understand the challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*uQGAnuQLbKnf7FzA-Yshsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*YdULl9N7zDvTrwMMPvnTSw.png" /></figure><p>Okay, first, <strong>$J</strong> is a file in the Windows NTFS system. It just records every change that happens to files and folders. As for the <strong>$MFT</strong>, it is the most important file in NTFS. It is basically the main database of the hard drive, and every single file or folder on the disk has a record inside it</p><p>And you can read <a href="https://www.ntfs.com/ntfs_basics.htm">here</a> about the NTFS topic and the existing files more clearly</p><p>Now we will use the <strong>MFTECmd</strong> tool to extract the contents of the file as a CSV.</p><p>Let us go to the tool location using cmd</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OIGY3d4yrjz6AN5GDZY_tQ.png" /></figure><p>To extract the <strong>$MFT</strong> or <strong>$J</strong> file as a CSV, you need to type the directory path where the files are located</p><p>And then you add <strong>— csv</strong> after <strong>/$J</strong> and put the export destination. This is how the command will look</p><pre>MFTECmd.exe -f &quot;C:\Users\d7myy\Downloads\FindTheLeak (2)\C\$Extend\$J&quot; -csv C:\Users\d7myy\Downloads\output</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pgt6AodZsG7WUqdZwEFzOw.png" /></figure><p>and like that, we repeat the step for the <strong>/$MFT</strong> file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*y7ZUx9evVF6_m4fO1HLymg.png" /></figure><p>As you can see, now we have two files ending in .csv. Here we can use the <strong>timeline</strong> tool so we can browse comfortably</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s00i4M_xwL8xzHIjToYNrg.png" /></figure><p>Open the tool twice so you can add each output in a page. The way to open the output is simple <em>File&gt;Open&gt;choose the file</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8deu-J_yTcRZroXiAnfpOw.png" /></figure><p>I opened <strong>$J</strong> first to know the name of the <strong>created file</strong>, but the file is very big. To save time, and I recommend using this in all CTF challenges, try searching for challenge keywords like <strong>flag</strong>, the challenge format <strong>FlagY</strong>, or encode it in <strong>base64</strong>.</p><p>Since I tried that and it did not work for me, mostly a file was created. So, we will search here for the word <strong>FileCreate</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*9iwfbh_FbRvyr_Eeym0LlQ.png" /></figure><p>I started browsing from bottom to top, and I found two encrypted files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0b4CoUu1cN9WBPuej26UyA.png" /></figure><pre>YmFzZTMyLU1aV0dDWjMzSEZUR0NNWlZNSTJHRU1CV01VMlRJTkRCR1pRVE1OSldNSlNERU1SU01KUkRJTVpZTVJUSDI9PT0</pre><p>I decoded on the <a href="https://gchq.github.io/CyberChef/"><strong>cyberchef </strong></a>website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tlWQ8QV-SeaXxoXeETiKQw.png" /></figure><p>It turned out to be encrypted in <strong>base32</strong> as well</p><pre>base32-MZWGCZ33HFTGCMZVMI2GEMBWMU2TINDBGZQTMNJWMJSDEMRSMJRDIMZYMRTH2===</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OIcGQGhLEutreq9FMIDGyQ.png" /></figure><p>I got the flag…</p><pre>flag{9fa35b4b06e544a6a656bd222bb438df}</pre><p>But I tried the flag and it turned out to be incorrect</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*MDCH-DWopydBGAWs36n-7w.gif" /></figure><p>Here I thought, since I reached this point, maybe the <strong>Entry Number</strong> is linked to the other file <strong>/$MFT</strong></p><p>This is the <strong>Entry Number</strong> of the file creation in <strong>/$J</strong></p><pre>Entry Number<br>28584</pre><p>As we can notice, another encrypted file appeared to me</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3RtvzH1ToOE2uwSeMVx2A.png" /></figure><p>This is the correct flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*lRrJGaHrg_JRkhdvd9iMag.png" /></figure><p>After you decode it, it will show you that it is encrypted in <strong>base32</strong>. Decode it, and it will become clear to you that there is an issue with the flag there is a space, put a <strong>0</strong> in its place, and that way you can submit the flag correctly</p><p>See you in other challenges, goodbye…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=974fee2966a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>