Detection rules › Sigma
Cmd Launched with Hidden Start Flags to Suspicious Targets
Detects cmd.exe executing commands with the "start" utility using "/b" (no window) or "/min" (minimized) flags. To reduce false positives from standard background tasks, detection is restricted to scenarios where the target is a known script extension or located in suspicious temporary/public directories. This technique was observed in Chaos, DarkSide, and Emotet malware campaigns.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Defense Evasion | T1564.003 Hide Artifacts: Hidden Window |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
Stages and Predicates
Stage 1: all of selection_cmd_img
or:
Image|endswith: '\cmd.exe'
OriginalFileName: Cmd.Exe
Stage 2: all of selection_cmd_hidden_start_1
or:
CommandLine|contains: 'start '
CommandLine|contains: 'start/b'
CommandLine|contains: 'start/min'
Stage 3: all of selection_cmd_hidden_start_2
or:
CommandLine|contains: '/b '
CommandLine|contains: '/b"'
CommandLine|contains: '/min '
CommandLine|contains: '/min"'
Stage 4: 1 of selection_cli_uncommon_location
or:
CommandLine|contains: ':\Perflogs\'
CommandLine|contains: ':\Temp\'
CommandLine|contains: ':\Users\Default\'
CommandLine|contains: ':\Windows\Temp\'
CommandLine|contains: '\AppData\Roaming\'
CommandLine|contains: '\Contacts\'
CommandLine|contains: '\Documents\'
CommandLine|contains: '\Downloads\'
CommandLine|contains: '\Favorites\'
CommandLine|contains: '\Favourites\'
CommandLine|contains: '\Music\'
CommandLine|contains: '\Photos\'
CommandLine|contains: '\Temporary Internet\'
CommandLine|contains: '\Users\Public\'
CommandLine|contains: '\Videos\'
CommandLine|contains: '\inetpub\'
Stage 5: 1 of selection_cli_susp_extension
or:
CommandLine|contains: .bat
CommandLine|contains: .cmd
CommandLine|contains: .cpl
CommandLine|contains: .hta
CommandLine|contains: .js
CommandLine|contains: .ps1
CommandLine|contains: .scr
CommandLine|contains: .vbe
CommandLine|contains: .vbs
Stage 6: 1 of selection_cli_susp_pattern
or:
CommandLine|contains: ' -nop '
CommandLine|contains: ' -sta '
CommandLine|contains: '-noni '
CommandLine|contains: '-w hidden '
CommandLine|contains: '.downloadfile('
CommandLine|contains: '.downloadstring('
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
OriginalFileName | eq |
|