Cybersecurity Frameworks
Part 2 dove into three frameworks to outsmart hackers. The Pyramid of Pain ranks how much pain you cause by blocking hacker tools, from hashes (easy) to TTPs (tough). The Cyber Kill Chain outlines seven attack stages (Recon to Actions), letting you break the chain to stop hackers. The Unified Kill Chain modernizes it with 18 phases across In, Through, and Out stages, covering complex attacks. Real-world examples, like the Colonial Pipeline ransomware, showed how these frameworks help SOCs detect and disrupt threats, making you a hacker’s worst nightmare.

Part 2: Pyramid of Pain, Cyber Kill Chain, and Unified Kill Chain – Outsmarting Hackers
Yo, welcome back to our cybersecurity journey! If you read Part 1, you’re already getting the hang of what it’s like to be a Junior Security Analyst in a SOC. Now, we’re leveling up to talk about some badass frameworks that help you understand and fight hackers: the Pyramid of Pain, Cyber Kill Chain, and Unified Kill Chain. These are like your battle plans for making life miserable for cybercriminals. I’ll break them down in simple, human terms with real-world examples and some extra research I’ve dug up to make it juicy. Expect this to be around 1100–1500 words of hacker-thwarting goodness. Let’s roll!
The Pyramid of Pain: Making Hackers Cry
The Pyramid of Pain is all about hitting hackers where it hurts. It’s a way to rank how much pain you cause them by blocking their tools and tricks. Picture a pyramid with six levels—starting with easy stuff at the bottom and getting tougher as you climb. The higher you go, the more you mess with their plans. Let’s walk through each level with examples to show how it works.

Level 1: Hash Values (Trivial)
At the base, we’ve got hash values—unique fingerprints for files, like a malware executable. Think of a hash as a file’s DNA, created by algorithms like MD5, SHA-1, or SHA-256. You can block a hash in your antivirus to stop that exact file, but hackers can change one tiny bit of their code, and boom—new hash, no pain.
- Example: You get a malware alert for a file with the hash
b8ef959a9176aef07fdca8705254a163b50b49a17217a4ff0107487f59d4a35d(like the TryHackMe example, tied to a malicious file named Sales_Receipt 5606.xls). You block it, but the hacker tweaks the file slightly, generating a new hash, and you’re back to square one. - Tools: Use VirusTotal or OPSWAT MetaDefender to check hashes against known threats.
- Why it’s trivial: Changing a file’s hash is as easy as adding a space to the code. Hackers do this in seconds.
Real-world vibe: In 2020, the Emotet malware kept changing hashes to dodge antivirus detection. SOCs had to move up the pyramid to stop it.
Level 2: IP Addresses (Easy)
Next up, IP addresses. These are like the phone numbers of devices on a network. You can block a malicious IP in your firewall, but hackers switch IPs faster than you change your Netflix profile. They might use a botnet with Fast Flux, where a domain points to tons of IPs that keep rotating.
- Example: You spot an IP (say,
192.168.1.100) sending phishing emails. You block it, but the hacker hops to another IP from their botnet. Annoying, right? - Tools: Sandboxes like Any.Run or AbuseIPDB can flag malicious IPs.
- Why it’s easy: IPs are cheap and plentiful, especially with cloud services or VPNs.
Real-world vibe: During the 2021 SolarWinds attack, hackers used multiple IPs to hide their tracks. Blocking one didn’t slow them down much.
Level 3: Domain Names (Harder)
Now we’re getting somewhere. Domain names are tougher for hackers to change. They need to register a new domain, set up DNS, and deal with registrars, which takes time and money. Some use sneaky tricks like Punycode (e.g., xn--addas-o4a.de looks like adidas.de) or shortened URLs (like bit.ly) to hide their tracks.
- Example: You block a malicious domain like
fakebank.comused for phishing. The hacker has to buy a new domain, which costs them effort. - Tip: Add a
+to shortened URLs (e.g.,bit.ly/abc+) to preview the real destination. - Why it’s harder: Domains aren’t free, and registrars might flag suspicious activity.
Real-world vibe: In 2022, a phishing campaign used fake Microsoft domains. SOCs blocked them, forcing hackers to scramble for new ones.
Level 4: Host Artifacts (Annoying)
Host artifacts are traces hackers leave on a victim’s system, like registry keys, dropped files, or processes. Blocking these messes with their setup, costing them time to rebuild.
- Example: You find a malicious registry key (e.g., in
HKEY_LOCAL_MACHINE) that runs malware on startup. You delete it, breaking the hacker’s persistence. - Tools: Use Sysinternals Suite or Autoruns to spot these artifacts.
- Why it’s annoying: Hackers have to rewrite their malware or find new ways to stick around.
Real-world vibe: The WannaCry ransomware used specific registry keys to spread. SOCs that cleaned these keys slowed the attack.
Level 5: Network Artifacts (Annoying)
Network artifacts are patterns in network traffic, like weird User-Agent strings or custom command-and-control (C2) traffic. Detecting these with tools like Wireshark or TShark forces hackers to rethink their approach.
- Example: You notice a weird HTTP request with a User-Agent like
Mozilla/5.0 (HackerTool). You block it, cutting off the hacker’s C2 channel. - Command: Run
tshark -Y http.request -T fields -e http.host -e http.user_agent -r analysis_file.pcapto analyze traffic. - Why it’s annoying: Hackers need to redesign their network communication, which takes effort.
Real-world vibe: In the 2023 MOVEit breach, attackers used custom HTTP patterns. SOCs that spotted these patterns disrupted the attack.
Level 6: TTPs (Tough)
At the top, we’ve got Tactics, Techniques, and Procedures (TTPs)—the hacker’s playbook, mapped in frameworks like MITRE ATT&CK. If you detect and block their TTPs, like a specific way they move laterally (e.g., Pass-the-Hash), they’re in deep trouble. Rewriting their whole strategy is like starting from scratch.
- Example: You spot a hacker using Pass-the-Hash in Windows logs to jump between systems. You block it by resetting credentials, forcing them to rethink everything.
- Tools: Use MITRE ATT&CK Navigator or Sigma rules to map and detect TTPs.
- Why it’s tough: TTPs are the hacker’s core skills. Changing them is expensive and time-consuming.
Real-world vibe: The 2021 Colonial Pipeline attack used specific TTPs (like RDP exploitation). SOCs that mapped these to MITRE ATT&CK could’ve disrupted the attack earlier.
Why it matters: The higher you climb the Pyramid, the more pain you cause. Blocking hashes is easy but temporary; disrupting TTPs can stop a hacker cold. As a SOC analyst, you’ll use tools like SIEM and threat intel to climb this pyramid.
Cyber Kill Chain: The Hacker’s Roadmap
The Cyber Kill Chain, cooked up by Lockheed Martin in 2011, is a seven-step guide to how hackers pull off an attack. If you break the chain at any point, you stop them. It’s like catching a thief before they rob the bank. Let’s go through the phases with examples.

