Authorised use only. Isolated lab only. This roadmap is for defence. Run anything it describes only in a lab you own, or with written authorisation from the owner of the systems. Never point a test at a system you do not own, and never run emulation tools on your employer's network without written permission.
Goal. By the end you can tell emulation, simulation, red teaming, penetration testing, breach-and-attack simulation and purple teaming apart, and you can write down the permission, scope and safety rules that must exist before any test is run.
Why it matters#
Emulation uses the same techniques as real attackers, so the only thing that separates a test from an attack is permission and control. Without clear words, teams call a vulnerability scan "emulation" and learn nothing about their detections. Without written authorisation, a well-meant test can break the law, take down a system, or trigger a real incident response that wastes a night and a lot of goodwill. Get the vocabulary and the rules right first, and everything else in this roadmap is safe to build on.
What you will learn#
Six terms that get mixed up#
| Term | The question it asks | Typical shape | Who knows it is happening |
|---|---|---|---|
| Penetration test | Can an attacker get in through our weaknesses? | A time-boxed hunt for as many exploitable flaws as possible. Broad, not stealthy. | The IT team, and usually the SOC |
| Red team engagement | Can a determined attacker reach a goal, and would we notice and respond? | Objective-based and covert, often for weeks. Tests people, process and technology together. | A small control group only |
| Adversary emulation | Do our defences cope with how this actor really behaves? | Reproduces one actor's documented behaviours, taken from intelligence. | Varies; can be covert or open |
| Simulation | What would this look like, without really doing it? | A harmless stand-in that imitates the effect, not the real technique. | Usually everyone |
| Breach-and-attack simulation (BAS) | Do our controls still work today? | An automated platform that runs a library of safe tests on a schedule and reports by ATT&CK technique. | The platform's owners |
| Purple team exercise | Can we see and stop it, and what do we fix? | Testers and defenders work together, one step at a time, with feedback straight away. | Everyone |
Two more words sit beside these. A vulnerability assessment lists weaknesses with scanners and never exploits them. A tabletop exercise talks through an incident around a table and touches no system. Both are useful, and neither is emulation.
The industry uses "emulation" and "simulation" loosely, and many BAS products call real, safe techniques "simulations". Do not rely on the label: ask what actually runs on the machine. A real technique with a harmless payload is emulation. A stand-in that only pretends is simulation.
A sensible order for a new team: tabletop first, then emulation in an isolated lab, then purple team exercises on real systems with approval, and only then a covert red team engagement.
Written authorisation#
Permission has to be written, specific, and signed by someone who actually has the authority to give it. Your manager may not own the systems, and a cloud provider may have its own terms. A useful authorisation covers:
- Who authorises, their role, and the date. They must own or control the systems.
- Who tests, with named contacts on both sides and a number that works out of hours.
- Scope. Systems, accounts, networks and cloud accounts in scope, listed by name, ID or address range. List what is out of scope as well, such as production databases or systems owned by someone else.
- Allowed and banned actions. For example no denial of service, no destructive actions, no real data leaving the network, and no tricking staff unless it is named in the plan.
- Time window, tied to a change record.
- Stop conditions. What makes you stop at once: an unexpected outage, sensitive data in view, or a real incident starting.
- Data handling. What evidence you keep, where, and for how long. Use dummy data for any "exfiltration".
- Third parties. Cloud, SaaS and hosting providers, managed service providers, and anyone sharing the network.
- Deconfliction (below).
- Legal and compliance review, for privacy, employment and sector rules.
For your own lab you are the owner, but write a short version anyway. The habit is the point.
Rules of engagement and scope#
The rules of engagement (RoE) turn the authorisation into day-to-day limits: what the testers may do, how they must behave, and how everyone talks to each other during the test. Scope creep is the usual failure. A tester follows an interesting path into a system nobody approved. The cure is a plain rule: if it is not written down as in scope, do not touch it, and ask first.
Deconfliction#
Deconfliction means defenders can tell your test from a real attack, and from another test. Without it, an analyst may spend hours on a "threat" that was you, or worse, wave through a real one because "that must be the test". Practical tools:
- a test ID in a fixed format, such as
EMU-2026-001, on every ticket, note and log; - a registered list of test hosts, accounts and source addresses (in examples, use
192.0.2.10); - a time window, announced beforehand;
- tagged test accounts, such as
svc-emu-test, that are never used for anything else; - a white cell: one person who can answer "is this ours?" and who can stop the test.
Decide whether defenders are told in advance. Beginners should always announce. Unannounced tests belong to mature teams, with senior approval and a way to stop a response that is escalating.
Safety#
- Lab first. Prove a test in an isolated lab before it goes near anything real.
- Smallest test that answers the question. One technique, not the whole playbook.
- Reversible. Take a snapshot first and know the cleanup step before you run anything.
- No malware, ever. No real malware samples, no ransomware or wipers, no denial of service, and no real data.
- Do not test what you cannot observe. If you cannot see the logs, fix the logging first.
- Keep a record. Time, host, test and result for every run.
- Use throwaway credentials. Never reuse a real password in a lab or a test.
Law and ethics#
Most countries make unauthorised access to computers a crime. Examples are the UK's Computer Misuse Act 1990 and the US Computer Fraud and Abuse Act. "I was only testing" is not a defence. Authorisation is the line, and it must come from the owner. Your employer's laptop and network are not a lab, even if you work in security. Cloud providers publish testing rules. Stay within resources you own, and leave the provider's own services alone unless its programme says otherwise. If you stumble on real data or a real weakness, stop, record what you saw without keeping the data, and report it to the owner. This page is not legal advice: confirm the rules with a lawyer where you live.
Do this#
- Classify five cases (30 minutes). Name the term for each: (a) a vendor scans every server weekly for missing patches; (b) a hired team has two weeks to find exploitable flaws in a customer portal; (c) three testers try for six weeks to reach the finance database without the SOC being told; (d) an agent on 50 laptops runs 100 small tests every Sunday night; (e) two testers and three defenders run eight techniques one at a time and fix gaps as they go. Check your answers against the table.
- Write a one-page rules of engagement for your lab (45 minutes). Use the ten items above. Keep it; you will reuse and extend it in stages 3 and 5.
- Read two testing policies (45 minutes). Open the AWS and Microsoft pages in the resources. For each, write three things the policy forbids and one thing it allows.
- Write a deconfliction card (20 minutes). One page: your test ID format, test hosts and accounts, and what an analyst should do if an alert might be yours.
Resources#
Free first
- MITRE ATT&CK: Adversary Emulation Plans - why plans built from public reports help defenders test realistically. A short read.
- NIST SP 800-115: Technical Guide to Information Security Testing and Assessment - planning, rules of engagement and reporting for security testing. Older, but the planning advice still holds.
- NCSC: Penetration testing - plain UK guidance on what a penetration test is and how to scope one.
- TIBER-EU framework (ECB) - how a regulated sector structures intelligence-led red-team tests, including who is told and who controls the test.
- AWS penetration testing policy - what customers may test in their own accounts without approval, and what is banned.
- Microsoft security testing rules of engagement - the same for Microsoft's cloud services, with clear lines on data you do not own.
- Google Cloud security FAQ - Google's answer on notice and acceptable use for penetration testing.
- Computer Misuse Act 1990 and 18 U.S.C. § 1030 - the primary texts of two widely cited computer crime laws. Not legal advice.
- Foundations - its stage 7 covers lab setup and ethics in more depth.
Paid or needs an account
- None needed for this stage.
Checkpoint#
You are ready to move on when you can:
Go deeper (optional)#
- Read how CBEST (Bank of England) frames intelligence-led assessments, and compare its roles with TIBER-EU.
- Skim the roles and planning chapters of the Purple Team Exercise Framework. Stage 5 uses it.