CySA+ CS0-004 Threat Intelligence and Threat Hunting: ATT&CK, Pyramid of Pain, IoCs, STRIDE and Deception
Threat intelligence is evaluated information about adversaries that a defender can act on, and threat hunting is the proactive search of your own telemetry for those adversaries before any alert fires. CompTIA CySA+ CS0-004 objective 1.4 covers the concepts that connect the two: threat actors (APTs and insiders), TTPs described with MITRE ATT&CK, heat maps and the Pyramid of Pain, attribution, the timeliness, relevance and accuracy of intelligence, OSINT and closed sources, sharing with TLP, STIX and TAXII, the life of an indicator of compromise, STRIDE threat modeling, threat mapping and cyber deception. This lesson explains each one and how they drive real analyst decisions.
On this page10 sections
- What are threat intelligence and threat hunting?
- How do you recognise an APT or an insider threat?
- How do MITRE ATT&CK tactics, techniques and procedures fit together?
- How do heat maps and threat mapping prioritise defences?
- What is the Pyramid of Pain?
- How do timeliness, relevance and accuracy affect confidence, including attribution?
- Where does threat intelligence come from, and how is it shared?
- How are indicators of compromise collected, analysed and applied?
- How does STRIDE threat modeling classify threats?
- How does cyber deception detect attackers?
- Distinguish APTs, malicious and unintentional insiders, and external actors using valid accounts from their objectives and evidence.
- Map activity to ATT&CK tactics, techniques and procedures, and use Navigator heat maps to prioritise detection gaps.
- Rank indicators with the Pyramid of Pain and separate atomic from behavioral indicators.
- Judge intelligence by timeliness, relevance and accuracy, and state attribution with an honest confidence level.
- Choose OSINT or closed-source collection, honour TLP 2.0 labels, and exchange intelligence with STIX 2.1 over TAXII 2.1.
- Analyse and apply IoCs forward and backward, and run hypothesis-driven hunts whose results feed detections.
- Classify design threats with STRIDE, map actor techniques onto your assets, and deploy deception that produces high-fidelity alerts.
What are threat intelligence and threat hunting?
Threat intelligence is evaluated information about adversaries (who they are, what they want and how they operate) that a defender can act on; threat hunting is the proactive, analyst-led search of your own telemetry for an adversary that has not triggered any alert. Intelligence tells you what to look for; hunting looks for it before an alert does. The rest of CS0-004 objective 1.4 is the vocabulary that connects the two: actors, TTPs, confidence, sources, indicators, threat modeling, threat mapping and deception.
Hunting starts from a hypothesis
A hunt is not "look around and see what turns up". It begins with a hypothesis: a specific, testable statement about adversary behaviour in your environment, with a scope and a time window. For example: "a service account logged on interactively to workstations it never normally uses in the last 30 days", or "a trusted service loaded an unsigned DLL from a user-writable folder this quarter". A usable hypothesis has three properties:
- It is grounded in intelligence about behaviour: a technique that actors relevant to your sector are reported to use. Indicator values (hashes, addresses) make poor hunt starting points because actors rotate them.
- It is falsifiable with data you actually hold. Before writing it, check which telemetry you retain and for how long. A claim about command-line arguments needs process-creation logging; a claim about lateral logons needs authentication events. If the evidence would only exist in a source you do not collect, the hunt cannot answer it.
- It is specific. A vague worry with no observable claim, no scope and no time window cannot be proved or disproved.
The analyst then queries the retained telemetry (EDR, DNS, proxy, authentication logs), investigates hits, and escalates to incident response only when there is evidence of compromise.
What a hunt produces
Every hunt produces output, whether or not it finds the adversary:
- A conclusion with an honest scope. A hunt can only clear the systems whose data it actually searched. Systems with missing or partial telemetry remain unknown, and that blind spot is a finding in its own right, to be fixed so the next hunt can cover it.
- Detection engineering. A query that reliably separates the malicious behaviour from normal activity is a candidate for an automated rule, so future occurrences no longer depend on someone hunting.
- Feedback to intelligence and threat models: new procedures, logging gaps, and techniques to add to the coverage heat map.
Hunting answers "are they already here?" when nothing has alerted. Blocklists and new alert rules only act on activity from now on.
How do you recognise an APT or an insider threat?
You recognise a threat actor by its objective, targeting and behaviour, not by any single technical artefact. CS0-004 names two actor types: the advanced persistent threat (APT) and the insider threat.
Advanced persistent threat
An APT is a well-resourced actor, often state-sponsored or state-aligned, that pursues a specific organisation and specific data over a long period. Its distinguishing traits are:
- Targeted objectives: collection limited to one team, project or data set (design files, merger documents) rather than whatever is valuable.
- Persistence and determination: multiple footholds, spare backdoors, and access rebuilt within days after eviction.
- Custom or tailored tooling and careful operational security.
- Low-and-slow behaviour: long dwell time, small encrypted exfiltration chunks timed to blend with business traffic.
Many traits are shared with financially motivated crime and do not identify an APT on their own: spear-phishing, living-off-the-land tools such as PowerShell, freely available admin and credential utilities, encrypted command and control, and even a quiet stay of several months are all routine for ransomware crews and access brokers. What points to an APT is what the actor wants and how it reacts: a narrow, deliberate collection focus, and determination to keep or regain access to that particular target.
Insider threat
An insider threat comes from someone with legitimate, authorised access: employees, contractors or partners.
| Actor | Typical evidence |
|---|---|
| Malicious insider | Intentional misuse of the person's own access, for gain, revenge or ideology: an administrator exporting customer records to sell, sabotage after a dispute. The activity is consistent with the person's own identity, devices and habits, and often involves no malware |
| Unintentional insider | Harm without intent: a misconfigured storage share, a spreadsheet emailed to the wrong recipient, work files kept on an unsanctioned service |
| External actor using an insider's account | The credentials are real but the context is not the person's: impossible travel, an unfamiliar device or browser, repeated MFA prompts, sign-ins while the person is known to be offline or on leave |
| APT | Targeted collection, custom implants, long dwell, re-entry after removal |
| Ransomware / commodity crimeware, hacktivists | Opportunistic, fast and noisy: encryption, extortion, defacement, public claims |
Insider classification depends on who is acting, not whose account was used. Ask whether the evidence ties the activity to the person or only to their credentials: device, location, session and the person's own whereabouts decide it. Because insiders use legitimate access, detection relies on behaviour and data-movement monitoring (DLP, UEBA) rather than malware detection.
How do MITRE ATT&CK tactics, techniques and procedures fit together?
MITRE ATT&CK is a public knowledge base of adversary behaviour organised as tactics, techniques and procedures (TTPs): the tactic is why (the adversary's goal at that stage), the technique is how in general, and the procedure is the specific implementation a group or tool used.
| Level | Answers | Example |
|---|---|---|
| Tactic (TA####) | What goal? | Persistence (TA0003) |
| Technique / sub-technique (T####, T####.###) | What general method? | Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder (T1547.001) |
| Procedure | Exactly how this actor did it | The group's loader writes a Run value named after a legitimate updater that launches its DLL through regsvr32 at every logon |
Technique IDs follow one pattern: a parent technique such as Command and Scripting Interpreter (T1059) or Remote Services (T1021) has numbered sub-techniques for each variant, so a scenario can be recorded at the parent or the sub-technique level depending on how much detail you have. Other common examples are Valid Accounts (T1078), Brute Force: Password Spraying (T1110.003), Ingress Tool Transfer (T1105) and Data Encrypted for Impact (T1486). A procedure is the most specific level, so it is where the actor's particular tools, binaries and parameters belong. A file hash or IP address is an indicator, not part of the TTP hierarchy.
When one technique sits under several tactics
Some techniques appear under more than one tactic; Scheduled Task/Job (T1053) and Valid Accounts (T1078) are well-known examples. The technique alone does not decide the tactic: you record the tactic that matches what the actor gained from that step. Take Valid Accounts: stolen remote-access credentials used to get into the network serve Initial Access; a dormant account kept as a spare way back in serves Persistence; an administrator account used to obtain rights the actor did not already have serves Privilege Escalation. A tactic only fits if the step actually achieved that goal for the actor.
Why map to ATT&CK
Mapping intrusions and intelligence reports to ATT&CK gives a common language across teams and vendors, lets you compare actors, and shows which behaviours your detections cover. It is also the basis for heat maps and threat mapping.
How do heat maps and threat mapping prioritise defences?
Heat maps and threat mapping both turn intelligence about relevant actors into priorities: a heat map shows which techniques matter and are undetected, and threat mapping ties those techniques to your own assets. An ATT&CK heat map colours techniques in the matrix by a score so that priorities stand out; you use it by finding techniques that are both widely used by the actors relevant to you and not yet detected. Heat maps are usually built as layers in the ATT&CK Navigator.
Common layers are:
- Threat (usage) layer: each technique scored by how many of the groups that target your sector use it.
- Coverage layer: which techniques your current detections or controls address.
- Combined layer: usage and coverage overlaid, so uncovered high-usage techniques stand out.
Prioritisation needs both dimensions at once, what adversaries do and what you can see, so read them together:
| Used by relevant groups | Detected? | Priority |
|---|---|---|
| Many | No | Highest: build this detection first |
| Many | Yes | Maintain and test the existing detection |
| Few | No | Lower: backlog |
| Few | Yes | Lowest |
The same visual works for leadership: one combined layer answers "where are we blind to what our adversaries actually do?"
Threat mapping
Threat mapping is overlaying the techniques of the actors likely to target you onto your own environment (internet-facing systems, identity services, network paths and existing controls) to see where you are exposed and what to fix or hunt first. It starts from who attacks your sector and how, and ends with specific assets.
Several activities sound similar; what separates them is where each starts and what it produces:
| Activity | Starts from | Produces |
|---|---|---|
| Threat mapping | Techniques of the actors that target you | Those techniques linked to your specific assets and controls |
| ATT&CK heat map | Technique usage and/or detection coverage | Scored techniques in the matrix (not tied to individual assets) |
| Threat modeling (e.g. STRIDE) | A system's design and data flows | Categories of what could go wrong, independent of who attacks |
| Vulnerability assessment | Your systems' configurations and versions | A list of weaknesses, without adversary context |
| Attack surface discovery | Internet-facing footprint | An inventory of exposed systems and services |
To prioritise from a threat map, weigh exposure (internet-facing assets are reachable before any foothold), prevalence (how many relevant groups use the technique) and control strength (for example, password-only remote access versus MFA, or patched with and without a WAF). No single column decides. The asset to act on first is the one that scores badly on all three at once; a strong compensating control or a lack of exposure can push even a very common technique down the list.
What is the Pyramid of Pain?
The Pyramid of Pain, introduced by David Bianco, ranks indicator types by how much it costs the adversary to change them once defenders detect or block them. The higher you detect, the more pain you cause, so mature programmes invest at the top.
| Level (bottom to top) | Pain to adversary | Why |
|---|---|---|
| Hash values | Trivial | Changing one byte (padding, recompiling) produces a completely new hash |
| IP addresses | Easy | New VPS or cloud addresses are cheap and fast to obtain |
| Domain names | Simple | New domains need registration and DNS but are still cheap |
| Network/host artifacts | Annoying | User-agents, URI patterns, mutexes, registry keys need code or config changes |
| Tools | Challenging | The actor must find or build and learn a new tool |
| TTPs | Tough | The actor must change how they operate |
Lower-level indicators are still useful: they are quick to deploy and block known copies of an attack immediately. But an actor that recompiles its payload per victim and registers fresh infrastructure per intrusion defeats hash, IP and domain blocking with little effort. Detecting the behaviour (for example, a burst of failed logons spread across many accounts from one source, followed by a success: password spraying) forces the actor to change technique, which is expensive. When choosing where to spend one detection effort for lasting value, go up the pyramid. Note that the artifacts level sits on a boundary: a single mutex name or user-agent string matched exactly behaves like an atomic value, while a pattern (any random-looking mutex created by a document viewer) behaves more like behaviour.
How do timeliness, relevance and accuracy affect confidence, including attribution?
Intelligence is worth acting on only when it is timely, relevant and accurate; a failure on any one of the three lowers confidence and should lower its priority, however good the other two look.
| Factor | Question to ask | Failure example |
|---|---|---|
| Timeliness | Is it still current, and did it arrive in time to act? | Phishing domains from a campaign that ended long ago; many have since expired and been re-registered by unrelated owners |
| Relevance | Does it apply to our technology, sector, geography and threat profile? | A well-sourced report on attacks against a database engine you have never deployed, or a campaign confined to a region where you have no operations |
| Accuracy | Is it correct, and is the source reliable and independently corroborated? | A feed entry whose "malicious" hash turns out to be a legitimate signed installer |
Two points decide many scenarios. First, atomic indicators age quickly: infrastructure is rented, abandoned and reassigned, so record when an indicator was observed and give it an expiry. Second, corroboration counts only when it is independent: two reports that trace back to the same original claim are one source, not two, however many places repeat it. When ranking items, an item must pass all three factors before source reliability separates the rest; a strong score on two cannot make up for a failure on the third.
Attribution
Attribution is the judgement of which actor is behind an intrusion; it is always stated with a confidence level (low, moderate, high) that reflects how many independent, hard-to-fake lines of evidence support it.
Some evidence is weak because it is easy to fake or widely shared:
- Language strings, keyboard layouts and compile-timestamp time zones can be planted as false flags or simply reflect the tools used.
- A single IP address or server can be shared, rented, compromised or reused by unrelated actors.
- Public tools are used by many groups.
Stronger evidence is consistent TTPs and procedures across several intrusions, infrastructure registration and hosting patterns over time, unique custom tooling, and corroboration from independent sources. Confidence comes from the quality and independence of the evidence, not the number of items: a pile of artefacts that are each easy to plant is still weak evidence.
Analysts use estimative language ("we assess with low confidence that...") so decision-makers get a useful judgement early, with the uncertainty stated, and the assessment is revised as corroboration arrives. Overstating confidence and withholding any judgement are both failures of the same discipline. For most defenders, attribution matters less than the TTPs: you defend against the behaviour whoever is behind it.
How are indicators of compromise collected, analysed and applied?
An indicator of compromise (IoC) is an observable artefact that suggests malicious activity; it goes through collection, analysis and application, and it is either atomic or behavioral.
Atomic versus behavioral indicators
| Atomic | Behavioral | |
|---|---|---|
| What it is | A discrete value matched exactly | A pattern or sequence of activity |
| Examples | File hash, IP address, domain, URL, email address | A new account added to a privileged group minutes after creation; an archiving tool run against a file share followed by a large upload; a process injecting into another that then beacons at fixed intervals |
| Survives adversary change? | No: recompile, re-register, re-host and it stops matching | Usually: the actor must change how it operates |
| Pyramid of Pain | Hash values, IP addresses, domain names, and artifacts matched as exact values | TTPs and tool behaviour, and artifacts matched as patterns |
Anything an actor can choose freely for each intrusion (file names, task names, infrastructure, the bytes of its payload) works like an atomic value even when you find it on a host, and stops matching once the actor changes it. What repeats across intrusions is the sequence of actions, so behavioral indicators are the ones that carry over to the next one. Some models, such as Lockheed Martin's intelligence-driven defense paper, add a third class, computed indicators (hashes and regular expressions derived from data); CS0-004 uses the two-way split, with hashes treated as atomic.
Collection and analysis
IoCs are collected from your own incidents, sandbox runs, threat feeds, ISACs and vendor reports. Before using them, analyse them:
- Deconflict against known-good infrastructure your business relies on: CDNs, shared cloud ranges, SaaS providers. An address flagged as malicious in a shared hosting range may also front a service your own staff or customers depend on.
- Corroborate with independent sources and check age and relevance.
- Set an expiry (time to live) so stale indicators age out instead of blocking reassigned addresses for years.
- Enrich with context: which campaign, actor and technique the indicator belongs to.
Application: forward and backward
- Forward (preventive and detective): blocklists at DNS, proxy, firewall or EDR, and SIEM rules that alert on new matches. These only act on future activity.
- Backward (retrospective): hunting through retained DNS, proxy and EDR telemetry to answer "were we already compromised?", which matters most for campaigns with long dwell times.
Decide block or alert per indicator, not per feed, from two questions: how confident are we that it is malicious and current, and what legitimate traffic breaks if we are wrong? High confidence with no legitimate business use points to blocking; shared infrastructure or lower confidence points to detection and hunting instead. One uniform policy for a whole feed is usually wrong in one direction or the other.
How does STRIDE threat modeling classify threats?
STRIDE is a threat-modeling mnemonic, originally from Microsoft, for classifying design threats into six categories, each of which violates one security property and is addressed by a matching type of control. It is used at design time to ask "what can go wrong with this system?"
| Category | Property violated | Example | Typical control |
|---|---|---|---|
| Spoofing | Authentication | A stolen API key is replayed to act as another tenant | Strong authentication of every party, e.g. MFA, signed tokens, mutual TLS between services |
| Tampering | Integrity | A price held in a hidden form field is changed before submission | Server-side validation, hashing, signing, access control |
| Repudiation | Non-repudiation | Several admins share one account, so nobody can prove who deleted a record | Individual accounts and signed, tamper-evident audit records tied to an authenticated identity |
| Information disclosure | Confidentiality | Verbose error pages reveal internal file paths and software versions | Generic error messages, encryption, least privilege |
| Denial of service | Availability | Unbounded file uploads exhaust disk space | Rate limiting, quotas, size limits, redundancy |
| Elevation of privilege | Authorization | An API trusts a role value supplied by the client | Server-side authorization checks, least privilege |
Two habits settle most STRIDE questions. First, classify by the property the stated threat attacks right now, not by what it might lead to or by which data is involved: exposed secrets are information disclosure even if they could later enable escalation, and a threat framed as someone credibly denying their own action is repudiation even when records being changeable is part of the cause. Second, check that the control fixes that property. Ordinary (server-side) TLS lets the client verify the server and encrypts the channel, but it proves nothing about who the client is; authenticating callers needs a credential the caller presents, such as a client certificate in mutual TLS or a signed token. A control from a different row, however useful, does not address the category in question.
How does cyber deception detect attackers?
Cyber deception plants decoy assets that legitimate users and systems have no reason to touch, so any interaction is a high-fidelity alert. It is especially good at catching attackers who are already inside and performing discovery, credential use or lateral movement.
| Tool | What it is | Trade-off |
|---|---|---|
| Honeypot | A decoy system or service; low-interaction emulates a few services, high-interaction is a full system an attacker can use | Needs a host to build and maintain; high-interaction gives richer intelligence but more risk and upkeep |
| Honeynet | A network of honeypots that looks like a real segment | Most realistic, most infrastructure |
| Honeytoken | Decoy data: a fake credential in a script, a canary document, a fake database record or API key | No new servers; alerts when the token is used, for example a logon with the decoy password |
Choose the decoy that matches the attacker behaviour you want to catch, and put it where that behaviour happens: a fake cloud access key in a code repository catches credential theft from source code; a canary document in a finance share catches someone opening files they should not; a decoy service on an internal subnet catches network discovery. Honeytokens are the lightest option because they ride on existing systems. Generic auditing of real resources also records legitimate activity, so it cannot match a decoy's signal-to-noise.
Placement and exclusion decide alert quality. Decoys belong where attackers go (internal segments for discovery and lateral movement, credential stores, sensitive shares). Then every automated process that legitimately sweeps hosts or data must be configured to skip them, whether it is security tooling, IT operations tooling, backup or search indexing. A decoy that any legitimate process touches generates benign alerts and loses the "every touch is suspicious" property that makes deception worth running.
Tip. Objective 1.4 is tested mostly with short scenarios rather than definitions: an intrusion summary to classify by actor type, an activity description to place at the right ATT&CK level or tactic, a small heat-map or threat-map table to prioritise from, a set of intelligence items to rank by timeliness, relevance and accuracy, a TLP-labelled report to share correctly, a STIX object to choose, a threat-model finding to place in STRIDE, or a deception design to pick. Wrong options are usually sensible actions in general that fail one detail of the scenario, so read the constraint (time frame, label, data available, property attacked) before choosing. Some items ask you to select two answers.
- A hunt starts from a specific, testable hypothesis about behaviour, checked against telemetry you actually hold; its conclusion covers only the systems whose data was searched.
- APTs are marked by narrow, deliberate targeting and determination to keep or regain access; common tools, encryption and long dwell alone also fit financially motivated crime.
- Insider classification depends on who is acting: evidence that ties activity to the person points to an insider, while evidence that ties it only to their credentials points to an external actor.
- ATT&CK tactic = why, technique = how, procedure = this actor's exact implementation; a technique listed under several tactics is recorded under the goal that step achieved.
- Heat maps prioritise techniques that relevant groups use widely and you do not yet detect.
- Pyramid of Pain: hashes, IPs, domains, artifacts, tools, TTPs; behavioral detections at the top cost the adversary most to evade.
- Act on intelligence only when it is timely, relevant and accurate; corroboration counts only when it is independent.
- TLP:AMBER allows the organisation and its clients; AMBER+STRICT the organisation only. STIX is the format, TAXII the transport, and a Sighting reports that you saw an indicator.
- Deconflict, corroborate and expire IoCs before use; hunt backwards for past compromise, block forward where collateral risk is low.
- STRIDE pairs Spoofing-authentication, Tampering-integrity, Repudiation-non-repudiation, Information disclosure-confidentiality, DoS-availability, Elevation-authorization; decoys must be excluded from all legitimate traffic.
Frequently asked questions
What is the difference between threat intelligence and threat hunting?
Threat intelligence is evaluated information about adversaries, their goals and their techniques, collected from open, closed and shared sources. Threat hunting is the proactive search of an organisation's own telemetry for an adversary that has not triggered an alert, usually starting from a hypothesis built on that intelligence. Intelligence says what to look for; hunting looks for it.
What is the Pyramid of Pain?
The Pyramid of Pain, by David Bianco, ranks indicator types by how costly they are for an adversary to change: hash values (trivial), IP addresses (easy), domain names (simple), network and host artifacts (annoying), tools (challenging) and TTPs (tough). Detecting higher levels, especially behaviour, forces attackers to change how they operate, so it has the most lasting value.
What is the difference between atomic and behavioral indicators of compromise?
Atomic indicators are discrete values matched exactly, such as file hashes, IP addresses and domains; an attacker evades them by recompiling or changing infrastructure. Behavioral indicators describe patterns of activity, such as a newly created account being added to a privileged group within minutes, and they keep matching when the attacker changes files and infrastructure.
What do TLP:AMBER and TLP:AMBER+STRICT allow?
Under Traffic Light Protocol 2.0, TLP:AMBER information may be shared within the recipient's organisation and with its clients on a need-to-know basis. TLP:AMBER+STRICT restricts sharing to the recipient's organisation only. Sharing beyond what a label allows requires the source's permission first.
How do STIX and TAXII differ?
STIX 2.1 is a JSON format for threat intelligence objects such as Indicator, Threat Actor, Attack Pattern, Relationship and Sighting. TAXII 2.1 is the HTTPS transport protocol whose servers host collections that clients pull those objects from and, where permitted, add objects to. STIX describes the intelligence; TAXII moves it between organisations such as ISAC members.
What do the six STRIDE categories stand for?
STRIDE stands for Spoofing, Tampering, Repudiation, Information disclosure, Denial of service and Elevation of privilege. Each violates a security property: authentication, integrity, non-repudiation, confidentiality, availability and authorization respectively. Threat modelers use it at design time to classify what could go wrong with a system and choose matching controls.
What is the difference between a honeypot, a honeynet and a honeytoken?
A honeypot is a single decoy system or service, a honeynet is a network of decoys that imitates a real segment, and a honeytoken is decoy data such as a fake credential or document that alerts when used. Honeytokens need no new infrastructure; honeypots and honeynets need hosts but can capture more attacker behaviour. All of them rely on legitimate users and systems never touching the decoy.
How confident should an attribution be?
Attribution should be stated with a confidence level that reflects how many independent, hard-to-fake lines of evidence support it. Keyboard layouts, code comments in a particular language or a reused server are easy to plant or shared by unrelated actors, so on their own they justify only low confidence. Consistent TTPs across intrusions, infrastructure patterns over time and independent corroboration raise it.
Source
This lesson covers the "Security Operations" domain of the official CS0-004 exam guide. Vendors revise their guides — check the source for the current version.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.