Threat hunting and intelligence
SecurityX CAS-005 · Lesson 23 of 24 · 3:34:22
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the CompTIA SecurityX (CAS-005) exam. In this lesson: hypothesis-based hunting, adversary emulation, and honeypots, OSINT, dark web monitoring, and ISACs, threat intelligence platforms, STIX, and TAXII, counterintelligence and OPSEC, and Sigma, YARA, Snort, and RITA. Includes three original practice questions, with Thornbury Biotech, a fictional biotech company whose security architect designs and runs its security, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
No alert, no reason to relax
Thornbury Biotech's threat intelligence feed warns that a group targeting vaccine research is phishing biotech firms this month. Nothing in Thornbury's alerts looks wrong, but the security lead asks the team not to wait for an alert. Threat hunting assumes that the attacker may already be inside, and looks for the traces on purpose.
Hunting from the inside
Threat hunting is proactive: instead of waiting for alerts, hunters assume a compromise and search for evidence that existing detections missed. A hypothesis-based search starts from a specific idea, like this group persists with scheduled tasks, so the hunters look for new scheduled tasks created by unusual parent processes on lab machines. Adversary emulation engagements replay a real group's known techniques in a controlled way, so the team learns which ones its tools detect, and which ones slip through. Internal reconnaissance maps your own environment the way an attacker would, like exposed shares, stale admin accounts, and trust paths to domain admin, so you find them first. User behavior analytics, or UBA, models each user's normal activity and highlights unusual sign-ins, data access, or privilege use, which gives hunters leads to follow.
Deception
A honeypot is a decoy system with no business purpose, so any connection to it is suspicious by definition, which gives alerts with almost no false positives. A honeynet is a whole decoy network of such systems, which lets the team watch an attacker's tools and techniques in more depth. Honeytokens are decoy credentials, files, or database entries planted in real systems, and any use of them reveals an intruder. Deception must be isolated and monitored, so an attacker cannot use a decoy as a stepping stone, and legal advice helps before capturing attacker activity. Placed near valuable assets, decoys catch attackers during their internal reconnaissance, early in the attack.
External intelligence
Open-source intelligence, or OSINT, gathers public information, like vendor advisories, researcher blogs, code repositories, and what your own staff reveal on social media. Dark web monitoring watches criminal forums and leak sites for your domains, credentials, data, or plans that target you, often through a specialized provider. Information sharing and analysis centers, or ISACs, connect organizations in one sector, like health or finance, to share threats and lessons that matter to that sector. Reliability factors decide how much to trust a report: the source's track record, whether others confirm it, how recent it is, and how relevant it is to your environment. Third-party intelligence vendors sell curated feeds and analysis, and they are worth the cost only if their data fits your sector, and your tools can use it.
Platforms and sharing
A threat intelligence platform, or TIP, collects feeds from many sources, drops repeated copies, scores indicators, and pushes them to the SIEM, firewalls, and EDR. STIX, short for Structured Threat Information Expression, describes threat data in a common JSON format, with objects like indicators, malware, threat actors, and the relationships between them. TAXII, the Trusted Automated Exchange of Intelligence Information, is the protocol that moves STIX data between servers and clients over HTTPS. Counterintelligence works the other way: it limits what adversaries can learn about you, and can feed them misleading information, like decoys. Operational security, or OPSEC, protects the hunt itself: use dedicated research systems, avoid tipping off an attacker by touching their infrastructure, and share sensitive indicators only under agreed rules, like the Traffic Light Protocol.
Detection rule languages
Rule-based languages turn intelligence into detections that can be shared and reused. Sigma is a generic signature format for log events, written in YAML, which converts into the query languages of many SIEMs, so one rule works across tools. YARA describes malware by patterns of strings and bytes in files or memory, and it is used to scan systems, or to sort samples into families. Snort is an open source intrusion detection and prevention engine, whose rules match packets by protocol, ports, and content. RITA, for Real Intelligence Threat Analytics, analyzes network logs from Zeek to find command and control traffic, such as regular beacons, long connections, and unusual DNS.
Indicators and TTPs
Indicators of compromise, or IoCs, are traces of an attack that already happened, like a file hash, an IP address, or a domain. They are easy to share, but also easy for attackers to change, so a new hash or a new domain defeats them overnight. Indicators of attack focus on behavior in progress, the tactics, techniques, and procedures, like credential dumping followed by remote execution, whatever tools are used. TTPs are hard for attackers to change, because changing them means retraining and retooling, so detections built on behavior last much longer. A mature program uses both: IoCs for fast blocking, and TTP-based hunting and detections for lasting coverage, mapped to MITRE ATT&CK.
Recap
Let's recap. Threat hunting assumes a compromise, through hypothesis-based searches, adversary emulation, internal reconnaissance, and user behavior analytics. Honeypots, honeynets, and honeytokens catch intruders with almost no false positives. OSINT, dark web monitoring, ISACs, and vendors feed intelligence, weighed by reliability factors. Platforms collect and score indicators, STIX and TAXII share them, and counterintelligence and OPSEC protect the program. And Sigma, YARA, Snort, and RITA turn intelligence into detections, while TTPs outlast indicators of compromise.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Thornbury plants a fake admin account in its directory, named like a real one but with no legitimate use, and alerts on any attempt to sign in with it. What is this technique?
- An adversary emulation engagement
- A hypothesis-based hunting search
- Dark web monitoring for credentials
- A honeytoken, a decoy credential
Show the answer
A honeytoken, a decoy credential
A decoy account has no legitimate use, so any attempt to use it reveals an intruder. “An adversary emulation engagement” would replay a known group's techniques against your defenses. “A hypothesis-based hunting search” starts from an idea and searches existing data. And “Dark web monitoring for credentials” watches criminal forums for leaked data.
Thornbury wants to receive indicators from its sector’s ISAC automatically, in a standard format that its platform can ingest, over a standard protocol. Which pair fits?
- YARA rules sent by email
- STIX objects over TAXII
- Sigma rules over SNMP
- PDF reports on a file share
Show the answer
STIX objects over TAXII
STIX describes the indicators in a standard format, and TAXII moves them automatically between servers and clients. “YARA rules sent by email” only describes file patterns, and email is not an automated exchange. “Sigma rules over SNMP” describes log detections, and SNMP is for device management. And “PDF reports on a file share” would need someone to copy every indicator by hand.
Thornbury’s analysts write a detection for suspicious PowerShell use in Windows logs, and want the same rule to run in the SIEMs of two subsidiaries that use different products. Which language fits?
- Sigma, converted for each SIEM
- YARA, scanning files and memory for bytes
- Snort, matching packets
- STIX, describing the indicator
Show the answer
Sigma, converted for each SIEM
Sigma describes log detections in a generic format, and converts into each SIEM's own query language. “YARA, scanning files and memory for bytes” is for patterns in files and memory, not logs. “Snort, matching packets” only inspects network packets. And “STIX, describing the indicator” is for exchanging threat data, not for running detections.