Security operations

Red Team vs Penetration Test: What Each One Proves (and Which to Buy First)

A penetration test proves what an attacker can exploit. A red team proves whether anyone would notice. Here is how they differ, what each costs in time, and which one to buy first.

Cysoro Security TeamPublished · 9 min read
PEN TESTScoped systemsKnown to ITFinds flawsRED TEAMWhole organizationCovert — tests defenders SECURITY OPERATIONS Red teamvs pen test What each one actually proves.
Quick answer

A penetration test is a scoped, time-limited assessment that finds and proves exploitable weaknesses in specific systems, and reports each flaw with evidence and a fix. A red team exercise is a longer, objective-based simulation of a real adversary that tests whether your people, processes and tools detect and stop an attack. Most small businesses need a penetration test first, and a red team only once monitoring and incident response are worth measuring.

Key takeaways

  • A penetration test answers what is exploitable; a red team answers whether your defenders would catch a real attacker.
  • NIST SP 800-53 lists red team exercises as enhancement CA-8(2) of its penetration testing control, CA-8.
  • CISA's SILENTSHIELD red team stayed undetected for five months inside a federal agency, showing why detection testing matters.

Both engagements involve authorized hackers trying to break into your systems, and both end with a report. That similarity causes most of the confusion — and most of the wasted money, when a company buys the wrong one.

What is a penetration test?

A penetration test is a scoped, time-limited assessment in which testers try to find and exploit weaknesses in specific systems, then report each confirmed flaw with evidence and a fix. NIST defines it as security testing in which evaluators mimic real-world attacks to find ways to circumvent the security features of an application, system or network.

The scope is agreed in writing before testing starts: which networks, applications or systems are in bounds, which techniques are allowed, and when testing happens. Testers usually work with IT's knowledge, during agreed windows, and stop at agreed limits.

The deliverable is a findings report. Each finding has a severity, proof that the flaw is real, the affected system, and the specific remediation step. That makes a penetration test a practical tool for fixing things and for satisfying auditors, customers and cyber insurers.

NIST's technical guide to security testing, SP 800-115, describes the method: analyze the system first, identify likely vulnerabilities, then test whether they can be exploited, with all parties agreeing the rules of engagement first.

What is a red team exercise?

A red team exercise is an authorized, covert simulation of a real adversary, run against a whole organization toward an agreed objective, to find out whether its defenders would detect and stop the attack. The team pursues a goal — such as reaching finance data or domain administrator access — using whatever route a real attacker would use.

Unlike a penetration test, the scope is the objective, not a list of systems. The team follows the path of least resistance, which may run through phishing, phone calls, physical access, cloud identity or a forgotten web server. Defenders are often not told the exercise is happening, so they respond as they would for real.

The deliverable is an after-action report: the full attack path, what defenders saw or missed, how long each step took, and the gaps in detection and response. It measures your security operations, not just your software.

What is the difference between a red team and a penetration test?

The difference is the question each one answers. A penetration test answers "what can an attacker exploit in this scope?" A red team answers "could an attacker reach what matters most, and would anyone notice in time?" One proves exploitability; the other proves detection and response.

Penetration testRed team exercise
GoalFind and prove exploitable weaknesses in a defined scopeTest whether the organization detects and responds to a realistic attack
ScopeSpecific networks, applications or systems agreed in writingThe organization as a whole, aimed at an objective
Who knowsIT coordinates it under agreed rules of engagementA small trusted group; defenders are often not told
MethodsTechnical testing within the rules of engagementTechnical attacks plus phishing, phone calls and social engineering
DurationDays to a few weeksWeeks to months
DeliverableFindings with severity, evidence and the specific fixAttack path, detection gaps and response timeline
Primary audienceEngineering, IT and complianceSecurity operations, incident response and leadership
Best first stepYes, for most organizationsOnly after basic controls and monitoring exist

NIST makes the relationship explicit. In SP 800-53 Rev. 5, control CA-8 covers penetration testing, and enhancement CA-8(2) says red team exercises extend those objectives to the organization's ability to defend itself, simulating attempts to compromise its mission and business functions. NIST adds that penetration testing may be largely laboratory-based, while red team exercises reflect real-world conditions.

How does a penetration test work?

