In the previous tasks, you learned the approaches to threat hunting (hypothesis-driven, intelligence-driven, indicator-driven) and the targets of threat hunting (malware, attack residues, vulnerabilities). Now we see HOW threat hunters actually perform the hunting. Threat hunters don't search abstract "evidence"; they search concrete data sources using specific tools and techniques. This task focuses on the practical methods threat hunters use and the tools where they apply these methods.
Where Threat Hunters Search: Data Sources
Threat hunters search within their organization's data sources. These include event logs, endpoint detection and response (EDR) tool data, security information and event management (SIEM) systems, network traffic and flow data, DNS logs, web proxy logs, firewall logs, and application logs. However, this list represents only some of the data sources available. The reality is that threat hunters search everywhere because evidence of attacks can appear anywhere. An attacker might leave traces in system registry, application logs, memory, configuration files, temporary directories, backup systems, cloud services, or numerous other locations.
The specific data sources available depend on your organization's infrastructure, the tools you have deployed, and what you are able to collect and retain. Some organizations have comprehensive logging across all systems. Others have limited visibility. Mature threat hunting programs continuously work to expand their data collection and visibility. A skilled threat hunter understands that no single data source tells the complete story. They actively correlate evidence across multiple sources, synthesizing logs, network data, and endpoint information together to reveal threats that passive log review alone cannot detect.
Method 1: Attack Signatures
An attack signature is a pattern that indicates malicious activity. It can be a specific file hash, a command-line pattern, or a behavioral sequence. Threat hunters search for these specific patterns in their data sources.
What threat hunters search for:
- File hashes matching known malware (
hash = abc123def456...)
- Command-line parameters indicating malicious code execution (
powershell.exe with -EncodedCommand and DownloadString parameters together)
- Process names spawned from unusual parents (
cmd.exe spawning from winword.exe)
- Specific URL patterns in web logs matching known malware delivery sites
- Registry modifications at known persistence locations (
HKLM\Software\Microsoft\Windows\CurrentVersion\Run)
Where it's used: EDR tools (searching process execution logs), SIEM systems (searching command-line events, web logs), antivirus logs, firewall logs.
Connection to frameworks: Attack signatures often correspond to specific MITRE ATT&CK techniques. The PowerShell parameter signature detects T1059.001 (Command and Scripting Interpreter - PowerShell). Registry persistence signatures detect T1547 (Boot or Logon Autostart Execution). Threat hunters use MITRE ATT&CK to understand exactly which techniques and behaviors to hunt for.
Effectiveness: Signatures work well against known threats but may miss variations or zero-day exploits. They are objective and produce clear results: either the pattern matches or it does not.
Method 2: Indicators of Compromise (IOCs)
IOCs are specific artifacts left by attackers: file hashes, IP addresses, domain names, email addresses, URLs, and registry keys. Threat hunters load IOC lists into their tools and search for exact matches in their environment.
What threat hunters search for:
- File hashes from threat feeds loaded into EDR or SIEM (does this hash exist anywhere in our logs?)
- IP addresses in firewall/network logs (did any of our systems connect to these C2 server IPs?)
- Domain names in DNS logs (did any system attempt to resolve these malicious domains?)
- Email addresses in email logs (were any users contacted by these attacker accounts?)
- URL paths in web proxy logs (did users visit these malicious URLs?)
Where it's used: SIEM systems (querying against IOC lists), threat intelligence platforms (MISP, Recorded Future), EDR tools (hash matching), firewall logs (IP matching), DNS logs (domain resolution matching).
Connection to frameworks: IOCs come from intelligence sources, which often document the MITRE techniques associated with them. A malware hash is associated with the T1204 (User Execution) technique that delivered it. A C2 IP address is associated with T1071 (Application Layer Protocol) command-and-control communication. Threat hunters use MITRE to understand the context and significance of IOCs they find.
Effectiveness: IOCs produce clear, objective results. The limitation is that attackers rotate their infrastructure constantly. IOCs become outdated as attackers change IP addresses, domains, and recompile malware. IOC searching is most effective when you have recent, relevant indicators from active attacks.
Method 3: Behavioral Pattern Analysis
This method looks for sequences of specific events that together indicate malicious activity, even if individual events might appear benign.
What threat hunters search for:
- Process chains: Word.exe spawns cmd.exe spawns powershell.exe that connects to external IP
- File access patterns: Single user accessing hundreds of files in sensitive directories within minutes
- Lateral movement chains: Remote execution on System A followed by process creation on System B followed by credential access on System B
- Privilege escalation sequences: Normal user process requesting SYSTEM-level permissions followed by sensitive file access
- Data collection patterns: Database query followed by bulk file reads followed by archive creation followed by network transmission
Where it's used: Advanced SIEM systems (with correlation and sequence matching), EDR platforms (process tree analysis), behavioral analysis tools.
Connection to frameworks: Attack chains correspond to MITRE ATT&CK technique combinations. A lateral movement chain might show T1021 (Remote Services) followed by T1569 (Process Creation) followed by T1110 (Brute Force). Behavioral patterns detect what attackers must do, regardless of which specific tools they use. Threat hunters use MITRE to understand common attack technique sequences.
Effectiveness: Behavioral patterns are powerful because they detect attacks even when specific malware signatures or IOCs are unknown. They focus on the attacker's required actions rather than their specific tools. The challenge is that false positives can occur: normal administrative actions might match attack patterns. Threat hunters must investigate and confirm whether patterns represent genuine compromise.
Method 4: Logical Queries and Anomaly Detection
This method uses conditional logic to find suspicious combinations of events that deviate from normal activity in your environment.
What threat hunters search for:
- Administrator commands executed at 3 AM (abnormal timing)
- SYSTEM account running interactive commands (abnormal user)
- User accessing data directories they never normally access (abnormal behavior)
- Outbound connections from internal systems to unusual ports (abnormal network behavior)
- Password changes for inactive accounts (abnormal account activity)
- Bulk file downloads from archive locations by non-IT users (abnormal volume and source)
Typical query structure:
EventCode=4688 where ParentProcessName NOT IN [explorer.exe, cmd.exe] AND User = SYSTEM AND CommandLine IN [whoami, net user, ipconfig]
EventCode=4663 where TargetUserName NOT IN [IT_team] AND ObjectName LIKE "*\sensitive_data\*" AND count > 50
Network where SourceIP IN [10.*, 192.168.*] AND DestinationPort NOT IN [80, 443, 53, 22, 21] AND BytesSent > 1000000
EventCode=4723 where TargetUserName NOT IN [active_users] AND SubjectUserName = Administrator
Where it's used: SIEM systems with powerful query languages (Splunk SPL, ELK/Elasticsearch Query Language, Azure KQL), EDR advanced hunting features, security data lakes.
Connection to frameworks: Logical queries can target specific MITRE techniques. Queries detecting T1087 (Account Discovery) search for net user, net group, dsquery commands. Queries detecting T1005 (Data from Local System) search for unusual file access volume. Threat hunters use MITRE ATT&CK to identify which suspicious patterns to write queries for.
Effectiveness: Logical queries are customizable to your specific environment. They can detect unknown attacks because they focus on abnormal behavior rather than known indicators. The challenge is building effective queries: they require understanding normal activity in your environment and recognizing what deviations indicate genuine threats.
Integrating Methods in Real Hunts
Effective threat hunters rarely rely on a single method. A comprehensive hunt typically combines multiple approaches. An intelligence-driven hunt might start by loading IOC lists (file hashes, C2 IPs) into their SIEM, then broaden the search to find behavioral patterns matching known attack groups, and finally write logical queries to identify similar activity from other attackers using comparable techniques. This layered approach maximizes the probability of detecting both known and unknown threats.
The method you choose depends on what information you have, what question you are trying to answer, and what data sources and tools are available. Different hunting scenarios require different technique combinations. As you progress through practical threat hunting, you will develop judgment about selecting the most effective techniques for each scenario.