Threat intelligence and threat hunting

7 min 5 sections 4 practice questions 5 sources citedISC2 objective 7.2

A shopkeeper hears from the shop next door that thieves are working the street in pairs, one distracting the assistant while the other lifts the goods. She watches differently that afternoon. Threat intelligence is that kind of knowledge about attackers, gathered and shared in an organised way. No background is assumed. A security professional uses it to decide what to watch for, and hunts for what the alarms have not caught.

By the end of this unit you will be able to:

  • Tell apart an indicator of compromise and an attacker's tactics, techniques and procedures
  • Name the sources of threat intelligence and the standards used to share it
  • Put the seven steps of the Cyber Kill Chain in order
  • Explain what MITRE ATT&CK is used for
  • Explain how threat hunting differs from waiting for an alert

Forty thousand warnings and one that mattered

An illustrative example

A group of doctors' surgeries pays nothing for a feed that adds forty thousand suspect internet addresses to its firewall every day. Nobody has ever looked at the list.

On Monday a health-sector sharing group emails its members. Criminals are telephoning surgery receptions, posing as the supplier of the appointments software and asking staff to install a remote-support program. The email is not read. On Thursday a receptionist at one surgery takes exactly that call.

Which of the two sources could have protected the surgery, and why was the other of so little use?

Knowing the burglar's habits before he calls

Threat intelligence is information about attackers, their aims, their methods and their tools, that has been collected, checked and analysed so that it can support a decision. A raw list of suspect addresses is data. It becomes intelligence when someone has judged what it means for a particular organisation.

comes at three levels, sorted by who uses it.

Strategic
Who targets organisations like this one, and why. It is written for senior management and shapes budgets and priorities.
Operational
How current attack campaigns are being run. It is used by security managers to adjust defences.
Tactical
Specific technical details that tools and analysts can match against, such as addresses, file and methods.

Four tests decide whether a piece of intelligence is worth having. It is relevant to this organisation's sector and systems. It is timely, because an address the attacker abandoned last year protects nobody. It is accurate. It states how confident its source is.

Indicators and behaviours

An indicator of compromise (IOC) is a technical trace suggesting that an attack is about to happen, is happening or has happened. Typical indicators are the network address of an attacker's server, a suspicious website name, the hash of a malicious file and the subject line of a malicious email.

Tactics, techniques and procedures (TTPs) describe how an attacker behaves. A tactic is the goal of a stage, such as getting in. A technique is the general method, such as a telephone call that tricks staff. A procedure is the exact way one group carries it out.

Indicators against behaviours
QuestionIndicator of compromiseTactics, techniques and procedures
ExampleAn address, a file hashPhoning reception while posing as a supplier
Can the attacker change itEasily, in minutesOnly by retraining and retooling
Stays useful forHours to weeksMonths to years
Best used forAutomatic matching and blocking by toolsHunting, designing detections and briefing staff

Indicators are cheap to load into tools and cheap for an attacker to replace. Behaviours are harder to detect and far harder to change.

Where intelligence comes from and how it is shared

A threat feed is a regular stream of intelligence, usually indicators in a form that security tools load automatically.

Open-source
Free and public: researchers' reports, public lists, security news.
Commercial
Paid services that collect, check and tailor intelligence.
Government
National cyber security agencies that publish alerts and advisories.
Sharing communities
An Information Sharing and Analysis Center (ISAC) is a member-run body through which organisations in one sector, such as finance, health or energy, share what they are seeing.
Internal
The organisation's own incidents and logs. Nothing is more relevant.

Two standards from the standards body OASIS let machines exchange intelligence. Structured Threat Information Expression (STIX) is the language and format in which intelligence is written down. Trusted Automated Exchange of Intelligence Information (TAXII) is the protocol that carries it between organisations over an web connection.

STIX is the letter. TAXII is the postal service.

Before sharing, an organisation removes and anything confidential about its own systems.

Two maps of an attack: the kill chain and ATT&CK

The Cyber Kill Chain, published by the defence company Lockheed Martin, sets out seven steps that an intruder must complete in order. Stopping any one step breaks the chain.

  1. Reconnaissance: choosing the target and studying it.
  2. Weaponisation: preparing the malicious file or tool.
  3. Delivery: sending it, by email, website or memory stick.
  4. Exploitation: a weakness is used and the attacker's code runs.
  5. Installation: the attacker's software settles in, so that access survives a restart.
  6. Command and control (C2): the compromised machine contacts the attacker for instructions.
  7. Actions on objectives: the attacker does what they came for: steal, encrypt or destroy.

