New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forensics-proof DisposableVMs #1819

Closed
Rudd-O opened this Issue Mar 7, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@Rudd-O

Rudd-O commented Mar 7, 2016

This is a feature request.

User requests DisposableVM via UX interacton.

dom0 script in charge of DisposableVM setup sets up the root file system as a device-mapper device. Then it sets up the swap device and the home directory device in the following manner:

  • do the exact same thing being done right now to create the block devices
  • generate cryptographically secure random key, 256 bits of entropy; this program must mlockall() to prevent that data being swapped
  • luksFormat and luksOpen those devices using the secure random key (which will be held in RAM and will never be swapped to disk); check that the assumption holds that invocation of these programs won't leak to swap
  • make the filesystems and swap devices atop those block devices

(To be honest, the swap devices of all VMs should be made atop that).

Teardown of devices is the exact opposite -- once the VM is dead, the devices must be luksClosed and then luksWiped.

Presto correcto mundo — unrecoverable devices associated with DisposableVMs, so long as the user does not write to anything other than /home.

This should not be too much of a complication compared to DisposableVM setup today.

@bnvk

This comment has been minimized.

Show comment
Hide comment
@bnvk

bnvk Mar 8, 2016

This seems like a duplicate of #904

bnvk commented Mar 8, 2016

This seems like a duplicate of #904

@Rudd-O

This comment has been minimized.

Show comment
Hide comment
@Rudd-O

Rudd-O Mar 8, 2016

Yes, close as dupe please.

Rudd-O commented Mar 8, 2016

Yes, close as dupe please.

@marmarek marmarek added the duplicate label Mar 8, 2016

@marmarek marmarek closed this Mar 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment