Glossary · I

Indicator of Compromise (IoC)

Observable artifact, such as a file hash, IP address, domain or unusual process, that suggests a system or account may have been compromised.

By Obseria TeamUpdated

Definition

An indicator of compromise (IoC) is an observable artifact that suggests a system, network or account may have been breached. Typical IoCs are file hashes of known malware, IP addresses and domains of command and control infrastructure, suspicious URLs, unexpected processes or registry changes. Security teams match IoCs from threat intelligence against logs and telemetry to detect known threats, and they derive new IoCs from incident investigations to share them with others.

What is an indicator of compromise?

An indicator of compromise (IoC) is a piece of evidence that something malicious has happened or is happening in an environment. The term comes from digital forensics: after a breach, investigators collect the traces an attacker left behind, such as files, network connections or modified configurations. Those traces become indicators that other organizations can search for in their own data.

IoCs are mainly reactive. They describe known threats and help answer the question "have we seen this before, and where?". That makes them valuable for detection and for scoping an incident, but they only cover what has already been observed somewhere.

Common types of IoCs

  • File based: cryptographic hashes such as SHA-256 of malicious files, file names and paths, or unexpected executables in temporary directories.
  • Network based: IP addresses, domains and URLs associated with malware delivery or command and control, unusual ports, TLS certificate fingerprints or suspicious DNS patterns.
  • Host based: unknown processes, new services or scheduled tasks, registry changes on Windows, modified system binaries or new user accounts.
  • Account and behavior based: logins from unusual locations, privilege changes, access to sensitive data at unusual times or a spike in failed authentications, as seen in a brute-force attack.

IoC quality and the Pyramid of Pain

Not all IoCs are equally useful. The Pyramid of Pain, a model by security researcher David Bianco, ranks indicators by how hard they are for an attacker to change. Hashes, IP addresses and domains sit at the bottom: they are easy to detect but also easy for an attacker to replace. Network and host artifacts, tools and finally tactics, techniques and procedures (TTPs) sit higher. Detecting behavior at the TTP level, for example described with MITRE ATT&CK, forces an attacker to change how they operate, which is much more costly than changing an IP address.

IoCs also age. An IP address used by an attacker last month may belong to a legitimate cloud customer today. Indicators should carry a source, a confidence level and an expiry, otherwise old lists produce false positives.

IoC vs. indicator of attack (IoA)

An indicator of attack (IoA) focuses on what an attacker is trying to do rather than on known artifacts. Examples are a process that dumps credentials from memory, an office application spawning a shell or a sudden mass download from a file share. IoAs describe behavior and can detect new or modified threats for which no IoC exists yet. In practice both complement each other: IoCs give fast, precise matches for known threats, IoAs and behavior based rules cover the unknown.

Sharing IoCs with threat intelligence

IoCs are exchanged through threat intelligence feeds, industry groups and national CERTs. Common standards are STIX (Structured Threat Information Expression) for describing indicators and their context, and TAXII for transporting them between systems. Open source platforms such as MISP help store, enrich and share indicators. For detection, these feeds are loaded into a SIEM or another analytics system and matched against incoming logs.

Detecting IoCs in logs and telemetry

Matching IoCs only works if the relevant data is collected and kept long enough. Useful sources are DNS and proxy logs, firewall and flow logs, endpoint and process events, cloud audit logs such as AWS CloudTrail, authentication logs and application logs. Central log aggregation and a sufficient retention period allow retrospective searches: when a new IoC is published, you can check whether it appeared in your environment weeks ago. Normalized fields for IP addresses, domains, hashes and user names make these searches reliable. Our article on security logging best practices covers which events to log and how long to keep them.

A match is a starting point, not a verdict. Investigators confirm whether the activity is malicious, determine which hosts, accounts and services are affected and document the findings as an incident. Newly found artifacts become IoCs for further searches.

How Obseria helps

Obseria Threat Observability analyzes audit logs, cloud events, Kubernetes audit logs and network data next to the traces and metrics of the affected services. Detection rules are written as code and mapped to ATT&CK techniques, and every finding is linked to service, deployment and owner. Security log analytics keeps audit logs searchable for retrospective IoC searches, with PII masked before storage, and findings can be routed into incident management or forwarded to your SIEM. The article SIEM vs. observability explains how both fit together.

Frequently asked questions

Typical examples are hashes of known malware, IP addresses and domains of command and control servers, suspicious URLs, unknown processes or services, unexpected registry changes and logins from unusual locations.

An IoC is an artifact of a known threat, such as a file hash or an IP address. An indicator of attack describes attacker behavior, such as credential dumping, and can also detect new threats for which no IoC exists yet.

Attackers change infrastructure frequently, and IP addresses or domains are reassigned to legitimate users. Without expiry and confidence levels, old indicators cause false positives and hide relevant matches.

IoCs are usually matched in a SIEM, an endpoint detection tool or a log analytics platform against DNS, proxy, firewall, endpoint, authentication and cloud audit logs.

Put these concepts into practice

Try Obseria free for 14 days, with OpenTelemetry and no proprietary agents.