Courses3 levels
Level 1 · Foundations11 courses
Level 2 · Core5 courses
Level 3 · Advanced5 courses
Labs8 topics
Library Practice exams AI Range Pricing Start free

Practice library / Penetration testing, first steps

Workbook · Hard · 5 hoursFree account

Red Team Operations

Plan, run and report an objectives-based red team engagement, with the OPSEC and detection side of every move.

  • red-team
  • adversary-emulation
  • opsec
  • c2
  • persistence
On this page 6 sections
  1. ·Chapter 1 — Red Teaming vs Penetration Testing
  2. Locked: Chapter 2 — Planning the Engagement: Scope and Rules of Engagement
  3. Locked: Chapter 3 — Infrastructure and Attacker OPSEC
  4. Locked: Chapter 4 — OPSEC Discipline and Defender Telemetry
  5. Locked: Chapter 5 — Persistence and Lateral Movement, by Category
  6. Locked: Chapter 6 — Reporting and the Purple-Team Debrief

Red team work is adversary emulation with a scope. A small team plays a named threat actor against a client, drives at defined objectives, and reports on the gaps a point-in-time penetration test cannot find. The discipline is as much OPSEC as offence: every action leaves telemetry, and a loud operator teaches the defender nothing. This workbook covers the planning, the infrastructure, the operator tradecraft and the detection side of each move. It maps actions to Windows Event IDs, Sysmon fields and EDR signals, and closes with the kind of report that drives architecture change instead of single patches.

What You'll Learn

  • Distinguish red teaming from penetration testing
  • Plan an adversary-emulation engagement with a scope and rules of engagement
  • Explain red team infrastructure and operator OPSEC at a conceptual level
  • Map operator actions to defender telemetry (Windows Event IDs, Sysmon, EDR signals)
  • Explain common persistence and lateral-movement categories and how defenders detect them
  • Write a report that drives architecture fixes, not single patches

Authorized lab only. Every technique in this workbook is for an isolated lab domain that you own or have written permission to test, for example CORP.LOCAL on 192.168.0.0/16. Running any of this against a network you do not have written authorization for is illegal in many jurisdictions. This workbook teaches the discipline, the OPSEC and the detection side of red teaming. It does not give you a working exploit. This workbook assumes you already know Active Directory basics and Kerberos authentication (see Active Directory Basics). For hands-on practice with real commands, see the labs linked at the end of this workbook.

Chapter 1 — Red Teaming vs Penetration Testing

Chapter Objectives

  • Explain the goal of a red team engagement
  • Explain the goal of a penetration test
  • Choose the right engagement type for a given client problem
  • Define "purple team"

A penetration test finds as many vulnerabilities as it can inside a fixed scope, in a fixed amount of time. The question it answers is: "What is wrong, right now, in this system?" Coverage is the goal. A pentest report lists findings by severity, usually one per vulnerability class. The tester is often open about being a tester: a scanner banner, a test account, a known source IP range.

A red team engagement answers a different question: "If a real adversary with a stated goal came after us, how far would they get, and would we notice?" The red team picks one or a few objectives, for example "reach Domain Admin" or "exfiltrate a file from the finance share". It works toward them the way a real intruder would: quietly and patiently, across people, process and technology, not a narrow technical scope. A red team that gets blocked by one control does not stop. It looks for another path, the same way a persistent adversary would.

The two disciplines compare like this:

Penetration testRed team engagement
Question answeredWhat is vulnerable?Would we detect and stop a real attacker?
GoalCoverage of the scopeOne or more stated objectives
StealthUsually not a goalCore requirement — detection is itself a test result
ScopeA system or network segmentOften the whole organization: people, process, technology
DurationDays to a few weeksWeeks to months
Report measuresVulnerabilities found, by severityObjectives reached, detections triggered, time to detect
AudienceThe team that owns the systemSecurity leadership and the detection team (SOC)

A client who has never had a third-party assessment, or who recently deployed a new application, needs a pentest first. Coverage of the obvious vulnerability classes (the OWASP Top 10, missing patches, weak configurations) must come before anyone asks whether the organization can detect a patient adversary. A client who already runs a mature detection program needs a red team engagement instead. The red team then tests whether that program actually works against a realistic, multi-step attack. Running a red team engagement against an organization that has never had a basic pentest usually wastes the red team's budget. The engagement ends on the first unpatched vulnerability, and the client learns nothing about their detection capability.

Purple teaming is a third, collaborative mode. The attacking side and the defending side work together, often in the same room or call, running one technique at a time and comparing what the attacker did against what the defender's tools logged. Purple teaming trades the realism of a fully covert red team for speed. A gap gets found and fixed in the same session, instead of waiting weeks for a final report. Chapter 6 covers how a red team engagement can end with a purple team session.

Worked example

A client sends two one-line requests. Classify each one.

Request A: "We recently moved our customer portal to a new cloud provider. We need to know what is wrong with it before launch."

This is a pentest. The question is "what is vulnerable," and the scope is one system. There is no existing detection capability to test. Nothing exists yet to detect against.

Request B: "Our SOC says they would catch a domain compromise in under an hour. We want to know if that is true, and if an attacker could get to Domain Admin without being noticed at all."

This is a red team engagement. The question is "would we detect it," and the goal is a specific objective: Domain Admin. The test is explicitly about the detection program's performance under a covert attack.

Practice questions

1. A client says "run your normal vulnerability scan against our perimeter. We want a list of CVEs." Is this a red team engagement?

Answer

No. A vulnerability scan for a list of CVEs is coverage-driven and has no stated objective and no detection question. It is closer to a vulnerability assessment than even a full pentest, and far from a red team engagement. Ask the client what decision the result will support before picking an engagement type.

2. Why does running a red team engagement before a first pentest usually waste the client's money?

Answer

A red team engagement is objectives-based and stops testing a path once that path works. If the organization has an unpatched, trivially exploitable vulnerability, the red team will likely use it and reach the objective quickly. It then never exercises the detection program against the subtler techniques the client actually wanted to test. A pentest first closes the obvious gaps. The red team engagement that follows then tests detection against realistic tradecraft, not against low-hanging fruit.

Sign in to continue

5 more sections are for signed-in members. It is free: sign in with Google.

Related