Interview question
What is the difference between an indicator of compromise and a TTP, and why does the distinction matter?
The Pyramid of Pain question in disguise. Getting the definitions right is the easy half; explaining the operational consequence is what scores.
What a strong answer covers
- An IOC is an artefact — a hash, IP, domain, registry key — that suggests compromise.
- A TTP describes adversary behaviour: the tactic (why), the technique (how) and the procedure (the specific implementation).
- References the Pyramid of Pain: cost to the adversary rises from hashes through infrastructure and tools to TTPs.
- Explains the consequence — indicator-based detection decays in days, behavioural detection lasts months or years.
- Does not dismiss IOCs; they are cheap to deploy and worth blocking, they are just not the deliverable.
- Connects to detection engineering: TTP-level findings are what produce durable rules and hunt hypotheses.
Expert answer
An indicator of compromise is an artefact — a file hash, an IP address, a domain, a registry key, a mutex — whose presence suggests something malicious happened. A TTP describes behaviour: the tactic is what the adversary was trying to achieve, the technique is how, and the procedure is the specific way this actor implemented it.
The distinction matters because of cost to the adversary, which is what the Pyramid of Pain captures. Changing a hash is trivial — recompile. Rotating an IP or registering a new domain is easy. Changing tooling is expensive. Changing how you operate is hardest of all, because it means retraining people and rebuilding process.
The operational consequence is that detection built on indicators decays in days, while detection built on behaviour lasts months or years. If I tell detection engineering "block these forty IPs", that work is worthless by next month. If I tell them "this actor establishes persistence with a scheduled task that calls a script interpreter from a user-writable directory, here is the telemetry that reveals it, and here is the benign population that will produce false positives", that detection keeps working even after the infrastructure changes.
That does not mean indicators are useless. They are cheap to deploy, they catch the careless, and they are useful for scoping an incident retrospectively. The error is treating a list of them as the product rather than as the starting point for a pivot.
Mistakes that cost candidates points
- Defining a TTP as "an advanced IOC" or otherwise collapsing the two.
- Dismissing indicators entirely rather than placing them correctly.
- Naming the Pyramid of Pain without explaining what the levels imply for detection lifespan.
- Not connecting the distinction to anything a defender would actually do differently.
You have read the answer, which is the easy part. Answer it in your own words and get graded against this same rubric, with the follow-up probe an interviewer would ask next.
Go deeper
Related questions
- How would you find command-and-control beaconing in network telemetry when you have no indicators to search for?
- You have read a report describing an actor that uses scheduled tasks to run scripts from user-writable directories. Turn that into a threat hunt.
- What is cyber threat intelligence, and how is it different from a threat feed?
- Why do you want to work in threat intelligence rather than another security discipline?
- What threat intelligence do you read regularly, and how do you decide whether to believe a vendor report?