What is the difference between a red team, blue team, and purple team?
The red team attacks, the blue team defends, and the purple team has both working together.

Exam objectiveExplain types and purposes of audits and assessments
Objective 5.5 covers the types and purposes of audits and assessments: how an organization, or someone outside it, checks whether controls exist and work, including attestation, internal and external reviews, and penetration testing with its reconnaissance phase.
Audits, assessments, and attestation. An audit tests against fixed criteria and reports conformance, while an assessment evaluates, often more broadly, and advises. The more independent the reviewer, the more weight the result carries. Internal reviews include compliance checks, the audit committee, and self-assessments. External reviews include regulatory reviews, examinations, assessments, and independent third-party audits. An attestation is a formal statement, normally by an independent qualified party, that controls meet specified criteria; a SOC 2 report is one example.
Penetration testing. A penetration test is an authorized attack that proves which weaknesses are really exploitable, and written permission is what separates it from an attack. Physical tests try to get past locks, badges, guards, and cameras. Offensive (red team), defensive (blue team), and integrated (purple team) tests differ in who attacks and who defends; in an integrated test, red and blue cooperate so detections are tuned immediately. A known environment test gives testers full details up front, a partially known environment test gives some, and an unknown environment test starts from an outsider's view.
Reconnaissance. Reconnaissance gathers information about a target before attacking it. Passive reconnaissance uses public sources and never touches the target, while active reconnaissance probes it directly, which can reveal current technical details but can show up in logs.
Exam questions test who performs the review, what the output is, and the test type: known, partially known, or unknown environment; offensive, defensive, or integrated; passive or active reconnaissance.
This page is the map. Knotch is where you drill it until it sticks.
An audit tests against fixed criteria and reports conformance. An assessment evaluates, often more broadly, and advises.
Passive reconnaissance uses public sources and never touches the target. Active reconnaissance interacts directly, which can reveal current technical details but can show up in logs.
A known environment test gives full details up front, which makes it efficient and deep. An unknown environment test starts from an outsider's view, which is realistic but slower and can miss flaws inside.
An internal review serves the organization and is usually run by its own staff; an external one comes from outside it, such as a regulator or an audit firm. Independence generally rises with externality, though it also depends on who the reviewer reports to.
The full set of look-alike pairs for this objective is inside Knotch.
A penetration test scope letter says no traffic may be sent to the client until the formal start date. The tester wants to learn the client's staff email address format today.
Which action stays within the letter?
Reading third-party public sources is open-source intelligence and sends nothing to the client.
Open-source intelligence, drawn from sources the client does not control, is passive and sends no traffic. Mail probing, zone transfer requests and calls all contact the target directly.
Why not B: Sending mail to the client's mail server is direct interaction, so it is active reconnaissance.
Why not C: A zone transfer request is sent to the client's own DNS servers, so it is active reconnaissance.
Why not D: A call to staff is direct interaction with the target, which is active reconnaissance.
The red team attacks, the blue team defends, and the purple team has both working together.
A penetration test tries to exploit weaknesses to prove they are real. A vulnerability scan lists potential weaknesses.
An attestation is a formal opinion, normally from an independent qualified party, on whether controls meet stated criteria, such as a SOC 2 report. A certification is a credential a certifying body awards to show conformance to a standard.
