Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

A trusted computing base (TCB) is the set of hardware, firmware, and software mechanisms a computer system relies on to enforce a security policy. If one of those mechanisms fails or is compromised, the protection that depends on it may fail too. The TCB is defined by the system and policy in question—not automatically by the operating-system kernel.

What is included in a TCB?

NIST defines a TCB as the totality of a computer system’s protection mechanisms—including hardware, firmware, and software—that together enforce a security policy. The definition covers the mechanisms the system depends on, rather than every component it contains. NIST’s glossary attributes this definition to CNSSI 4009-2022 and NIST SP 800-12 Rev. 1.

A TCB can comprise multiple cooperating components. A historical NIST glossary describes them as working together to enforce a unified policy and notes that correct enforcement also depends on appropriate administrative input, such as a user’s clearance. In practice, configuration and relevant inputs can therefore matter alongside code and hardware. NISTIR 4659 provides this additional context.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Is the TCB just the operating-system kernel?

No. The kernel may be part of a TCB, but the definition is not limited to it: it explicitly includes hardware and firmware as well as software. Nor does every privileged component qualify automatically. The key question is whether the system relies on a mechanism to enforce the particular security policy being considered.

#1 Best Overall

For example, suppose an operating system promises to keep one user’s protected files inaccessible to another user. To identify candidate TCB components, examine the mechanisms that enforce that promise. Depending on the design, these might include processor privilege and memory controls, firmware initialization, the kernel’s access checks, and security-relevant configuration. This is an example of what to investigate, not a universal component list.

How to identify a system’s TCB

  1. State the policy. Describe the protection the system is meant to provide, such as keeping one user’s files inaccessible to another.
  2. Trace enforcement. Identify the hardware, firmware, software, and relevant configuration mechanisms that must work correctly for that policy to hold.
  3. Test the boundary question. Ask whether the system could still enforce the stated policy if a candidate mechanism failed or were compromised. If not, it belongs in the candidate TCB for that system and policy.
  4. Record the scope and assumptions. Note the system architecture, relevant administrative inputs, and attacker capabilities covered by the threat model.

This method follows from the definition; it is not a universal checklist that produces the same TCB for every device or operating system.

TCB and attack surface are different concepts

A TCB describes the mechanisms a system relies on to enforce a security policy. An attack surface describes points on a system or environment boundary where an attacker could try to enter, cause an effect, or extract data. NIST defines the latter in its attack-surface glossary entry.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The two can overlap, but they answer different questions: what must work to enforce the policy, and where might an attacker interact with the system? A component can be part of the TCB without being an obvious external entry point, while an exposed interface can create attack surface without being the mechanism that enforces the policy.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What to compare when evaluating two designs

A TCB comparison is meaningful only when both systems are assessed against a stated policy and threat model. Consider these questions:

  • Boundary and scope: Which hardware, firmware, software, and configuration-dependent mechanisms must be trusted?
  • Isolation and dependencies: How many components must behave correctly for the policy to hold? The answer depends on each architecture.
  • Assurance evidence: What analysis, testing, or formal evidence supports confidence in the included mechanisms? A general definition does not certify a particular product.
  • Threat-model fit: Which attacker capabilities and security property are in scope? Without these, claims about one TCB being stronger or smaller are incomplete.

A smaller or more isolated TCB may be easier to reason about, but size alone does not establish security, and there is no universal threshold. Implementation, configuration, and the threat model still matter.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.