DET-089 · human · confidence Medium

New WSL Distro Registered

Alert when a new Linux environment is installed or imported on a Windows machine that is not a developer endpoint.

A WSL distribution is a complete Linux system on a Windows laptop. Tools inside it can sit outside the visibility of many Windows-focused security products. An insider might install one to run hacking tools or to hold data out of reach.

Track wsl.exe commands with install and import options, and new distro folders under the user profile Packages directory. Imports from local files are more suspicious than Store installs, since they can bring a ready-made environment. Application control can block unapproved use.

Data sources
EDR process eventsAppX deployment logsFile creation events
Platforms
WindowsLinux

Logic

process_creation | where image endswith "wsl.exe" and command_line matches /--(install|import)/ | join asset_role on host | where role != "developer"

False positives

Engineers and data teams install WSL legitimately. Combine with device group to cut volume.

Catches 1 technique