[libvirt-users] Read-only Guests for Anti-Forensics

Peter Krempa pkrempa at redhat.com
Tue Jun 26 06:22:47 UTC 2018


On Sun, Jun 24, 2018 at 23:29:13 +0000, procmem wrote:
> Hello. I'm interested in running guests as read-only to turn them into a
> sort of virtualized "live=cd". The goal is to leave no forensic evidence
> on the host disk or virtual one which would lead to traces on the host
> still- similar to how TAILS works but with the added convenince and
> flexibility of running in a VM. If I set the qcow image to read-only as
> per the manual, will any changes made during a session be written to
> disk (or a transient file on disk)?

Filesystems such as ext4 require write access to the device so they can
play back the journal when mounting. This means that you have to allow
writes.

If you want to be sure that the writes don't touch any image, you need
to create a overlay qcow2 image which will catch the writes and dispose
it after the VM is turned off.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180626/cd05e1db/attachment.sig>


More information about the libvirt-users mailing list