Query Details

Identify endpoints that run WSL

Identify Endpoints Running Wsl

Query

DeviceProcessEvents
| where ActionType has "ProcessCreated"
| where ProcessVersionInfoOriginalFileName has "wsl.exe"
| where ProcessVersionInfoFileDescription has "Windows Subsystem for Linux"
| summarize by DeviceName

About this query

Identify endpoints that run WSL

Description

The following query will identify endpoints running Windows Subsystem for Linux (WSL).

Microsoft Sentinel & Defender XDR

Versioning

VersionDateComments
1.015/06/2024Initial publish

Explanation

This query identifies endpoints that are running Windows Subsystem for Linux (WSL) by looking for processes with the file name "wsl.exe" and description "Windows Subsystem for Linux".

Details

Michalis Michalos profile picture

Michalis Michalos

Released: June 15, 2024

Tables

DeviceProcessEvents

Keywords

DeviceProcessEventsActionTypeProcessCreatedProcessVersionInfoOriginalFileNameProcessVersionInfoFileDescriptionDeviceName

Operators

wherehassummarize

Actions

GitHub