Case 731991 · Blue team / DFIR · L2 Practitioner
Hunting with Process Lineage
Interview questionWhich parent-child process relationships would you hunt for, and why do they work?
- 01 What is it?
- 02 How is it abused?
- 03 How do you stop it?
What a strong answer covers
Try it out loud first. Then check yourself:
- Many techniques need a process to start another one, so the parent-child pair reveals intent even when the binary is legitimate.
- Red flags: Office apps spawning script hosts or PowerShell, w3wp.exe or sqlservr.exe spawning cmd.exe, anything spawned by lsass.exe.
- Know the normal tree: services.exe starts svchost.exe, a user shell comes from explorer.exe, and wininit.exe starts lsass.exe.
- Attackers spoof parents (PPID spoofing) or inject into trusted processes, so pair lineage with command lines, signers and network activity.
If the interviewer pushes back
- How would you detect PPID spoofing, given that the reported parent is the one the attacker chose?