Scenario note: The scenario is illustrative and is not a report of a confirmed Next Defence customer incident.
Follow the release from supplier to running code
A mine operator may approve source changes that are later packaged by a contractor’s build service and deployed to an edge gateway. The exercise should trace one named software version through repository commit, dependency resolution, build runner, artifact registry, signing operation, deployment controller and the version observed at the mine. A source review is not proof that the deployed binary came from that source. Record who controls each transition, including temporary contractor access, and identify whether build workers can reach industrial support secrets.
Prepare an offline, non-operational target
Select an isolated test gateway with fictitious telemetry and no control path to live plant. Load a release that is known to be valid, then ask a second participant to present an artifact whose digest or provenance does not match the authorised release. The desired outcome is rejection before the gateway accepts executable content. Do not test malware or alter production safety systems. If a site has no safe test environment, perform artifact and approval-path checks against copies of records and mark deployment enforcement as not yet demonstrated.
A provenance record that can be challenged
The acceptance packet should connect commit and review IDs to a reproducible build definition, dependency lock information, artifact digest and a verifiable signing identity. The deployment receipt must name the exact digest loaded on the gateway. A release tag or file name can be moved or reused; it is not an immutable substitute for the actual artifact identity. Verify who can issue signatures, replace signing credentials and change CI runner permissions. Audit logs should make a trusted release distinguishable from a build produced by a compromised or misconfigured worker.
Separate plant access from software publication
The same account should not automatically have the authority to approve source changes, create a production artifact and open remote equipment sessions. If a vendor needs emergency support, grant a defined time window through the approved jump path, with an operations sponsor and recording appropriate to the environment. Test whether a credential stolen from the build worker can reach telemetry archives, engineering workstations or the plant management plane. The exercise passes only if software delivery and operational access remain distinct even during a shift change or emergency maintenance.
Introduce a dependency substitution
Have the red-team facilitator change the reference to a harmless substitute library in an exercise manifest. The build pipeline should detect an unapproved dependency or a mismatch with the review baseline; simply producing an inventory after deployment is too late to prevent the installation. Ask engineering to show how package origins are pinned, whether dependency updates require a separate reviewer and how a disputed binary would be recalled at remote sites. Record any legacy packages for which a trusted rebuild cannot currently be produced.
Consider connectivity loss at a remote mine
A mine can have intermittent wide-area connectivity, so a centrally enforced policy may fail just when a contractor is trying to restore service. Decide in advance which signed releases can be cached locally, who can authorise an offline installation and how the result is reconciled once links return. The fallback should not permit unsigned binaries solely because a repository cannot be reached. Confirm that rollback software is also signed, compatible with current configuration and recoverable without accessing public build infrastructure.
Evidence after a bad release is stopped
Collect the failed artifact digest, deployment policy version, local gateway result, release ticket, approver, supplier identity and any operator override. Ensure the event appears in the site’s operational log as well as the central software platform. If a rejected artifact had already been copied to a local share, identify where it remains and whether another installation path could bypass the controller. A defence that succeeds in one CI stage but permits manual loading through a technician laptop has not secured the full release route.
Leadership decision at the end of the exercise
Give the operations manager a release outcome statement: which named versions may run, which sites lack enforcement, what happens if a supplier is unavailable, and who can accept a temporary exception. Compare loss of a maintenance window with the consequence of untrusted software entering the mine’s data and control environment. Fund the missing assurance step with a specific deliverable such as gateway signature verification, a restricted signer or repeatable offline rollback, not an open-ended request to improve supply-chain security.
Field exercise injects
Introduce a signed but superseded build into a disconnected repository mirror and ask the release lead whether its presence is enough to authorise installation. Next, simulate a vendor engineer whose contract ended yesterday but whose identity remains in a deployment approval group. Finally, make the remote site lose its connection during the final deployment check. For each inject, participants must show the enforcement result and identify the person allowed to decide on an operational exception. If the team cannot verify a package offline, the answer should be to postpone software change or use an approved local recovery image, not to bypass signing. Confirm that recovery images have a documented origin and working credentials before calling the exercise satisfactory.
Test the overlooked contractor transition
Mine release assurance often spans multiple organisations. The equipment vendor may sign firmware, an integrator may package it for a site-specific application and the operator may approve the installation. Ask each party to show where its responsibility starts and finishes. If the integrator modifies a supplier-signed package to include mine configuration, determine whether the operator verifies the resulting artifact or merely trusts the original supplier signature. A checksum of a file received yesterday offers little assurance if no reviewer knows who produced it. Ensure that approval of a configuration change is not silently interpreted as approval to deploy a different executable.
For the fictional exercise, provide two release requests with nearly identical documentation. One has a valid build digest but lacks an approved engineering work order; the other has the right work order but a mismatched artifact digest. Both should be stopped for different reasons, and the responsible team should be able to explain each denial without checking a generic “approved” box. The first demonstrates that cryptographic integrity cannot substitute for business authorisation. The second shows that change approval cannot substitute for software integrity. Record these as separate test outcomes.
Mine operations should also identify recovery dependencies that live outside the pipeline. Can engineers obtain the previous trusted image if the contractor’s repository is offline? Is the signing certificate still trusted on devices that have not connected to the central service for weeks? Can a site controller display the installed build digest without disrupting production? A credible acceptance review answers those questions with evidence from a safe test. If the answers are unknown, document an unresolved deployment assurance gap instead of assigning it a passing score.
Require a named mine technology owner to accept the final deployed version, rather than allow the supplier’s support ticket to serve as the only installation proof. The operator should retain a local version receipt that can be inspected during a disconnected shift.
Release authenticity during contractor turnover
A resource operator may change suppliers without immediately replacing every software maintenance route. Build the exercise around a contractor who has delivered valid releases for years but loses approval to publish to one site after a contract change. The operator should test whether repository membership, signing service access, artifact registry rights and remote gateway permissions are removed independently. Disabling an email account is not sufficient if unattended build credentials still exist. A list of people authorised to enter the site cannot replace an inventory of service identities and deployment keys.
Ask the software owner to verify the provenance of an older but still-running release. It may have been created before modern signing was introduced, or the supplier may no longer retain its source revision. Categorise it honestly: trusted through verifiable evidence, accepted as a temporary legacy exception, or unknown. An unknown origin does not prove tampering, but it does constrain what can be confidently said after an incident. The team should plan a controlled rebuild or replacement at a safe maintenance window rather than declare the problem solved because the system currently functions.
Include a supplier compromise inject after the first successful negative deployment test. A forged notice says that the standard signing service is unavailable and asks the mine to accept a package from a temporary file share. Participants must use an independently verified vendor contact and the operator’s release approval path before considering the request. If engineering considers an emergency installation, the exercise should identify who can approve the operational safety decision and what trusted material is available for verification. An exception must not silently become permission to load unsigned code into an active industrial system.
At the end, the site should hold a reproducible demonstration that it can reject a package with a valid business ticket but invalid content, and reject valid content whose business authorisation is absent. Store those proofs with the release inventory. It should also know how to obtain a trusted rollback image, confirm it is compatible with the particular field device and reconcile any locally queued telemetry after restoration. This dual test connects software supply-chain assurance to the mine’s ability to run safely.
Operational evidence and decision details
A worked test for mine software dependency
The mine’s release team must show a trustworthy relationship between reviewed source code, its build runner, the signed package and the version running at the site. A changed dependency can be benign maintenance or part of an upstream compromise, and the evidence must distinguish them. Rebuilding with a previously compromised runner or unrotated signing secret provides little assurance. Use a lab deployment, verify configuration integrity and have engineering approve return to normal maintenance; do not test uncontrolled changes on live equipment.
Field checklist for the scenario
- Opening event: A mine’s remote asset platform is updated using a dependency that has changed without an approved supplier notice. Ask participants what is confirmed and what remains hypothesis.
- Evidence arrives: Package digest, build provenance, supplier ticket, signing identity, deployed version and engineering verification. Require an attributable timeline and a competing explanation.
- Containment decision: Untrusted build content changes asset readings or exposes operational remote-support secrets. Ask mine operations engineering manager and release security owner to select a safe restriction.
- Operational complication: A legitimate urgent maintenance patch may arrive through a temporary supplier route. Test whether the decision changes under uncertainty.
- Return to service: A release engineer deploys a signed, reviewed build through an approved maintenance path. Require a denial test and safe business acceptance.
- Debrief: prove trusted operational data and safe remote maintenance and record missing controls and owners.
Sources and further reading
- https://owasp.org/API-Security/editions/2023/en/0x00-header/
- https://csrc.nist.gov/pubs/sp/800/218/final
- https://www.nist.gov/cyberframework
Next steps with Next Defence
Next Defence can help mine technology teams test artifact provenance, supplier deployment approval and disconnected recovery procedures in a non-operational environment.