IT Forensics · Linux
Forensic analysis of OverlayFS – Correctly analysing layered file systems
OverlayFS combines multiple directory layers into a single file system that is transparent to applications. It is frequently used by container runtime environments such as Docker, as well as by live Linux systems.
For forensic analysis, the distinction between the immutable lower layer and the writable upper layer is crucial, as only the upper layer contains the changes made during runtime.
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
We identify the OverlayFS layers involved, separate lower- and upper-layer content, and specifically analyse the changes made to the upper layer during runtime.
Typical areas of application
This is how an OverlayFS analysis works
Once the backup has been completed, the layer structure of the OverlayFS mount is first determined. The lower and upper layers are analysed separately, with the focus on the changes made during runtime that are contained within the upper layer. The results are correlated with the respective container or system context.
Why is the OverlayFS analysis relevant from a forensic perspective?
Container and live systems use OverlayFS to leave base images unchanged and to record runtime changes separately. These runtime changes are often of key interest in forensic investigations.
If the layer structure is not taken into account correctly, base image content may be mistakenly interpreted as runtime-specific changes, or vice versa. Careful separation is therefore essential.
Frequently Asked Questions
LanCologne – Linux Forensics Cologne
Do you require a professional forensic investigation into „forensic analysis of OverlayFS"? 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 analysis of partition tables (GPT/MBR) under Linux – Reconstructing the basic disk structure
- Forensic classification of deleted files on Btrfs and XFS – specifically taking into account the differences compared to ext4
- Forensic analysis of encrypted LVM volumes – handling LUKS and LVM correctly in combination
- Forensic acquisition of encrypted LUKS volumes