• Home
  • Learn
  • DetectionHub
  • Ranking
  • About
  • Blog
  • Login
Easy·Updated on 2025-03-15

CMD Hidden Window Execution

1,234
Submissions
67.5%
Pass Rate
5 minutes
Estimated Time
Sysmon T1564

Description

The Windows command interpreter (cmd.exe) supports “silent” execution via the start command with specific options. The /b option runs a program in the background without creating a new window, and /min starts a new window in a minimized state. Both can reduce or eliminate visible pop-ups, lowering user awareness.

Attackers often abuse this behavior to conceal malicious activity. Common examples include: macros in phishing documents silently launching a downloader, malware using a hidden window to unpack or deploy a second-stage payload, and creating scheduled tasks that run without noticeable windows to maintain persistence.

Challenge Objective

Detect suspicious activity where cmd.exe uses the start command with window-hiding options. Focus on whether the command line contains flags that control window visibility.

Output format:

| Computer        | ... ||-----------------|-----|| DESKTOP-CVJSVNW | ... |

Data Sample

Data source: Sysmon; sample data:

{  "Channel": "Microsoft-Windows-Sysmon/Operational",  "CommandLine": "cmd.exe  /c start /B C:\\ProgramData\\emotet.bat",  "Computer": "DESKTOP-TN5BM0V",  "EventId": 1,  "Image": "C:\\Windows\\System32\\cmd.exe",  "OriginalFileName": "Cmd.Exe",  "ParentCommandLine": "\"C:\\Windows\\system32\\cmd.exe\" ",  "ParentImage": "C:\\Windows\\System32\\cmd.exe",  "ParentUser": "DESKTOP-TN5BM0V\\admin",  "ProcessId": "10164",  "SystemTime": "2026-01-29T06:56:00.3270369Z",}

References

loading...

Fields

No fields found

0 fields selected

Preview Results