Red team exercises and breach and attack simulation

7 min 4 sections 5 practice questions 7 sources citedISC2 objective 6.2

An attack simulation imitates the way a real attacker behaves, so that an organisation can see whether its defences and its defenders would stop it. It can be a team of skilled people working for weeks, both sides at one table, or software that replays known attacks every night. No background is assumed. A security professional needs to know which kind of simulation answers which question, and what each one cannot show.

By the end of this unit you will be able to:

  • Tell apart a red team exercise and a penetration test by goal, scope and who is told
  • Explain what purple teaming adds and when it is used
  • Explain what breach and attack simulation does and what it cannot find
  • Choose the exercise that answers a given question about an organisation's defences

A clean report and a quiet intruder

An illustrative example

An online pharmacy passes its yearly penetration test with two minor findings. Four months later its bank reports stolen card details. The investigation finds that an intruder spent five weeks inside the network.

The security monitoring service had raised eleven alerts about the intruder during those weeks. Each one was closed as a false alarm. The penetration test had checked the website and the servers. Nothing had ever checked whether anyone would notice an attack in progress.

What kind of exercise would have tested the people watching the alerts, not just the systems?

A red team exercise tests the defenders as well as the defences

A asks which weaknesses can be used and how far they lead. A red team exercise asks a different question: could a particular kind of attacker reach a particular goal without being stopped? The red team imitates a real adversary, using the methods that adversary is known to use, against the whole organisation: its systems, its staff and its buildings.

Three things set it apart. It has a goal, such as reaching the payroll system or a named director's mailbox, rather than a list of systems to check. It is usually covert: the blue team, meaning the security staff and the monitoring service, is not told. Only a small control group, the white team, knows the plan and can halt it. And it starts from : the red team studies which groups attack this kind of organisation and copies their tactics, techniques and (TTPs).

The result is evidence about detection and response. Did anyone notice? How long did it take? Was the alert passed to the right person? A red team exercise does not try to find every weakness. It usually takes the easiest route that works, so a quiet exercise leaves most weaknesses unlisted.

Common misconception

“A red team exercise is a larger penetration test that finds more weaknesses.”

It usually finds fewer. A penetration test tries to list what can be exploited in its scope. A red team exercise follows one attacker's path to a goal, and its main output is whether the defenders detected and stopped it.

Purple teaming: both sides at one table

In a covert exercise the red team learns a great deal that the blue team never sees. Purple teaming fixes this. The red and blue teams work together openly. The red team carries out or describes an attack step, and the blue team checks at once whether its tools recorded it, raised an alert and reached a person. Where nothing was seen, both sides work out why and the defenders change a rule or a process there and then.

The European Central Bank's guidance for threat-led red team tests of banks, called TIBER-EU, describes as a collaborative activity of the red team testers and the blue team. It can range from a discussion round a table to replaying attacks on live systems. The same guidance places it mainly after the covert phase, to learn from what happened, and says it does not replace that phase.

Replaying one step

The red team explains that it copied a password store from a laptop on day three. The blue team searches its logs together with the red team and finds the event was recorded but matched no alert rule. A rule is written, the step is replayed, and this time the alert fires.

Purple teaming gives fast learning and a clear list of detection gaps. What it cannot give is a true measure of how the defenders perform on an ordinary day, because they know the attack is coming.

Breach and attack simulation: safe attacks run by software

Breach and attack simulation (BAS) is software that runs harmless imitations of known attack techniques inside an organisation's real network, on a schedule. It records whether each one was blocked, detected or missed. Small agents, programs placed on chosen computers, carry out the steps. Each simulated step is a known technique, usually labelled with its entry in MITRE ATT&CK, the public catalogue of attacker techniques. One step might copy a harmless file in the way ransomware does, or try to send fake data out of the network.

Its strength is repetition. A red team exercise happens once a year. can run every night, so a change or an expired security product that breaks a defence shows up the next morning. MITRE's open-source tool Caldera does this kind of automated adversary emulation. In 2022 the US Cybersecurity and Infrastructure Security Agency (CISA) and its partners issued an advisory about one attacking group. It urged organisations to test their controls against the ATT&CK techniques it listed, and to keep testing at scale on live systems.

  1. Choose one attacker technique, for example from an advisory about a group that targets your sector.
  2. Match it to the security tools that should stop or detect it.
  3. Run the simulated technique against those tools.
  4. Record what was blocked, what raised an alert and what passed unseen.
  5. Repeat for each technique and tool, then adjust the tools, the processes and the people's instructions.

BAS has clear limits. It can only run techniques already in its library, so it finds gaps against known attacks, not new weaknesses. It does not improvise or chain weaknesses together as a human attacker does. It tests the tools far more than the people. A green BAS dashboard does not mean the organisation would survive a determined human adversary.

Four exercises told apart by the question each answers

