What is IOC (Indicator of Compromise)?
In cyber security, an indicator of compromise (IOC) is forensic evidence, such as a file hash, IP, or domain, that links activity to a known threat. Analysts in a SOC match IOCs from threat intel feeds against SIEM, EDR, and firewall logs to catch intrusions, then check each indicator's age and confidence before acting on a hit.
Definition
- IOC (Indicator of Compromise)
- In cyber security, an indicator of compromise (IOC) is forensic evidence, such as a file hash, IP, or domain, that links activity to a known threat. Analysts in a SOC match IOCs from threat intel feeds against SIEM, EDR, and firewall logs to catch intrusions, then check each indicator's age and confidence before acting on a hit.
How IOC (Indicator of Compromise) Works
Indicators come in four broad families. Network IOCs are C2 IP addresses and domains, odd DNS queries, and beacons that call out on a fixed interval. File IOCs are MD5, SHA-1, and SHA-256 hashes of malware samples, known malicious filenames and paths, and YARA rules that match byte patterns and strings so small variants of one malware family still hit. Host IOCs are the registry run keys and scheduled tasks used for persistence, rogue services, and the mutexes malware creates so it doesn't infect the same machine twice. Email IOCs cover sender addresses, subject patterns, attachment hashes, and embedded URLs.
Indicators travel through threat intelligence platforms such as MISP and OpenCTI, commercial feeds, government programs (CISA, the sector ISACs), and vendor incident reports, usually as STIX objects carried over TAXII so a SIEM and an EDR can ingest the same indicator without anyone reformatting it. Two fields of a STIX 2.1 Indicator matter more to an analyst than the value itself. The confidence field is an integer from 0 to 100 stating how sure the producer is. The valid_until field is the time after which the producer says the indicator should stop counting; when it is missing, the spec puts no end date on it, so your blocklist keeps it forever unless you expire it yourself. The SIEM loads these feeds into lookup tables and matches them against logs as they arrive, and XDR applies the same lists to endpoint and identity telemetry.
How long an IOC stays useful depends on what it costs the attacker to replace it. David Bianco's Pyramid of Pain ranks indicators by exactly that. Hashes sit at the bottom, because changing a single bit of a file produces an unrelated hash. IP addresses are one step up, and an attacker who loses one can usually recover "without even breaking stride", in Bianco's words. Domains are slightly harder, because they have to be registered, paid for, and hosted, and a new one can take up to a day or two to become visible across the internet. The two cheap types fail differently, though. A SHA-256 hash never turns wrong: the file it names stays malicious, and the hash goes quiet once the attacker rebuilds. An IP address can turn wrong. Weeks after a takedown the same address may belong to a legitimate cloud tenant, and the old blocklist entry starts firing on clean traffic. Feeds that take this seriously age indicators out. MISP's decaying model gives each indicator a base score derived from things like source reliability, lowers it over a configured lifetime, and resets it to the base score every time someone records a new sighting. A workable policy is short lifetimes for IPs, longer ones for domains, and hashes kept indefinitely, with any network indicator past its lifetime treated as a lead to re-verify rather than a verdict.
IOC vs IOA: an indicator of attack (IOA) describes behavior while it happens instead of an artifact left behind. CrowdStrike describes IOAs as detecting what the attacker is trying to accomplish regardless of the malware or exploit used. The SHA-256 of one Mimikatz build is an IOC, and it misses the next recompile. "A process that is not a known security tool opened a handle to LSASS memory" is an IOA, and it fires whether the tool is Mimikatz, a custom dumper, or a built-in Windows DLL called through rundll32. An IOC asks whether you have seen this exact thing before; an IOA asks whether something is behaving the way attackers behave. You want both. IOCs are cheap to run and precise, which makes them the right tool for scoping once you know what to look for, and IOAs catch malware-free intrusions and tooling nobody has published yet.
In a business context, check who is asking: outside security the acronym has unrelated meanings. Inside a company's security program it means the same thing as here, and it is usually how a breach turns into a concrete question. A vendor advisory or an incident response firm hands over a list of hashes, domains, and IPs, and the business has to find out whether any of its machines ran those files or talked to those addresses, and when. How fast that gets answered depends on how much log history the company kept, a retention decision made long before the incident.
The ceiling on IOC-based detection is that the attacker controls every value. Malware gets repacked to change its hash, infrastructure moves across bulletproof hosting, and domain generation algorithms produce fresh candidate domains on a schedule. Matching IOCs is still worth doing, since it is the fastest way to catch reused infrastructure and to scope an incident, but it belongs alongside behavioral detection built on TTPs, which describe what an attacker must do and are far harder to change.
IOC (Indicator of Compromise) in SOC Operations
IOC matches are one of the most common alert types in a SOC queue: a host talked to a listed IP, resolved a listed domain, or wrote a file with a listed hash. The match only proves two strings were equal. Here is how a feed hit gets worked (simulated example generated by SOCSimulator Research; the addresses come from private and documentation ranges, not real infrastructure). The alert: workstation 10.20.4.17 opened TCP 443 to 203.0.113.47, which a commercial feed lists as Cobalt Strike C2 with confidence 35. The firewall allowed it, and the session moved 4.2 MB out and 61 MB in over 38 minutes. Start with age. The feed added the IP 47 days ago from a single source and set no valid_until, which for a network indicator is old enough to re-verify before you trust it. Then confidence: 35 out of 100 from one source is a lead, so the match alone doesn't justify an escalation. Then outcome. A blocked attempt is usually a note on the ticket; an allowed session needs work, so pivot to EDR for the process that owned the socket. Here it was the signed browser binary, the connection timing was irregular, and passive DNS showed CDN hostnames now resolving to the address. Verdict: false positive from a stale indicator. Close it with that evidence and ask the intel team to expire the entry. Now change one fact: the owning process is rundll32.exe, and connections repeat every 60 seconds with near-identical byte counts. The IP and the confidence score are unchanged, but this is beaconing, so isolate the host, escalate, and search every other endpoint for connections to the address. SOCSimulator rooms put this decision in front of you with threat intel lookups next to the SIEM, XDR, and firewall consoles, so you practice weighing age, confidence, and outcome instead of trusting the match.
Practice IOC (Indicator of Compromise) in a Real SOC
SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating ioc (indicator of compromise) scenarios with zero consequences, free.
Related Terms
An Indicator of Attack (IOA) is a behavioral signal that identifies adversary intent and technique a...
Tactics, Techniques, and Procedures (TTPs) describe the behavioral patterns, methods, and operationa...
Threat intelligence is analyzed, contextualized information about current and emerging cyber threats...
Alert triage is how a SOC sorts each alert: a Tier 1 analyst checks its context and severity, then c...
Security Information and Event Management (SIEM) is a platform that aggregates, normalizes, and corr...
MITRE ATT&CK® is a globally accessible knowledge base of adversary tactics and techniques observed i...
More Concepts Terms
Related SOC Training Resources
Event ID 4688: Process Creation & How to Detect It
Event ID 4688 logs every new process on Windows. SOCSimulator breaks down the fields, the cmdline GPO gap, and detection…
Read more Event IDEvent ID 4104: PowerShell Script Block & How to Detect It
Event ID 4104 logs full PowerShell script block text, deobfuscated. SOCSimulator breaks down the fields, GPO setting, an…
Read more TechniqueCommand and Scripting Interpreter (T1059): Detection Training
Because interpreters such as PowerShell, cmd.exe, bash, WMI, and Python ship on every host and are trusted by most contr…
Read more Career PathSOC Analyst (Tier 1) Career Guide: Salary & Skills
Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…
Read more Career PathDetection Engineer Career Guide: Salary & Skills
Detection Engineers build the rules, analytics, and automated workflows that determine what the SOC can see. You transla…
Read more Career PathSecurity Engineer Career Guide: Salary & Skills
Security Engineers build and maintain the infrastructure that SOC analysts depend on. You deploy SIEMs, configure firewa…
Read more ComparisonSOCSimulator vs LetsDefend: Comparison
SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…
Read more ComparisonSOCSimulator vs CyberDefenders: Comparison
SOCSimulator trains the operational workflow: alert triage, correlation, and response under pressure. CyberDefenders tra…
Read more ToolSIEM Training Console: SOCSimulator
The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…
Read more ToolXDR Training Console: SOCSimulator
The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…
Read more ToolFirewall Training Console: SOCSimulator
The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…
Read more TechniqueMITRE ATT&CK® Techniques: Detection Training Library
Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.
Read more