Command running with COMSPEC in the command line argument

Cortex XDR Analytics Alert Reference by Alert name

Product
Cortex XDR
Last date published
2024-06-04
Category
Analytics Alert Reference
Order
Alert name

Synopsis

Activation Period

14 Days

Training Period

30 Days

Test Period

N/A (single event)

Deduplication Period

1 Day

Required Data

  • Requires:
    • XDR Agent

Detection Modules

ATT&CK Tactic

Execution (TA0002)

ATT&CK Technique

Command and Scripting Interpreter: Windows Command Shell (T1059.003)

Severity

Low

Description

COMSPEC is an environmental variable that points to cmd.exe. Attackers may use this command to obfuscate their command and avoid detection.

Attacker's Goals

Attackers might use environment variables to try and avoid being detected and obfuscate their commands.

Investigative actions

Investigate the actor and the command line that executed with COMSPEC Verify that the command executed from a trusted source.