Detection rules › Sigma

Windows Binary Executed From WSL

Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects the execution of Windows binaries from within a WSL instance. This could be used to masquerade parent-child relationships

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1202 Indirect Command Execution

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: selection

CurrentDirectory|contains: '\\\\wsl.localhost'
Image|re: '[a-zA-Z]:\\'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CurrentDirectorymatch
  • \\\\wsl.localhost
Imageregex_match
  • [a-zA-Z]:\\