How to Use ESET Hidden File System Reader for Malware Analysis
Advanced malware frequently employs rootkits and hidden storage techniques to conceal malicious payloads, configuration files, and stolen data from the operating system and standard security tools. To counter these evasion tactics, ESET developed the Hidden File System Reader (EHFSReader), a specialized command-line utility designed to detect, dump, and analyze unauthorized hidden disk structures.
This guide demonstrates how to use the ESET Hidden File System Reader to uncover concealed malware components during an incident response investigation. Understanding Hidden File Systems in Malware
Many sophisticated threat actors do not rely on standard NTFS or FAT directory structures to store their files. Instead, they modify the Master Boot Record (MBR), use unallocated disk space, or create raw, unformatted partitions to house a hidden virtual file system.
Because the Windows API relies on standard file system drivers to navigate directories, these hidden areas remain completely invisible to Windows Explorer, standard Command Prompt utilities, and basic antivirus scanners. ESET Hidden File System Reader bypasses the high-level Windows API entirely, performing low-level raw disk parsing to expose these hidden repositories. Prerequisites and Setup
Before deploying the tool, ensure your analysis environment meets the following requirements:
Administrative Privileges: Raw disk access requires elevated permissions. You must run the tool from an Administrator Command Prompt or PowerShell window.
Target Environment: The tool is typically run directly on an infected live system during triage, or against a mounted forensic disk image in a sandbox environment.
Download: Obtain the latest version of EHFSReader.exe directly from the official ESET tools repository or their specialized malware removal pages. Step-by-Step Usage Guide Step 1: Open an Elevated Command Line
Press the Windows Key, type cmd, right-click Command Prompt, and select Run as administrator. Navigate to the directory where you saved the utility: cd C:\Tools\ESET\ Use code with caution. Step 2: Scan for Hidden File Systems
To scan the local storage drives for any anomalous or hidden file systems, execute the tool without any arguments, or explicitly point it to a physical drive. To scan the primary physical drive: EHFSReader.exe PhysicalDrive0 Use code with caution.
The utility will parse the MBR, GUID Partition Table (GPT), and the raw sectors. If a hidden partition or an unauthorized file system (such as an encrypted blob used by a rootkit) is detected, the tool will output the starting sector, total size, and internal directory layout of the hidden zone. Step 3: List the Contents of the Hidden System
If the tool successfully identifies a hidden structure, you can list its contents using the print command. This reveals the file names, sizes, and timestamps assigned by the malware to its hidden payload: EHFSReader.exe PhysicalDrive0 -p Use code with caution.
Note: The specific flags may vary slightly depending on the version of the ESET standalone triage tool package you are utilizing. Always run EHFSReader.exe –help to verify the current flag syntax. Step 4: Extract (Dump) Hidden Files for Analysis
Uncovering the names of hidden files is only the first step; you must extract them to a secure directory to perform static and dynamic analysis. To extract a specific suspicious file from the hidden partition to your local analysis folder, use the extraction syntax:
EHFSReader.exe PhysicalDrive0 -e Use code with caution.
Replace with the exact file name revealed during the listing step. The tool will read the raw sectors, reassemble the file bytes, and write the output safely to your designated analysis folder. Post-Extraction Analysis Steps
Once you have successfully extracted the hidden files using ESET Hidden File System Reader, proceed with standard malware analysis workflows:
Generate Cryptographic Hashes: Run certutil -hashfile C:\Analysis\MalwareDump\suspicious.exe SHA256 to get the file hash, then check it against threat intelligence databases like VirusTotal.
Static Analysis: Load the extracted file into tools like PEstudio, CFF Explorer, or Ghidra to analyze its imports, headers, and embedded strings.
Dynamic Analysis: Execute the payload within a secure, isolated sandbox environment to observe its process behavior, network connections, and registry modifications. Conclusion
The ESET Hidden File System Reader is a powerful asset in a malware analyst’s toolkit, transforming a complex rootkit forensic investigation into a straightforward extraction process. By bypassing OS limitations and reading disk sectors directly, it ensures that hidden threat actors have nowhere left to hide their payloads.
If you want to deepen your forensic investigation, let me know: The operating system version of your target machine
If you suspect a specific malware family (e.g., Glupteba, Equation Group) If you need help analyzing the extracted binary
I can provide tailored commands or specialized analysis steps for your exact scenario.
Leave a Reply