Windows Subsystem for Linux Enabled via Dism Utility

edit

Windows Subsystem for Linux Enabled via Dism Utility

edit

Detects attempts to enable the Windows Subsystem for Linux using Microsoft Dism utility. Adversaries may enable and use WSL for Linux to avoid detection.

Rule type: eql

Rule indices:

  • winlogbeat-*
  • logs-endpoint.events.*
  • logs-windows.*
  • endgame-*

Severity: medium

Risk score: 47

Runs every: 5m

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Defense Evasion
  • Elastic Endgame

Version: 2

Rule authors:

  • Elastic

Rule license: Elastic License v2

Rule query

edit
process where host.os.type == "windows" and event.type : "start" and
 (process.name : "Dism.exe" or process.pe.original_file_name == "DISM.EXE") and
 process.command_line : "*Microsoft-Windows-Subsystem-Linux*"

Framework: MITRE ATT&CKTM