Windows: Explorer opened from cmd.exe/powershell using shell:MyComputerFolder shortcut

Flags explorer.exe opened for My Computer via shell:mycomputerfolder when started by cmd or PowerShell.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
@Kostastsale (SigmaHQ), DRL 1.1
Published
2022-12-22
Updated
2026-07-31
title: "Windows: Explorer opened from cmd.exe/powershell using shell:MyComputerFolder shortcut"
id: 10404a32-249d-46bc-ac4d-868b6efe7358
status: test
description: This rule identifies process creation where cmd.exe, PowerShell (powershell.exe/pwsh.exe) spawns explorer.exe with a command line containing 'shell:mycomputerfolder', indicating the local “My Computer” folder is opened via a shell URI. Attackers can use this kind of built-in shell invocation to quickly reach discovery-related UI destinations or blend into normal user activity. Telemetry relies on Windows process creation events with parent process image, child process image, and the child process command line.
author: "@Kostastsale, Huntrule Team"
references:
  - https://ss64.com/nt/shell.html
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_explorer_folder_shortcut_via_shell_binary.yml
date: 2022-12-22
modified: 2024-08-23
tags:
  - attack.discovery
  - attack.t1135
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    ParentImage|endswith:
      - \cmd.exe
      - \powershell.exe
      - \pwsh.exe
    Image|endswith: \explorer.exe
    CommandLine|contains: shell:mycomputerfolder
  condition: selection
falsepositives:
  - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_explorer_folder_shortcut_via_shell_binary/info.yml
license: DRL-1.1
related:
  - id: c3d76afc-93df-461e-8e67-9b2bad3f2ac4
    type: derived