VMs & their host

Get the latest on wired & wireless, talk network setups, get help with connectivity problems, web hosts, etc.

VMs & their host

Postby Poochlookers » Tue Mar 03, 2015 7:06 pm

Quick question about VMs

When a VM accesses the internet through the host what information about the host is exposed\revealed ?

What if the VM accesses the internet through a network interface by itself ( a USB wifi adaptor) ?

What about a VPN connection on the VM itself ?

What would be the best way to have a VM connect to the internet while exposing the host little as possible.

I ask my questions because I am trying to decide whether to "explore and learn" from a VM hosted on a machine I use for personal matters or whether to have a completely separate machine dedicated to this purpose.

Thanks in advance for the help.
Poochlookers
n00b
 
Posts: 3
Joined: Thu Feb 05, 2015 10:02 pm

Re: VMs & their host

Postby Cool_Fire » Wed Mar 04, 2015 3:35 am

Quick question about VMs
There seems to be more than one question, but I'll allow it. =p
When a VM accesses the internet through the host what information about the host is exposed\revealed ?
Normally it's either NAT'ed or given a virtual interface, which essentially makes the host machine the router/switch. This means something like tcpdump can view all packets. Encrypted traffic is still encrypted of course, but you can view destination addresses and ports at the very least. Also DNS requests are usually not encrypted.
vWhat if the VM accesses the internet through a network interface by itself ( a USB wifi adaptor) ?
The USB connection can also be sniffed, but it makes the process harder. Either way the physical network adapter assigned to the VM still needs to connect to a network so you'd really just be moving the problem from the VM host to the next network device.
What about a VPN connection on the VM itself ?
Usually a pretty good option for a full virtual machine. Not always an option on a container based VM.
What would be the best way to have a VM connect to the internet while exposing the host little as possible.
Same things that work well anywhere. TOR, tunnels, VPN, whatever you have available. TOR and ssh tunnels usually have the advantage of not requiring special privileges to be used. So even on container based VMs they should work fine.
I ask my questions because I am trying to decide whether to "explore and learn" from a VM hosted on a machine I use for personal matters or whether to have a completely separate machine dedicated to this purpose.
A VM should be fine. The precautions you should take don't really change much.
Thanks in advance for the help.
You're welcome.
If we're breaking the rules, then how come you can't catch us? You can't find us? I know why. Cause, it's ... MAGIC!
Hackerthreads chat, where the party is going 24/7.
User avatar
Cool_Fire
Not a sandwich
 
Posts: 1880
Joined: Fri May 09, 2003 1:20 pm
ICQ: 336613081
Website: https://www.insomnia247.nl/
Yahoo Messenger: cool_fire_666
AOL: EvilCoolFire
Location: 41 6d 73 74 65 72 64 61 6d

Re: VMs & their host

Postby Poochlookers » Wed Mar 04, 2015 11:51 pm

Thanks for the solid information, it is greatly apreciated,
Poochlookers
n00b
 
Posts: 3
Joined: Thu Feb 05, 2015 10:02 pm


Return to ā€œ%sā€ Internet & Networking

Who is online

Users browsing this forum: No registered users and 0 guests

cron