Course contentsShow
← Security
Lesson 2392 of 3,05246. Incident ResponseFree lesson

Process and Thread Analysis

Identifying running processes, hidden processes, process injection, and analyzing thread states in memory.

Process and Thread Analysis

You'll learn how to dissect running processes and threads in memory to uncover hidden malware, detect code injection, and understand what an attacker is executing on a compromised system.

What Is Process and Thread Analysis?

When investigating an incident, memory contains a complete snapshot of everything running on a system at the moment of capture. Process and thread analysis means examining the programs (processes) and their execution flows (threads) to spot anomalies that reveal malicious activity.

Think of a process as a container application—like a restaurant kitchen. Threads are the individual chefs working inside. Normal kitchens have visible staff following recipes. Malicious activity is like finding a hidden chef sneaking in through the back door, using someone else's uniform, preparing dishes not on the menu.

Key Analysis Techniques

Enumerating Processes: List all running processes, including those hidden by rootkits. Attackers often use techniques to unlink processes from standard operating system lists, making them invisible to Task Manager but still present in memory structures.

Process Injection Detection: Malware frequently injects malicious code into legitimate processes (like explorer.exe or svchost.exe). You analyze memory regions, executable sections, and loaded DLLs to find code that doesn't belong—unsigned DLLs, unusual memory permissions (RWX), or code caves.

Thread State Analysis: Examine what each thread is doing—running, waiting, suspended. Threads with unusual start addresses (not pointing to legitimate module code) or orphaned threads without parent processes signal injection. Check thread stacks to trace execution paths back to their origin.

Parent-Child Relationships: Verify process creation trees. Word.exe spawning powershell.exe? Suspicious.

Key Takeaway: Process and thread analysis in memory forensics reveals hidden malware, code injection, and execution anomalies that traditional tools miss—it's your X-ray vision into what's actually running versus what the OS reports is running.