Glossary term

What is an indicator of compromise (IOC)?

Technical evidence, such as a file hash, IP address or domain, that a system may have been breached.

Updated Nov 26, 20264 min read

An indicator of compromise (IOC) is a piece of technical evidence, such as a file hash, IP address, domain or registry key, showing that a system may have been breached. Security teams search their logs and endpoints for indicators of compromise to find intrusions, scope them and share what they learned with other defenders.

How indicators of compromise work

IOCs come from three main places: your own incident investigations, threat reports published by security vendors and government agencies, and threat intelligence feeds. Analysts match them against logs, EDR telemetry and SIEM data, either as live detection rules or as searches over stored data, to find intrusions that happened or are still underway.

NIST's glossary describes IOCs as technical artifacts or observables suggesting that an attack is imminent or underway, or that a compromise may already have occurred. In practice most IOCs point backward: a match tells you the attacker was there, not what they will do next.

That is why IOCs need a validity period. Attackers rent new servers, register new domains and recompile their malware, so an IOC that was accurate in last quarter's report can match nothing today, or match a legitimate service that now uses the same IP address. An IOC with no expiry date ends up generating false positives.

Common types of indicators of compromise

Type

Example

How fast it goes stale

File hash

The SHA-256 hash of a malware sample

Very fast: one recompile changes it

IP address

A command-and-control server address

Fast: servers are rotated and addresses reassigned

Domain or URL

A phishing domain or payload URL

Fast: new domains are cheap to register

Email artifacts

Sender address, subject line, attachment name

Fast: often changed per campaign

Registry key or file path

A persistence entry under a Run key

Moderate: tied to the malware's code

Unusual account or network behavior

Logons at odd hours, large transfers to a new destination

Slowest: reflects how the attacker operates

The order follows David Bianco's Pyramid of Pain (2013): the cheaper an indicator is for the attacker to change, the sooner it stops being useful to you. Hash values sit at the bottom of the pyramid, tactics, techniques, and procedures (TTPs) at the top.

Why indicators of compromise matter

Several teams rely on IOCs, each for a different job:

  • SOC analysts turn IOCs into detection rules and use them as context when they triage alerts.
  • Incident responders use them to scope a breach: once one host shows a known hash or beacon domain, searching every host for the same IOCs shows how far the attacker went.
  • Threat hunters search historical data for IOCs from a new report, to check whether a campaign already reached them.
  • Cyber threat intelligence (CTI) teams collect, deduplicate and score IOCs, then share them.

Sharing is where IOCs scale. In Structured Threat Information Expression (STIX) 2.1, an IOC becomes an indicator object with a detection pattern and validity dates (valid_from, valid_until), which another organization's tools can ingest as is.

Indicators of compromise vs indicators of attack

An IOC is evidence after the fact. An indicator of attack (IOA) is behavior that shows an attack in progress, whatever tool or infrastructure carries it. A process reading LSASS memory to dump credentials is an IOA even when the binary doing it has never been seen before.


IOC

IOA

What it shows

That a compromise may have happened

That an attack is happening

Timing

After the fact, often found retroactively

During the attack

Form

Static artifacts: hashes, IP addresses, domains, keys

Behavior: sequences of actions and their intent

Example

The hash of a known credential-dumping tool

Any process reading LSASS memory

Shelf life

Short, unless refreshed

Longer: behavior changes slowly

Best use

Matching, scoping a breach, sharing

Detecting unknown tooling in real time

Above both sit TTPs, cataloged in MITRE ATT&CK: the attacker's way of working, the layer that is hardest for them to change and the most durable for defenders to detect.

How Filigran helps

OpenCTI is Filigran's open-source threat intelligence platform: it unifies, operationalizes and prioritizes threat intelligence. In OpenCTI, an indicator covered by a decay rule carries a score that decays until it reaches the rule's revoke score, at which point the indicator is revoked and no longer used for detection: see how OpenCTI scores and expires indicators.

Try OpenCTI on the XTM Hub.

FAQ

What is an example of an IOC?

The SHA-256 hash of a ransomware binary, the IP address of a command-and-control server and a phishing domain are typical IOCs. The table under "Common types of indicators of compromise" lists more.

What does IOC stand for in security?

Indicator of compromise: technical evidence that a system may have been breached. In STIX and in threat intelligence platforms, it is usually stored as an "indicator".

Are IOCs still useful against modern attacks?

Yes, for scoping a known intrusion, hunting through past data and sharing findings quickly, where they are fast and precise. They are weak against attackers who rebuild infrastructure for each victim, which is why teams pair them with IOAs.

What is the difference between an IOC and a TTP?

An IOC is a single artifact an attacker left behind; a TTP describes how the attacker operates. TTPs sit at the top of the Pyramid of Pain because they are the hardest for an attacker to change.