Defensive Security Intro
This room introduces the fundamentals of defensive security (Blue Team operations): protecting and monitoring networks and systems. It walks through the role of the SOC, digital forensics (DFIR), incident response, and SIEM tooling, and closes with a hands-on exercise that simulates a SOC analyst's job to identify and respond to a security alert.
| Platform | TryHackMe |
| Category | Blue Team & SOC |
| Difficulty | Easy |
| Room | Intro to Defensive Security |
Task 1 — Introduction to Defensive Security
Offensive security is about breaking into systems; defensive security is the opposite: preventing intrusions and, when they happen, detecting and responding to them. This is the work of the Blue Team, responsible for protecting, detecting, and responding to threats within an organization.
Q: Which team focuses on defensive security?
A: Blue Team
Task 2 — Exploring the Security Operations Center (SOC)
The SOC is a team of cybersecurity professionals that monitors the network and its systems for malicious events. Its core responsibilities are:
- Monitoring for intrusions, policy violations, suspicious activity, and vulnerabilities.
- Enforcing policy adherence, spotting unauthorized behavior and intrusion attempts.
- Prioritizing threat detection and response based on the analysis of logs and alerts.
Q: What would you call a team of cybersecurity professionals that monitors a network and its systems for malicious events?
A: Security Operations Center (SOC)
Beyond the room: real-world SOCs are usually organized in tiers. Tier 1 analysts triage incoming alerts and decide what to escalate; Tier 2 analysts investigate escalated incidents in depth and drive containment; Tier 3 analysts (often called threat hunters) proactively look for threats that automated detection missed and tune the detection rules for the tiers below them.
Task 3 — Digital Forensics
Digital forensics preserves, analyzes, and interprets data from systems to investigate incidents. Common focus areas include:
- File system: recovering deleted, partially overwritten, or created files from storage.
- System memory: analyzing volatile memory for malware or suspicious processes that only live in RAM.
- System logs: reviewing logs; even if an attacker tries to erase their traces, remnants often remain.
- Network logs: examining traffic to detect anomalies or active attacks.
Task 4 — Incident Response
The incident response process is typically structured in four phases:
- Preparation: establishing teams, tools, policies, and training to handle incidents proactively.
- Detection & Analysis: identifying incidents through alerts and logs and evaluating their scope and severity.
- Containment, Eradication & Recovery: isolating affected systems, removing the threat, and restoring operations.
- Post-Incident Activity: conducting reviews to learn from the incident, improve policies, and refine defenses.
Q: What phase of the incident response process involves providing "cyber awareness" training to employees?
A: Preparation
Beyond the room: this four-phase model matches NIST SP 800-61 ("Computer Security Incident Handling Guide"), the most widely referenced incident response framework. A common variant is SANS' six-step PICERL model (Preparation, Identification, Containment, Eradication, Recovery, Lessons Learned), which splits "Detection & Analysis" into its own Identification step and adds an explicit Lessons Learned phase at the end.
Task 5 — Practical Example: SIEM Simulation
In this exercise you act as a SOC analyst working a simulated SIEM (Security Information and Event Management) dashboard. The flow is:
- Click View Site within the room to open the SIEM simulation.
- Follow the step-by-step instructions to examine alerts and logs.
- Identify and escalate the relevant incident.
- Perform the appropriate response actions (e.g., blocking an IP).
- The flag appears upon successful completion.
Flag: THM{THREAT-BLOCKED}
Beyond the room: in production this same workflow runs on real SIEM platforms such as Splunk, Elastic Security (the ELK stack), IBM QRadar, Microsoft Sentinel, or the open-source Wazuh. They all share the same core job: aggregate logs from many sources, correlate them against detection rules, and surface the results as alerts and dashboards for an analyst to triage.
Concept Recap
| Task | Focus area | Key takeaway |
|---|---|---|
| 1 | Defensive team | Blue Team |
| 2 | SOC roles | Monitoring, detection, response |
| 3 | Digital forensics | File system, memory, logs |
| 4 | Incident response | 4-phase framework |
| 5 | SIEM simulation | Alert investigation → THM{THREAT-BLOCKED} |
Key Takeaways
- Defensive security (Blue Team) focuses on preventing intrusions and detecting and responding to them when they occur.
- The SOC continuously monitors the network to locate and prioritize threats.
- Digital forensics works across files, volatile memory, and system and network logs.
- Incident response follows a four-phase framework: preparation, detection and analysis, containment/eradication/recovery, and post-incident activity.
- A SIEM centralizes logs and alerts so the analyst can investigate and act on events.
- Many SOCs map the incidents they see to MITRE ATT&CK, a public knowledge base of adversary tactics and techniques, to standardize how attacker behavior is described and detected.