An intrusion must complete seven steps in order

An intrusion must complete seven steps in orderSeven steps of Lockheed Martin's Cyber Kill Chain along a time axis, left to right: reconnaissance, weaponisation, delivery, exploitation, installation, command and control, and actions on objectives.Reconnaissancechoosing andstudying the targetWeaponisationpreparing themalicious fileDeliveryby email, websiteor memory stickExploitationa weakness used,the code runsInstallationaccess survivesa restartCommand andcontrolmachine contactsthe attackerActions onobjectivessteal, encryptor destroyAn intrusion must complete seven steps in orderSeven steps of Lockheed Martin's Cyber Kill Chain along a time axis, left to right: reconnaissance, weaponisation, delivery, exploitation, installation, command and control, and actions on objectives.Reconnaissancechoosing andstudying the targetWeaponisationpreparing themalicious fileDeliveryby email, websiteor memory stickExploitationa weakness used,the code runsInstallationaccess survivesa restartCommand andcontrolmachine contactsthe attackerActions onobjectivessteal, encryptor destroy
Read this figure as text

The Cyber Kill Chain, published by Lockheed Martin, sets out seven steps an intruder must complete in order. Stopping any one step breaks the chain, and the earlier it is broken, the less harm is done.

  1. Reconnaissance: the attacker chooses the target and studies it.
  2. Weaponisation: the attacker prepares the malicious file or tool.
  3. Delivery: the attacker sends it, by email, website or memory stick.
  4. Exploitation: a weakness is used and the attacker's code runs.
  5. Installation: the attacker's software settles in, so that access survives a restart.
  6. Command and control: the compromised machine contacts the attacker for instructions. Blocking this step is the last chance before the objective.
  7. Actions on objectives, drawn as the point of harm: the attacker does what they came for, to steal, encrypt or destroy.

Each defence and each detection can be placed on a step. The earlier the chain is broken, the less harm is done. Blocking command and control is the last chance before the objective.

MITRE ATT&CK is a free knowledge base of attacker tactics and techniques drawn from real attacks. MITRE is a United States not-for-profit research organisation. ATT&CK is laid out as a table: tactics across the top, and under each the techniques that achieve it. Teams use it to describe an incident in shared terms, to see which techniques they could not detect, and to plan hunts and tests.

The kill chain is a short sequence for explaining an attack. ATT&CK is a detailed catalogue.

Threat hunting: searching without waiting for an alarm

Detection tools wait for something to match. Threat hunting is the active search of an organisation's own systems for intruders who have slipped past existing controls. It starts from the assumption that someone may already be inside.

  1. Form a hypothesis from intelligence. For example: if the group the ISAC described were here, remote-support programs would have been installed outside any approved change.
  2. Gather the records that would show it: logs and the activity recorded on computers.
  3. Search and analyse.
  4. If an intruder is found, hand over to incident response at once.
  5. Whatever the result, turn the search into a permanent detection rule and note any record that was missing.

A hunt that finds nothing still produces something: a new rule, and a list of gaps in .

Common misconception

“Subscribing to more threat feeds gives more protection.”

Volume without relevance adds noise and cost. A small amount of timely intelligence about attacks on the organisation's own sector and systems is worth more than millions of unread indicators.

Worked example: Using the warning about the telephone calls

The surgery group's security lead reads the sharing group's email on Monday. It describes callers posing as the appointments software supplier and names the remote-support program they ask staff to install.

  1. Judge it. The source is the group's own sector, the report is two days old and every surgery uses that software. It is relevant and timely.
  2. Place it on the kill chain. The call is delivery. The program is installation and gives command and control. Breaking it at delivery is cheapest.
  3. Act on the behaviour. Every reception desk is told that day: the supplier never telephones to ask for software to be installed, and such calls go to the practice manager.
  4. Act on the indicator. The named program is added to the list of software that the surgeries' computers refuse to run.
  5. Hunt. The lead searches the computers' records for that program installed in the past month. One surgery has it. The case goes to incident response.
  6. Share back. The lead reports the finding to the sharing group, with patient and staff details removed.

One email, read on the day, produced a staff briefing, a block, a hunt and a discovered intrusion. Thursday's call fails at the reception desk.

A question, worked through

A regional water company loads 60,000 indicators a day from three free feeds into its firewalls. In a year the blocks have matched nothing of note. The company belongs to its sector's ISAC, which last week described in detail how a criminal group is entering water companies through a remote-maintenance program fitted to pumping equipment. The company uses that program. The security manager has two analysts available this week.