-
Reconnaissance: Hackers scout their target, like a burglar casing a house. They use OSINT (Open-Source Intelligence) tools like theHarvester to grab emails or check LinkedIn for employee names.
- Example: A hacker finds the CFO’s email for a spear-phishing attack.
- Defense: Monitor for scanning attempts or use honeypots to detect recon.
-
Weaponization: They build their weapon, like a malicious Word doc with a macro or a custom malware payload.
- Example: A hacker crafts a fake invoice PDF with a virus, bought from the Dark Web.
- Defense: Scan files with antivirus or sandbox suspicious attachments.
-
Delivery: They send the payload, often via phishing, USB drops, or a watering hole attack (compromising a site the target visits).
- Example: The fake invoice lands in the CFO’s inbox, tempting them to click.
- Defense: Use email filters or block malicious domains.
-
Exploitation: The payload triggers, exploiting a vulnerability, like a zero-day (unknown flaw).
- Example: The CFO opens the PDF, and the virus runs, exploiting a flaw in Adobe Reader.
- Defense: Patch software regularly and use EDR to catch exploits.
-
Installation: The hacker sets up shop, like installing a web shell or adding a payload to registry run keys.
- Example: A web shell is dropped on the company’s server for persistence.
- Defense: Monitor for new services or use tools like Autoruns to spot changes.
-
Command & Control (C2): They establish a remote connection to control the system, often via HTTP/HTTPS or DNS tunneling.
- Example: The hacker uses a malicious domain to send commands.
- Defense: Block C2 traffic with firewalls or IDS/IPS.
-
Actions on Objectives: They achieve their goal—stealing data, deploying ransomware, or causing chaos.
- Example: The hacker encrypts files and demands a ransom.
- Defense: Back up data and monitor for exfiltration.
Limitations: The Kill Chain is old (2011) and focuses on malware and perimeter attacks. It misses insider threats or complex attacks that don’t follow a linear path. That’s where the Unified Kill Chain steps in.
Real-world vibe: The 2017 Equifax breach followed the Kill Chain. Hackers used a web app vulnerability (Exploitation), installed a web shell (Installation), and stole data (Actions). If the SOC had caught the C2 traffic, they could’ve stopped it.
Unified Kill Chain: A Modern Battle Plan
The Unified Kill Chain (UKC), created by Paul Pols in 2017 and updated in 2022, is a souped-up version of the Cyber Kill Chain. It’s got 18 phases split into three stages: In (Initial Foothold), Through (Network Propagation), and Out (Action on Objectives). It’s more realistic because hackers don’t always follow a straight line—they loop back, try new tricks, or pivot.

