Study guide
7.3 IoC vs IoA and the Pyramid of Pain
TryHackMe Security Analyst Level 1 SAL1
Track your progress as you read
Finished sections get a check mark.
1 Introduction & Exam Overview
1.1 Current SAL1 Exam Facts 1.2 24-Hour Window, Check-In, and Delivery 1.3 Scoring, Retakes, Validity, and Access 1.4 MCQ Section Strategy
2 SOC Simulator Exam Skills
2.1 Analyst VM, Splunk, and Dynamic Alerts 2.2 Classification and Escalation Scoring 2.3 Case Reports and Investigation Notes
3 Network Essentials
3.1 OSI, TCP/IP, Devices, and the Three-Way Handshake 3.2 HTTP, TLS, VPN, Web Browsing, and Email Transmission
4 Operating System Basics
4.1 Windows and Linux Architecture, Auth, Filesystems, Processes 4.2 Active Directory and Event Logs for Tracing Activity
5 Cryptography, Cloud, Web and Scripting Basics
5.1 Encoding, Encryption, Hashing, and Decoding Tools 5.2 VMs vs Hosts, Cloud vs Virtual Hosting, SaaS and IaaS 5.3 Web Apps, APIs, JSON/XML, Scripts vs Compiled Programs
6 Cybersecurity Fundamentals and MITRE ATT&CK
6.1 CIA, Least Privilege, Human Factors, Log4Shell, EternalBlue 6.2 Navigating MITRE ATT&CK: Tactics, Techniques, Sub-techniques 6.3 Mapping Real Attacks onto ATT&CK Techniques
7 Kill Chain, NIST CSF, and Attack Indicators
7.1 Cyber Kill Chain Stages vs MITRE ATT&CK 7.2 NIST CSF: Identify, Protect, Detect, Respond, Recover 7.3 IoC vs IoA and the Pyramid of Pain
8 Social Engineering and Network Attacks
8.1 Phishing: Impersonation, Typosquatting, Spoofing, Header Analysis 8.2 SPF, DKIM, DMARC, and Email Authentication Results 8.3 Port Scanning, DDoS, and Man-in-the-Middle 8.4 DNS Poisoning, ARP Spoofing, Exfiltration, and C2 Traffic Patterns
9 Web Exploitation and Endpoint Attacks
9.1 Client vs Server Vulnerabilities, XSS, and SQL Injection 9.2 Code Injection, Path Traversal, Input Validation, Patching, WAF 9.3 Initial Access (RDP/SSH), Persistence, Privilege Escalation 9.4 Credential Theft, Mimikatz, Sysmon, and Auditd
10 Command and Control, Malware, and LOLBAS
10.1 Forward vs Reverse Shells, Beaconing, Metasploit, Cobalt Strike 10.2 Malware Types, Static vs Dynamic Analysis, LOLBAS
11 EDR, Firewalls, and WAF
11.1 EDR vs AV, Telemetry, Containment, Remote Shell 11.2 Firewall Deployments, Limits, and Log Analysis 11.3 WAF Capabilities, Limits, and Rule Creation
12 SIEM and SOAR
12.1 SIEM Deployments, Parsing, and Raw Logs to Alerts 12.2 Alert Management, Threat Hunting, Triage, Reporting 12.3 SOAR Playbooks, Enrichment, and TI Integration
13 Threat Intelligence and Vulnerability Scanning
13.1 Feeds, Indicators, Classifying IPs, Domains, and Hashes 13.2 YARA and TI Integration with SIEM/SOAR 13.3 External vs Internal, Web vs Network Scanning
14 SOC Team, Activities, and Alert Triage
14.1 Blue/Red Teams, Hierarchy, and SOC Roles 14.2 Proactive vs Reactive: FP Remediation, Detection Engineering, Tabletop, DFIR, Threat Hunting 14.3 Workbooks; Ticket vs Alert vs Detection Rule 14.4 Triage Workflow, Severity, Status, and Verdicts
15 SOC Metrics, Escalation, and Communication
15.1 MTTA, MTTD, MTTR, SLA, and Lookups 15.2 Escalation Matrix, Urgent Remediation, and Cross-Team Communication
7.3 IoC vs IoA and the Pyramid of Pain
Key Takeaways Explain This Topic AI
Indicators of Compromise (IoCs) are matchable artifacts; SAL1 training content highlights hashes, IP addresses, and domains.
Indicators of Attack (IoAs) describe adversary behavior in progress, such as Office spawning a script host or a credential-dumping pattern.
David Bianco's Pyramid of Pain, bottom to top, is Hash Values, IP Addresses, Domain Names, Network/Host Artifacts, Tools, then TTPs.
Denying TTPs forces attackers to change how they operate; denying a hash often only forces a rebuild or a one-bit pad.
Record observed IoCs in blocklists and case notes, but climb the pyramid toward artifacts, tools, and behaviors for detections that survive a new sample.
Last updated: September 2026
Indicators you can type versus behaviors you can see
SAL1 training content covers Indicators of Compromise (IoCs) and Indicators of Attack (IoAs) , common IoC types (IP addresses, file hashes, domains), the difference between IoC and IoA, and the Pyramid of Pain . You also need practical judgment: where to use an IoC in a SOC workflow so it actually finds or stops something.
An IoC is an observable artifact that suggests a system, account, or network path has been compromised or used in a compromise. Classic IoCs are static enough to put in a block list or a SIEM lookup: file hashes , IP addresses , and domain names . Related artifacts (email addresses, mutex names, certificate serials) behave like IoCs when you match them exactly.
An IoA is evidence of adversary behavior in progress —the technique, not only the leftover fingerprint. Examples: a process opening Local Security Authority Subsystem Service (LSASS) memory, an encoded PowerShell download cradle, a burst of failed logons followed by success and then directory-replication queries, or Office apps spawning cmd.exe . IoAs answer what the attacker is doing. IoCs answer whether this object matches a known-bad value.
- Lens IoC IoA
- Time sense Often after-the-fact or an exact match to known bad Often during the technique
- Stability Easy for attackers to change (new hash, new VPS) Tied to how they operate
- Typical use Blocklists, intel lookups, case-report fields Behavioral detections, hunts, EDR rules
Example SHA-256 of update.exe ; invoices-update.example Excel spawning a script host; a 60-second HTTPS beacon pattern
You need both. A hash block stops that exact sample. A behavioral IoA can still fire when they recompile the sample.
This section is independent study material covering those SAL1 topics.
- IoC types SAL1 emphasizes
- File hashes
MD5, SHA-1, or SHA-256 of a file. Highest confidence that you mean this exact byte sequence . Lowest resilience: flipping one unused bit produces a different hash. Use hashes to pivot in a malware-intelligence portal, to match a dropped payload in EDR, and to write a precise case-report IoC. Do not build your whole defense on hash equals malware.
IP addresses
Source of scans, C2 servers, payload hosts. Easy for attackers to swap (new cloud virtual machine, content delivery network, residential proxy, Tor). Still useful for emergency blocks and for asking who talked to this address at 01:12. Watch shared hosting: one IP may be thousands of sites, so a reckless block can hurt business traffic.
Domain names
C2 hostnames, phishing look-alikes, payload sites. Slightly costlier than IPs because of registration and DNS propagation, but still cheap with stolen cards, freshly registered names, or fast-flux. Blocking invoices-update.example often hurts more than blocking today's resolved IP if they round-robin addresses behind the name.
Where SOC teams define and use these IoCs:
- Email security and DNS or proxy filters (domains, sometimes sender IPs)
- Firewall and EDR block lists (hashes, IPs, domains)
- SIEM lookups that tag events (this is how intel becomes an alert)
- Ticket and case-report fields (simulations expect you to record IoCs you actually observed)
- Threat intelligence platforms that share structured indicators with other tools
An IoC you never search for is a souvenir.
IoC versus IoA in a single incident
Take the hospital macro case from the Kill Chain section. The hash of update.exe is an IoC. The C2 IP and invoices-update.example are IoCs. Maya's mailbox receiving a look-alike sender is an email artifact you can match like an IoC.
IoAs: Excel spawning wscript.exe ; a new HKCU Run key created by a non-admin user at 10:14; HTTPS beacons with a tight 60-second interval to a 48-hour-old domain; sudden archive creation on \\filesrv01\finance . Those statements remain true even if the attacker changes the hash and buys a new domain tomorrow—unless they also change the behavior.
If your only detection is the hash, they recompile and walk in. If you detect Office spawning a script interpreter, then a new Run key, then periodic beacons, they must change tradecraft.
David Bianco's Pyramid of Pain
In 2013 (with a Hash Values level added in a 2014 update), David Bianco published the Pyramid of Pain : a ranking of indicator types by how much pain you cause the adversary when you detect and deny that type quickly. The bottom of the pyramid is easy for them to change. The top means they must relearn how to operate.
Memorize this order bottom to top :
- Hash Values
- IP Addresses
- Domain Names
- Network/Host Artifacts
- Tools
- TTPs (Tactics, Techniques, and Procedures)
- Hash Values (trivial pain)
Exact file fingerprints. Adversary recovery: recompile, pad the file, or generate a unique sample per victim. SOC example: add the SHA-256 of update.exe to EDR block. The next email carries update2.exe with a new hash; the block never fires.
IP Addresses (easy)
C2 or scanner addresses. Recovery: a new VPS in minutes, or hide behind a CDN. SOC example: a firewall drops 203.0.113.44 . Beacons resume to 198.51.100.10 an hour later. Still worth blocking for this incident's containment.
Domain Names (simple)
Need registration and DNS. Recovery: a new domain, a domain-generation algorithm, or a hijacked legitimate name. SOC example: sinkhole invoices-update.example . Attackers send a new campaign using invoice-secure.example . You bought hours, not a career change for them.
Network and Host Artifacts (annoying)
Distinctive leftovers that are not just the IP or the hash. Network: URI patterns such as /gate.php?id= plus 16 hex characters, a broken User-Agent string, unusual TLS fingerprints, a rigid beacon interval. Host: a mutex Global\OfficeTemplateUpdate , a file path under %APPDATA%\Microsoft\Templates\ , a service display name, a Run key named OfficeTemplateUpdate . Recovery: they must reconfigure or recompile. SOC example: alert on that Run key name or on Excel writing executables under AppData. They can rename, but they spend lab time.
Tools (challenging)
The software they bring: a specific remote-access family, a builder, a password dumper. Detections that survive moderate edits (YARA on a code family, a parser for a C2 protocol, this is that implant family's beaconing) force them to buy, build, or train on a new tool. SOC example: you consistently catch their remote-access family even after hash changes. They must switch implants.
TTPs (tough)
How they work, independent of one binary: spearphishing with macro-enabled invoices to accounts-payable clerks; dumping credentials and reusing hashes; living-off-the-land with wscript.exe after Office. Detecting the TTP—for example, Office child process is a script host, then a persistence Run key, then periodic HTTPS to a newly registered domain—forces them to change targeting, social-engineering style, or post-exploitation habits. That is weeks of practice, not a new VPS.
That is why blocking TTPs hurts attackers more than blocking a hash . A hash is a disposable costume. A TTP is the play they know how to run.
Worked SOC examples at every level
Incident: the same Q3-Invoice-8891.xlsm campaign against the hospital.
- Pyramid level What you observed What you did Pain inflicted
- Hash Values SHA-256 of update.exe EDR hash block; case-report IoC Trivial—next build misses
- IP Addresses 203.0.113.44 on the beacon Firewall deny for 24 hours Easy—they change DNS A records
Domain Names invoices-update.example , vend0r-payments.example DNS sinkhole plus mail-gateway block Simple—they register another look-alike
Network artifacts GET /cdn/office?h= plus 32 hex; 60-second beacon Proxy rule on the URI plus beacon analytics Annoying—needs a C2 config change
Host artifacts Run value OfficeTemplateUpdate ; path under Templates EDR rule on that key or path pattern Annoying—needs a rebuild
Tools Remote-access family signature Family-wide EDR prevention Challenging—new implant required
TTPs Macro invoice to AP, then Office to script host, then Run key, then new-domain beacon Detection engineering plus disable internet macros for finance Tough—must change the whole play
Notice the case report still lists hashes, IPs, and domains. Those IoCs help partners and tomorrow morning's blocker push. The durable win is climbing the pyramid: artifacts, tools, TTPs.
Practical habits
Record IoCs you saw , not every feed hash. Stale hashes create false confidence.
Enrich: domain age, registrar, whether the IP is a known cloud network-address translation pool.
Pair every IoC with an IoA question: if they change this value, what behavior remains?
Do not call a User-Agent string a hash. Keep the pyramid labels straight.
Do not confuse IoA with any alert. A CPU spike is not automatically an IoA; a documented technique pattern is.
Memory hook: hashes, IPs, and domains are the names on the wanted poster. Artifacts, tools, and TTPs are how the suspect actually commits the crime. Posters expire. Methods take longer to unlearn.