← All articles
Blog

Indicators of compromise (IOCs): types, examples and where to find them in the evidence

What indicators of compromise are, IOC types and examples, IOCs vs IOAs, and where each type lives on Windows and Linux hosts in an investigation.

2 December 2026 7 min read

Indicators of compromise (IOCs) are pieces of evidence that show a system has been, or may have been, compromised: an attacker's IP address in a log, the hash of a malicious file, a domain used for command and control, a scheduled task with a telltale name, an account nobody created on purpose. They are what investigators write down as they work an incident, what threat intelligence teams share, and what detection tools search for.

Most explanations of IOCs stop at a list of types. This one goes further: where each type of indicator actually lives in the evidence on a Windows or Linux host, how investigators pivot from one indicator to the next, and why some indicators are worth far more than others. The examples come from an intrusion we staged and investigated in our lab.

What counts as an indicator of compromise

An IOC is an observable: something concrete you can search for. It is not a judgement ("this host looks suspicious") or a technique ("the attacker used PowerShell"), but a value that identifies the attacker's activity well enough to find it elsewhere. Good IOCs are specific (few innocent matches), checkable (you can search logs and artifacts for them) and documented (where they came from, when, and how confident you are).

Types of indicators, with examples

TypeExamplesWhere they come from
Network addresses203.0.113.77, an attacker's VPN exit, a C2 serverLogon events, firewall and proxy logs, web server logs, SRUM
Domains and URLsupdate-check[.]example, http://10.211.55.2:8443/u.ps1DNS logs, proxy logs, browser history, command lines, scripts
File hashesSHA-256 or SHA-1 of a tool or payloadAmcache (SHA-1), EDR, the file itself if recovered
File names and pathsC:\ProgramData\HFUpdate\hfupdate.ps1, /tmp/.x/beacon$MFT, USN Journal, Prefetch, Amcache, LNK files, shell history
AccountsA new local administrator, a service account used interactivelyAccount events (4720, 4732), SAM, /etc/passwd, auth logs
Registry keys and valuesA Run key value, a service, an IFEO debuggerRegistry hives, 7045, 4657
Scheduled tasks, services, cron jobsA task or unit with a name that imitates an updater4698, 7045, task files, crontabs, systemd units
Command linescurl -T archive.zip http://…, encoded PowerShell4688, PowerShell 4104, auditd, shell history
Network fingerprintsUser agents, TLS fingerprints, URL patternsWeb server and proxy logs
Email artifactsSender addresses, subjects, attachment hashesMail gateway and mailbox logs

Indicators of compromise vs indicators of attack

Indicators of compromise describe what was left behind: this address, this hash, this file. Indicators of attack (IOAs) describe behaviour that signals an attack in progress, regardless of the specific values: an Office application starting PowerShell, a burst of failed logons followed by a success, a process reading LSASS memory. IOCs answer "have we seen this attacker's artifacts?"; IOAs answer "is someone behaving like an attacker?". Investigations need both: behaviour finds the intrusion, and the indicators it yields find every other place the same attacker went.

Why some indicators matter more than others

The Pyramid of Pain, a model David Bianco published in 2013, orders indicator types by the effort an attacker must spend to replace them once defenders start catching them. File hashes sit at the base: changing one byte of a tool produces a new hash, so a hash indicator catches only that exact file. IP addresses and domains are a little higher: cheap to replace but not free. Host and network artifacts (a particular task name, a registry location, a user agent) cost more to change. Tools and techniques sit at the top: detecting the way an attacker works forces them to change how they operate.

The practical lesson for an investigation: record all the indicators, but expect hashes and addresses to age out within days or weeks, and turn the behaviour you found into detections that will catch the next variant.

Where indicators live in the evidence

An IOC list is only useful if you know where to search for each type. On a Windows host:

On a Linux host: addresses in auth logs and web server logs, commands and URLs in shell history and auditd, keys in authorized_keys, persistence in cron and systemd units.

A real example: sixteen indicators from one intrusion

In our Windows lab case (the Halden Freight office intrusion), the investigation produced 16 indicators across two workstations. A selection, with where each was found:

IndicatorTypeFound in
10.211.55.2Address (attacker)35 failed logons and the successful logon on HF-WS01; the download and upload URLs
http://10.211.55.2:8443/u.ps1URLcurl.exe command lines in 4688 on both hosts
C:\ProgramData\HFUpdate\hfupdate.ps1File pathUSN Journal creation on both hosts; the Run key, service and task
HFUpdateRegistry Run valuea.berg's NTUSER.DAT; reg.exe command line
HFUpdateSvc (HF Update Service)Service7045 in the System log; Services registry key
HFUpdateCheckScheduled task4698 on HF-WS02; task creation on both hosts
svc_backupAccount4720 and 4732 on HF-WS01; type 3 logon from HF-WS02
q4-close.zipFile namePowerShell Compress-Archive (4104); USN create and delete; curl upload command

