The Child Process Shouldn't Have Existed
The alert itself was not unusual. A user opened a Word document.
Nobody worries when WINWORD.EXE starts.
But three seconds later, Word launched PowerShell. The parent process made sense. The child process did not.
Briefing summary
A normal document open became suspicious when Microsoft Defender showed WINWORD.EXE spawning PowerShell. The file was not the first clue. The process relationship was.
What happened
The KQL that changed everything
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
DeviceProcessEvents | where Timestamp > ago(30d) | where InitiatingProcessFileName in~ ( "WINWORD.EXE", "EXCEL.EXE", "POWERPNT.EXE", "OUTLOOK.EXE") | where FileName in~ ( "powershell.exe", "cmd.exe", "mshta.exe", "wscript.exe", "cscript.exe") | project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, InitiatingProcessCommandLine, AccountName | order by Timestamp desc
Pivot into the wider process timeline
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
let SuspiciousDevice = "DEVICE-NAME"; let StartTime = datetime(2026-06-16T01:00:00Z); DeviceProcessEvents | where DeviceName == SuspiciousDevice | where Timestamp between (StartTime .. StartTime + 30m) | project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, ReportId | order by Timestamp asc
Agent Foskett moment
This is where strong endpoint security visibility matters.
What most environments miss
Related investigations
Final thought
A successful login does not always mean a safe login. If you're investigating risky Microsoft 365 sign-ins, review MFA session hijacking, trusted device abuse, Conditional Access report-only gaps, impossible travel sign-ins, and strengthen visibility through our Identity and Access controls and KQL Threat Hunting Guide.
Develop IT. Protect IT. GEMXIT PTY LTD | GEMXIT UK LTD