The CertUtil Command Downloaded Something At 2:17AM
The executable was signed by Microsoft.
It was already present on every Windows workstation.
No malware had been dropped yet. No exploit had triggered. No antivirus alert had fired.
At 2:17AM, CertUtil.exe downloaded a file from the internet.
That was the moment the investigation began.
Briefing summary
A trusted Microsoft utility downloaded content from an external host during the early hours of the morning. Defender telemetry revealed the command line, parent process and destination URL that explained what was really happening.
What happened
The KQL that changed everything
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
DeviceProcessEvents | where TimeGenerated > ago(30d) | where FileName =~ "certutil.exe" | where ProcessCommandLine contains "-urlcache" or ProcessCommandLine contains "-split" or ProcessCommandLine contains "http" | project TimeGenerated, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA1 | order by TimeGenerated desc
Agent Foskett moment
This is where strong endpoint security visibility matters.
What most environments miss
Related investigations
Final thought
CertUtil.exe is not automatically malicious. The command line is where the story begins. Explore related investigations including The Child Process Shouldn't Have Existed, The Process Tree Told The Real Story, and the Base64 PowerShell Investigation.
Develop IT. Protect IT. GEMXIT PTY LTD | GEMXIT UK LTD