Suspicious Wscript Shell Run In CommandLine (via process_creation)

This rule detects the presence of the keywords "Wscript", "Shell" and "Run" in the command, which could indicate an anomalous behavior

SigmamediumWindowsv1
sigma
title: Suspicious Wscript Shell Run In CommandLine (via process_creation)
id: 2a9e93c5-0728-5c64-8029-a5666ab34999
status: stable
description: This rule detects the presence of the keywords "Wscript", "Shell" and "Run" in the command, which could indicate an anomalous behavior
references:
    - https://attack.mitre.org/techniques/T1059/
    - https://web.archive.org/web/20220830122045/http://blog.talosintelligence.com/2022/08/modernloader-delivers-multiple-stealers.html
    - https://blog.talosintelligence.com/modernloader-delivers-multiple-stealers-cryptominers-and-rats/
author: Huntrule Team
date: 2026-05-29
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - 'Wscript.'
            - '.Shell'
            - '.Run'
    condition: 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.