WSL and SSL decryption

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WSL and SSL decryption

L0 Member

Hi guys. We have a number of developers that use Windows Subsystem for Linux (WSL) on their Windows clients, and there are a lot of URLs and services that will not work when we decrypt the traffic. Managing a decryption exclude list for them would be a major pain, so I am thinking of ways to fix this. Is there any way to separate WSL sessions from Windows sessions somehow? How do others handle problems like this?

2 REPLIES 2

Cyber Elite
Cyber Elite

@MD-OTL,

In a default WSL install it simply sends traffic out the connected interface, so there's nothing to identify and separate out WSL traffic from the client traffic itself. WSL can be treated just like any other Linux client though, so I would simply make them install the certificate that you're using on your firewall so you can decrypt the traffic appropriately. Then the only exceptions that you're making are the same that you'd be making for any Linux endpoints already in your network.

 

We do this two different ways:

1) If you are smart enough to manage your own WSL instance (and you're a member of a group that actually allows you to install it) than go for it. We aren't making any special exceptions for your WSL instance that wouldn't need to be made otherwise.

2) If you aren't technically inclined enough to setup WSL to meet our requirements (but you are a member of a group that is approved to use WSL) we'll spin you up a managed Linux server for you to use were we directly manage it and it'll already work within the environment. 

@BPry , many thanks for your answer. Unfortunately many of our developer services use client certificates or certificate pinning and are therefore undecryptable. And it seems like our developers change tools and libraries as often as we change underwear. To maintain a do-not-decrypt list would cause frustration for them and a lot of hassle for us. I was hoping WSL maybe had the same option as VMware Workstation, that you can have different IP address for the virtual NIC of WSL and the physical NIC of the Windows client. I will look into it.

  • 2217 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!