Windows: Launch-VsDevShell.ps1 Proxy Execution via Process Command Line

Detects command-line usage of Launch-VsDevShell.ps1 with Visual Studio path flags on Windows.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-08-19
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags process executions where the command line contains 'Launch-VsDevShell.ps1' and also includes one or more Visual Studio path argument strings such as 'VsWherePath ' or 'VsInstallationPath '. Attackers can leverage this Microsoft signed script as a proxy to prepare an environment and run subsequent commands while blending in with legitimate developer tooling. It relies on Windows process creation telemetry with the full command line to match these script and parameter substrings.

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.