Defense purple team

From NoorQureshi/security-skills · View interactive version

Defense purple team is an AI agent skill from the GitHub repository NoorQureshi/security-skills. Run a purple-team exercise — emulate specific attacker techniques and validate detection/response end to end. Load for "purple team", detection validation, ATT&CK coverage testing, "can we detect X", or turning red-team findings into blue-team improvements. Signals: detection gaps, ATT&CK mapping, c

How to use this skill

Skill file

Purple teaming (emulate → detect → improve)

When it applies

You want to measure and improve detection, not just find bugs. Purple teaming runs known

attacker techniques in a controlled way and checks whether each is prevented, detected, and

responded to — closing the loop between offense and defense.

Why it works

Detections are only real if they fire on the actual technique. Emulating each technique and

watching the telemetry proves coverage, exposes blind spots, and produces tuned detections —

turning "we think we'd catch it" into evidence.

Method

  1. Pick techniques from real risk: map to MITRE ATT&CK, prioritized by your threat model

(→ defense-threat-modeling) and recent red-team/pentest findings.

  1. Emulate safely: run controlled tests — Atomic Red Team (per-technique atomics) or

CALDERA (chained) in a lab/segmented env. One technique at a time, documented.

  1. Observe the pipeline: for each, check — was it prevented (EDR/control)? logged (right

source/fields)? detected (alert fired)? responded (triaged in time)? Record the gap at each stage.

  1. Fix the gaps: add/tune detections (→ defense-detection-sigma), fix logging coverage,

harden the control (→ defense-hardening-baseline), and improve the runbook.

  1. Re-test to confirm the detection fires and is low-FP; track ATT&CK coverage over time.

Anti-patterns

Verify

For each emulated technique: a documented prevent/detect/respond result, a new or tuned detection

for every gap, and a re-test showing it now fires cleanly.

References

MITRE ATT&CK; Atomic Red Team; MITRE CALDERA; "purple team exercise framework" (SCYTHE).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.