Most organisations have some form of blue team, even if they do not call it that. It might be two engineers who also run the firewall, an outsourced monitoring service, or a full security operations centre. What separates an effective blue team from a busy one is not headcount or tooling, but whether its work reliably turns into the ability to detect and stop real attackers.
This guide sets out what a modern blue team does, the foundations it depends on, and a realistic path to maturing it.
What a blue team does
Defensive operations cover four connected areas:
- Prevention. Hardening systems, managing vulnerabilities, enforcing strong identity controls and reducing attack surface. Every attack that is prevented is one that does not need to be detected.
- Detection. Collecting the right telemetry and building analytics that surface malicious activity with enough context to act on.
- Response. Triaging alerts, investigating incidents, containing and eradicating threats, and recovering. NIST SP 800-61, the US government’s incident handling guidance, is a widely used reference for structuring this work.
- Threat hunting. Proactively searching for adversary activity that existing detections missed.
These areas feed each other. Incidents and hunts reveal detection gaps; detection gaps reveal missing telemetry; investigations reveal weaknesses that prevention should address. A blue team that treats them as separate silos loses most of that feedback.
Telemetry: the foundation
Detection cannot be better than the data it runs on. Before writing a single rule, establish which sources you collect, from where, with what fields, and for how long.
Core sources
- Endpoint. An endpoint detection and response (EDR) tool provides process creation, command lines, network connections, file and registry changes, and the ability to isolate a host. For most intrusions, this is the richest single source.
- Identity. Authentication logs from directory services, single sign-on and identity providers. Many modern attacks are identity attacks: credential theft, token abuse, consent phishing and privilege changes.
- Email. Delivery, filtering and user-click data. Phishing remains a common initial access route.
- Network. Firewall, proxy, DNS and, where available, flow data. Useful for spotting command and control and data movement, and for systems where endpoint agents cannot run.
- Cloud. Control plane audit logs from cloud providers and activity logs from major SaaS platforms. These are often not enabled or not retained by default, so check rather than assume.
Logging policy and retention
Write a logging policy that states which sources are required for which systems, which events must be captured, and how long they are kept. Retention should reflect how long intrusions can go unnoticed and what investigations will need, balanced against cost and any legal requirements on personal data. Many teams keep a shorter window of fully searchable data and a longer window in cheaper storage.
Monitor the pipeline itself. A log source that silently stops sending is one of the most common and least visible failures in defensive operations. Alert on sources that go quiet or whose volume changes sharply.
Detection engineering
Detection engineering is the discipline of building, testing and maintaining detection logic as a product rather than as an accumulation of rules.
Detections as code
Store detection logic in version control. Each detection should document what behaviour it targets, why that behaviour is suspicious, which MITRE ATT&CK technique it relates to, which data sources it depends on, known false positives, and how an analyst should respond. Changes go through review, just like application code.
Vendor-neutral formats such as Sigma can describe detection logic in a portable way, which helps when sharing content or migrating platforms, even if the deployed version is written in your SIEM’s own query language.
Test every detection
A detection without a test is an assumption. For each rule, keep a way to trigger it safely: a script, a recorded log sample, or a procedure from an atomic test library or a purple team exercise. Re-run these tests on a schedule and after changes to log sources, agents or parsing. Detections break silently far more often than teams expect.
Coverage without theatre
ATT&CK coverage maps are useful for planning, but they invite a particular kind of self-deception. A technique marked as covered because a rule exists says nothing about whether the rule works, whether it catches more than one procedure, or whether anyone would act on the alert.
Better practice:
- Prioritise techniques that are relevant to the threats you face, rather than aiming for the whole matrix.
- Count a technique as covered only when a detection has been tested against realistic procedures.
- Record the depth of coverage, such as how many variations of a technique are detected, rather than a single colour.
- Be explicit about what is not covered.
Triage and tiering
Alerts are only useful if someone looks at them promptly and makes a sound decision. Many teams use a tiered model: first-line analysts triage incoming alerts against a runbook, escalate what they cannot resolve, and more experienced responders handle investigation and containment. Others prefer smaller, cross-skilled teams. Either can work, provided that:
- Every alert type has a defined owner and a runbook.
- Alerts carry enough context (asset owner, user role, related activity) to avoid manual lookups for routine questions.
- Severity reflects both the detection’s confidence and the importance of the asset.
- Escalation paths, including out-of-hours contacts and the authority to isolate systems or disable accounts, are documented and tested.
Playbooks and runbooks
Runbooks describe how to handle a specific alert. Playbooks describe how to handle a broader incident type, such as ransomware, business email compromise or a compromised cloud account, including who to involve, which decisions are needed and how to communicate. Keep both short, practical and current. Review them after every significant incident.
Automation helps with repetitive enrichment and containment steps, but automate what you understand. A poorly designed automated response can disrupt the business faster than an attacker.
Threat hunting
Threat hunting starts from a hypothesis rather than an alert. Good hypotheses are specific and testable, for example:
- “An attacker with valid credentials is using remote management tools that our administrators do not normally use.”
- “Persistence has been established through scheduled tasks created by non-administrative accounts.”
- “Cloud access keys are being used from infrastructure that does not match our normal usage.”
Sources for hypotheses include threat intelligence, recent public reporting, red team findings, and areas where detection coverage is known to be thin. Each hunt should end with a documented result: nothing found and why, something found and escalated, or a gap in telemetry identified. The most valuable outcome is often a new detection, so that the next occurrence is caught automatically.
Metrics that matter
Metrics should help the team improve, not just fill a monthly report.
- Mean time to detect (MTTD) and mean time to respond (MTTR). Useful, but easily distorted. Averages hide long tails, and definitions vary. State exactly where each clock starts and stops, and look at distributions and outliers, not only means.
- Detection quality. The proportion of alerts from each detection that turn out to be true positives or useful findings. Low-quality rules should be tuned or retired.
- False-positive rate and analyst workload. High alert volume with little value is a direct route to missed incidents.
- Tested coverage of priority techniques. How many of the techniques that matter most to you are detected, as proven by tests.
- Detection regression. How many detections fail when re-tested.
- Log source health. How quickly silent or broken sources are noticed and fixed.
Report trends over time. A single number in isolation rarely tells anyone what to do next.
Staffing and burnout
Defensive operations involve repetitive work, unsocial hours and the constant possibility of missing something important. Burnout is a security risk, not just a people issue: tired analysts make poorer decisions.
Practical measures include realistic rota design for round-the-clock coverage, time set aside for detection engineering, hunting and training rather than pure alert handling, ruthless tuning of noisy detections, and clear career paths. Rotating analysts through purple team exercises and hunts keeps skills sharp and the work varied. For many organisations, a hybrid model where a provider handles out-of-hours monitoring and the internal team focuses on context-heavy work is more sustainable than staffing a full 24/7 operation internally.
Maturing step by step
Trying to do everything at once usually produces a large tool estate and little detection. A more reliable sequence:
- Visibility. Deploy EDR broadly, collect identity and cloud audit logs, and monitor that sources stay healthy.
- Response basics. Define who responds, with what authority, using which playbooks, at what hours.
- Focused detections. Build and test detections for a small set of high-priority techniques relevant to your threats.
- Feedback loops. Use incidents, hunts and purple team exercises to find and close gaps systematically.
- Scale and automation. Expand coverage, automate repetitive enrichment and containment, and refine metrics.
Working with red and purple teams
Red team engagements measure how the blue team performs against a realistic, covert adversary. Purple team exercises are where blue teams improve fastest: techniques are executed openly, and defenders confirm whether each one was logged, collected, detected and understood. Treat both as inputs to the detection engineering backlog, not as tests to pass. A blue team that welcomes being tested, and acts on the results, improves far faster than one that fears it.
A practical checklist
- Document required log sources, fields and retention in a logging policy.
- Alert when log sources go silent or change sharply in volume.
- Manage detections as code, with documented intent, review and a stored test.
- Re-run detection tests on a schedule and after platform changes.
- Measure coverage by tested detections for prioritised techniques.
- Give every alert type an owner, a runbook and a clear escalation path.
- Run hypothesis-driven hunts and turn findings into detections.
- Define MTTD and MTTR precisely and review distributions, not just averages.
- Protect analyst time for engineering, hunting and training.
- Feed red and purple team results into the detection backlog.
Closing thoughts
An effective blue team is built on unglamorous foundations: reliable telemetry, tested detections, clear authority to act and people who are not exhausted. Get those right and the more advanced capabilities follow naturally.
Onasor Group provides managed detection and response for teams that want to extend their coverage.