Windows: Indirect execution of pcwrun.exe using path traversal-style command line content

Detects pcwrun.exe spawning with '../' in the command line, indicating potential indirect execution abuse.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-06-13
Updated
2026-07-31
title: "Windows: Indirect execution of pcwrun.exe using path traversal-style command line content"
id: 0fd819ba-dd2e-4457-b377-66c29671dd02
status: test
description: This rule identifies process creation where the executable name ends with pcwrun.exe and the command line contains '../', indicating indirect or crafted execution behavior. Attackers may abuse Program Compatibility Assistant components to execute actions through unexpected command-line arguments. Telemetry relies on Windows process creation events capturing the image path and full command line.
references:
  - https://twitter.com/nas_bench/status/1535663791362519040
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_lolbin_pcwrun_follina.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-06-13
tags:
  - attack.stealth
  - attack.t1218
  - attack.execution
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith: \pcwrun.exe
    CommandLine|contains: ../
  condition: selection
falsepositives:
  - Unlikely
level: high
license: DRL-1.1
related:
  - id: 6004abd0-afa4-4557-ba90-49d172e0a299
    type: derived