Jump to content

Is using a Virtual Machine safe?

Go to solution Solved by NelizMastr,

Just having a Kali VM won't get you hacked. That's nonsense. Unless you put the VM in the DMZ of your network, you won't be open to all kinds of attacks. If your PC only has 3GB of RAM, I wouldn't even consider running a VM. Your entire system will become unusable once all memory is used as it'll start swapping between disk and RAM on and off. Keep in mind RAM is 300-500x faster than a harddisk.

I am learning Ethical Hacking from Youtube and was going to install Kali Linux OS on a Virtual Machine through VirtualBox, but my brother and everyone are scared that me doing so will cause the computer to get hacked or damaged if my virtual machine gets hacked. I want to know that if my Virtual machine does get hacked does it affect my real machine?

Also I wanted to know how VirtualBox allocated RAM to Virtual Machine because I checked my RAM after setting up with the first step my main PC is still showing my original RAM i.e. 3GB and can I move the slider completely to 3GB for my Virtual Machine too and what effect does it have on my actual main machine?

Link to comment
https://linustechtips.com/topic/931568-is-using-a-virtual-machine-safe/
Share on other sites

Link to post
Share on other sites

Just having a Kali VM won't get you hacked. That's nonsense. Unless you put the VM in the DMZ of your network, you won't be open to all kinds of attacks. If your PC only has 3GB of RAM, I wouldn't even consider running a VM. Your entire system will become unusable once all memory is used as it'll start swapping between disk and RAM on and off. Keep in mind RAM is 300-500x faster than a harddisk.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to post
Share on other sites

50 minutes ago, Meet8939 said:

I am learning Ethical Hacking from Youtube and was going to install Kali Linux OS on a Virtual Machine through VirtualBox, but my brother and everyone are scared that me doing so will cause the computer to get hacked or damaged if my virtual machine gets hacked. I want to know that if my Virtual machine does get hacked does it affect my real machine?

Also I wanted to know how VirtualBox allocated RAM to Virtual Machine because I checked my RAM after setting up with the first step my main PC is still showing my original RAM i.e. 3GB and can I move the slider completely to 3GB for my Virtual Machine too and what effect does it have on my actual main machine?

I personally would question whether you should be trying something like this at all.

 

If you don't understand what a VM is or does maybe it's not such a good idea you start trying to hack anything, ethical or not.

 

Most tutorials teaching things like this assume a certain amount of experience from the user, being able to use and understand a VM would rank very high up the expected experience list.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×