Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

Tabletop Exercise: An Exposed Service Credential in Government

An editable facilitator-ready exercise to test leaked-secret triage, cloud access logs, safe rotation and public-sector decisions.

A privileged service credential is discovered in an externally accessible project repository. This practical exercise helps a government response team work through containment, evidence preservation, supplier communications and restoration decisions.

Exercise objective and participants

This 75–90 minute exercise tests how a public-sector organisation would detect, contain and recover from the accidental exposure of a privileged service credential. It is intended for an incident commander, cloud or application owner, security analyst, identity administrator, communications representative, privacy adviser and a procurement or supplier manager. The facilitator should supply realistic names for systems and roles but must not use real passwords, tokens, citizen records or production credentials during the session.

The exercise should answer three questions: can the team decide whether a leaked secret is valid and high risk; can it rotate or revoke that secret without unnecessarily disabling a critical service; and can it preserve evidence of access that occurred before containment? A useful result is a small number of owner-assigned follow-up tasks, not a declaration that the organisation is now fully secure.

Scenario brief — initial inject

At 09:10 on a Tuesday, a developer reports that a cloud service credential was included in a public code repository. The repository has been accessible for eight days. The credential belongs to an integration that moves citizen-service appointment records between two approved systems. The source-control alert has identified the string, but no one has yet checked whether it is valid or what privileges it holds.

The facilitator asks: who owns the integration? Who may approve its shutdown? What evidence confirms the credential’s scope, validity and possible use? Which records would demonstrate whether data was retrieved? The team has ten minutes to agree on the incident severity, an evidence-preservation plan and a single person authorised to coordinate with the application owner.

Inject 2 — evidence raises the stakes

At 09:25, cloud audit logs show use of the credential from an unfamiliar network location. The application owner says the integration is part of a citizen-facing service with a tightly scheduled processing window. Another team argues that the safest action is to disable everything immediately. A supplier has asked whether they should delete the exposed repository commit and issue a new API key.

Discussion prompts: What logs and repository evidence must be preserved before deletion? Can the old credential be disabled while a replacement is tested? Who validates that the unfamiliar activity is not an authorised vendor job? Does the suspected access involve personal information? What criteria justify a partial service interruption? The facilitator should not accept “rotate it” as a complete answer without a tested dependency map.

Inject 3 — secondary access and notification

At 09:45, the identity team finds that the integration identity has permission to create additional access grants. No confirmed data export has been identified, but the logging retention window is limited. A journalist contacts the communications team asking whether citizen records have been exposed. The senior service owner wants a factual update within 20 minutes.

Discussion prompts: How will the team search for newly created tokens or permissions? Who approves a public statement when facts are incomplete? How will privacy and legal advisers assess potential notification duties? What information can be shared internally without prejudging the incident? How will uncertainty be recorded rather than hidden?

Facilitator checklist

  • [ ] Incident commander and decision authority named within the first ten minutes.
  • [ ] Credential scope, owner, creation date and dependent services identified.
  • [ ] Audit records, source-control evidence and relevant access logs preserved.
  • [ ] Rotated or revoked credentials tested against a known-good business transaction.
  • [ ] Secondary grants, delegated access and other persistence mechanisms reviewed.
  • [ ] Privacy, communications and executive notification triggers evaluated separately.
  • [ ] Recovery confirmation and follow-up control testing allocated to named owners.

Scoring and debrief

Use a simple four-point scale for each checklist item: 0 — not addressed; 1 — discussed without a decision; 2 — decision made but not supported by evidence; 3 — decision and evidence demonstrated. Record the evidence that would have been available in the real environment. Do not award full credit for a team merely knowing which policy document exists.

Finish with a 15-minute debrief. Ask what the team would do differently if the same credential were held by a third-party supplier, if the log retention had expired, or if the integration were physically connected to safety-critical equipment. Capture a practical improvement register with owner, due date and proof-of-completion artefact.

Post-exercise improvements

If the team could not map the integration’s dependencies, introduce a production credential register with owners and rotation playbooks. If auditing was insufficient, test the relevant cloud logging coverage and retention. If containment approvals were ambiguous, put the decision rights into the incident plan and repeat the exercise after changes. Avoid publishing a claim of response readiness solely on the basis of one tabletop session.

Template: 30-day improvement register

Create a follow-up table with these columns: finding, business consequence, named owner, remediation, due date, evidence required and closure decision. For example, an unmapped integration token might lead to “create a machine-identity register and demonstrate one successful rotation”; a missing decision-maker might lead to “publish an on-call authority matrix and test it during a second tabletop”.

Do not mark an action complete merely because a document has been written. Require a small piece of operational evidence: the audit log used during a controlled test, an approved access review, a successful integration transaction following rotation or an updated supplier escalation contact exercised by phone. If changes cannot be made in 30 days, record interim controls and the person accepting the remaining risk.

A facilitator can reconvene the participants after a month to review the evidence and use a brief replay of the same scenario. This helps distinguish one-off meeting performance from a dependable response capability.

Build a credential impact map before the exercise

Start with the exposed integration as a business service, not merely a string in source code. Record the identity under which the integration operates, the application registration or account that owns it, its effective access to data, and the systems that call it. Sketch the path from the repository to the deployment pipeline, runtime configuration, identity provider and downstream appointment system. Note whether the same credential is used by a scheduled batch job, an on-demand API or an emergency support function. Each dependency requires a named technical owner and a business representative able to accept temporary disruption. Give participants a deliberately incomplete dependency map; ask them to find the missing process owner using their normal records. Success means the team can name the token’s real permissions, the users who rely on it and the work that might stop if it is revoked.

