Potential WSL InstallLocation Registry Key Modification
Detects modifications to the Windows Subsystem for Linux (WSL) InstallLocation registry key. Attackers can modify this registry key to redirect the execution flow of legitimate WSL processes (wsl.exe or bash.exe) to…
Description
Detects modifications to the Windows Subsystem for Linux (WSL) InstallLocation registry key. Attackers can modify this registry key to redirect the execution flow of legitimate WSL processes (wsl.exe or bash.exe) to a malicious payload, acting as a proxy execution and defense evasion technique.
Detection logic
Detection requirements
- Platform
- LinuxmacOSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source product
- windows
- Log source category
- registry_set
Known benign triggers
- Unlikely
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| blog.qualys.com/vulnerabilities-threat-research/2022/04/20/implications-of-windows-subsystem-for-linux-for-adversaries-defenders-part-2 | 5 |
| cardinalops.com/blog/bash-and-switch-hijacking-via-windows-subsystem-for-linux/ | 5 |
| learn.microsoft.com/en-us/windows/wsl/ | 5 |
| thehackernews.com/2021/09/new-malware-targets-windows-subsystem.html | 5 |
| www.bleepingcomputer.com/news/security/new-malware-uses-windows-subsystem-for-linux-for-stealthy-attacks/ | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- 83475063-b1c8-4774-9568-69bbda71a539
- Tagged by the source as
- attack.defense-impairmentattack.persistenceattack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Oct 3, 2026
- Version
- 1