IT Forensics · Linux
Forensic classification of tmpfs and RAM-based file systems – Correctly assessing volatile memory areas
tmpfs and similar RAM-based file systems store data exclusively in main memory in order to speed up access. They are frequently used in Linux for temporary directories such as /tmp or /run.
As tmpfs contents are not, by design, stored persistently, they are lost when the system is shut down or restarted. For forensic analysis, it is therefore often necessary to take a live backup of the system memory whilst the system is still running.
Why LanCologne?
Since its foundation, LanCologne has specialised in professional IT forensics. Our staff have decades of experience in the field of information technology and assist companies, solicitors, private individuals and, on a regular basis, the courts in the technical investigation of complex digital matters.
The examination is, as a matter of principle, carried out exclusively on a forensic copy, a forensic image or a data source captured in a technically equivalent manner that preserves the integrity of the evidence. The original evidence remains unchanged and is stored in a manner that preserves its integrity.
Our services
For systems that are currently running, we examine which forensically relevant data is contained in tmpfs-based directories and back this up as part of a live data collection process, provided that this is technically feasible and has been agreed with the client.
Typical areas of application
This is how the categorisation of tmpfs content works
For a system that is still running, the first step is to check which tmpfs mounts are present and what data they contain. Where technically feasible, relevant areas are backed up as part of a live capture, whilst documenting the unavoidable changes in system state that occur during this process. For systems that have already been shut down, the loss of this data is explained in a technically verifiable manner.
Why is the classification of tmpfs relevant from a forensic perspective?
Many applications and containers use tmpfs for temporary working data, which may be relevant to forensic analysis but is irretrievably lost after a reboot. Understanding this correctly prevents false expectations regarding the recoverability of such data.
If a system is shut down before a backup is taken, any data stored on it may be lost permanently. This underlines the importance of an early, expert assessment.
Frequently Asked Questions
LanCologne – Linux Forensics Cologne
Do you require a professional forensic investigation into „the forensic classification of tmpfs and RAM-based file systems"? LanCologne can assist you with the legally admissible preservation of digital evidence and the traceable analysis of relevant Linux artefacts.
Related to this topic
- Forensic recovery of deleted files on ext4 – possibilities and limitations of reconstruction
- Forensic analysis of the inode structure – using metadata as a key forensic source
- Forensic analysis of extended attributes (xattr) – Additional metadata beyond standard attributes
- Forensic analysis of OverlayFS – Correctly analysing layered file systems