Rehearse the rotation decision without revealing a real secret

Prepare two fictional replacement options: creating a new integration credential and switching consumers gradually, or disabling the old integration immediately and running a controlled backlog until service resumes. Ask the identity administrator to describe where a replacement key would be generated, how it would be stored without appearing in source control, and how the application would read it securely. The application owner should identify the deployment and rollback gates. Have the incident commander record the trigger for immediate revocation, such as evidence of unauthorised access or scope that cannot be limited safely. A gradual change may preserve availability but leave an exposed credential active longer; an immediate cutover may stop an essential public service. Participants must articulate that trade-off, the authorising person, the maximum acceptable interruption and the explicit proof that the old credential no longer works.

Test the evidence chain across code, cloud and identity systems

Hand the team three synthetic artefacts: a repository change history showing when the secret first appeared, a cloud audit record with several successful calls and an identity-service sign-in record containing an unfamiliar source address. Include a known approved supplier maintenance event among the records. The analysts should distinguish normal activity from unexplained use, identify which sources are missing and create a coherent timeline without assuming that every unfamiliar address is malicious. Record access to the repository history, log retention settings and whether the team can retrieve older application calls after a log dashboard is temporarily unavailable. Each claim in the incident report must refer to an identifiable record, collection timestamp and person who reviewed it. A finding of “no evidence of access” is not equivalent to evidence that access could not have happened when logs are incomplete.

Protect citizen information while clarifying reporting obligations

The privacy adviser receives a simulated notification that the integration can read a wider class of appointment metadata than its owner expected. The team must identify the types of information accessible, whether any record export is indicated and the limits of available evidence. Do not infer a notifiable breach merely because a secret was public; nor conclude that reporting is unnecessary because a particular log query found no download. Make legal, privacy and departmental reporting assessments an explicit decision with a deadline, responsible adviser and documented factual basis. The communications lead should prepare two short holding messages, one for internal service owners and one for a potential external stakeholder, neither making unsupported assurances. The exercise succeeds when leadership knows what is confirmed, what remains unknown and when the assessment will be revisited.

Make operational restoration a separately witnessed decision

Containment is only half of a credential incident. Ask the application owner to demonstrate in a safe test environment that requests using the old credential fail, requests using the replacement succeed and no unexpected privilege was added to the new account. Verify a routine appointment workflow, a scheduled integration task and a failure-handling path where an upstream service is unavailable. The security analyst should confirm that the new credential’s activity is visible to monitoring, while the supplier manager confirms any third-party deployment has completed. If delayed transactions are queued, reconcile a synthetic sample and check for duplicate or missing processing. Record who signs off the return to normal operation and what observation period is necessary. A service that appears available but cannot prove data integrity or effective revocation has not completed a defensible recovery.

Score the decisions, not confidence in the meeting

Use six dimensions with four ratings each: unknown, documented only, demonstrated with limitations and demonstrated with verifiable evidence. Score asset ownership, credential scope, containment authority, evidence retrieval, business continuity and communications. Do not average away a critical failure in revocation because the communications team performed well. The facilitator should require each owner to point to a runbook, approved configuration, log extract or decision record that supports the rating. When the team discovers an unexpected dependency, record the time, impact and revised decision instead of treating the surprise as a personal mistake. A useful report tells executives exactly which decision would have delayed containment, what evidence was unavailable and which improvement changes the result.

Close the exercise with named control tests

Create an action register in which every item includes its risk statement, accountable owner, due date, dependency and acceptance evidence. Example: “A service credential can remain in a repository without timely detection” closes only when a controlled synthetic secret triggers the approved alert and reaches the accountable team. “The integration cannot be rotated without downtime” closes only when a test replacement is deployed and the old identity is denied. “The incident team cannot identify external data access” closes when a safe test call can be traced through the agreed log sources. Decide how exceptions will be escalated if a technical fix misses its due date. At the next quarterly review, rerun only the weakest steps first; avoid repeating a full workshop if the controls have not actually changed.

Distinguish credential exposure from accepted government transactions

For this exercise, stage a service account key in a repository accessible to an unintended team. Ask whether it is still valid, what application permissions it carries and which public-service transactions it could reach. A repository finding does not prove an attacker used the key. The group should correlate identity, gateway and application evidence before describing an affected record. Rotate or revoke the credential through an approved plan that maintains the essential service’s authorised integration.

Introduce a delayed batch arriving after the key is replaced. The operator must identify whether it is an authorised queued transaction or a replay and decide which reference is authoritative. A completed credential rotation without checking the receiving system could leave the incident unresolved. Record the exposed path, observed use or lack of evidence, replacement service identity, decision owner and next verification date for the agency’s risk register.

Supporting sources

Use conditions: Facilitate within an authorised training environment. Adapt data, reporting obligations and service constraints to actual agency requirements before use.

Strengthen your security with Next Defence

A strong exercise should lead to improvements that can be implemented and tested. Next Defence helps teams assess identity controls, access visibility and response procedures so exposed credentials do not become larger incidents. Explore our Cloud, Identity & Data Security.

Explore Cloud, Identity & Data Security ↗

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].