<?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 Fatma MAHFOUDHI on Medium]]></title>
        <description><![CDATA[Stories by Fatma MAHFOUDHI on Medium]]></description>
        <link>https://medium.com/@mahfoudhifatma87?source=rss-5194a0c920fa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PDVghP-5tcp7xJ9mih0wrA.jpeg</url>
            <title>Stories by Fatma MAHFOUDHI on Medium</title>
            <link>https://medium.com/@mahfoudhifatma87?source=rss-5194a0c920fa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:18:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahfoudhifatma87/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[Inside Qilin: What the Ransomware’s Own Logs Reveal]]></title>
            <link>https://medium.com/@mahfoudhifatma87/inside-qilin-what-the-ransomwares-own-logs-reveal-22ab2e213a82?source=rss-5194a0c920fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/22ab2e213a82</guid>
            <dc:creator><![CDATA[Fatma MAHFOUDHI]]></dc:creator>
            <pubDate>Thu, 26 Feb 2026 13:28:45 GMT</pubDate>
            <atom:updated>2026-03-02T08:10:10.586Z</atom:updated>
            <content:encoded><![CDATA[<p>The analysis of the Master File Table (MFT) on a Qilin-compromised host revealed a structured logging mechanism embedded within the ransomware’s execution engine. Qilin systematically generated log files within a dedicated directoryTEMP\QLOG\, following a consistent naming convention of ThreadId(xx). Each file corresponds to an individual execution thread, exposing Qilin&#39;s multi-threaded architecture and its approach to parallelizing the encryption workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*X3lmfPym57kqS0mrwuT--A.png" /></figure><p>In this article, I will analyze the content of these logs to map Qilin’s internal behavior and uncover the <strong>TTPs</strong> employed by this ransomware throughout its attack lifecycle.</p><p><strong>1. Environment Validation</strong></p><p>Qilin begins its execution with a series of environment checks before proceeding to encryption. It first verifies the password&#39;s validity, then confirms that the current user has administrative privileges, and finally scans the host to determine whether it is running in a virtual machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oj3Iti8QO7upbb2ESodTuw.png" /></figure><p><strong>2. Embedded Configuration Loading</strong></p><p>Following the initial environment checks, Qilin loads its embedded configuration, which defines the ransomware’s operational scope through a structured set of lists: extension_black_list, extension_white_list, filename_black_list, directory_black_list, white_symlink_subdirs, process_black_list, and win_services_black_list. It also reveals the <strong>victim&#39;s company ID</strong> and the <strong>custom extension</strong> that will be appended to encrypted files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxnmiZncBl2nvxlxSMxAaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*l3mqsymE28nhCrqD26Mf6g.png" /></figure><p><strong>3. Operational Configuration</strong></p><p>Qilin is configured to encrypt local drives, mounted shares, and network areas simultaneously, with no target restrictions defined — every reachable asset is a potential victim. Before encryption begins, it terminates running processes, services, and virtual machines to eliminate any resistance. File zeroing is enabled, overwriting encrypted files with zeros to make recovery virtually impossible, while autostart ensures persistence across reboots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*K09rklip4znVDNhsdLkyMg.png" /></figure><p><strong>4. Persistence</strong></p><p>Analysis of the Prefetch folder revealed that the attackers downloaded malware 1.exe using the curl command (another trojan, umhac.exe, was also executed).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*-HX93CHV_YI1TqNAebD4CQ.png" /></figure><p>Once deployed, Qilin establishes persistence by adding the executable to the Windows Registry autostart key at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, ensuring it executes automatically upon system reboot. The ransomware then manipulates the Volume Shadow Copy Service (VSS), enabling and starting the service before executing vssadmin.exe delete shadows /all /quiet to delete all shadow copies, effectively eliminating any backup recovery paths.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vymZo6adhFn6BFhQWNQICQ.png" /></figure><p><strong>5. System Reconnaissance and Storage Enumeration</strong></p><p>Before initiating encryption, Qilin conducts comprehensive system reconnaissance by enumerating physical storage devices, logical volumes, mounted drives, and network shares. The ransomware also attempts to enumerate mounted network shares and searches for shortcuts in the user&#39;s Network Shortcuts and Desktop folders to identify additional remote targets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4eDTZDZlYf_rNDjpr42kog.png" /></figure><p><strong>6. Active Directory Enumeration</strong></p><p>Qilin attempts to execute <strong>Active Directory reconnaissance</strong> using PowerShell to map domain-joined computers. It runs the command:</p><pre>Import-Module ActiveDirectory ; Get-ADComputer -Filter * | Select-Object -ExpandProperty DNSHostName</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yoyAAjlzGM6DT1-glVvGiA.png" /></figure><p><strong>7. Post-Encryption Actions and Self-Destruction</strong></p><p>Qilin executes a series of post-encryption cleanup tasks to maximize operational security and evade forensic analysis. The ransomware sets a custom wallpaper for all user profiles and changes the machine lockscreen to display the ransom message. It then performs a final sweep, executing wevtutil.exe to clear all Windows Event Logs, eliminating critical forensic artifacts such as PowerShell execution logs, security events, and system activity records. Finally, Qilin initiates self-deletion, removing its own executable from disk to hinder incident response efforts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*8n0pKDnLb-of9QyFT7rKDA.png" /></figure><p><strong>8. File Encryption Workflow</strong></p><p>Qilin follows a systematic encryption process executed across multiple threads. Before encrypting a file, it renames it with a temporary identifier. After encryption completes, the temporary marker is removed, leaving only the victim-specific extension. The logs show that Qilin employs multiple worker threads and passes for encryption, with each thread maintaining its own queue to process files in batches. After encryption, Qilin flushes the encrypted data to disk, ensuring all changes are committed immediately and preventing any possibility of incomplete encryption due to system crashes or interruptions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5jNDxKi5p0-BNji2pVsh0Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TlrKgmSrXzo0E8mKrJtVXw.png" /></figure><p><strong>9- Indicators of Compromise (IOCs)</strong></p><p>Windows Defender successfully detected and quarantined the file umhac.exe. I retrieved the payload from the quarantine directory for further analysis. However, the ransomware payload 1.exe was corrupted and could not be recovered. I extracted the following IOCs after analyzing umhac.exe :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*dSbnfiho-vy5ajYlLj8_yA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22ab2e213a82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Qilin Ransomware real case investigation]]></title>
            <link>https://medium.com/@mahfoudhifatma87/qilin-ransomware-real-case-investigation-39d341c2ec34?source=rss-5194a0c920fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/39d341c2ec34</guid>
            <dc:creator><![CDATA[Fatma MAHFOUDHI]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 08:56:08 GMT</pubDate>
            <atom:updated>2026-02-27T07:32:07.805Z</atom:updated>
            <content:encoded><![CDATA[<p><em>I analyzed a Windows 11 system compromised by </em><strong><em>Qilin ransomware</em></strong><em>. The investigation uncovered key behaviors illustrating how Qilin maintains persistence, evades detection, and disrupts system operations.</em></p><p><em>This article outlines the main findings from this case study, detailing the techniques Qilin used and the artifacts it left on the affected system.</em></p><p><strong><em>1- Persistence techniques:</em></strong></p><p><em>During the preliminary analysis of the compromised machine, a major indicator of compromise (IoC) was identified: a suspicious executable named </em><strong><em>“1.exe”</em></strong><em>. This file was set up to run automatically every time the user logged in, using multiple persistence mechanisms:</em></p><ul><li><em>A </em><strong><em>registry key </em></strong><em>named </em><strong><em>“gcjpid”</em></strong><em> was added under the automatic startup path (</em><strong><em>CurrentVersion\Run</em></strong><em>) to execute the program at every system start.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ovpfm1wpXegIGp-lvtbw0A.png" /></figure><ul><li><em>A </em><strong><em>scheduled task</em></strong><em> was configured to run the file at each user login.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dyLPUowp_DIClXvL3urJNA.png" /></figure><p><strong><em>2- Anti-Forensics Techniques</em></strong></p><p><em>Windows event logs are usually the first place a DFIR analyst looks for evidence. However, in this case, the logs were cleared during the attack, hiding Qilin’s activity and making the investigation more challenging.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R74I0V6q-e-DuVI8NMYyCw.png" /></figure><p><strong><em>3- Tracing Execution Through Prefetch</em></strong></p><p><em>Prefetch artifacts provided valuable insight into the attacker’s activity. In this case, </em><strong><em>curl.exe</em></strong><em> was used to download the malicious binary “</em><strong><em>1.exe”</em></strong><em> onto the compromised system. Also, an additional payload, “</em><strong><em>umhAC.exe”</em></strong><em>, was executed from the </em><strong><em>TEMP</em></strong><em> directory, suggesting the deployment of a secondary malicious component during the intrusion.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*gYzSsF35mlXxnoL24kCg6w.png" /></figure><p><em>Several other processes were executed, including </em><strong><em>netscan, ping, PowerShell, vssvc, fsutil, and RDP</em></strong><em>, indicating network reconnaissance, command execution, and backup manipulation, typical steps in a ransomware attack chain.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*UlCF_6SK5qpGVa0ZcPeNAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*0y8KM_fffMj7zSoqZ13pJA.png" /></figure><p><strong><em>4- Windows Defender Findings</em></strong></p><p>Windows Defender successfully detected and quarantined the file “<strong>umhAC.exe”</strong>, which was classified as a Meterpreter payload. In addition, Defender detected the file “<strong>1.exe”</strong> and classified it as belonging to the <strong>Qilin ransomware family</strong>. However, the remediation process was reported as <strong>incomplete</strong>, indicating that the malware was not fully neutralized. This observation suggests that attackers can bypass Windows Defender antivirus protections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wo38UGWzm7TKJhkMvl_WeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9lMCQsWO7jWBZ8YX_gAuDg.png" /><figcaption>Defender detection results</figcaption></figure><p><strong><em>5- MFT table analysis</em></strong></p><p>The <strong>Master File Table (MFT)</strong> is one of the most critical artifacts in forensic investigations, as it provides detailed information about every file created on the system. After parsing the MFT, several <strong>indicators of compromise (IOCs)</strong> were identified. One of the most significant findings was the creation of a large number of files in the <strong>TMP directory</strong> during the attack timeframe. These files, named <strong>ThreadId(xx)</strong>, totaling <strong>375</strong>, were located in the <strong>QLOG folder </strong>(I think the name is for Qilin log)<strong> </strong>and appear to represent logs or sequential steps of the attack process. This behavior will be further analyzed in a second article, available at the following URL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*X3lmfPym57kqS0mrwuT--A.png" /><figcaption>MFT findings</figcaption></figure><p><strong><em>6- payload analysis</em></strong></p><p>The payload <strong>umhAC.exe</strong> was retrieved from the Microsoft Defender quarantine directory for further analysis. In addition, the ransomware payload <strong>1.exe</strong> was also collected; however, this file was partially corrupted. The analysis conducted using <strong>VirusTotal</strong> classified <em>umhAC.exe</em> as a <strong>Trojan</strong> by multiple antivirus engines. Furthermore, VirusTotal provided a list of IP addresses associated with this payload, indicating <strong>Command-and-Control (C2) communication activity </strong>(listed in the Ioc section).</p><p>VirusTotal Results: <a href="https://www.virustotal.com/gui/file/69a59bca9e5cb248421a54125eb52afb4df896c37174ef831271584a68e69a54/detection">https://www.virustotal.com/gui/file/69a59bca9e5cb248421a54125eb52afb4df896c37174ef831271584a68e69a54/detection</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*NawM9XBiLpNEtkMr055UOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*afD3VjhUtBuyGOkYkLejug.png" /></figure><p><strong><em>7- Indicators of Compromise (IOCs)</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*dSbnfiho-vy5ajYlLj8_yA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39d341c2ec34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Digital Forensics: Investigating Artifacts, Traces, and Hidden Evidence]]></title>
            <link>https://medium.com/@mahfoudhifatma87/windows-digital-forensics-investigating-artifacts-traces-and-hidden-evidence-65c30cf70532?source=rss-5194a0c920fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/65c30cf70532</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[investigation]]></category>
            <dc:creator><![CDATA[Fatma MAHFOUDHI]]></dc:creator>
            <pubDate>Sun, 23 Mar 2025 12:17:37 GMT</pubDate>
            <atom:updated>2025-03-28T11:12:07.123Z</atom:updated>
            <content:encoded><![CDATA[<p>This article highlights essential yet often overlooked Windows artifacts that an investigator should always remember to examine during a forensic analysis. Triage data acquisition with FTK-Imager.</p><p><strong>1-</strong> <strong>MFT:</strong></p><p>The master file table because it holds an index of every file and folder on the system</p><ul><li>PATH: C:\$MFT</li><li>MFT parser Tool: <strong>MFTECmd (Eric Zimmerman’s Tool)</strong></li></ul><p><strong>2-</strong> <strong>Usn Jouranl</strong></p><p>It records all changes made to files and directories on a system, even when files have been deleted or are no longer visible to the user.</p><ul><li>PATH: $Extend\$UsnJrnl</li><li>Tools for parsing: <strong>MFTECmd (Eric Zimmerman’s Tool)</strong></li></ul><p><strong>3-</strong> <strong>Windows user registry hives</strong></p><ul><li><strong>NTUSER.dat</strong>: This hive can reveal details about user activities, such as recently accessed files, typed URLs, and executed commands.</li><li>PATH: %UserProfile%\<strong>NTUSER.DAT</strong></li><li><strong>UserClass.dat</strong>: This file stores user-specific registry settings related to application execution history and recently accessed locations.</li><li>PATH: %UserProfile%\Appdata\Local\Microsoft\Windows\<strong>UserClass.dat</strong></li><li>Tools for analysis<strong>: Registry Explorer (Eric Zimmerman’s Tool), RegRipper</strong></li></ul><p><strong>4-</strong> <strong>Amcache.hve</strong></p><p>This file&#39;s forensic value lies in its ability to store <strong>file hashes</strong>. Investigators can retrieve a file&#39;s hash even after it has been deleted from the system.</p><ul><li>PATH: C:\Windows\AppCompat\Programs\Amcache.hve</li><li>Tools for parsing: <strong>AmcacheParser tool</strong> <strong>(Eric Zimmerman’s Tool)</strong></li></ul><p><strong>5-</strong> <strong>Windows system resource usage monitor</strong></p><p>It provides real-time data about the system’s performance and resource consumption, such as CPU, memory, disk, and network usage. In digital forensics, monitoring these resources can help identify suspicious or anomalous behavior, such as processes consuming excessive resources or unusual network activity.</p><ul><li>PATH: C:\Windows\System32\sru\<strong>SRUDB.dat</strong></li><li>Tools for parsing: <strong>SrumECmd</strong> <strong>(Eric Zimmerman’s Tool)</strong></li></ul><p><strong>6-</strong> <strong>Prefetch</strong></p><p>Track the execution history of programs and processes on a Windows system.</p><ul><li>PATH: %windir%\Prefetch</li><li>Tools for parsing: <strong>WinPrefetchView</strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65c30cf70532" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>