Indicators of
Compromise
Learn to identify the digital fingerprints attackers leave behind: from suspicious network traffic to unauthorized file changes and beyond.
What Are IOCs?
An Indicator of Compromise (IOC) is a piece of forensic evidence that suggests a system or network has been breached. Think of IOCs as the digital clues left at a crime scene: just as a burglar might leave fingerprints or broken glass, a cyber attacker leaves behind data artifacts that reveal their presence.
Why IOCs Matter
Categories of IOCs
Network-Based IOCs
Network IOCs are artifacts found in network traffic or DNS logs that indicate malicious activity. Security teams monitor these at the perimeter and within the internal network.
Host-Based IOCs
Host IOCs are found directly on endpoints: servers, workstations, or mobile devices. They reveal that malware has executed, files have been altered, or configurations have been tampered with.
IOCs vs. IOAs
A common confusion is between Indicators of Compromise (IOCs) and Indicators of Attack (IOAs). Both are critical, but they serve different purposes in the security lifecycle.
| IOC | IOA | |
|---|---|---|
| Timing | After the event | During the event |
| Nature | Forensic evidence | Behavioral patterns |
| Focus | What happened | What is happening |
| Example | Malware file hash | Lateral movement attempt |
| Approach | Reactive detection | Proactive detection |
The IOC Lifecycle
How to Investigate IOCs
Example: Phishing Email IOC
Example: Ransomware IOCs
A ransomware attack typically leaves a trail of IOCs across multiple categories. Security analysts piece these together during incident response.
Example: Lateral Movement
Tools for Detection
IOC Sharing Standards
For IOCs to be useful across organizations, they must be shared in standardized formats. This enables automated ingestion by security tools and threat intelligence platforms.
Common Mistakes with IOCs
IOC Type Summary
| IOC Type | Where Found | Examples | Tool |
|---|---|---|---|
| Network | Traffic / logs | Malicious IPs, DNS queries | IDS/IPS, SIEM |
| Host | Endpoints | File hashes, registry keys | EDR, AV |
| Mail gateways | Phishing URLs, attachments | Email filter | |
| Behavioral | User activity | Unusual logins, privilege esc. | UEBA, SIEM |
Question 1 of 5
Which of the following is the best definition of an Indicator of Compromise (IOC)?
Question 2 of 5
An analyst discovers that several workstations are connecting to an unfamiliar IP address at 3:00 AM every night. What category of IOC does this represent?
Question 3 of 5
What is the key difference between an IOC and an IOA?
Question 4 of 5
A security team finds README_DECRYPT.txt files appearing across multiple directories. Which type of attack does this IOC most strongly suggest?
Question 5 of 5
Which of the following is a common mistake organizations make when using IOCs?