Join our Newsletter — 33% off our NHI Course

FPGA Bitstream

An FPGA bitstream is the configuration file that programs a field-programmable gate array’s logic behaviour. If attackers modify or replace it, they can alter device function or implant malicious logic, so defenders must authenticate bitstreams, protect update paths, and control who can load them.

What an FPGA bitstream actually does

An FPGA bitstream is not source code in the usual sense, it is the configuration image that tells the chip how to behave. That matters because the bitstream becomes part of the device’s trust boundary: whoever controls it can shape logic, interfaces, boot behaviour and, in some designs, the security posture of the whole system.

Because the bitstream defines runtime hardware behaviour, integrity is the first security concern. A corrupted or malicious image can redirect data paths, weaken isolation, disable protections or create logic that is very difficult to spot from the outside.

How bitstreams are protected in practice

Protection starts with authentication, not just storage. Defenders should require that the device only accepts signed or otherwise authenticated bitstreams, and that the signing keys and release process are tightly governed. NIST SP 800-57 Key Management is relevant because the trust model depends on the strength of the keys that sign or unwrap configuration material.

Update paths also need hardening. The loading channel, manufacturing workflow, firmware update mechanism and any remote provisioning step should be treated as privileged paths, because compromise there can change the device’s behaviour without altering the surrounding host environment. Where the chip participates in a broader platform, NIST Cybersecurity Framework 2.0 helps frame governance, protection and recovery around the configuration lifecycle.

Why tampering is dangerous

Bitstream tampering is dangerous because it can create a hidden layer of compromise below the operating system and application stack. A malicious bitstream can exfiltrate data, bypass access checks, manipulate telemetry, or implement backdoors that survive normal software inspection.

That is why many organisations treat bitstream provenance as a supply-chain control, especially when FPGA images are built, signed, transported and deployed by different teams. SLSA is useful here because it emphasises provenance and integrity for build artifacts, which is the right mindset for configuration images that materially affect hardware behaviour.

Detection, recovery, and assurance after deployment

Detection is usually about knowing what was loaded, when it changed, and whether the device accepted an unexpected image. Logging, attestation, inventory and release traceability matter because a compromised bitstream may not trigger conventional endpoint controls. When possible, organisations should keep a known-good reference image and validate the active configuration against approved release material.

If compromise is suspected, remediation is not just reloading the image. The surrounding environment should be reviewed for the path that introduced the altered bitstream, including signing infrastructure, build systems, operator access and any device management plane used to push the configuration. MITRE ATT&CK Enterprise Matrix is useful for thinking about the adjacent intrusion steps, even though the bitstream itself is the payload.

Risk and Threat Considerations

FPGA bitstreams create a high-impact trust problem because a single altered image can change the hardware’s behaviour while leaving the rest of the stack apparently healthy. The main risk is silent compromise: attackers may use the bitstream to persist at a level that is harder to inspect, harder to remove, and capable of undermining later detection.

Failure mechanism: The attacker replaces, modifies, or injects a bitstream through a weak signing process, exposed update channel, compromised build pipeline, or insufficiently controlled loading path.

Impact: The device may execute malicious logic, bypass intended controls, leak data, or remain persistently compromised until the configuration chain is rebuilt and revalidated.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-57, NIST CSF 2.0 and SLSA set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-57 NIST-800-57 — Key Management Bitstream trust depends on signing and protecting the keys that authorize configuration images.
Recommendation — Protect bitstream-signing keys with strict lifecycle controls and rotation.
NIST CSF 2.0 PR.DS-10 — Data-in-Transit is Protected Bitstream delivery and update channels must preserve integrity in transit.
PR.AA-05 — Physical and Logical Access to Assets is Restricted Only approved operators and systems should be able to load or replace device configuration.
Recommendation — Encrypt and integrity-protect bitstream transfer paths. Restrict bitstream loading to approved privileged access paths.
SLSA SLSA — Supply-chain Levels for Software Artifacts Bitstreams are build artifacts whose provenance and integrity affect hardware behaviour.
Recommendation — Establish provenance and integrity checks for every FPGA image release.
MITRE ATT&CK T1552 — Unsecured Credentials Compromise of signing or deployment credentials can enable unauthorized bitstream replacement.
Recommendation — Hunt for credential theft paths that could alter FPGA configuration pipelines.

Practitioner Guidance

Why practitioners should care: Treat the bitstream as a security-critical artifact, not as a routine deployment file. The same discipline used for code signing and privileged release management should apply to FPGA configuration images because the security consequence is hardware-level.

What to watch for: Pay attention to unsigned images, unexpected configuration changes, mismatches between release records and active device state, and any workflow that lets too many people or systems load bitstreams without strong approval and traceability.

Practitioner takeaway: If you cannot prove who built, signed, approved, and loaded the bitstream, you do not have a trustworthy configuration chain.