Friday, October 2, 2020

New Hyper-V integration in WSL 2 leads to traffic leaking




More precisely, this prevents even the Always require VPN security feature from working as it should, which raises concerns among users thinking of Internet traffic leaks.


However, others are aware of what WSL 2 means and aren’t that worried. Here’s what one user said:


WSL 2 is another OS, running with Windows, not on top of it. It’s a level 1 hypervisor. It isn’t subject to the same network restrictions as Windows.


How does the WSL 2 leak take place?


Internet traffic


Unlike the first version of the Windows Subsystem for Linux (WSL 1), WSL 2 uses Hyper-V virtual networking. That’s the root of the issue under discussion.


WSL 1 is based on a Linux-compatible kernel. Fortunately, this one translates Linux system into calls that are perfectly compatible with the Windows NT kernel.



Therefore, any network traffic is filtered through the Windows Advanced Firewall. However, WSL 2 functions on a true Linux kernel operating in a Hyper-V virtual machine.


This involves a Hyper-V virtual network adapter and all traffic is going out the default route of the host machine. This happens without being inspected by the usual layers of WFP.


This turns into an issue since WSL 2 distributions can support multiple Linux applications, including server implementations.


That’s why it isn’t necessarily unusual to be considered an independent operating system that cannot rely on the Windows Firewall.


Thank you for viewing the article, if you find it interesting, you can support us by buying at the link:: https://officerambo.com/shop/

No comments:

Post a Comment