<?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 Slender-man on Medium]]></title>
        <description><![CDATA[Stories by Slender-man on Medium]]></description>
        <link>https://medium.com/@Slender-man?source=rss-b1a31364e06e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Mx3KPwgaeIKbuKx4DKDtDQ.png</url>
            <title>Stories by Slender-man on Medium</title>
            <link>https://medium.com/@Slender-man?source=rss-b1a31364e06e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 04:36:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Slender-man/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[PhishyNote — FlagYard Forensics CTF Walkthrough]]></title>
            <link>https://medium.com/@Slender-man/phishynote-flagyard-forensics-ctf-walkthrough-39f59b95308c?source=rss-b1a31364e06e------2</link>
            <guid isPermaLink="false">https://medium.com/p/39f59b95308c</guid>
            <dc:creator><![CDATA[Slender-man]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 14:24:00 GMT</pubDate>
            <atom:updated>2026-09-13T14:24:00.684Z</atom:updated>
            <content:encoded><![CDATA[<p>Goal: Analyze a Windows disk image to trace a phishing attack, deobfuscate a malicious batch script, and extract the flag from the payload URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*1mcxjbzDgXFB-DZMjfr2rQ.png" /><figcaption>Challenge Description</figcaption></figure><h3>Step1: Initial Triage</h3><p>We were given the disk image of the phishing victim, the description was guiding us to where could phishing traces be: browser history? cache? cookies? downloads? email attachements? OST/PST?<br>Thank God i started with the Attachements, coz i was navigating under AppData to take a look, and suddently i saw a new \Olk\ folder, under \AppData\Local\Microsoft\ , so i went to do some learn about it.</p><h4>What \Olk\ is for?</h4><p>AppData\Local\Microsoft\Olk is the data and cache folder for the new Outlook for Windows, it stores emails, attachments, tokens, and WebView2 cache. In forensics, it&#39;s a goldmine for email-based phishing evidence but requires manual parsing (SQLite/ESE + WebView2 cache).<br>It’s NOT the same as classic Outlook (which uses .ost/.pst files under AppData\Local\Microsoft\Outlook\).</p><p>For those reasons i went to examine it.</p><h3>Step2: The Gift</h3><p>The 1st subfolder under \Olk\ in Attachement, deep inside we can only find the Phishing Attechement itself, which is the ‘Gift.one’ file.<br>Why? the title is ‘PhishyNote’ and the file is microsoft ‘OneNote’ file, so that’s clear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*ie8S_bu6jTbc5auk_c30Lg.png" /></figure><h3>Step3: Examining the Gift</h3><p>When trying to open that file, OneNote gives us an error, and the file size is 237 Kb, So i guess there’s a lot deep inside the file, and binwalk proves it for us:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*1BG0X5WwHxct86bBoJHRQw.png" /></figure><p>One of the embedded files inside the Note is a Microsoft Cabinet archive.</p><h4>What’s the Microsoft Cabinet archive?</h4><p>A Microsoft Cabinet archive (.cab) is a compressed container format developed by Microsoft for packaging files (commonly used for Windows updates, drivers, and installers). It works like a ZIP but uses Microsoft’s own compression. In phishing, attackers abuse .cab files because they&#39;re trusted by Windows, can be extracted natively with expand.exe, and often bypass email/AV filters, making them a convenient way to deliver malicious payloads inside seemingly benign attachments.</p><p>All what you just read, will be proved in front of your eyes.</p><p>In the binwalk output we already saw the .cab file inside and above we see the PE (Portable executable) file, surely it’s the ‘expand.exe’ file.</p><p>We extract all that stuff with binwalk using:</p><pre>binwalk -Me Gift.one</pre><p>we Get the .cab file, we can use 7z to decompress</p><pre>7z x 31B38.cab</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*8cmTLxfCDIXrkK-Jjrvk3A.png" /><figcaption>The image shows the previous .cab file and extracted .bat file from it</figcaption></figure><h4>What’s .bat file is doing here?</h4><p>A .bat file is a Windows batch script, a plain-text file containing a series of command-line instructions that Windows executes sequentially via cmd.exe, commonly abused in phishing because it can silently download and run malicious payloads.</p><p>The .bat file used variable substitution obfuscation, each line defines a variable holding a single character (like: set hbkges=f), and the final command reconstructs the real string by chaining those variables together. This technique hides the true intent from casual inspection and simple string-based detection tools. This is a part of the file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*bCkD79VgJTb3iciMmzupbg.png" /></figure><p>So i used this script for deobfuscation:</p><pre>import re, sys<br><br>bat = open(sys.argv[1]).read()<br>m = dict(re.findall(r&quot;^set (\w+)=([a-zA-Z0-9])&quot;, bat, re.M))<br>for line in bat.splitlines():<br>    if &quot;%&quot; in line:<br>        print(re.sub(r&quot;%(\w+)%&quot;, lambda x: m.get(x.group(1), &quot;?&quot;), line))<br><br># then run it: python3 deobf.py Gift.bat</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CdcgeCQ7CYGzI2PZshhqPg.png" /><figcaption>Final decoded powershell payload</figcaption></figure><p>As we see the delivered payload was a powershell script that’s used to download a .gif file, the filename is base64 encoded, decoding it gives us the flag:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*0m-Okz1hJci1tmxXYSMr4g.png" /><figcaption>b64 decoding the filename to get the flag</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39f59b95308c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SM — FlagYard Forensics CTF Walkthrough]]></title>
            <link>https://medium.com/@Slender-man/sm-flagyard-forensics-ctf-walkthrough-657cff719b45?source=rss-b1a31364e06e------2</link>
            <guid isPermaLink="false">https://medium.com/p/657cff719b45</guid>
            <category><![CDATA[memory-forensics]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[vba-macros]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Slender-man]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 22:47:14 GMT</pubDate>
            <atom:updated>2026-09-08T22:47:14.541Z</atom:updated>
            <content:encoded><![CDATA[<p>Goal: Analyze a memory dump to identify a malicious Office document, extract its VBA macro, and decode the hidden flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*ncn3OrcK3GXngnP1xESxTg.png" /><figcaption>Challenge Description</figcaption></figure><h3>Step 1: Initial Memory Analysis with Volatility</h3><p>Key Insight: The description itself was a huge hint, we’re dealing with malicious Office documents, likely involving macros and VBA code.</p><h4>Attempting Volatility 2 (Failure)</h4><p>First, I attempted to use Volatility 2 to analyze the memory dump, but it failed to detect the correct OS profile. This is a common issue with Volatility 2 on newer Windows systems.</p><h4>Moving to Volatility 3</h4><p>Volatility 3 successfully detected and processed the memory dump:</p><p>Output: Windows Event Trace Log (consistent with an Office document attack scenario)</p><h4>Extracting Key Artifacts</h4><p>I extracted various artifacts using Volatility 3’s plugins, these are all of the txt files that contains the output of each plugin (except the help file and the memory dump itself):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*NME81-NfIekW1FYtqtkjLA.png" /></figure><h3>Step 2: Identifying the Attack Vector</h3><h4>Process List Analysis</h4><p>The first step was to check for running processes related to Office applications:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*Rx3ERwQTkpqTV9kDK32t-w.png" /></figure><p>Findings:</p><ul><li>OfficeClickToRun (PID 2480): The Microsoft Office licensing and update service</li><li>WINWORD.EXE (PID 5644): Microsoft Word was actively running</li></ul><p>This confirms that a Word document was involved in the compromise.</p><h3>Step 3: Locating the Malicious Document</h3><h4>File Scan Analysis</h4><p>The filescan output was extensive, so I filtered for Office document types:</p><pre>cat filescan.txt | grep -iE &#39;\.(docx?|xlsx?|pptx?|pst|msg|one|pub|mdb|accdb|vsd|vsdx|dotx?|xltx?|potx?|ppsx?|sldx?)&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*mpNRAHM6QRpLMucZpO5NCA.png" /></figure><p>Interesting Findings:</p><ol><li>SM_Challenge_Final.docm - The main suspicious file, located in Shared Folders</li><li>455D5B93.docm - A cached copy in the Internet Cache directory (Content.MSO)</li><li>Normal.dotm - Word template file (appears twice, possibly corrupted)</li></ol><p>The presence of the file in INetCache\Content.MSO suggests it was opened from a web location or email attachment.</p><h3>Step 4: Dumping the Malicious Document</h3><h4>First Attempt (Failed)</h4><p>I tried to dump SM_Challenge_Final.docm using its virtual address:</p><pre>vol -f SM_Challenge.raw windows.dumpfiles.DumpFiles --virtaddr 0xcc89aa80caa0</pre><p>This failed, likely because the file wasn’t fully loaded in memory or was paged out.</p><h4>Second Attempt (Successful)</h4><p>I then targeted the cached version:</p><pre>vol -f SM_Challenge.raw windows.dumpfiles.DumpFiles --virtaddr 0xcc89aa810150</pre><p>Success! The file was dumped as 455D5B93.docm.</p><h4>File Verification</h4><pre>file 455D5B93.docm</pre><p>Output:</p><pre>455D5B93.docm: Microsoft Word 2007+</pre><p>This confirmed it was a valid DOCM file (Word document with macros enabled).</p><h3>Step 5: Analyzing the Document with oletools</h3><h4>Understanding DOCM Files</h4><p>DOCM files are Microsoft Word documents that contain VBA macros. They can be malicious as macros can execute arbitrary code when the document is opened.</p><h4>Extracting Macros with olevba</h4><pre>olevba 455D5B93.docm</pre><h4>Key Findings</h4><p>The olevba output revealed two critical VBA functions:</p><ol><li>AutoExec Functions (Auto-Triggering):</li></ol><pre>AutoExec | AutoOpen       | Runs when the Word document is opened<br>AutoExec | Document_Open  | Runs when the Word or Publisher document is opened</pre><p>2. Suspicious API Calls:</p><pre>Suspicious | VirtualAlloc        | May inject code into another process<br>Suspicious | CreateThread        | May inject code into another process<br>Suspicious | RtlMoveMemory       | May inject code into another process<br>Suspicious | Lib                 | May run code from a DLL</pre><p>3. The Flag! The most interesting part was found in the macro code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S_rJJl57qkQICr_AYXAC0A.png" /></figure><h3>Step 6: Decoding the Flag</h3><h4>Converting Hex Values</h4><p>The macro stored the flag in two parts as hex values with the &amp;H prefix. To decode:</p><ol><li>Remove all &amp;H prefixes from the arrays</li><li>Extract the hex values between the parentheses</li><li>let Cyberchef BAKE for you</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*mu8Oics8ByKcYIIBltkwJw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=657cff719b45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CloudyHeist — Flagyard Forensics CTF Walkthrough]]></title>
            <link>https://medium.com/@Slender-man/cloudyheist-flagyard-forensics-ctf-walkthrough-381814ba02a8?source=rss-b1a31364e06e------2</link>
            <guid isPermaLink="false">https://medium.com/p/381814ba02a8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[disk-forensics]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Slender-man]]></dc:creator>
            <pubDate>Mon, 07 Sep 2026 22:44:25 GMT</pubDate>
            <atom:updated>2026-09-07T22:44:25.268Z</atom:updated>
            <content:encoded><![CDATA[<h4>Goal: Porve the Breach &amp; identify the exfiltration channel (AnyDesk) to get the flag.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*SgBDStpdnAu67GhFkxWCBQ.png" /><figcaption>challenge description</figcaption></figure><h3>Introduction:</h3><p>In this writeup I walk through the forensic investigation of cloudyHeist, a disk-image CTF challenge. The scenario is serious: a healthcare organisation subject to HIPAA suspects a breach.</p><blockquote>Did data leave this machine? If so, what data, by which channel, and when?<br>No network logs, no PCAP, no EDR telemetry. Just the disk. Let’s dig.</blockquote><h3>Phase 0 — Scout the profile</h3><p>C:\Users\FlagYard\ is our sandbox. But almost every personal folder is empty:</p><pre>Documents   (empty)<br>Downloads   (empty)<br>Desktop     (empty)<br>OneDrive    (empty)<br>Pictures    (empty)<br>Videos      (empty)<br>Music       (empty)<br>Contact     (empty)<br>Search      (empty)<br>Links       (empty)</pre><p>An attacker who exfiltrates then deletes the source files is a very common pattern — “we destroy what we copied.” So I don’t trust the emptiness; I treat it as potential evidence of cleanup.<br>The real dirt lives in AppData. Let’s split it: Local, LocalLow, Roaming. The Roaming\AnyDesk directory practically waves at us.</p><h3>Phase 1 — The smell of remote access: AnyDesk</h3><p>After a few boring clicks i found myself in <em>C\Users\FlagYard\AppData\Roaming\AnyDesk</em>, where i saw something interesting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*XrcF0EtEXFCFW3hJWazEIQ.png" /><figcaption>C\Users\FlagYard\AppData\Roaming\AnyDesk</figcaption></figure><h4>But What’s AnyDesk ?</h4><p>AnyDesk is a popular remote-desktop/remote-access application. <br>One user can connect to another machine over the internet and view its screen, control the mouse &amp; keyboard, transfer files, and tunnel traffic. Legit tool for IT support, but in the hands of an attacker it’s a RAT without the malware: full interactive access to a live system.<br>When you find a remote-access tool on a clean image, three questions immediately follow:</p><ol><li>Was it installed silently?</li><li>Were there incoming connections?</li><li>Did anyone transfer files?</li></ol><h4>1. The install — not innocent</h4><p>‘ad.trace’ (AnyDesk’s own diagnostic log, not a wireshark capture file as windows detects it) gives us the install:</p><pre>&quot;C:\Users\FlagYard\AppData\Local\Temp\AnyDesk.exe&quot;<br>  --install &quot;C:\Program Files (x86)\AnyDesk&quot; --start-with-win --silent</pre><p>Process started at 2025–06–02. PID 6692. OS is Windows 11 (64 bit)<br>AnyDesk v9.5.4 was installed on 2025–06–02 at 22:15:44, launched from the Temp directory, with — silent and — start-with-win.</p><h4>2. Incoming connections — someone came in</h4><p>From ‘connection_trace.txt’, we have a trace on two incoming sessions on the incident night, from AnyDesk client 1367727428 — a peer AnyDesk gives the friendly name IEUser.</p><pre>Incoming    2025-06-02, 22:19    User           1367727428    1367727428<br>Incoming    2025-06-02, 23:15    User           1367727428    1367727428</pre><p>‘ad.trace’ confirms each handshake:</p><pre>Accept request from 1367727428 (via relay).<br>Incoming session request: IEUser (1367727428)</pre><h4>3. File transfers — the smoking gun</h4><p>AnyDesk also keeps a ‘file_transfer_trace.txt’ :</p><pre>File Manager  2025-06-02, 22:20  start   upload  &#39;stage.zip&#39;  (~0 B out of 230 B)<br>File Manager  2025-06-02, 22:20  finish  upload  &#39;stage.zip&#39;  (~230 B out of 230 B)<br>Clipboard     2025-06-02, 23:01  start   upload  &#39;stage.zip&#39;  (~0 B out of 230 B)<br>Clipboard     2025-06-02, 23:01  finish  upload  &#39;stage.zip&#39;  (~230 B out of 230 B)<br>File Manager  2025-06-02, 23:15  start   upload  &#39;stage.zip&#39;  (~0 B out of 230 B)<br>File Manager  2025-06-02, 23:15  finish  upload  &#39;stage.zip&#39;  (~230 B out of 230 B)</pre><p>This is the money shot: a file named stage.zip was uploaded three times, twice via the File Manager, once handed over via the clipboard.<br>NOTE: “Upload” from the victim’s perspective means data leaving the machine.</p><p>And ‘ad.trace’ tells us exactly where the attacker pulled files from, at matching timestamps:</p><pre>22:20:04  Preparing files in &#39;C:\Users\FlagYard\AppData\Local\Microsoft\Windows&#39;<br>          Preparation of 2 files completed (io_ok)<br>23:15:23  Preparing files in &#39;C:\Users\FlagYard\AppData\Local\Microsoft\Windows\CloudStore&#39;<br>          Preparation of 1 file completed (io_ok)</pre><p>So the exfiltration source directory is narrowed to:<br>C:\Users\FlagYard\AppData\Local\Microsoft\Windows\CloudStore</p><h4>Definition — CloudStore:</h4><p>A Windows component that caches cloud-synced and per-user settings machine-locally in a compact binary store. Exactly the kind of file a script (or a human) might grab thinking it’s “settings/config”, and in this CTF, it’s the place where the loot was hidden.</p><h3>Phase 2 — The smoking gun: CloudStore</h3><p>Inside CloudStore there’s a single file: ‘data’. I decided to move forward with it, as a significant amount of evidence points toward it. And i moved to kali for this one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*GlYGTrMB8-e8uSdqcjvlVA.png" /><figcaption>hexdump of the file ‘data’</figcaption></figure><p>Two things jump out from the hex dump:</p><ol><li>The file starts with 50 4B, “PK”, the classic ZIP magic bytes. A real CloudStore data blob is a binary structure, not a ZIP archive, so this file is in disguise.</li><li>Inside the archive listing, the first embedded filename (in the right-hand ASCII column) reads ‘notes.txt’ .</li></ol><p>I renamed the file to ‘data.zip’ , and moved forward:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*nwhEtW6P9-gJEQDUomgeng.png" /><figcaption>extracting ‘notes.txt’ from the zip file, then decoding the b64 decoed file</figcaption></figure><p>That verbosity tells us everything, i went to bake the XOR encoded flag in cyberchef:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*vlq5ooCOOMTDA6GbbCg-aw.png" /><figcaption>Applying (Flag ^ 0x11) in cyberchef &amp; revealing the flag</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=381814ba02a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Locked Secrets — Flagyard Forensics CTF Walkthrough]]></title>
            <link>https://medium.com/@Slender-man/locked-secrets-flagyard-forensics-ctf-walkthrough-c0d41d37aa13?source=rss-b1a31364e06e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0d41d37aa13</guid>
            <category><![CDATA[disk-forensics]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bitlocker]]></category>
            <dc:creator><![CDATA[Slender-man]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 20:14:14 GMT</pubDate>
            <atom:updated>2026-09-06T20:18:36.871Z</atom:updated>
            <content:encoded><![CDATA[<h3>Goal: Unlocking BitLocker with a GPP Password</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*hJZHfAjDld6NaVgZbI-2lQ.png" /><figcaption>Challenge Description</figcaption></figure><h3>Step 1: Analyze the Triage Image</h3><p>We were given a triage image containing user artifacts and a BitLocker-encrypted E01 file, we need the passsword that is in the triage image to unlock it.</p><p>After some navigation under ‘triage image’, i found this under <br>..\LockedSecrets\triageimage\E\Users\Administrator\AppData\Roaming\<br>Microsoft\Windows\Recent\</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*cZHiDwv0j7Mwp3cLaN1qSg.png" /></figure><p>LNK files that lead to Groups; Group policy; the flag; and the BitLocker Recovery Keys (but the last ones revealed nothing for me).</p><p>I checked the properties of the ‘Groups.LNK’ file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*0VbQl1OLf0OSvyYn3RJxVA.png" /><figcaption>Groups.LNK properties &amp; the location of Groups.xml file</figcaption></figure><p>Destination = <em>C:\Windows\SYSVOL\domain\Policies\{F6E536A8–76F2–4111-A113-C19D882367AF}\Machine\Preferences\Groups</em><br>I decided to further with that file, this is why:</p><h4>Why Check Groups.xml?</h4><p>Groups.xml is a Group Policy Preference (GPP) file used in Active Directory environments to manage local user accounts across domain-joined machines.</p><h4>Why Attackers Abuse It</h4><ul><li>When administrators use GPP to set local account passwords, the password is stored in the cPassword attribute.</li><li>Microsoft encrypts it using AES-256-CBC, but the encryption key is publicly known and hardcoded in Windows.</li><li>This means anyone with the encrypted string can decrypt it using readily available tools (gpp-decrypt).</li></ul><h3>Step 2: verify the location and extract the cPassword</h3><p>As we saw, the key file was:</p><pre>C:\Windows\SYSVOL\domain\Policies\{F6E536A8-76F2-4111-A113-C19D882367AF}\Machine\Preferences\Groups\Groups.xml</pre><p>Contents of Groups.xml:</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;Groups clsid=&quot;{3125E937-EB16-4b4c-9934-544FC6D24D26}&quot;&gt;<br>  &lt;User clsid=&quot;{DF5F1855-51E5-4d24-8B1A-D9BDE98BA1D1}&quot; <br>       name=&quot;SM&quot; <br>       image=&quot;0&quot; <br>       changed=&quot;2024-09-06 12:12:55&quot; <br>       uid=&quot;{E4073160-0C87-4FCE-9ED1-0C890558E45E}&quot;&gt;<br>    &lt;Properties action=&quot;C&quot; <br>                fullName=&quot;mr.shosho&quot; <br>                description=&quot;&quot; <br>                cpassword=&quot;Xpk4DyKDjYQQ/EUHClHlP+m6AKRQL5cC+JABNiw5C9aUMrmXIH2Mkky4a8tKUxIq&quot; <br>                changeLogon=&quot;1&quot; <br>                noChange=&quot;0&quot; <br>                neverExpires=&quot;0&quot; <br>                acctDisabled=&quot;0&quot; <br>                userName=&quot;SM&quot;/&gt;<br>  &lt;/User&gt;<br>&lt;/Groups&gt;</pre><h3>Step 3: Decrypt the cPassword</h3><p>Group Policy Preferences (GPP) store passwords in the cPassword field using AES-256-CBC with a static key. This makes them easily decryptable.</p><p>inside kali linux:</p><pre>gpp-decrypt &quot;Xpk4DyKDjYQQ/EUHClHlP+m6AKRQL5cC+JABNiw5C9aUMrmXIH2Mkky4a8tKUxIq&quot;</pre><p>Output:</p><pre>Passw0rd123!@Meme</pre><h3>Step 4: Unlock the BitLocker Drive &amp; get the flag</h3><p>On windows, using FTK Imager, i mounted the <strong>bitlocker_drive.E01</strong> file, the new partition will show up under ‘this computer’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/1*a84RKQV4aqxvQYBG5f5KiQ.png" /></figure><p>When trying to open it, a windows like this will show up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*pv4vthGq6Rj7oRwJeQPu4g.jpeg" /></figure><p>Enter the password, open the partition again, you’ll find the ‘<strong>the flag.txt</strong>’ file.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0d41d37aa13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Forensics CTF writeups — Securinets isetZaghouan x isetRades]]></title>
            <link>https://medium.com/@Slender-man/forensics-ctf-tasks-securinets-isetzaghouan-x-isetrades-ef804fe68261?source=rss-b1a31364e06e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef804fe68261</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Slender-man]]></dc:creator>
            <pubDate>Sat, 16 May 2026 01:02:50 GMT</pubDate>
            <atom:updated>2026-05-16T01:08:14.562Z</atom:updated>
            <content:encoded><![CDATA[<h3>sh1tty cr0n: Hiding Messages in Cron Jobs</h3><p>In this challenge, we’re given a syslog file (syslog_challenge.log). At first glance, it’s full of normal CRON noise — until you notice something unusual: a backup_agent command with a --job-id in hex.</p><p><strong>Step 1</strong>: Open the log and get a feel</p><pre>less syslog_challenge.log</pre><p>You see thousands of lines — normal syslog noise: CRON entries. You notice lots of CRON lines running typical commands (run-parts --report /etc/cron.hourly, php /var/www/html/cron.php).Then your eyes catch something different: a command with --job-id 0x33. That doesn&#39;t look like standard system cron. You scroll further and see --job-id 0x53, then 0x59, etc. The values are changing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vqTJJTkrZqsd0DZWK1v2IQ.png" /></figure><p><strong>Step 2:</strong> Isolate all occurrences of that weird command</p><p>You want to see only those lines. A simple grep for the program name:</p><pre>grep &quot;backup_agent&quot; syslog_challenge.log</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*0j30xzxY2FW2AYtE2w9smw.png" /></figure><p>=&gt; You notice the timestamps: exactly one minute apart (10:00, 10:01, 10:02, ... 10:22). This is a deliberate sequence, not random logging.</p><p><strong>Hypothesis:</strong> The attacker scheduled a job that prints a different hex value every minute — probably encoding a message.</p><p><strong>Step 3:</strong> Extract Hex and transform it to characters</p><p>You know hex 0x43 is C in ASCII (because 0x43 = 67 = &#39;C&#39;). You could manually decode each one, but that&#39;s slow. Instead, you can use Python :</p><pre>grep &quot;backup_agent&quot; syslog_challenge.log | grep -oP &#39;0x[0-9A-Fa-f]+&#39; | while read h; do python3 -c &quot;print(chr($h), end=&#39;&#39;)&quot;; done &amp;&amp; echo</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-M5-z5LxamdXBvKZ9M1Jw.png" /></figure><p><strong>Result:</strong> 3@SY_M0Neyy_SH1TTY_CR0N</p><p>Flag format is Securinets{..} =&gt; flag = Securinets{3@SY_M0Neyy_SH1TTY_CR0N}</p><h3>Log4Shell: Uncovering a Hidden Message Without Network Exfiltration</h3><p>In this challenge, we’re given an archive ( Log4shell.tar.gz). You unarchive the challenge file, you now have three files: access.log, error.log, app.log. The description says &quot;A server fell to Log4Shell&quot;, but no data exfiltration was caught by the network sensors. The goal is <strong>uncover the hidden message the attacker left inside the logs</strong>.</p><p><strong>Step 1</strong>: Hunt for Log4Shell Traces</p><p>Log4Shell injections always contain a characteristic string: ${jndi:...}. Search recursively for that pattern:</p><pre>grep -rn &#39;\${jndi:&#39; *.log</pre><p>You will see lines like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RvG2LscgRTH6jJC0sH85jQ.png" /></figure><p>You note three injections, all targeting the same IP but with different encoded strings after the slash.</p><p><strong>Step 2:</strong> Extract All Suspicious Payloads, Ordered by Time</p><p>The log lines already contain precise timestamps. Extract everything after the last slash and before the closing brace:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*2olSDxuSsxnNfGdEU1IVNw.png" /></figure><p>These are base64 strings (detectable by the == padding and character set).</p><p><strong>Step 3:</strong> Decode and Reassemble</p><p>Decode each in order:</p><p>Result: L0G_4_Y0U_&amp;_Y0U&#39;R3_TH3_SH3LL</p><p>Wrap in the flag format:Securinets{L0G_4_Y0U_&amp;_Y0U&#39;R3_TH3_SH3LL}</p><h3>Glyphzz: When Fonts lie.</h3><p>In the world of digital forensics, PDF files are a goldmine for hiding malicious content. This CTF challenge presents a PDF that gives a garbage flag, and even copy-paste and OCR tools fail to extract anything meaningful. But hidden inside the embedded font lies the real flag. This writeup walks through the forensic methodology of extracting and analyzing custom fonts to recover the truth.</p><p>Upon opening the PDF (chall.pdf), we’re greeted with unreadable, distorted flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFz0wV6mqbDkI2nY5mOMQw.png" /></figure><p>This is clearly not a simple text encoding issue. We need to dig deeper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*4KlCk7M8JTH0xnyu2gMmtg.png" /></figure><p>Even normal analysis reveal nothing, ‘<strong><em>pdffonts</em></strong>’ only show the TruType fonts, so we should use a better option, which is ‘<strong><em>mutool</em></strong>’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*Oncg-Ll8c-iZaHvaSw-dXg.png" /></figure><p>Finally something meaningful, that last extracted font tells us something, now to analysize .ttf files we have a lot of options one of the best is ‘<strong><em>fontforge</em></strong>’, it will show us the glyph table. so let’s discover what’s going on:</p><pre>fontforge file-0032.ttf</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5MEAMiUFx1uaoLB2VFOSgA.png" /></figure><p>When navigating through the glyph table. We notice something odd, the glyph names don’t always match their visual shapes. For example:</p><ul><li>Character code for ’@’ maps to a glyph named “a”</li><li>Character code for ‘\’ maps to a glyph named “p”</li><li>Character code for ‘g’ maps to a glyph named “p”</li><li>Character code for ‘P’ maps to a glyph named “\”</li><li>etc…</li></ul><p>first correction will give us this flag: <em>Securinets{plyph5_p0N3_cr@zyy}</em></p><p>But it still incorrect, why? coz ‘p’ is played with twice:</p><ul><li>‘\’ gives ‘p’</li><li>then ‘p’ gives ‘\’</li></ul><p>the font system doesn’t work like that, actually it will do the following:</p><ul><li>The character code for ‘\’ maps to the glyph named ‘p’</li><li>then the font system will read the ‘p’ as the glyph and map to the first character code that correspond to it, which is ‘g’</li></ul><p>So the final flag will be: <em>Securinets{glyph5_g0N3_cr@zyy}</em></p><blockquote>Hope that was helpful — see ya in the next one! 👋</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef804fe68261" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>