A scenario worth testing
A development team discovers that a test token was committed three weeks ago. This scenario is an invented teaching example, not a description of an actual breach or test of a named organisation.
NIST SP 800-61 Revision 3 was finalised in April 2025 and aligns incident response with the NIST Cybersecurity Framework 2.0. In this guide, the purpose is to evaluate a specific decision and its evidence. It does not follow that the scenario is likely in every environment, or that any untested product is vulnerable.
Red team perspective: define the risk
Question to test. Could the key still permit unauthorised access even after the visible line was deleted?
Blue team perspective: define the boundary
Defensive decision. Revoke or rotate the credential, examine usage and limit permissions before assessing wider impact.
Safe experiment: make the question measurable
Scope: synthetic records or an explicitly authorised, disposable test environment only. No customer records, live exploit payloads or third-party probing.
- State the decision. Describe the asset, who should be authorised, and which fact would refute the initial hypothesis.
- Create a safe fixture. Construct the example. Use a fictional git timeline and simulated access log to separate creation, exposure, revocation and possible use.
- Evaluate three cases. Use the fictional cases below; identify the permitted case, an adverse case and a plausible exception. Record what evidence distinguishes them.
- Write an outcome. Decide whether to allow, deny, escalate or ask for more information. Record the policy owner and one measurable follow-up. Never equate a planned test with a completed live test.
Worked example and expected observations
Illustrative result, not a measured finding: A credential life-cycle table and a clearly bounded impact statement.
| Case | Fictional input | Decision to justify |
|---|---|---|
| Expected activity | Repository contains deliberately invalid training token labelled as example | Explain the precise reason it is permitted or expected. |
| Boundary challenge | Valid secret appears in commit history and still authenticates | Identify the policy, detection or approval that should respond. |
| Lookalike or exception | Credential rotated but still exists in history and needs purge assessment | Identify the missing context before making an accusation. |
Interpret this example
Start with the expected case: repository contains deliberately invalid training token labelled as example. Compare the relevant boundary with the adverse case: valid secret appears in commit history and still authenticates. The distinction depends on Credential ID, permissions, rotation/revocation time and affected logs, not the alarming appearance of an isolated event.
The third case deliberately resists a snap conclusion: credential rotated but still exists in history and needs purge assessment. Record which additional fact would change the decision. Keep facts, assumptions and decisions in a single time-ordered evidence trail. A tabletop can verify coordination, not the operation of production containment or recovery controls.
Download the three-case CSV exercise (illustrative inputs, not collected production evidence).
Evaluate evidence and failure modes
False confidence to avoid: Removing the secret from the latest commit does not invalidate an active token or erase earlier copies. Exercises omit real stress, incomplete data and legal factors; review notification obligations in your jurisdiction.
Good incident handling requires decisions under uncertainty; documentation, detection, response and recovery depend on the same evidence quality. When a log source is missing or a sample is ambiguous, mark the conclusion unverified rather than estimating a success rate from fictional data.
Decide what to improve
Recommended next action: Prioritise revocation and audit of affected resources over cosmetic history edits. Separate what is known, what is inferred and what is still unknown in every incident update.
- Which exact asset and named owner does this decision concern?
- Would your evidence include Credential ID, permissions, rotation/revocation time and affected logs?
- Does the adverse case need blocking, investigation or both?
- What one controlled follow-up would distinguish the lookalike case from abuse?
Official references and limitations
- NIST SP 800-61 Revision 3: incident response (2025) ↗
- Australian Signals Directorate: Essential Eight maturity model ↗
Primary references explain the underlying control or framework; they do not validate the fictional cases above.
Try the related offline practice workbook, with runnable Python standard-library examples and marked limitations.