For the complete documentation index, see llms.txt. This page is also available as Markdown.

Command running with COMSPEC in the command line argument

Synopsis

Field
Value

Activation Period

14 Days

Training Period

30 Days

Test Period

N/A (single event)

Deduplication Period

1 Day

Required Data

XDR Agent

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.

Was this helpful?