How to sandboxed VirtualBox? AppArmor is preference.
Huh?? You want to sandbox a VM which, from the point of view of VM Client, is a sandbox anyway?
- OK, so you want to sandbox a VM anyway – for Linux there’s Seccomp, cgroups and Linux namespaces …
For usage examples, please inspect Systemd, Google Chrome, Firefox and, Firejail.
Scared of malwares escape from VM and access my password file or other.
If you execute an Internet search for “malware escape from VM access password file” you’ll be presented with some StackExchange and Reddit articles related to VM vulnerability …
- Your search may well also, find some VMware articles around this issue.
Bottom line –
- Disable shared access.
- Disable virtual network adapters.
- Make sure that, your host operating system and host hardware (UEFI/BIOS) are up-to-date.
If you’re really worried, there’s this attack via a VM – <Naked Security – Sophos News.