A penetration test runs in four phases: scoping, reconnaissance, exploitation, and reporting. Scoping is the most important phase, because a vague scope produces a vague report.

How a penetration test runs1Scopesystems, limits,rules of engagement2Reconnaissancemap the target,find likely flaws3Exploitationprove each flawwith evidence4Report & retestfix, then verifythe fixes workA retest matters: an untested fix is only a claim.
The four phases of a penetration test. Illustration by Cysoro.

Common types include network penetration tests, web application tests, API tests, cloud configuration tests, mobile app tests and wireless tests. Each has its own techniques, but the pattern is the same: find it, prove it, explain how to fix it.

Ask for a retest in the contract. Fixing a critical flaw and never verifying the fix is one of the most common wastes in security spending. A short retest, usually a few weeks after the report, confirms the patch actually closed the hole.

How does a red team exercise work?

A red team exercise starts with objectives and rules of engagement, agreed with a small trusted group — usually called the white cell. The objectives name what "winning" looks like for the attackers, such as reading a specific database or sending a test payment.

The team then works through the same phases a real adversary uses: reconnaissance, initial access, persistence, privilege escalation, lateral movement and reaching the objective. They may phish staff, call the helpdesk, exploit an unpatched server, or abuse a misconfigured cloud identity. The point is to use the easiest route, not the most impressive one.

Throughout the exercise, the white cell watches for safety issues and stops anything that could cause real damage. At the end, the red team replays the attack with the defenders — the blue team — so both sides learn from the same timeline.

That replay is where most of the value sits. A report alone cannot teach a SOC analyst what a real intrusion looks like in their own logs. Walking through it together can.

What did CISA's red team actually find?

CISA's SILENTSHIELD assessment is the clearest public example of why red teams exist. In 2023, CISA's red team spent about eight months simulating a long-term nation-state attack against a federal civilian agency, and published the results in advisory AA24-193A in July 2024.

The team gained initial access by exploiting an unpatched vulnerability (CVE-2022-21587) in an Oracle Solaris web server, and separately entered the Windows environment through phishing. From there it harvested credentials, found a password file containing plaintext passwords for privileged service accounts, and reached full domain compromise, including tier-zero assets.

The agency did not detect the team for five months. When CISA finally told the agency's security operations center, the team had still not been identified. The advisory listed weak network segmentation, poor log collection, siloed teams and a reliance on flagging known indicators of compromise instead of behavior-based detection.

A later CISA advisory, published in August 2026, compared two critical infrastructure organizations. One SOC failed to detect the red team after initial access, escalation and lateral movement. The other isolated all three initially compromised endpoints within 20 minutes, forcing the red team onto an assumed-breach path. Same test, very different defenses — which is exactly what a red team measures.

Which should you buy first?

Buy a penetration test first unless you already have monitoring and incident response worth measuring. A red team against an organization with no SOC, no centralized logging and no incident response plan will simply confirm what you already know: nobody would notice.

Start with a penetration test when you need a list of fixable flaws, evidence for an audit or cyber insurance application, or a check after a major change such as a new application or cloud migration. It is cheaper, faster and produces fixes your team can act on immediately.

Commission a red team when you have a SOC or managed detection service, centralized logs, an incident response plan, and a penetration test history that shows the obvious flaws are fixed. Then the question worth paying for is whether the whole system works under a real attack.

For a small business, the practical order is: patch and configure the basics, run a penetration test, fix the findings, then consider a purple team exercise — a joint session where attackers and defenders work together — before a full covert red team. Our small business cybersecurity checklist covers the basics that should come first.

How much do they cost, and how long do they take?

Costs vary widely with scope, and most reputable providers quote per engagement rather than publishing a flat price. As a rough guide, a small web application penetration test can take days, while a network test for a mid-size company takes one to three weeks. A red team exercise usually runs for weeks to months, because a realistic attack is not a one-day event.

Budget for more than the test itself. You need staff time to scope it, fix the findings, and retest. A penetration test report that nobody acts on is the most expensive kind: it costs the fee and buys nothing.

Ask every provider the same questions before you sign: who will do the work, what is in and out of scope, how will they handle a critical finding during the test, what does the report look like, and is a retest included? If a provider cannot show you a sample report with names removed, walk away.

What mistakes do buyers make?

