This question already has an answer here:
- Is it safe to install malware in a VM 7 answers
You want to look at some viruses, so you use something like VirtualBox to create a sandbox environment. But what if we change that environment a lot? What if we do:
STEP ONE: Create a bootable flash drive/hard drive with a Linux distro on it, denied the bootable flash drive/hard drive permission to access the main hard drive, and denied the main hard drive access to the bootable flash drive/hard drive. In other words, don't let the main installed hard drive and the bootable to talk and write to each other.
STEP TWO: install VirtualBox and create a sandbox with it in the Linux distro on the bootable flash drive/hard drive and don't connect it to the network at all.
Is this a safe way to run a virus to analyze it? It like a OS in a virtual machine in a OS in a bootable flash drive/hard drive in your computer? Will it work because the bootable device will be cleared when rebooted?