Skip to main content
Mallory
← Back to News
endpoint-security-bypasspersistence-methoddefense-evasion-methodendpoint-software-vulnerability

Attackers Abuse Windows Subsystem for Linux 2 (WSL2) as a Stealth Execution Environment

Attack Tradecraft · 2 sources · Updated 5mo ago · First seen Jan 21, 2026

Attackers Abuse Windows Subsystem for Linux 2 (WSL2) as a Stealth Execution Environment

SpecterOps research highlighted that Windows Subsystem for Linux 2 (WSL2) can be abused as a stealthy execution and persistence layer on Windows endpoints because each WSL2 distribution runs as its own Hyper-V VM with a separate Linux filesystem and processes. Attackers can inject a beacon object file into an installed WSL2 distro to execute arbitrary commands, read files, and pivot into a Linux environment while many endpoint tools primarily observe only a short-lived wsl.exe process on the Windows side. The research also noted that the $WSL share and in-guest activity may not be scanned or instrumented by multiple security products, degrading common alerting rules and enabling longer dwell time and harder incident investigations.

Operationally, this tradecraft allows intruders to run Linux utilities “out of sight” of traditional Windows-focused telemetry, potentially supporting internal reconnaissance, lateral movement, credential access, and data staging from within the WSL2 guest while maintaining access to corporate resources. The reporting recommends expanding defensive coverage to include WSL2 activity monitoring and logging (beyond wsl.exe process starts) to reduce blind spots created by the Windows/Linux boundary and to improve detection of malicious tooling and persistence inside WSL2 distributions.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Jan 19, 2026
  1. Jan 19, 202610mo ago

    Researchers warn WSL2 visibility gaps enable evasion and lateral movement

    The research highlighted that many security tools only capture the initial wsl.exe launch and may not inspect activity inside the Linux guest or the $WSL share. This gap can allow attackers to use Linux tools for credential theft, data staging, and lateral movement while increasing dwell time and complicating incident response.

  2. Jan 19, 202610mo ago

    SpecterOps documents WSL2 abuse as a stealthy post-compromise environment

    SpecterOps researchers reported that attackers can abuse Windows Subsystem for Linux 2 as a low-visibility execution environment on Windows systems. They showed that a beacon object file could run arbitrary commands, access files in installed WSL2 distributions, and help intruders evade many Windows-focused security controls.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Windows
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.