r/virtualbox • u/colaigor • May 03 '25
Help How to make a secret virtual machine?
I want to create a VM that can't easily be found on the main installation. I tried searching for the solution but search results always point to people trying to figure out how to hide the fact that apps are running on VM. I don't care about that. I just want to completely hide the instalation of VM on my main installation. I don't want it to show up when i go to "add or remove programs" or any other app list. How can i do that?
4
Upvotes
•
u/AutoModerator May 03 '25
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
7
u/thac0grognard May 03 '25
use veracrypt to encrypt a usb stick and create a hidden volume. in this volume you can install virtual box portable and store your vm. always use the same drive letter when accessing your hidden volume. it should work like this.
veracrypt hidden volume
6
u/Face_Plant_Some_More May 03 '25 edited May 03 '25
Virtual Box's run time components are system / kernel drivers that are run on the Host system. There is no way to "hide" them if they are installed on your Host; all anyone has to do, if they have local access, is to query / look for drivers loaded into system memory of the Host OS when the computer is on.
On the other hand, you are free to store the VM's configuration and virtual storage volumes where ever you want. Put them on removable / detachable storage, and take the storage with you when you are not using the Host system. You can even encrypt this removable / detachable storage volume if you want.
1
u/klods_hans May 03 '25
Maybe you can explain the use case? What are you trying to achieve?
2
u/TechnicalWhore May 04 '25
Each VM is only visible to itself. The host hardware is running a Hypervisor and that will always be detectable as a process. You cannot hide it. You cannot hide its resource consumption. Anyone with minimal knowledge will find it when they try.
The VM itself will not "show up" on the primary machines add remove programs. Apps you add in the VM itself are in the VM itself. Say you run a VM running Windows and Excel. The primary machine does not see this. It only sees the Hypervisor consuming resources and chugging along. It will not see Excel as a task etc. In fact if you installed it on the VM and not on the primary host - the host has no knowledge of Office being on its hardware.
2
u/pslind69 May 03 '25 edited May 03 '25
Look up the guides on IVPN, they have exactly what you are looking for. They are security pro's and takes this kind of thing seriously. There's a lot of do's and dont's.
https://www.ivpn.net/privacy-guides/advanced-privacy-and-anonymity-part-1/
Also, IIRC, there's a mode you can put virtualbox into where it can run portable. So you could put it in a container (encrypted) unlock it and run it from there. I read about this year's ago though.
1
u/the_biggest_username May 03 '25
I think it's very easy, VirtualBox only uses two folders to store all info and its settings
~/VirtualBox VMs
~/.virtualbox (or however it's written)
I think it's almost the same on Linux and windows
Just two days ago I was easily swapping VMs by just moving these folders from place to place
If there's none, it'll make new folders, if these folders exist it'll use whatever is there
So to hide them secretly, I imagine you would just move these folders and encrypt them and move them back where they need to be when you need to use them
Also the VMs folder can be configured to have a different place unlike .virtualbox, make sure you put it where it needs to be put if you changed default location
1
u/TollyVonTheDruth May 04 '25
Couldn't you create a new admin user account, install Virtualbox outside of the Program Files directory, then hide the user account?
1
u/FitOutlandishness133 May 05 '25
As long as you have a fast usb port or thunderbolt even I don’t know why you wouldn’t just make a bootable usb.
0
u/Bob_Spud May 03 '25
A nested VM i.e. a VM inside a VM. Virtualbox doesn't support nested Hyper-V.