Understanding Cyber Threats, IoCs, and Attack Methodology · Topic 4 of 4

Indicators of Compromise and Attack Frameworks

Learn IoC categories, IoCs versus IoAs, the Pyramid of Pain, the Cyber Kill Chain, MITRE ATT&CK tactics and the Diamond Model for CSA 312-39.

  • 5 min
  • Includes a diagram
In a nutshell
  • IoC categories: email, network, host based and behavioral.
  • IoCs show a compromise happened. IoAs show an attack in progress.
  • Pyramid of Pain, bottom to top: hashes, IPs, domains, artifacts, tools, TTPs.

What it is

An indicator of compromise (IoC) is evidence that a system has been or is being attacked, such as a malicious hash, a bad domain or an odd registry key. IoCs let a SOC search for and block known threats.

Attack methodology frameworks give a shared vocabulary for attack stages and techniques. The exam uses the Cyber Kill Chain, MITRE ATT&CK and the Diamond Model most.

Raw eventIoC matchhash, IP, domainMap to frameworkkill chain stage, ATT&CK tacticReport and respond

How it works

IoC categories

CategoryExamples
Email indicatorsSender address, subject, attachment hash, links, failed SPF, DKIM or DMARC
Network indicatorsMalicious IP addresses, domains and URLs, beaconing, large outbound transfers
Host based indicatorsFile hashes, file names and paths, registry keys, new services or scheduled tasks, unusual processes
Behavioral indicatorsLogons at odd hours, PowerShell with encoded commands, mass file encryption

IoCs of common attacks

AttackTypical IoCs
Brute forceMany 4625 failed logons, then a 4624 success from the same source
RansomwareMany files renamed with a new extension, ransom notes, shadow copies deleted, spike in file writes
Data exfiltrationLarge uploads to rare destinations, DNS tunneling
Web attackSQL or script payloads in URLs, many 404 or 500 responses
PhishingFailed email authentication, lookalike domains, Office apps spawning shells

IoC versus IoA

AspectIoCIoA (indicator of attack)
QuestionHas a compromise happened?Is an attack in progress?
FocusArtifacts left behindBehavior and intent
TimingReactiveProactive
ExampleKnown malware hashA process dumping credentials from memory

IoCs are shared as STIX over TAXII, and they go stale quickly because attackers change hashes and addresses easily.

Pyramid of Pain

Pyramid of Pain from least to most pain for the attacker: hash values trivial, IP addresses easy, domain names simple, network and host artifacts annoying, tools challenging, and TTPs tough at the top. The Pyramid of Pain ranks indicators by how much it hurts the attacker when defenders detect and deny them. From least to most pain:

LevelIndicatorPain to the attacker
1Hash valuesTrivial, recompile or change one byte
2IP addressesEasy, move to a new address
3Domain namesSimple, register a new domain
4Network and host artifactsAnnoying, change tool behavior
5ToolsChallenging, find or build new tools
6TTPsTough, change how they operate

Cyber Kill Chain

Cyber Kill Chain stages in order: reconnaissance, weaponization, delivery, exploitation, installation, command and control, and actions on objectives. Lockheed Martin's Cyber Kill Chain has seven stages:

StageWhat happens
ReconnaissanceResearch the target, harvest email addresses
WeaponizationPair an exploit with a payload, such as a malicious document
DeliverySend the weapon: email, web, USB
ExploitationThe exploit runs on the victim system
InstallationMalware or a backdoor is installed for persistence
Command and ControlThe implant connects back to the attacker
Actions on ObjectivesData theft, encryption, destruction
ReconnaissanceWeaponizationDeliveryExploitationInstallationCommand and ControlActions on Objectives

Breaking the chain at any stage can stop the attack, and earlier is cheaper.

MITRE ATT&CK

MITRE ATT&CK is a knowledge base of real adversary behavior. Its Enterprise matrix lists tactics (the why), each with techniques and sub techniques (the how), identified by IDs such as T1059 (Command and Scripting Interpreter). The current release, v20 (2026), has 15 Enterprise tactics.

TacticGoal
ReconnaissanceGather information to plan
Resource DevelopmentBuild infrastructure, accounts, tools
Initial AccessGet into the network
ExecutionRun malicious code
PersistenceKeep the foothold
Privilege EscalationGain higher permissions
Stealth (TA0005, formerly Defense Evasion)Hide actions and look like normal activity
Defense Impairment (TA0112, new in v20)Disable or weaken security tools and controls
Credential AccessSteal account names and passwords
DiscoveryLearn the environment
Lateral MovementMove through the environment
CollectionGather data of interest
Command and ControlCommunicate with compromised systems
ExfiltrationSteal data out
ImpactDisrupt, destroy or encrypt

Older material, and many exam questions, use the earlier 14 tactic list, where Defense Evasion covered both hiding (such as clearing logs) and disabling defenses (such as stopping antivirus). Treat Defense Evasion as the same idea. SOCs map detection rules to ATT&CK techniques to see coverage gaps.

Diamond Model and hacking phases

The Diamond Model links four features of every intrusion event: adversary, capability, infrastructure and victim.

EC-Council's hacking methodology has five phases: reconnaissance, scanning, gaining access, maintaining access and clearing tracks.

A worked example

An analyst finds a phishing email with a macro document, PowerShell launched by Word, a new scheduled task, and beacons to a rare domain. In kill chain terms these are Delivery, Exploitation, Installation and Command and Control.

In ATT&CK terms they are Initial Access, Execution, Persistence and Command and Control. Blocking the domain stops this sample, but detecting the PowerShell behavior, a TTP, hurts the attacker more.

How the exam asks about this

  • "Which kill chain stage pairs an exploit with a payload?" → Weaponization.
  • "Which indicator on the Pyramid of Pain is easiest for an attacker to change?" → Hash values.
  • "Which ATT&CK tactic covers moving from one compromised host to others?" → Lateral Movement.

What to remember for the exam

  • IoC categories: email, network, host based and behavioral.
  • IoCs show a compromise happened. IoAs show an attack in progress.
  • Pyramid of Pain, bottom to top: hashes, IPs, domains, artifacts, tools, TTPs.
  • Kill chain: Reconnaissance, Weaponization, Delivery, Exploitation, Installation, Command and Control, Actions on Objectives.
  • Diamond Model: adversary, capability, infrastructure, victim.
Watch out

Do not confuse kill chain stages with ATT&CK tactics. "Weaponization" is only in the kill chain, and "Credential Access" and "Discovery" are only in ATT&CK.

Common mistakes

Relying only on hash and IP blocklists. They sit at the bottom of the pyramid and go stale fast.

Mixing up Exploitation and Installation. Exploitation runs the code. Installation adds the persistent backdoor.

Calling techniques tactics. Persistence is a tactic. A scheduled task is a technique.

Check yourself

  • Which IoC category does a malicious registry Run key belong to?

    Host based indicators, because it is an artifact on the system itself.

  • Why do TTPs sit at the top of the Pyramid of Pain?

    Changing how they operate is the hardest and most costly thing for an attacker to do.

  • What are the four features of the Diamond Model?

    Adversary, capability, infrastructure and victim.

Topic 4 of 4 in Understanding Cyber Threats, IoCs, and Attack Methodology

Test yourself on Understanding Cyber Threats, IoCs, and Attack Methodology

The full EC-Council 312-39 question bank has 700 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by EC-Council. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.