An attack leaves traces behind: a malicious file with a distinctive hash, the address of a command-and-control server, a domain a loader was downloaded from. Each such trace is an indicator of compromise: other systems and organisations use it to recognise the same attack on their side. Indicators are shared in reports and threat intelligence feeds, and they drive hunting queries in SIEM and EDR.
What can serve as an indicator
| Signal | Example | How long it lives |
|---|---|---|
| File hash | SHA-256 of a malicious file | years |
| IP address | address of a command-and-control server | hours or days |
| Domain | domain that served the malicious payload | days |
| URL | address of a phishing email page | days |
| Traffic string | a User-Agent string typical of an attacker’s tool | weeks |
| Host artefact | file name, registry key, scheduler task | months |
From discovery to retirement
An indicator goes through a four-step cycle, and its lifetime is written right into the object: in STIX 2.1 an indicator carries the fields valid_from and valid_until — outside that window it is considered stale. The more specific the signal, the longer it stays useful: a file hash keeps for years, while the address of a command-and-control server can change within a day.
- Discovery: traces of one’s own incident, vendor reports and threat intelligence-sharing groups, commercial and open feeds.
- Description: the STIX 2.1 format; the pattern itself is written in the STIX, YARA, Sigma or Snort language.
- Hunting: searches across logs and telemetry — in a SIEM, EDR or firewall; a match goes to a SOC analyst.
- Retirement: an indicator is withdrawn once the addresses have changed owners or the matches have turned false.
{ "type": "indicator", "spec_version": "2.1", "indicator_types": ["malicious-activity"], "name": "Sample indicator", "pattern": "[ file:hashes.'SHA-256' = '4bac27393bdd9777ce02453256c5577cd02275510b2227f473d03f533924f877' ]", "pattern_type": "stix", "valid_from": "2015-12-21T19:59:17Z"}Indicators and the ATT&CK matrix
Indicators are the “fast” part of cyber threat intelligence: concrete facts that search systems — SIEM, IDS, EDR — match traffic and events against. In its incident response guidance NIST advises hunting for indicators of compromise on attacked and adjacent hosts and recording what is found in the incident description. The slow part is the MITRE ATT&CK matrix: it describes adversary behaviour in the language of tactics and techniques and does not go stale along with domains. A single investigation can be described in both languages: “a file with this SHA-256” is an indicator, “a phishing attachment with a macro” is a technique. Indicators are exchanged between organisations over TAXII: a protocol that describes the API for publishing and retrieving collections of STIX objects.
IoC has a second meaning — inversion of control: a development principle under which an object does not create its own dependencies; the Spring framework is built on it. It has nothing to do with traces of an attack.
Sources
the term is written from these pages- NIST SP 800-61 Rev. 3 — Incident Response Recommendations and Considerations for Cyber Risk Managementnvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-61r3.pdf(opens in a new tab)
- NIST SP 800-150 — Guide to Cyber Threat Information Sharingcsrc.nist.gov/pubs/sp/800/150/final(opens in a new tab)
- OASIS — STIX Version 2.1, OASIS Standarddocs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html(opens in a new tab)
Verified 9 Nov