Four ways of testing defences against attack
ExerciseQuestion it answersWho does itDefenders told?How often
Penetration testWhich weaknesses can be used, and how far do they lead?Skilled testersUsually yesYearly or after major change
Red team exerciseCould this kind of attacker reach this goal unnoticed?A red team copying a real adversaryNo; only the white team knowsRarely: often once a year or less
Purple teamingWhich attack steps do our tools and people miss, and how do we fix that?Red and blue teams togetherYes, fullyAfter a red team exercise, or as planned workshops
Breach and attack simulationDo our controls still block or detect known techniques today?Software, set up by the security teamYes; it is their toolContinuously: daily or weekly

Penetration test: which doors open. Red team: would anyone notice. Purple team: why nobody noticed. Breach and attack simulation: are the locks still working tonight.

The exercises complement each other. and BAS run often and cheaply. Penetration tests run less often and go deeper. Red team exercises are the rarest and test the whole organisation, with purple teaming afterwards to turn what happened into fixes.

A question, worked through

A water company's security manager reads a government advisory about a criminal group attacking utilities. The advisory lists twenty attack techniques the group uses. The manager wants to know whether the company's existing security tools would block or detect each technique, and to keep checking every week as systems change.

Which approach BEST meets the manager's need?

  1. Commission a covert red team exercise imitating the group
  2. Run breach and attack simulation of the listed techniques
  3. Schedule an authenticated vulnerability scan of every server
  4. Commission an external penetration test of the company
Decide on your answer, then open the reasoning
  1. The need has two parts: test the security tools against twenty known techniques, and repeat the test every week.
  2. Rule out c: a vulnerability scan finds missing updates and weak settings. It does not show whether the tools detect an attack technique.
  3. Rule out d: a penetration test looks for exploitable weaknesses at one point in time. It is not built to try each listed technique against each tool, and it is not repeated weekly.
  4. Between a and b: a red team exercise would test the defenders as well, but it is costly, rare and follows one path to a goal. Repeated, automated checks of listed known techniques against the tools are what breach and attack simulation does.

Answer: B. Run breach and attack simulation of the listed techniques

Choosing between good answers

A question asks how to find out whether the security team would detect and respond to a real attack
choose a red team exercise, run without warning the defenders. A penetration test with the defenders informed does not measure that.
A question asks how red and blue teams can share what they learn to improve detection
choose purple teaming.
A question asks for continuous or frequent checking that controls still stop known techniques
choose breach and attack simulation. People-led exercises are too slow and costly to repeat that often.
An answer treats a clean simulation result as proof of security
reject it. Simulation covers known techniques only, and does not test human judgement.

Check your understanding

5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 5

During a covert red team exercise at a hospital, the red team's activity starts to slow the live appointment booking system. The blue team has not detected the exercise.

Which group should decide whether to halt the exercise?

What to remember

  • A red team exercise imitates a real adversary against a goal, usually without warning the defenders, to test detection and response as well as defences.
  • A red team exercise does not try to list every weakness. That is the job of a penetration test or a vulnerability assessment.
  • Purple teaming puts the red and blue teams together openly, so that each attack step is checked against what the defenders saw and gaps are fixed.
  • Breach and attack simulation is software that safely replays known attack techniques on a schedule and reports which were blocked, detected or missed.
  • Breach and attack simulation finds gaps against known techniques only. It does not replace human testers or test human judgement.

Say it from memory

  1. What is breach and attack simulation, how does it differ from a penetration test and a red team exercise, and what can it not show?

    Software that runs harmless imitations of known attack techniques in the real network on a schedule and records which were blocked, detected or missed. A penetration test is a people-led search for exploitable weaknesses at one time. A red team exercise imitates one adversary towards a goal without warning the defenders. Simulation cannot find new weaknesses or test human judgement.

    Read this part again

  2. What does purple teaming add to a red team exercise?

    The red and blue teams work together openly. Each attack step is compared with what the defenders' tools and people saw, and missed steps are fixed and replayed. It turns a covert exercise into a list of closed detection gaps.

    Read this part again

  3. What three things set a red team exercise apart from a penetration test, and what is its main output?

    It has a goal, such as reaching the payroll system, rather than a list of systems. It is usually covert, with only the white team knowing the plan. It starts from threat intelligence and copies a real adversary's tactics, techniques and procedures. Its main output is evidence of whether the defenders detected and stopped it.

    Read this part again

  4. For a penetration test, a red team exercise, purple teaming and breach and attack simulation, are the defenders told and how often does each run?

    Penetration test: defenders usually told, yearly or after major change. Red team exercise: not told, only the white team knows, often once a year or less. Purple teaming: fully told, after a red team exercise or as planned workshops. Breach and attack simulation: told, it is their tool, continuously, daily or weekly.

    Read this part again

Sources