Two things stand out. First, each indicator was found in more than one place, which is what makes it reliable. Second, the indicators from one host found the second: the same script path, task name and download URL on HF-WS02 confirmed the attacker had moved there and done the same things, before anyone looked at its logon events.

In Arcsentry, marking a value as an indicator matches it across every host and evidence type in the case automatically, and the AI investigator proposes indicators with the events that support them, for an analyst to approve.

Using indicators in an investigation

  1. Record as you go. Each time you confirm something malicious, record the indicator with its type, where you found it, the time, and your confidence.
  2. Pivot. From an address, find every logon and connection; from a file path, find execution and creation; from an account, find every host it touched. Each pivot tends to produce new indicators.
  3. Sweep. Search every collected host for every indicator, not only the hosts you suspect. This is how unknown victims are found.
  4. Defang when sharing. Write 203.0.113[.]77 and hxxp:// so that nobody clicks an attacker's link from a report.
  5. Label and share. Mark indicators with a Traffic Light Protocol level (TLP:CLEAR, GREEN, AMBER, AMBER+STRICT or RED) and share in a structured format (STIX, or through a platform such as MISP) where you can.
  6. Retire them. Addresses and domains get reused by innocent parties; date your indicators and review them.
  7. Turn behaviour into detections. The task name will change next time; a rule that flags hidden PowerShell started by a new scheduled task will not.

Common mistakes with indicators

  • Treating a match as proof. An address in a log may be a shared VPN exit, a cloud provider or a scanner that hits everyone. Confirm with a second source before calling a host compromised.
  • Recording values without context. An indicator without where it was found, when, and why it is malicious cannot be checked later or shared usefully.
  • Searching only the hosts you suspect. Sweeping every collected host is how the unknown victims turn up.
  • Forgetting the absence of evidence. A host with no matches may simply have logs that do not reach back far enough. State the coverage with the result.

Frequently asked questions

What are indicators of compromise?

Indicators of compromise are observable evidence that a system has been compromised, such as malicious IP addresses and domains, file hashes, file names and paths, unexpected accounts, registry keys, scheduled tasks and command lines. Investigators record them during an incident and search for them across other systems.

What are examples of indicators of compromise?

An attacker's IP address in logon events, the SHA-256 of a malicious file, a command-and-control domain, a script path such as C:\ProgramData\update.ps1, a new local administrator account, a Run key or service pointing at a script, and a scheduled task with an imitation name.

What is the difference between an IOC and an IOA?

An indicator of compromise (IOC) is a specific artifact an attack left behind, such as a hash or an address. An indicator of attack (IOA) is a behaviour that signals an attack, such as an Office program starting PowerShell, whatever the specific values.

How long are IOCs useful?

Hashes, addresses and domains often stop being useful within days or weeks, because attackers change them cheaply. Host artifacts last longer, and behaviour-based detections last longest.

Where should I look for IOCs on a compromised host?

On Windows: event logs, the $MFT and USN Journal, Prefetch, Amcache, ShimCache, Run keys, services, scheduled tasks, the SAM and PowerShell logs. On Linux: auth logs, shell history, auditd, cron, systemd units, authorized_keys and web server logs.

How we wrote this

Drafted with AI from evidence in our own lab, with Laura Pompeu responsible for the article. The evidence comes from Halden Freight office intrusion (Windows, two hosts), built and investigated in our lab, so every example can be checked against real records.

Sources

  1. NIST Glossary: indicator of compromise, NIST
  2. The Pyramid of Pain (David J Bianco, 2013), Enterprise Detection & Response
  3. FIRST: Traffic Light Protocol (TLP) version 2.0, FIRST
  4. OASIS: STIX and TAXII, OASIS
Photo of Laura Pompeu
Laura Pompeu
Marketing Manager & Cybersecurity Content Strategist, Proven Data

Laura Pompeu is a Marketing Manager and Cybersecurity Content Strategist with 10+ years of experience across journalism, SEO, and digital marketing. She produces expert-level content on ransomware, incident response, and data recovery for technical and business audiences, and has led multinational content teams across global markets.

LinkedIn

See it on your own evidence. Free for 7 days.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial