Tmpfs
Tmpfs (temporary file system) is a Linux file system whose contents reside only in memory. This means that files and directories inside of tmpfs mounts are never written to the local disk, so that once a tmpfs mount is unmounted, the entire file system is wiped. The data being wiped may have interesting data if you can capture it before the system is shut down.
On some Linux distributions, the /tmp is mounted directly as tmpfs, so only by capturing tmpfs will you be able to get what was in /tmp. Linux also uses tmpfs to implement shared memory through /dev/shm. More sophisticated attackers can use tmpfs to download mali-cious files and use tmpfs as a staging area.
You can find out more about tmpfs at:
https://www.kernel.org/doc/html/latest/filesystems/tmpfs.html ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access