Threat Hunting: Initial infection - Cmd.exe file Spawned by Third-Party Applications
Where in the Cyber Kill Chain?
|
IDENTIFYING |
The Cmd.exe file spawned by third-party applications |
|
COMPONENT |
Remarks |
|
TACTIC |
Identify instances of the cmd.exe file spawned by Microsoft Office applications, Adobe applications, Internet Explorer, Firefox, Chrome, IIS (w3wp), and the Windows Service Hosting process (svchost.exe). This question only detects the results of a very narrow set of attack techniques and should not be considered a universal method of identifying application exploits. |
|
TECHNIQUE |
Command shell spawned by unusual parent process. The Windows Service Hosting and IIS processes may spawn command shells for certain legitimate system services or third- party applications. When you omit the svchost and w3wp processes from the regex expression it should produce a more specific search that can be used as-is in most environments. You should consider to enable the Skip Unique / Make Stackable option in large environments. |
|
PROCEDURE |
Trace Executed Processes
|
Technique effective against the following adversary TTPs
-
Initial Infection