Glossary term
What is a purple team?
A collaborative security practice where red and blue teams test attacks together so each gap found becomes a detection or prevention fix.
Updated Nov 26, 20264 min read
- A purple team is a way of working in which red team operators and blue team defenders run attacks together, technique by technique, so every gap they find becomes a detection or prevention fix.
- It is usually a shared exercise or function, not a permanent third team.
- The output is measured detection coverage of the techniques that target you, confirmed by re-runs.
A purple team is a collaborative security practice in which offensive testers (the red team) and defenders (the blue team) run attacks together and turn each gap they find into a detection or prevention fix. In most organizations, purple teaming is an exercise or a function the two teams share, not a permanent third team.
How a purple team exercise works
A purple team exercise replaces the handoff between attack and defense with one shared loop, repeated for each technique:
- 1Pick techniques from the threats that target you
Start from the threat actors and campaigns relevant to your sector and regions, and map their behavior to techniques in MITRE ATT&CK, MITRE's knowledge base of adversary tactics and techniques. A short, threat-informed list gets further than an attempt to cover the whole matrix.
- 2Agree on expectations
Before anything runs, the blue team states what should happen for each technique: a block by the EDR, an alert in the SIEM, or at least a log analysts can query.
- 3Run the technique
The red team executes it, by hand or with an attack simulation tool, while defenders watch their consoles.
- 4Check the result together
Both teams compare the outcome with the expectation: blocked, detected, logged without an alert, or missed. A missing log and a missing rule are recorded separately, because they need different fixes.
- 5Fix and re-run
Detection engineers write or tune the rule, or the control owner changes the configuration, and the red team runs the same technique again to confirm the fix holds.
Running techniques in the order an intrusion would use them, known as attack chaining, also shows whether defenders catch the sequence and not only each step.
Purple team vs red team vs blue team
Criteria | Red team | Blue team | Purple team |
|---|---|---|---|
Goal | Emulate an adversary to reach an objective and expose weaknesses | Detect, contain and respond to attacks, and harden the environment | Improve detection and prevention, technique by technique |
Who runs it | Offensive security specialists, internal or external | SOC analysts, incident responders, detection engineers | Members of both teams, working side by side |
Visibility to defenders | Low: engagements are often unannounced, to test the real response | Full view of their own environment, none of the attacker's plan | Full: defenders know what runs and when |
Output | A findings report on attack paths, after the engagement | Alerts, investigations, incident reports, hardening changes | Measured detection and prevention coverage, plus fixes confirmed by re-runs |
A red team engagement asks whether an attacker can reach an objective before anyone notices. A purple team exercise asks which techniques your defenses see and which they miss, then closes the gaps. Automation lets teams run that check more often; see traditional red teaming versus continuous testing and automated red teaming.
Why purple teaming matters
SOC teams use purple teaming to confirm that their alerts fire on the behaviors they were built to catch. Detection engineers use it as a test harness, with each rule tied to a technique and a run that proves it works. Security managers use the results to report coverage and decide where to invest.
The result is measured detection coverage: for each technique tested, a dated status of blocked, detected or missed. A traditional assessment often delivers its findings in a report weeks after the test, when the environment has already changed. Repeated, the purple team loop turns coverage into a figure a team can track as rules, tools and threats change.
Purple teaming is a practical form of threat-informed defense: the threats that target you decide what gets tested, and the test results decide what gets fixed. More on the practice in the Test and validate guides.
How Filigran helps
OpenAEV is Filigran's open-source, threat-informed exposure validation platform: attack simulation, tabletop exercises and continuous control testing.
Try OpenAEV on the XTM Hub, or read how to set detection and prevention expectations in its documentation.
FAQ
What is the difference between red teaming and purple teaming?
Red teaming tests whether an adversary can reach an objective unnoticed; purple teaming runs techniques openly with defenders so each miss becomes a fix. The comparison in "Purple team vs red team vs blue team" covers goal, visibility and output.
What is a purple team assessment?
It is a scoped purple team exercise, run by an internal team or an outside provider, that tests an agreed set of techniques and reports which were blocked, detected or missed, with the fixes made and re-tested. The steps follow the sequence under "How a purple team exercise works".
Is a purple team a separate team?
Usually not. Most organizations run purple teaming as a shared exercise between existing red and blue team members. Teams without an in-house red team often bring in an outside provider or use attack simulation tooling to play the offensive role.
How often should you run a purple team exercise?
There is no standard cadence. Teams re-run tests when detection rules or security tools change, when new threat intelligence points to techniques they have not tested, and on a regular schedule so coverage stays current. Automating the runs makes a frequent cadence practical.