Recovering the filesystem
In addition to retrieving individual files, Volatility provides the ability to recover a portion of the filesystem that was in memory at the time the dump was created. This is made possible precisely because of the large number of metadata stored in the inode
. Filesystem recovery can be done using the linux_recover_filesystem
plugin:
$ vol.py --plugins=profiles -f /mnt/hgfs/flash/ubuntu_11.05.58.lime
--profile=Linuxubuntu_18_04_5_4_0-84-genericx64 linux_recover_filesystem -D /mnt/hgfs/flash/recover_fs/
Note that here we add the -D
option, specifying the directory where we want to save the filesystem to be recovered. In our case, it will be saved in the recover_fs
folder. The result of the plugin will look like this:
Here, you can see the standard directories that have been recovered and also a swapfile
, which is the Linux equivalent of Windows' pagefile
. You can analyze this file in a...