Mining software updates have an unusually direct path from ordinary enterprise processes to operational decisions. An analytics application may consume historian readings, engineering plans and equipment telemetry. A vendor can deliver an apparently normal version number while the underlying build includes an unauthorised library or a more privileged collector. A safe approval must therefore identify the precise artefact deployed, the instructions it can execute and the site where it will run.
A signed-off version is not a build identity
Consider a multi-site mining operator using a vendor analytics package to produce condition-monitoring reports. Its change board approves version 4.8 after a functional demo. A technician downloads an installation package from a partner portal. The deployment record notes “4.8 installed,” but does not preserve a cryptographic digest or evidence linking that package to the reviewed build pipeline. A later site might receive a different package carrying the same marketing version.
The immediate issue is traceability, not proof of compromise. The operator needs to answer whether the executable on Site B is the exact output approved for that site and whether a component added between test and release can issue commands beyond the approved monitoring purpose. Software bills of materials and signing technologies can improve evidence but only when their scope and trust roots are understood. A signature confirms a relationship to a signing key; it does not certify that the signed code was safe or that the key holder had appropriate release authority.
Make the route to production visible
Document the supply path from upstream library and source repository through build runner, packaging, signing, vendor release, download, staging, site deployment and rollback archive. Identify which parties can alter an input at each stage. A dependency lockfile is useful when it is connected to an immutable build record; a text list prepared after deployment is weaker. Confirm whether the product embeds commercial components, installs agents with elevated OS permissions or downloads later plugins automatically.
At the mine, inventory the assets the package may reach. Separate office reporting servers, engineering workstations, historians, jump hosts and industrial controllers. A tool that only needs read access to a replica should not acquire controller configuration privileges through a convenient vendor service account. Where the supplier requires higher permissions for support, define a supervised maintenance procedure with a site-specific scope and an expiry.
The same application may be deployed differently between sites. Site A may permit collector access to one historian; Site B may have a network path that also reaches a control-management interface. A corporate approval of the package cannot silently become approval for the second site’s route. The site engineering manager must review the operational data flow and maintenance impact.
Establish evidence before isolating anything
A release investigation begins with the approved change request, expected package digest, vendor release notice, dependency list, signing certificate chain, build-run identity and the actual deployed file hash. Compare these in a controlled forensic workspace. Record who obtained the package and whether a mirror, proxy or manual transfer changed the path. Do not assume two files are identical because the installer displays the same version.
If the expected digest is missing, record that as an assurance failure and request the vendor’s build provenance. It does not automatically establish malicious alteration. If a digest differs, investigate benign explanations such as a legitimate hotfix, repackaging or platform-specific installer before declaring compromise. Preserve the discrepant files with chain-of-custody and restrict their further distribution.
Site logs should answer what changed after installation: new services, outbound destinations, newly created accounts, collector configuration, application permissions and scheduled tasks. A change may affect report integrity without causing an outage. Compare outputs to a known reference process and approved engineering data, especially where maintenance decisions depend on the analytics result.
Agree on safe deployment boundaries
The release gate should evaluate three independent decisions. The vendor’s release authority vouches that the artefact came from its approved process. The cyber owner checks dependencies, permissions, network paths and available rollback evidence. The site operations owner confirms the planned change can be performed without threatening safe production and that the required telemetry can continue. A single general IT ticket cannot represent all three decisions.
Test installation first on a representative non-production environment using synthetic or replayed telemetry. Where a simulator cannot reproduce a controller characteristic, explicitly state the limit; do not compensate by scanning or trialling unauthorised commands on live plant. A read-only collector should produce the expected report while attempts to write configuration or cross into another site’s data are blocked at the destination. Monitor process identity and outbound connections during the exercise.
Maintain an allowlist tied to digest and intended runtime, not just a filename. Keep the previously approved image and any compatible configuration in a recoverable location, verify that restore prerequisites still exist, and prohibit a rollback that would reintroduce known-bad credentials. Engineering staff should be empowered to stop a change for an unexplained route or permission request without requiring a confirmed attacker narrative.
A practical provenance exercise
Choose one fictional software release and create an evidence chain that another engineer can reproduce. Record source commit and dependency set, isolated runner identity, resulting artefact digest, signing event, approval ticket, staging result and site deployment receipt. Independently hash the file copied to the destination before installation. Compare both values and retain the evidence in a repository that the same build identity cannot silently modify.
Run a negative case: substitute a harmless test package with a changed digest and the same visible version string. The deployment gate should refuse or quarantine it. Run another negative case in the simulator: a collector attempts to send a maintenance command to a non-approved endpoint. The network and application boundary should reject that command, with an event showing which identity and destination were involved. Then demonstrate that a genuine read-only telemetry operation still works. Document any checks impossible to perform outside live production as not demonstrated.
Do not use this exercise to create a functioning exploit or issue commands to actual control equipment. The objective is validating a safety boundary and provenance process, under engineering supervision, not stress-testing controller resilience.
Supplier obligations and sustained operations
Ask the software vendor to name how it handles emergency patches, compromised build credentials, dependency disclosures and revocation of a previously trusted release. Establish a channel for urgent digest updates and a route for the operator to obtain a safe replacement package without relying on the suspect portal. If the supplier changes build platforms, signing keys or maintenance subcontractors, request an explicit re-acceptance rather than treating the product brand as continuous assurance.
The maintenance inventory should link site, installed digest, deployment date, privileged service identities, vendor support approval and rollback reference. This prevents an approved update for one location being mistaken for a universally deployable release. Set deadlines for sites that cannot upgrade promptly and record operating restrictions approved by the plant owner.
The meaningful board-level measure is not simply the percentage of devices patched. It is the proportion of consequential site releases with a provable artefact identity, scoped permissions, tested safe rollback and a named engineering acceptance. A version label can support reporting, but it cannot stand in for those controls.
What to do when a critical vendor cannot supply a digest
A mine may depend on software whose supplier cannot immediately produce a reproducible build statement. The practical interim response is not always immediate removal. Identify which sites and functions truly require the package; restrict its runtime permissions and outbound routes; preserve the installed artefact for later comparison; and require monitored, engineering-approved maintenance until provenance improves. The exception must be approved by a site operational owner and a security decision-maker, with a date for the vendor to deliver stronger evidence. It should not be copied to newly deployed sites as a standing standard.
Sources and further reading
Explore Next Defence expertise
Next Defence can help organisations assess the technical and business exposure examined in engineering software supply chains need build provenance at mine sites. Our team can review the available source records, test the relevant access or operational controls and work with accountable owners to deliver reproducible release promotion and segregated production secrets.