Threat Hunting and Digital Forensics: A Practical Guide for Security Analysts
Your SIEM will only ever alert on what someone already taught it to recognize. Every technique that evades detection logic, every dwell-time attacker who lives off the land using legitimate admin tools, every slow-and-quiet credential harvest โ none of it trips a rule. That gap is exactly where threat hunting lives, and it's why mature SOCs stop waiting for alerts and start actively going looking.
This guide is written for analysts who already know how to triage an alert and now need to build the muscle for proactive investigation โ forming a hypothesis, chasing it through telemetry, and when the hunt turns up something real, handling the evidence well enough that it survives legal and disciplinary scrutiny. We won't re-explain what a SIEM is. We're going straight into the mechanics of hunting and the forensic discipline that has to back it up.
Threat hunting vs incident response: different mindsets
Incident response starts with a trigger โ an alert, a user report, a third-party notification โ and works backward to scope and contain. It's reactive by definition: something already happened, and your job is to answer "what, how bad, and how do we stop it." Threat hunting starts with nothing but a question: "if an adversary were already inside, using this technique, what would that look like in my environment โ and can I find it?" No alert required. That's the fundamental mindset shift, and it's why hunting is often described as an assume-breach discipline rather than a detection discipline.
The hunting loop, as formalized by Sqrrl and widely adopted across the industry, runs in five stages: hypothesis (form a specific, testable idea about adversary behavior), investigate (query data sources using tools like statistical analysis, clustering, or manual pivoting), uncover new patterns and TTPs (find the thing you didn't know to look for), inform and enrich analytics (turn what you found into a detection rule or IOC so the SIEM catches it automatically next time), and then cycle back to a new hypothesis. A hunt that doesn't feed back into automated detection is a wasted hunt โ the whole point is to shrink the set of things that require a human to go looking.
Incident response puts out the fire you were told about; threat hunting walks the building looking for smoke nobody reported.
Building and testing a hunting hypothesis
A hunt without a hypothesis is just browsing logs, and browsing doesn't scale. Good hypotheses come from a repeatable process:
1. Start with threat intelligence. Pull from your threat intel feed, ISAC bulletins, or recent incident reports for your sector. If ransomware affiliates are pivoting toward abusing legitimate remote monitoring tools to establish persistence, that's a hypothesis: "has any RMM tool been installed on an endpoint outside of our approved change window?"
2. Map the hypothesis to MITRE ATT&CK. Translate the intel into specific tactics and techniques. RMM abuse for persistence maps to Remote Access Software; credential theft from memory maps to T1003.001 (OS Credential Dumping: LSASS Memory); lateral movement via admin shares maps to T1021.002. The ATT&CK matrix gives you a shared vocabulary and, critically, a checklist of sub-techniques and detection data sources you might otherwise miss.
3. Establish a baseline. You can't spot an anomaly without knowing what normal looks like. Build baselines for process-parent/child relationships, typical logon hours per account class, normal outbound DNS query volume, and expected use of admin tools like PsExec, wmic, or PowerShell remoting per host role.
4. Scope the data and query. Decide which data sources answer the hypothesis, write the query, and run it across a defined time window โ usually 30 to 90 days, balanced against retention and query performance.
5. Triage and validate results. Every hit needs to be run down to a verdict: benign, suspicious-needs-more-data, or confirmed malicious. Document all three outcomes, not just the last one.
Where hunters actually look: logs, endpoints, and memory
EDR telemetry is the primary hunting surface in most modern environments. Beyond alerts, EDR platforms expose raw process execution, network connection, file modification, and registry event streams that you can query directly โ this is where you'll spend most of your time. Pay particular attention to process trees: an unusual parent-child relationship (winword.exe spawning powershell.exe, or svchost.exe spawning cmd.exe with no corresponding scheduled task) is one of the highest-signal indicators available and maps directly to living-off-the-land abuse of T1059 (Command and Scripting Interpreter).
DNS and network logs catch what EDR sometimes misses, especially command-and-control (T1071, Application Layer Protocol) and data staging before exfiltration. Look for algorithmically generated domains, beaconing intervals with suspiciously low jitter, DNS queries with abnormally large TXT record responses, and long-lived outbound connections to newly registered domains.
Windows event logs remain indispensable, and knowing the high-value event IDs by heart saves time under pressure:
EventID 4688โ process creation (enable command-line logging via GPO, it's off by default and you will regret not turning it on before you need it)EventID 4624/4625โ successful and failed logon, filter by logon type to distinguish interactive, network, and RDP (type 10) sessionsEventID 4672โ special privileges assigned at logon, useful for spotting unexpected privilege escalationEventID 4648โ logon using explicit credentials, a strong indicator of lateral movement viarunasor similarEventID 4769โ Kerberos service ticket requests, your primary lead for Kerberoasting (T1558.003) when you see unusual ticket requests for service accountsEventID 7045โ new service installed, common in persistence and lateral movement viaT1569.002EventID 4698โ scheduled task created, relevant toT1053.005persistenceEventID 1102โ the security audit log was cleared, almost never legitimate and a strong indicator of Indicator Removal (T1070.001)
When a hunt uncovers something that looks confirmed rather than suspicious โ an unexplained credential dump, unauthorized data staging, signs of destructive intent โ that's your trigger to escalate from live telemetry review into formal forensic acquisition. The moment you're building a case that might involve HR, legal, or law enforcement, evidentiary discipline takes over.
Digital forensics fundamentals: preserving the evidence
Chain of custody is the documented, unbroken record of who collected a piece of evidence, when, how, and who has had access to it since. If you can't account for a gap, opposing counsel โ or your own legal team โ can argue the evidence was tampered with, and it becomes worthless in any formal proceeding. Every transfer of evidence, physical or digital, gets logged: date, time, person, purpose, method.
The order of volatility dictates collection sequence: capture the most perishable data first. The standard order runs CPU registers and cache, then RAM, then network state and running processes, then disk, then remote logging and archival data. In practice this means memory acquisition comes before you ever touch the disk โ a RAM capture holds encryption keys, injected code, malware that never touches disk, and command history that a shutdown erases permanently.
This is also why you never work on the original evidence. Standard practice is to create a forensic image โ a bit-for-bit copy including unallocated space and slack space โ using a write blocker, then generate a cryptographic hash (typically SHA-256) of both the original and the image to prove they're identical. All analysis happens on a working copy of that image. If your findings are ever challenged, you can re-image from the untouched original and reproduce the result.
Disk imaging vs. live response is a real tradeoff, not a formality. Full disk imaging is thorough and defensible but can take hours on modern drives, during which the host stays offline or isolated. Live response โ pulling targeted artifacts (memory dump, running process list, network connections, key registry hives, event logs) from a running system โ is fast and lets you keep the endpoint operational, but it inherently alters system state just by running collection tools on it. Most SOCs use live response for triage and speed, then escalate to full imaging when the case is serious enough to justify the downtime and the more rigorous evidentiary standard.
A real-world example
Hypothesis: "An attacker with an initial foothold on a workstation is using SMB-based lateral movement (T1021.002) to reach a domain controller or file server, using stolen local admin credentials."
The hunter starts by querying EDR for 4624 logon events of type 3 (network) against servers, cross-referenced against source workstations that have no prior history of administrative connections to that server โ a deviation from baseline. One workstation stands out: a marketing department laptop shows a network logon to a file server it has never touched in 90 days of history, immediately followed by a 4648 explicit-credential logon.
Pivoting to that workstation's process tree in EDR reveals the sequence: a phishing attachment spawned powershell.exe with an encoded command (T1059.001), which reached out to an external IP, then roughly twenty minutes later executed net.exe to enumerate shares and reg.exe to dump saved credentials from a scheduled task โ consistent with a lightweight credential-harvesting toolkit rather than a full T1003.001 LSASS dump, which the endpoint's EDR would have blocked.
Correlating the harvested account's SID against the file server's 4624 event confirms it's the same credential. At this point the hunter has moved from suspicion to confirmation: initial access via phishing, credential theft, and lateral movement, all mapped cleanly to ATT&CK. The response: isolate the workstation, force a credential reset for the compromised account, capture memory from the workstation before isolation drops the connection, and open a formal IR case. The hunt itself converts into two new detection rules โ encoded PowerShell spawning from Office processes, and any first-time network logon to a server from a workstation with no prior history โ closing the gap for next time.
Common mistakes to avoid
Hunting without a hypothesis. Opening a SIEM and scrolling through logs "to see what looks weird" doesn't scale, isn't repeatable, and produces nothing reusable. Every hunt needs a stated, falsifiable premise before the first query runs.
Contaminating evidence during initial triage. Running antivirus scans, opening files to "take a quick look," or rebooting a suspect host before imaging alters timestamps, overwrites memory, and can destroy exactly the artifacts you need. Treat any host that might become a forensic case as evidence from the first moment of suspicion, not after you've decided it's serious.
Ignoring MITRE ATT&CK documentation. A hunt that ends with "found something bad, fixed it" and no technique mapping is a dead end. Without tagging findings to specific tactics and techniques, you can't measure detection coverage, can't compare findings across hunts, and can't hand the work to another analyst without re-deriving everything from scratch.
Frequently asked questions
How often should a SOC run structured threat hunts? Mature programs run hunts on a regular cadence โ weekly or biweekly for a dedicated hunt function, or monthly if hunting is a part-time responsibility layered on top of alert triage. Cadence matters less than consistency: a monthly hunt program that actually runs every month beats a weekly one that gets skipped whenever the queue is busy.
Do I need EDR to start threat hunting, or can I hunt with just SIEM data? You can start with SIEM and native OS logging โ Windows event logs, Sysmon, DNS logs, firewall logs โ and many organizations do. EDR dramatically improves hunting fidelity because it gives you process lineage and behavioral telemetry SIEM data often lacks, but the hunting methodology (hypothesis, investigate, enrich) works with whatever data sources you have.
What's the difference between a forensic image and a simple file backup? A backup captures active, accessible files as the operating system sees them. A forensic image is a bit-for-bit sector copy that includes deleted files still recoverable in unallocated space, file slack, and metadata like timestamps โ none of which a standard backup preserves, and all of which can be central to reconstructing what actually happened.
Threat hunting and digital forensics aren't separate disciplines bolted together for convenience โ they're two ends of the same investigative continuum, one proactive and hypothesis-driven, the other reactive and evidentiary. Building genuine skill in both is what separates an analyst who reacts to what the tools surface from one who actively narrows the gap between compromise and detection, and it's the clearest path from SOC tier-two work into the senior security engineering and DFIR roles that define the advanced end of this career track.
Keep Learning on ITVedas
One of many free guides across 8 IT chapters โ all in plain English.
Explore All Chapters โ