The most common mistake is buying a red team to impress a board or a customer, when a penetration test would have found the flaws that matter. The second is treating the report as the end of the work, instead of the start of fixing.

  • Testing too little, too late. A test run once a year, weeks before an audit, finds problems with no time to fix them.
  • Scope that excludes the risky parts. Production systems, legacy servers and third-party connections are where attackers go first.
  • No rules of engagement in writing. Without them, a test can take down a service or expose real data by accident.
  • Testing the SOC without telling anyone — including the SOC lead. Covert testing is the point of a red team, but someone senior must be able to stop it.
  • Ignoring the detection findings. A red team report that lists missed alerts is a gift; the next attacker will not send one.

Another mistake is confusing a vulnerability scan with a penetration test. A scan lists possible weaknesses automatically. A penetration test proves which ones are actually exploitable, and a red team proves whether anyone would notice the exploitation. They are three different things, and you need the scan and the test before the red team.

What is a purple team, and where does it fit?

A purple team is a collaborative exercise in which the red team (attackers) and the blue team (defenders) work together in real time, rather than the red team working in secret. The attackers explain each step as they take it, and the defenders check whether their tools saw it.

Purple teams are often the best middle step between a penetration test and a full red team. They are cheaper than a covert exercise, they train your defenders directly, and they produce detection improvements — new alerts and playbooks — instead of only a list of flaws.

If your organization has a small security team, start here. A purple team exercise against one realistic attack path, such as phishing followed by credential theft, will teach your team more than a long covert engagement they never see until the report arrives.

Four tests, four different answersVuln scanWhat might beweak (automated)Cheapest, fastestPen testWhat is actuallyexploitableFixable findingsPurple teamWhat defenderscan see, liveTrains the teamRed teamWould anyonenotice in time?Tests the whole orgEach step up costs more — and answers a harder question.
Scans, penetration tests, purple teams and red teams answer different questions. Illustration by Cysoro.

The bottom line

A penetration test tells you what is broken. A red team tells you whether your defenses work when it matters. You need the first before the second earns its price, and you need to fix what each one finds — otherwise you are paying to learn the same lesson twice.

Start by checking what an attacker can already see from outside. Run our free SSL checker on your public site and fix what it flags.

Then run our security headers checker, and scope a penetration test for the systems that matter most.

Frequently asked questions

What is the main difference between a red team and a penetration test?

A penetration test finds and proves exploitable weaknesses in a defined scope and reports each flaw with a fix. A red team simulates a real adversary against the whole organization to test whether defenders detect and stop the attack.

Which should I buy first, a penetration test or a red team?

Buy a penetration test first, unless you already have monitoring and incident response worth measuring. A red team against an organization with no SOC or centralized logging will only confirm that nobody would notice an attack.

How long does a red team exercise take?

A red team exercise usually runs for weeks to months, because a realistic attack is not a one-day event. A penetration test is shorter, typically days to a few weeks depending on scope.

How much does a penetration test cost?

Costs vary widely with scope, and most reputable providers quote per engagement rather than publishing a flat price. A small web application test can take days, while a network test for a mid-size company takes one to three weeks.

What is a purple team?

A purple team is a collaborative exercise where the red team and the blue team work together in real time. The attackers explain each step as they take it, and the defenders check whether their tools saw it. It is a good middle step between a penetration test and a full red team.

Is a vulnerability scan the same as a penetration test?

No. A vulnerability scan automatically lists possible weaknesses. A penetration test proves which ones are actually exploitable. A red team goes further and proves whether anyone would notice the exploitation.

Sources

  1. CISA — CISA Red Team's Operations Against a Federal Civilian Executive Branch Organization Highlights the Necessity of Defense-in-Depth (AA24-193A)
  2. NIST — SP 800-53 Rev. 5, Security and Privacy Controls for Federal Information Systems and Organizations
  3. NIST — SP 800-115, Technical Guide to Information Security Testing and Assessment
  4. SecurityWeek — CISA Red Team Exercise Finds Critical Vulnerabilities in Federal Civilian Agency
  5. eWeek — CISA Red Team Tests Expose Cloud and Identity Gaps in Critical Infrastructure
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against NIST SP 800-53 Rev. 5 control CA-8 and its CA-8(2) red team enhancement, NIST SP 800-115, and CISA advisory AA24-193A.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free