What is the BEST use of the analysts' time?

  1. Hunt in the company's own records for the behaviour the ISAC described
  2. Subscribe to a commercial feed to add more indicators to the firewalls
  3. Review the 60,000 daily indicators by hand to find the relevant ones
  4. Map each of the company's detection rules to the Cyber Kill Chain
Decide on your answer, then open the reasoning
  1. The question is about priority with two people and one week. The decisive facts are that the ISAC report concerns this sector, is a week old and names a program the company runs.
  2. Rule out c. Reading 420,000 indicators in a week is not possible, and a year of them has matched nothing.
  3. Rule out b. Buying more indicators repeats the approach that has not helped.
  4. Option d is worthwhile work. It would show gaps in detection, but it does not answer whether the described group is already inside.
  5. Option a turns relevant, timely intelligence about behaviour into a hypothesis and tests it against the company's own records. It is the best use of the week.

Answer: A. Hunt in the company's own records for the behaviour the ISAC described

Choosing between good answers

Intelligence sources must be compared
choose the one that is relevant to the organisation's sector and systems and is current. Do not choose by volume.
A question asks for the format and the means of exchange
STIX describes the intelligence. TAXII carries it.
A question asks what an attacker finds hardest to change
choose tactics, techniques and procedures over addresses and file hashes.
No alert has fired, yet there is reason to think an intruder may be present
choose threat hunting from a hypothesis.
A question asks where on the kill chain to stop an attack
choose the earliest step that can be broken.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

An analyst reconstructs an intrusion at a law firm from its records. Put the events in the order of the Cyber Kill Chain.

Put the steps in order with the buttons beside each one. The whole order has to be right.

  1. 1A flaw in the document reader running the attacker's code
  2. 2A program set to start each time the partner's laptop restarts
  3. 3Client files compressed and sent out of the firm
  4. 4An email reaching a partner with a malicious invoice attached
  5. 5Repeated visits to the staff pages of the firm's website from one address
  6. 6The laptop contacting an outside server every ten minutes for orders

What to remember

  • Threat intelligence is analysed information about attackers that supports a decision. It must be relevant, timely and accurate.
  • Indicators of compromise are traces such as addresses and hashes. Tactics, techniques and procedures are behaviours and last longer.
  • Feeds come from open, commercial, government, sector and internal sources. STIX is the format and TAXII the exchange protocol.
  • The Cyber Kill Chain has seven steps: reconnaissance, weaponisation, delivery, exploitation, installation, command and control, actions on objectives.
  • MITRE ATT&CK is a catalogue of attacker tactics and techniques from real attacks.
  • Threat hunting searches proactively, from a hypothesis, for intruders that existing controls have missed.

Say it from memory

  1. What are threat feeds and threat hunting, and what do the kill chain and ATT&CK add?

    A threat feed delivers intelligence, often indicators of compromise, for tools to load. STIX is the format and TAXII the exchange protocol. The Cyber Kill Chain orders an intrusion in seven steps. ATT&CK catalogues attacker tactics and techniques. Threat hunting searches proactively, from a hypothesis, for intruders that alerts missed.

    Read this part again

  2. What are the three levels of threat intelligence, and the four tests of whether it is worth having?

    Strategic, for senior management: who targets organisations like this and why. Operational, for security managers: how current campaigns are run. Tactical, for tools and analysts: addresses, file hashes and methods. It must be relevant, timely and accurate, and state how confident its source is.

    Read this part again

  3. How does an indicator of compromise differ from tactics, techniques and procedures?

    An indicator of compromise is a technical trace, such as an address or a file hash. The attacker can change it easily, in minutes, and it stays useful for hours to weeks. TTPs describe how the attacker behaves. They change only by retraining and retooling and stay useful for months to years.

    Read this part again

  4. Give the seven steps of the Cyber Kill Chain in order.

    Reconnaissance, weaponisation, delivery, exploitation, installation, command and control (C2), and actions on objectives. Stopping any one step breaks the chain, and the earlier it is broken, the less harm is done.

    Read this part again

  5. In order, what are the steps of a threat hunt, and what does a hunt that finds nothing produce?

    Form a hypothesis from intelligence. Gather the records that would show it. Search and analyse. If an intruder is found, hand over to incident response at once. Whatever the result, turn the search into a permanent detection rule and note any missing record. A hunt that finds nothing still yields a new rule and a list of logging gaps.

    Read this part again

Sources