Skip to main content
QUICK REVIEW

[Paper Review] TrustBase: An Architecture to Repair and Strengthen Certificate-based Authentication

Mark O'Neill, Scott Heidbrink|arXiv (Cornell University)|Oct 26, 2016
Advanced Malware Detection TechniquesComputer Science16 references7 citations
TL;DR

TrustBase is a kernel-level architecture that enforces standardized, OS-wide certificate validation for all TLS applications, using traffic interception between the socket and transport layers to transparently apply configurable authentication policies. It enables system administrators to enforce best practices—such as certificate revocation checks and STARTTLS enforcement—across all applications with negligible performance overhead and universal OS compatibility.

ABSTRACT

We describe TrustBase, an architecture that provides certificate-based authentication as an operating system service. TrustBase enforces best practices for certificate validation for all applications and transparently enables existing applications to be strengthened against failures of the CA system. The TrustBase system allows simple deployment of authentication systems that harden the CA system. This enables system administrators, for example, to require certificate revocation checks on all TLS connections, or require STARTTLS for email servers that support it. TrustBase is the first system that is able to secure all TLS traffic, using an approach compatible with all operating systems. We design and evaluate a prototype implementation of TrustBase on Linux, evaluate its security, and demonstrate that it has negligible overhead and universal compatibility with applications. To demonstrate the utility of TrustBase, we have developed six authentication services that strengthen certificate validation for all applications.

Motivation & Objective

  • Address widespread failures in certificate validation across applications due to developer errors or misconfigurations.
  • Mitigate vulnerabilities in the certificate authority (CA) system, such as CA compromise or misissuance, which can lead to man-in-the-middle attacks.
  • Enable simple, centralized deployment of enhanced authentication mechanisms (e.g., pinning, Certificate Transparency checks) across all applications without modifying them.
  • Provide system administrators with fine-grained control over certificate validation policies across an entire system, ensuring consistent security enforcement.
  • Overcome limitations of existing solutions like CertShim by operating at the kernel level with stronger isolation and resistance to local privilege escalation attacks.

Proposed method

  • Intercepts TLS traffic at the kernel level between the socket and transport layers using a loadable kernel module.
  • Validates server certificates using a configurable set of authentication services, including revocation checks, DANE, Certificate Transparency, and notary verification.
  • Employs a privileged policy engine and protected Netlink communication to enforce policies and resist tampering by non-privileged users.
  • Uses a plugin-based architecture with a public API to allow integration of new authentication services with minimal code changes.
  • Maintains compatibility with diverse TLS libraries (e.g., BoringSSL, libNSS) by interacting only with high-level system calls and TLS protocol standards.
  • Enables enforcement of opportunistic STARTTLS by analyzing connection patterns and detecting hosts that fail to offer it.

Experimental results

Research questions

  • RQ1How can certificate validation be enforced consistently across all TLS-using applications without requiring application-level modifications?
  • RQ2What architectural approach enables strong protection against local adversaries attempting to bypass certificate validation?
  • RQ3Can a system-wide certificate validation service be built with negligible performance overhead and broad OS compatibility?
  • RQ4How can emerging authentication mechanisms (e.g., pinning, CT, DANE) be deployed at scale across existing applications?
  • RQ5To what extent can a kernel-level interception layer improve the security posture of existing TLS deployments?

Key findings

  • TrustBase successfully intercepts and validates all TLS connections at the kernel level, ensuring consistent enforcement of certificate validation policies across all applications.
  • The prototype implementation on Linux demonstrated negligible performance overhead, with minimal impact on connection latency and throughput.
  • TrustBase enables enforcement of critical security controls such as certificate revocation checking and STARTTLS enforcement across all applications, regardless of their underlying TLS libraries.
  • The system is resilient to local attacks, including manipulation of LD_PRELOAD and process spawning, due to its kernel-level, privileged policy engine and protected communication channels.
  • The plugin architecture allows rapid development and deployment of new authentication services, with minimal code required to integrate new validation logic.
  • TrustBase achieves universal compatibility by relying only on standard system calls and TLS protocol behavior, avoiding dependency on specific security library internals.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.