MODULE 7
π‘οΈ Security Operations Centre (SOC)
Threat Hunting and Proactive Defense
Module Introduction
Welcome to Module Seven of your Security Operations Centre (SOC) course! In this module, we will explore threat hunting and proactive defense. You will learn how to proactively search for threats that have evaded detection.
Think of threat hunting as cybersecurity detective work. Instead of waiting for alerts, hunters actively search for signs of compromise. By the end of this module, you will understand the principles, methodologies, and tools of threat hunting.
π‘ What you will learn: Threat hunting concepts and methodologies, hypothesis-driven hunting, kill chain and diamond models, MITRE ATT&CK for hunting, threat intelligence integration, and purple teaming and adversarial simulation.
Learning Objectives
By the end of this module, you will be able to:
- Understand threat hunting concepts and methodologies.
- Apply hypothesis-driven hunting.
- Use the kill chain and diamond models.
- Apply MITRE ATT&CK for hunting.
- Integrate threat intelligence into hunting.
- Understand purple teaming and adversarial simulation.
Warmβup Story
Chidi's Threat Hunting Discovery
Chidi was a senior SOC analyst at a bank in Lagos. He noticed that the organization was only responding to alerts, which meant they were always playing catch-up. He decided to implement a threat hunting program.
He used hypothesis-driven hunting to search for signs of compromise. He applied the MITRE ATT&CK framework to guide his hunts. He integrated threat intelligence to stay ahead of attackers.
During one hunt, he discovered evidence of a persistent threat that had been active for months. His proactive hunting prevented a major breach. Chidi learned that threat hunting is essential for staying ahead of attackers.
Main Lessons
Lesson 1: What is Threat Hunting?
Definition: Threat hunting is the proactive search for threats that have evaded detection.
Why it is important: Threat hunting helps organizations find and eliminate threats before they cause damage.
- Realβlife example: A company hunts for signs of advanced persistent threats (APTs).
- School example: A school hunts for unauthorized access to student data.
- Home example: A parent hunts for suspicious activity on their home network.
- Nigerian example: A bank hunts for signs of fraud.
π Mini summary: Threat hunting is the proactive search for threats that have evaded detection.
Lesson 2: Threat Hunting Methodologies
Definition: Threat hunting methodologies are structured approaches to hunting for threats.
π§ Hypothesis-Driven
Based on a hypothesis about potential threats.
π Data-Driven
Based on analysis of data.
π― Intelligence-Driven
Based on threat intelligence.
- Hypothesis-Driven: Start with a hypothesis about a potential threat.
- Data-Driven: Analyze data to identify anomalies.
- Intelligence-Driven: Use threat intelligence to guide the hunt.
π Mini summary: Threat hunting methodologies include hypothesis-driven, data-driven, and intelligence-driven approaches.
Lesson 3: Hypothesis-Driven Hunting
Definition: Hypothesis-driven hunting involves creating a hypothesis about a potential threat and then searching for evidence.
- Steps:
- Formulate a hypothesis: Based on threat intelligence, trends, or anomalies.
- Gather data: Collect relevant logs and telemetry.
- Analyze data: Look for evidence supporting the hypothesis.
- Investigate: If evidence is found, investigate further.
- Report: Document findings and take action.
π Mini summary: Hypothesis-driven hunting involves creating a hypothesis and searching for evidence to support or refute it.
Lesson 4: Kill Chain Model
Definition: The kill chain model describes the stages of a cyber attack, from reconnaissance to actions on objectives.
- Stages:
- Reconnaissance: Attackers gather information.
- Weaponization: Attackers create a weapon.
- Delivery: Attackers deliver the weapon.
- Exploitation: Attackers exploit a vulnerability.
- Installation: Attackers install malware.
- Command and Control: Attackers establish control.
- Actions on Objectives: Attackers achieve their goals.
π Mini summary: The kill chain model describes the stages of a cyber attack, from reconnaissance to actions on objectives.
Lesson 5: Diamond Model
Definition: The diamond model is a framework for analyzing adversary activity.
- Components:
- Adversary: Who is the attacker?
- Victim: Who is the target?
- Infrastructure: What tools and systems are used?
- Capability: What is the attacker's ability?
π Mini summary: The diamond model analyzes adversary activity through adversary, victim, infrastructure, and capability.
Lesson 6: MITRE ATT&CK for Hunting
Definition: The MITRE ATT&CK framework provides a common language for describing and detecting threats.
- Using ATT&CK for hunting:
- Map threats to tactics and techniques: Identify which techniques are likely to be used.
- Create detection rules: Use the mapping to create rules.
- Investigate: Use the mapping to guide investigations.
π Mini summary: MITRE ATT&CK provides a common language for threat hunting, enabling mapping, detection, and investigation.
Lesson 7: Threat Intelligence Integration
Definition: Threat intelligence provides information about threats that can guide hunting.
- Types of intelligence:
- Strategic: High-level insights.
- Tactical: TTPs.
- Operational: Specific threat information.
- Technical: IoCs.
- Integration:
- Feed SIEM with IoCs: Alert on known indicators.
- Guide hunts: Use intelligence to prioritize hunts.
- Validate findings: Correlate findings with intelligence.
π Mini summary: Threat intelligence provides information about threats that can guide hunting and validate findings.
Lesson 8: Purple Teaming
Definition: Purple teaming is the collaboration between red (offensive) and blue (defensive) teams to improve security.
- Red Team: Simulates attacks.
- Blue Team: Defends against attacks.
- Purple Team: Combines both to improve detection and response.
π Mini summary: Purple teaming combines red (offensive) and blue (defensive) teams to improve security.
Lesson 9: Adversarial Simulation
Definition: Adversarial simulation involves simulating realistic attacks to test defenses.
- Benefits:
- Identify gaps: Find weaknesses in defenses.
- Improve response: Practice responding to attacks.
- Validate controls: Ensure controls are working.
π Mini summary: Adversarial simulation involves simulating realistic attacks to test and improve defenses.
Lesson 10: Threat Hunting Best Practices
Definition: Best practices for effective threat hunting.
- Develop a hunting plan: Define objectives and scope.
- Use multiple data sources: Combine logs, telemetry, and intelligence.
- Collaborate: Work with other teams.
- Document findings: Record what you find.
- Learn and improve: Continuously refine your hunts.
π Mini summary: Best practices for threat hunting include developing a plan, using multiple data sources, collaborating, documenting findings, and continuously improving.
Key Vocabulary
Threat Hunting: The proactive search for threats.
Hypothesis: An educated guess about a potential threat.
Kill Chain: The stages of a cyber attack.
Diamond Model: A framework for analyzing adversary activity.
MITRE ATT&CK: A knowledge base of adversary tactics and techniques.
Threat Intelligence: Information about threats.
Purple Teaming: Collaboration between red and blue teams.
Adversarial Simulation: Simulating attacks to test defenses.
Reconnaissance: Gathering information about a target.
Command and Control: Controlling compromised systems.
Important Concepts
- Threat hunting is the proactive search for threats.
- Hypothesis-driven hunting involves creating a hypothesis and searching for evidence.
- The kill chain describes the stages of an attack.
- The diamond model analyzes adversary activity.
- MITRE ATT&CK provides a common language for threat detection.
- Threat intelligence guides hunting and validates findings.
- Purple teaming and adversarial simulation improve security.
Step-by-Step Explanations
How to Conduct a Threat Hunt
- Define the scope and objectives.
- Formulate a hypothesis.
- Gather data from multiple sources.
- Analyze the data.
- Investigate findings.
- Document the findings.
- Take action.
How to Use MITRE ATT&CK for Hunting
- Identify the threat you are hunting for.
- Map the threat to MITRE ATT&CK tactics and techniques.
- Create detection rules based on the mapping.
- Search for evidence of the techniques.
- Investigate and respond to findings.
Real-Life Examples
- In a business: A company uses threat hunting to detect APTs.
- In a school: A school uses threat hunting to protect student data.
- In a hospital: A hospital uses threat hunting to protect patient data.
- In Nigeria: A bank uses threat hunting to detect fraud.
Nigerian Examples
- A bank in Lagos uses threat hunting to detect APTs.
- A telecom company in Abuja uses MITRE ATT&CK for hunting.
- A hospital in Kano uses threat hunting to protect patient data.
- A government agency in Enugu uses purple teaming.
Fun Examples Children Can Relate To
- A detective searching for clues (threat hunting).
- A security guard patrolling a building (proactive defense).
- A spy gathering intelligence (threat intelligence).
- A team practicing a fire drill (purple teaming).
Everyday Examples
- Searching for lost keys (threat hunting).
- Checking your home for intruders (proactive defense).
- Gathering information about a potential threat (threat intelligence).
- Practicing emergency drills (purple teaming).
Teacher Notes
- Emphasize the importance of proactive defense.
- Use real-world examples to illustrate concepts.
- Discuss the role of MITRE ATT&CK in threat hunting.
- Encourage students to practice threat hunting scenarios.
Parent Tips
- Help your child understand the importance of proactive security.
- Discuss how to search for threats.
- Encourage them to think about how to stay ahead of attackers.
- Support their interest in cybersecurity careers.
Interesting Facts
- Threat hunting was first introduced in the 2010s.
- MITRE ATT&CK was first released in 2013.
- The kill chain model was developed by Lockheed Martin.
- Purple teaming is becoming more common in SOCs.
Did You Know?
Did you know? Threat hunting can detect threats that have been active for months.
Did you know? MITRE ATT&CK is updated regularly with new techniques.
Did you know? Purple teaming is a collaboration between red and blue teams.
Remember This
- Threat hunting is the proactive search for threats.
- Hypothesis-driven hunting involves creating a hypothesis and searching for evidence.
- The kill chain describes the stages of an attack.
- The diamond model analyzes adversary activity.
- MITRE ATT&CK provides a common language for threat detection.
- Threat intelligence guides hunting and validates findings.
- Purple teaming and adversarial simulation improve security.
Common Mistakes
- Not having a plan: Hunting without a plan is ineffective.
- Not using multiple data sources: Relying on one source limits visibility.
- Not documenting findings: Without documentation, you cannot learn.
- Not collaborating: Hunting alone is less effective.
- Not learning: Failing to learn from hunts leads to repeat mistakes.
Best Practices
- Develop a hunting plan.
- Use multiple data sources.
- Collaborate with other teams.
- Document findings.
- Learn and improve continuously.
Comparison: Threat Hunting Methods
| Method | Description | Best for |
| Hypothesis-Driven | Based on a hypothesis | Specific threats |
| Data-Driven | Based on data analysis | Anomalies |
| Intelligence-Driven | Based on threat intelligence | Emerging threats |
Comparison: Kill Chain vs Diamond Model
| Feature | Kill Chain | Diamond Model |
| Focus | Stages of an attack | Adversary activity |
| Components | 7 stages | 4 components |
| Best for | Understanding attacks | Analyzing adversaries |
End-of-Module Summary
Congratulations! You have completed Module Seven. You now know:
- What threat hunting is and why it is important.
- Threat hunting methodologies: hypothesis-driven, data-driven, and intelligence-driven.
- The kill chain and diamond models.
- How to use MITRE ATT&CK for hunting.
- How to integrate threat intelligence.
- Purple teaming and adversarial simulation.
- Best practices for threat hunting.
You are now ready to move on to Module Eight, where you will learn about Security Orchestration, Automation, and Response (SOAR).
Frequently Asked Questions
- What is threat hunting? The proactive search for threats.
- What is hypothesis-driven hunting? Hunting based on a hypothesis.
- What is the kill chain? The stages of a cyber attack.
- What is the diamond model? A framework for analyzing adversary activity.
- What is MITRE ATT&CK? A knowledge base of adversary tactics and techniques.
- What is threat intelligence? Information about threats.
- What is purple teaming? Collaboration between red and blue teams.
- What is adversarial simulation? Simulating attacks to test defenses.
- What are the best practices for threat hunting? Develop a plan, use multiple data sources, collaborate, document findings, and learn.
- Why is threat hunting important? It helps detect threats that have evaded detection.
Review Questions
- What is threat hunting?
- What are the threat hunting methodologies?
- What is hypothesis-driven hunting?
- What is the kill chain?
- What is the diamond model?
- What is MITRE ATT&CK?
- What is threat intelligence?
- What is purple teaming?
- What is adversarial simulation?
- What are the best practices for threat hunting?
- Why is threat hunting important?
- What is the difference between the kill chain and the diamond model?
- How do you use MITRE ATT&CK for hunting?
- How do you integrate threat intelligence?
- What is the role of purple teaming in threat hunting?
Fill-in-the-Blank Exercises
- __________ is the proactive search for threats.
- __________ hunting is based on a hypothesis.
- The __________ describes the stages of a cyber attack.
- The __________ model analyzes adversary activity.
- __________ provides a common language for threat detection.
- __________ provides information about threats.
- __________ is collaboration between red and blue teams.
- __________ simulates attacks to test defenses.
- __________ include developing a plan, using multiple data sources, collaborating, documenting findings, and learning.
- __________ is important because it helps detect threats that have evaded detection.
True or False
- Threat hunting is reactive. (False)
- Hypothesis-driven hunting is based on a hypothesis. (True)
- The kill chain has 5 stages. (False)
- The diamond model has 4 components. (True)
- MITRE ATT&CK is a commercial tool. (False)
- Threat intelligence is not important. (False)
- Purple teaming is collaboration between red and blue teams. (True)
- Adversarial simulation is not useful. (False)
- Best practices for threat hunting include developing a plan. (True)
- Threat hunting is not important for SOCs. (False)
Multiple Choice Questions
- What is threat hunting?
a) The proactive search for threats b) A type of software c) A hardware device d) A threat
Answer: a
- What is hypothesis-driven hunting?
a) Hunting based on a hypothesis b) A type of software c) A hardware device d) A threat
Answer: a
- What is the kill chain?
a) The stages of a cyber attack b) A type of software c) A hardware device d) A threat
Answer: a
- What is the diamond model?
a) A framework for analyzing adversary activity b) A type of software c) A hardware device d) A threat
Answer: a
- What is MITRE ATT&CK?
a) A knowledge base of adversary tactics and techniques b) A type of software c) A hardware device d) A threat
Answer: a
- What is threat intelligence?
a) Information about threats b) A type of software c) A hardware device d) A threat
Answer: a
- What is purple teaming?
a) Collaboration between red and blue teams b) A type of software c) A hardware device d) A threat
Answer: a
- What is adversarial simulation?
a) Simulating attacks to test defenses b) A type of software c) A hardware device d) A threat
Answer: a
- What are the best practices for threat hunting?
a) Develop a plan, use multiple data sources, collaborate, document findings, learn b) Only develop a plan c) Only use one data source d) None
Answer: a
- Why is threat hunting important?
a) It helps detect threats that have evaded detection b) It is not important c) It only detects known threats d) None
Answer: a
- What is the difference between the kill chain and the diamond model?
a) Kill chain focuses on stages; diamond model focuses on adversary activity b) They are the same c) Diamond model focuses on stages; kill chain focuses on adversary activity d) None
Answer: a
- How do you use MITRE ATT&CK for hunting?
a) Map threats to tactics and techniques b) Only map threats c) Only create rules d) None
Answer: a
- How do you integrate threat intelligence?
a) Feed IoCs to SIEM, guide hunts, validate findings b) Only feed IoCs c) Only guide hunts d) None
Answer: a
- What is the role of purple teaming in threat hunting?
a) It improves detection and response b) It is not important c) It only improves detection d) None
Answer: a
- What is adversarial simulation?
a) Simulating attacks to test defenses b) A type of software c) A hardware device d) A threat
Answer: a
Matching Exercises
Match the term on the left with its description on the right.
| Term | Description |
| 1. Threat Hunting | A. Stages of a cyber attack |
| 2. Hypothesis-Driven Hunting | B. Framework for adversary activity |
| 3. Kill Chain | C. Proactive search for threats |
| 4. Diamond Model | D. Hunting based on a hypothesis |
| 5. MITRE ATT&CK | E. Knowledge base of tactics and techniques |
Answers: 1-C, 2-D, 3-A, 4-B, 5-E
Short Answer Questions
- What is the difference between the kill chain and the diamond model?
- How do you use MITRE ATT&CK for hunting?
- How do you integrate threat intelligence?
- What is the role of purple teaming in threat hunting?
- What are the best practices for threat hunting?
Scenario-Based Exercises
- Scenario: You are a threat hunter. You have a hypothesis that an APT is using a specific technique. How would you investigate?
- Scenario: You have received threat intelligence about a new attack campaign. How would you integrate this into your hunting?
- Scenario: Your organization wants to implement purple teaming. How would you plan it?
Group Activity
In groups of 3-4, conduct a mock threat hunt. Develop a hypothesis, gather data, and analyze it. Present your findings to the class.
Individual Activity
Write a one-page report on a threat hunting case study. Include the hypothesis, methodology, findings, and lessons learned.
Classroom Discussion Questions
- Why is threat hunting important for SOCs?
- What are the challenges of threat hunting?
- How can organizations integrate threat intelligence?
- What is the role of purple teaming in threat hunting?
- How can organizations improve their threat hunting capabilities?
Mini Project
Project: "Threat Hunting Plan." Create a threat hunting plan for a fictional organization. Include objectives, methodologies, data sources, and tools. Present your plan to the class.
Practical Assignment
Create a threat hunting plan for a specific threat (e.g., ransomware). Include the hypothesis, data sources, and steps to investigate.
Challenge Exercise
Research a real-world threat hunting case study. Write a one-page summary of the case study and what was learned.
Quiz Answers
Fill-in-the-Blank Answers:
- Threat hunting
- Hypothesis-driven
- kill chain
- diamond
- MITRE ATT&CK
- Threat intelligence
- Purple teaming
- Adversarial simulation
- Best practices
- Threat hunting
True or False Answers: 1-F, 2-T, 3-F, 4-T, 5-F, 6-F, 7-T, 8-F, 9-T, 10-F
Key Takeaways
- Threat hunting is the proactive search for threats.
- Hypothesis-driven hunting involves creating a hypothesis and searching for evidence.
- The kill chain describes the stages of an attack.
- The diamond model analyzes adversary activity.
- MITRE ATT&CK provides a common language for threat detection.
- Threat intelligence guides hunting and validates findings.
- Purple teaming and adversarial simulation improve security.
Preparation for the Next Module
In Module Eight, you will learn about Security Orchestration, Automation, and Response (SOAR). You will explore SOAR concepts, workflows, and playbook development.