In (Initial Foothold)
This is about getting into the target’s network. Key phases include:
- Reconnaissance: Gathering info (e.g., employee emails via Hunter.io).
- Weaponization: Building payloads (e.g., a phishing email with malware).
- Social Engineering: Tricking users (e.g., phishing or fake websites).
- Exploitation: Triggering vulnerabilities (e.g., a reverse shell).
- Persistence: Staying in (e.g., a backdoor service).
- Defense Evasion: Hiding from antivirus or firewalls.
- Command & Control: Setting up a C2 channel.
- Pivoting: Using the compromised system to attack others.
Example: A hacker sends a phishing email, gets a foothold with a reverse shell, and sets up a C2 channel via HTTPS.
Through (Network Propagation)
Now they spread inside the network:
- Pivoting: Using the compromised system as a bridge.
- Discovery: Mapping the network (e.g., finding servers with nmap).
- Privilege Escalation: Getting admin rights (e.g., cracking credentials).
- Execution: Running malicious code.
- Credential Access: Stealing passwords (e.g., via keylogging).
- Lateral Movement: Hopping to other systems.
Example: The hacker steals admin creds and moves to the database server.
Out (Action on Objectives)
They go for the prize:
- Collection: Gathering data (e.g., customer records).
- Exfiltration: Stealing data via encrypted tunnels.
- Impact: Messing with the CIA triad (Confidentiality, Integrity, Availability), like ransomware.
- Objectives: Achieving their goal (e.g., financial gain or espionage).
Example: The hacker exfiltrates data and deploys ransomware, locking files.
Why UKC is awesome: It’s detailed, covers modern attacks, and works with MITRE ATT&CK for mapping TTPs. It’s like a GPS for defenders, showing where to block hackers.
Real-world vibe: In the 2023 MGM Resorts ransomware attack, hackers used phishing (In), moved laterally to critical systems (Through), and locked systems for ransom (Out). A SOC using UKC could’ve stopped them by blocking C2 traffic early.
Research note: A 2024 post on X highlighted that UKC’s flexibility makes it ideal for cloud environments, where attackers pivot across services like AWS or Azure. It’s a game-changer for modern SOCs.
Tying It All Together
These frameworks are your toolkit for outsmarting hackers. The Pyramid of Pain shows you how to hit them where it hurts most (TTPs, not just hashes). The Cyber Kill Chain gives you a step-by-step view of an attack, letting you break the chain. The Unified Kill Chain takes it further, covering complex, non-linear attacks in today’s world.
Real-life example: Imagine a ransomware attack on a hospital. Using the Pyramid, you block the malware’s hash (Level 1) and IP (Level 2), but the hacker switches them. You climb to block their domain (Level 3) and detect their TTPs (Level 6), like encrypting files in a specific order, using MITRE ATT&CK. Mapping it to UKC, you catch them in the “In” phase by blocking C2 traffic, saving patient data.
As a junior analyst, you’ll use these frameworks in your SIEM to prioritize alerts and escalate the right ones. They help you think like a hacker, so you can stop them faster.
Final Thoughts
The Pyramid of Pain, Cyber Kill Chain, and Unified Kill Chain are like your superhero playbook for fighting cybercrime. They help you understand the enemy, spot their moves, and hit back hard. Next up in Part 3, we’ll dive into the Diamond Model and MITRE ATT&CK to become cyber detectives, breaking down attacks and predicting what hackers do next. Stay tuned, and drop a comment if you’ve got questions or cool SOC stories!
Enjoyed this report?
If it helped, like it and pass it on to someone who needs it.
BlueTeamingYara [ Yet Another Ridiculous Acronym ]
Hey, cyber explorers! Ready to dive into the world of malware hunting? The **Yara Rules** TryHackMe room is your gateway to mastering **Yara**, a powerful tool for identifying malicious files using pattern matching. Created by Victor M. Alvarez and VirusTotal, Yara is like a Swiss Army knife for malware researchers, SOC analysts, and pentesters. This blog breaks down the room’s key concepts—why Yara matters, how to write rules, and how tools like LOKI and yarGen supercharge your skills. Expect a beginner-friendly guide with real-world examples, TryHackMe tasks, and some extra research to keep it spicy. Let’s hunt some malware!
BlueTeamingDiamond Model and MITRE Att&ck
In Part 3, we unpacked the Diamond Model, a framework to analyze attacks via four corners: Adversary, Victim, Capability, and Infrastructure. It’s perfect for breaking down APTs and explaining incidents. MITRE ATT&CK is your encyclopedia of hacker TTPs, like phishing or Pass-the-Hash, helping you map and block threats. Together, they make you a cyber detective, as seen in examples like the SolarWinds attack. Combined with Part 2’s frameworks, they give you a complete toolkit to investigate, predict, and stop cyberattacks like a pro.
BlueTeamingBecoming a Junior Cybersecurity Analyst - Your First Step into SOC World
In Part 1, we explored the life of a Junior Security Analyst in a Security Operations Center (SOC). It’s like being a digital security guard, monitoring for threats 24/7. We covered the SOC’s role in protecting assets, the three-tier model (Tier 1: triage, Tier 2: incident response, Tier 3: threat hunting), and a day in the life of a Tier 1 analyst—triaging alerts, investigating phishing, and documenting everything. With tools like SIEM and skills in networking and OS basics, you’re the first line of defense. Real-world examples, like stopping a phishing attack, showed how critical this role is in today’s cyber landscape.