Windows VM + VPN

Discussion in 'Software' started by PaulJG, 7 Jun 2017.

  1. PaulJG

    PaulJG Minimodder

    Joined:
    20 Mar 2009
    Posts:
    136
    Likes Received:
    7
    Hi Guys, probably a daft question - but if your running a VPN on a VM, is it actually working as intended? - or is it just emulated in some way?

    I mean if your sharing the one network connection with your desktop and vm, how could it work? - one part is normal connection, the other the VPN connection. Guess its the same as running a SFTP on a VM.. is the connection actually encrypted if one half of the connection is unencrypted???
     
  2. Zoon

    Zoon Hunting Wabbits since the 80s

    Joined:
    12 Mar 2001
    Posts:
    5,497
    Likes Received:
    630
    The connection is encrypted from the VPN concentrator to the endpoint. It's quite possible for an endpoint to become rogue via another vector including viruses, root kits, lack of encryption and so on.

    That's why host posture and DLP/disk encryption is a massive topic in IT Security right now.
     
  3. Ramble

    Ramble Ginger Nut

    Joined:
    5 Dec 2005
    Posts:
    5,596
    Likes Received:
    42
    Inside the VM? The all the traffic originating from and going to the VM will be going through your VPN and will be encrypted (ignoring issues like DNS leaks, I assume you've set it up correctly). The rest of the traffic from your desktop will be as normal.

    Yes the VM traffic is encrypted even if your desktop traffic is not.
     
  4. Edwards

    Edwards Minimodder

    Joined:
    8 Oct 2010
    Posts:
    835
    Likes Received:
    54
    You should be able to test this. Connect to a http (i.e. non-encrypted traffic) website on the VM, while running a network trace using something like fiddler on your host pc and see what information you can glean from the packets. While not on the VPN, you should be able to see a fair amount, and then hook in to your VPN and you should be blind.
     
  5. Lorenzmoll

    Lorenzmoll What's a Dremel?

    Joined:
    29 May 2017
    Posts:
    15
    Likes Received:
    1
    If you are running it inside the VM, the data should be encrypted. I did something similiar last month and it worked perfectly.
     

Share This Page