<?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 H!$ok♠ on Medium]]></title>
        <description><![CDATA[Stories by H!$ok♠ on Medium]]></description>
        <link>https://medium.com/@iynm?source=rss-b99539413f6b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ys_rr2hp9-RaOFc1EEk_xQ.jpeg</url>
            <title>Stories by H!$ok♠ on Medium</title>
            <link>https://medium.com/@iynm?source=rss-b99539413f6b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:44:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iynm/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[CAT CTF-Entry Level-DFIR]]></title>
            <link>https://medium.com/@iynm/cat-ctf-entry-level-dfir-82975ebf8055?source=rss-b99539413f6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/82975ebf8055</guid>
            <dc:creator><![CDATA[H!$ok♠]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 22:39:19 GMT</pubDate>
            <atom:updated>2026-03-23T22:46:30.020Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*gczre2AYJmR5f8S6WXYstA.png" /></figure><p>Hello everyone! This write-up is for the Digital Forensics challenges that I’ve solved in the CAT CTF-Entry Level competition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*ELNFACKfC240ssYUdqTWoA.png" /></figure><p>At first, the challenge provides us with a memory dump, Let’s dive into the challenge!</p><p>First, we use the vol tool for memory investigation. You use it along with (specifying the OS profile).</p><p>Now, let’s check the running processes using the pslist plugin</p><pre>vol -f Chall.dmp windows.pslist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rvjqrBWNpU2PBgjqBu4bFw.png" /></figure><p>We will find 7zFM.exe. It’s worth noting that there is an archive file here.</p><p>We start searching for it using the filescan plugin, narrowing down the search to “flag”. The file path and its specific offset will appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*N-mpZmfm2CTJRkB8KPPJHQ.png" /></figure><p>The next step is to dump the file using the dumpfiles plugin and the file’s offset</p><pre>vol -f Chall.dmp windows.dumpfiles --virtaddr 0xde876121b820</pre><p>We will rename the file to flag.7z to make it easier to handle. When trying to extract its content, it asks for a password. At this stage, I was distracted searching for the password — it felt like looking for a needle in a haystack.</p><p>But honestly, cracking the password was easier than that. We will use John<strong> </strong>the Ripper<strong> </strong>to generate the hash and crack it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*aRkbUfmkHD3vMMTp52tkig.png" /></figure><p>After extracting the file and opening it, we will find a <strong>Base64</strong> string. By decoding it, we finally find the <strong>flag</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qPUuS3tAjeKQYzaklT4XxA.png" /></figure><blockquote>Flag : CATF{M3m0ry_F0r3nSiCs_1s_FUN77}</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*glUj-nqRtGpPKRASxeAcnA.png" /></figure><p>At the beginning, we were provided with the AppData folder. This is a hidden folder automatically created for every Windows user, located by default at: C:\Users\&lt;Username&gt;\AppData</p><p>Its main purpose is to separate user-specific program settings from the original program files. Instead of storing settings in Program Files (which requires admin privileges), they are stored here so they remain linked only to the user’s profile.</p><p>The goal is to track a login activity for a specific website</p><p>The investigation started by looking into the browser traces. Specifically, the user’s history, where they found a login to a corporate collaboration platform.</p><p>We start searching the history file at: C:\Users\Tim\AppData\Local\Google\Chrome\User Data\Default\History</p><p>Using <strong>DB Browser for SQLite</strong>, we can access this file, which contains the browsing history and download metadata. We found a search query for the required platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iYLh-HI2SYL3SAzYX72Qcg.png" /></figure><p>Now, we need to find the actual login process. This is found in the Login Data file, which contains credentials saved through the browser.</p><p>C:\Users\Tim\AppData\Local\Google\Chrome\User Data\Default\Login Data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zancp0YCgjKhYVAhwtMUvQ.png" /></figure><p>This artifact provided both parts of the required flag: the user and the application used.</p><ul><li>The Application: Slack (A Business Communication Platform designed to facilitate teamwork and reduce reliance on traditional emails).</li><li>The Username: tim.apple</li></ul><p>Flag: CATF{tim.apple_Slack}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*rBHlk0dl158N41SjJKSmvg.png" /></figure><p>The challenge starts by asking us to find a PowerShell command executed by the attacker to take a memory dump and save it to the disk.</p><ul><li>Part 1<strong>:</strong> The path of the tool used.</li><li>Part 2: The name of the file.</li></ul><p>We were provided with Event Logs, which are artifacts that record all activities happening on the machine. Since the executed command was PowerShell-based, our investigation focused on:</p><p>Microsoft-Windows-PowerShell%254Operational.evtx</p><p>Simply put, this file logs the details of PowerShell scripts and commands executed on the system.</p><p>Initially, we found a command that was encrypted and hidden behind the <strong>-</strong>encodedCommand flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uIF5yydDRT0SlwNcleVynQ.png" /></figure><p>To reveal the actual script that was attempting to perform the <strong>Memory Dump</strong>, we used <strong>Filter 4104</strong>. This allowed us to see the de-obfuscated script clearly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F7LtXE7SKPvh93D5igltJw.png" /></figure><blockquote>Flag: CATF{C:\Windows\files\dumpit.exe_DESKTOP6–20250326–211821.dmp}</blockquote><p><em>This is where my write-up ends. Thank you for reading, and I hope you found it helpful.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82975ebf8055" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyCTF Luxor quals DFIR write-up]]></title>
            <link>https://medium.com/@iynm/cyctf-luxor-dfir-write-up-e039bc8cea1e?source=rss-b99539413f6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e039bc8cea1e</guid>
            <dc:creator><![CDATA[H!$ok♠]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 01:17:14 GMT</pubDate>
            <atom:updated>2026-03-15T01:26:19.031Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*kkIAsLvc4bxstl0U5MVdrw.png" /></figure><p>Hello everyone! This write-up is for the Digital Forensics challenges that I’ve solved in the CyCTF Luxor competition.</p><p>Now, let’s get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*fNuxKpYeEUyyJML96nZKsQ.png" /></figure><p>The objective of this investigation was to prove the employee visited the phishing site and recover the full URL containing the hidden flag.</p><p>We were provided with two primary SQLite databases from the Firefox profile:</p><p>places.sqlite: Contains the browsing history and bookmark metadata.</p><p>favicons.sqlite: Contains favicon metadata indicating sites accessed.</p><p>Based on the initial description, the history in places.sqlite appeared to be deleted or cleared. Therefore, I shifted my focus to the favicons.sqlite database, as it often retains traces of visited sites even after the main history is wiped.</p><p>I started the technical analysis by examining the moz_icons table, which stores the URLs of the icons (favicons) that the browser attempted to load when visiting various websites.</p><p>During the inspection, I identified a highly suspicious entry:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgQ3G_BF_RKgh71Omiipbw.png" /></figure><p>To confirm the actual visit and retrieve the full landing page URL, I examined the moz_pages_w_icons table. which maps page URLs to their icons</p><p>By locating the entry associated with the phishing favicon, I successfully recovered the full URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FTijGSJC8kkaDaDGepWVXQ.png" /></figure><p>Recovered Flag: <em>CyCTF{f168079bd163a3153e05a81bb8f07087}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*GMwYTTE0V41rBBzhrqB_cA.png" /></figure><p>A data exfiltration incident occurred, and we need to identify the specific USB storage device used by the attacker. Using the acquisition date from the case study, we must correlate registry hives and logs to pinpoint the exact Vendor and Model.</p><p>Artifacts Analysis</p><p>SYSTEM_registry_export.reg: Contains USBSTOR and MountedDevices keys</p><p>setupapi.dev.log: Windows device installation log (Essential for finding the &quot;First Installation&quot; timestamp).</p><p>DriverFrameworks_UserMode_Operational.xml: Contains events related to USB driver loading and device connection.</p><p>NTUSER_registry_export.reg: Used to check MountPoints2 and user-specific activity.</p><p>I started by auditing the USBSTOR key in the SYSTEM hive to list all USB devices that have ever been connected to the machine. Our analysis revealed two primary candidates:</p><ol><li>SanDisk Ultra USB 3.0</li><li>Kingston DataTraveler 3.0</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_Z845OhvzW6LpEbK1NXCw.png" /></figure><p>To narrow it down, I cross-referenced these devices with the <em>Acquisition Date</em> mentioned in the case study. The goal was to find which device was connected closest to the time of the suspected exfiltration.</p><p>I analyzed the setupapi.dev.log to find the exact installation time for both devices. This log provides a highly accurate timestamp for when a device is first plugged into a Windows system.</p><p>The log entries confirmed that the SanDisk Ultra USB 3.0 was the device connected during the critical window of the exfiltration event</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AaAV4ulQ8g-UG9xZNzDb6A.png" /></figure><p>To generate the final flag, the string SanDisk Ultra USB 3.0 (Vendor + Model) is passed through an MD5 hashing algorithm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*qVqegi5m63JwpH7T_wwyBw.png" /></figure><p>Recovered Flag: <em>CyCTF{</em>28d67a47c44e9e409160580fb3dd227f<em>}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*npSKsHr2hxWt0wr1o4FSqg.png" /></figure><p>The objective was to extract the unique Serial Number of the identified device.</p><p>The unique Serial Number of a device is always the last part of the registry Path:</p><blockquote>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\Disk&amp;Ven_SanDisk&amp;Prod_Ultra_USB_3.0&amp;Rev_1.00\4C530001250623117384</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Os90VcUrmz0674S2CUwG-Q.png" /></figure><p>Recovered Flag: <em>CyCTF{</em>27e8331de5b4abfe3672e5b115a55d35<em>}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*H3HCp_xbBB_rmQ3uUdm7ng.png" /></figure><p>After identifying the device, I shifted focus to the user’s recent activity to see what files were interacted with.</p><p>While analyzing the RecentDocs key in the NTUSER.DAT hive, I identified three files with the .xlsx extension.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8YiH0Y1JAxpTo4LMkOTMIA.png" /></figure><p>After decoding the Hex-encoded filenames into ASCII, I recovered the full filename which contained the hidden flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAO-cDPbd9tujddQi9KbYw.png" /></figure><p>Recovered Flag: <em>CyCTF{fae67e80cd12a8f2d51a9d889ad5e46a}</em></p><p><em>This is where my write-up ends. Thank you for reading, and I hope you found it helpful.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e039bc8cea1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>