Suspicious Execution of Launch-VsDevShell.PS1 Proxy (via process_creation)

This rule detects the use of the 'Launch-VsDevShell.ps1' Microsoft signed script to execute commands.

SigmamediumWindowsv1
sigma
title: Suspicious Execution of Launch-VsDevShell.PS1 Proxy (via process_creation)
id: bd5eeb4b-c852-5494-ae41-02d4002138a8
status: stable
description: This rule detects the use of the 'Launch-VsDevShell.ps1' Microsoft signed script to execute commands.
references:
    - https://attack.mitre.org/techniques/T1216/001/
    - https://twitter.com/nas_bench/status/1535981653239255040
author: Huntrule Team
date: 2026-04-18
tags:
    - attack.stealth
    - attack.t1216.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_script:
        CommandLine|contains: 'Launch-VsDevShell.ps1'
    selection_flags:
        CommandLine|contains:
            - 'VsWherePath '
            - 'VsInstallationPath '
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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