cmd.exe
The classic Windows command-line shell, Command Prompt, which runs batch commands and other programs.
In more detail
Attackers often launch tools through cmd.exe, so it shows up as a parent process in process creation events. A Word or browser process starting cmd.exe is a strong malware indicator.
Related terms
- PowerShell — Microsoft's command-line shell and scripting language, built into Windows and also available on macOS and Linux.
- parent process — The process that started another process; every process except the first records its parent's PID.
- process creation event — A log event recorded each time a program starts, with its command line, user and parent process.
Taught in
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)
- Disk Forensics: MFT, UsnJrnl & Prefetch — Security Operations & Threat Hunting (SOC)
- Memory Forensics: Process Trees & Injection — Security Operations & Threat Hunting (SOC)