Launch-VsDevShell.PS1 Proxy Execution


Description

Detects the use of the 'Launch-VsDevShell.ps1' Microsoft signed script to execute commands.

Query · sigma

selection_script:
  CommandLine|contains: Launch-VsDevShell.ps1
selection_flags:
  CommandLine|contains:
  - 'VsWherePath '
  - 'VsInstallationPath '
condition: all of selection_*

Known false positives

  • Legitimate usage of the script by a developer
Raw source Launch-VsDevShell.PS1 Proxy Execution · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: Launch-VsDevShell.PS1 Proxy Execution
id: 45d3a03d-f441-458c-8883-df101a3bb146
status: test
description: Detects the use of the 'Launch-VsDevShell.ps1' Microsoft signed script to execute commands.
references:
    - https://twitter.com/nas_bench/status/1535981653239255040
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-19
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:
    - Legitimate usage of the script by a developer
level: medium

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.