ProtectIOn: Root-of-Trust for IO in Compromised Platforms

Aritra Dhar, Enis Ulqinaku, Kari Kostiainen, Srdjan Capkun

Abstract

Modern computing environments often lack a secure "last inch" of interaction, leaving users vulnerable to UI manipulation and clickjacking if the host operating system is compromised. We present ProtectIOn, a hardware-based Root-of-Trust for I/O that intercepts HDMI signals and USB inputs to establish a trusted path. By utilizing a low-TCB hardware intermediary (IOHUB), ProtectIOn ensures output integrity and input confidentiality through secure UI overlays and cryptographic signing, effectively neutralizing sophisticated interface-level attacks.

Introduction

In an era of remote e-voting, online banking, and medical device management, we often assume our computers are trustworthy. However, if a host's Operating System (OS) or drivers are compromised, an attacker can silently observe or modify everything a user sees and does. Existing solutions like Trusted Execution Environments (TEEs) protect data in memory but fail to secure the physical display and keyboard interaction. ProtectIOn addresses this gap by securing the "last inch" of I/O, ensuring that what the user sees is what they get, and what they type is what the server receives.

System Architecture

The core of the system is the IOHUB, a trusted hardware intermediary that physically sits between the host PC, the monitor, and input devices (keyboard/mouse). This placement allows the IOHUB to mediate all signals without relying on the host's software stack.

The ProtectIOn system architecture featuring the IOHUB hardware intermediary.

By emulating standard HID devices and intercepting HDMI, the IOHUB remains "plug-and-play," requiring no special drivers on the untrusted host. This significantly reduces the Trusted Computing Base (TCB) compared to hypervisor-based or OS-integrated solutions.

The Secure Interaction Workflow

ProtectIOn establishes a secure channel through a novel HDMI interception and overlay mechanism. When a trusted web application requires sensitive input, it generates a specific QR code containing a signed UI specification.

The end-to-end workflow from sensitive form generation to secure data transmission.

As shown in the workflow above:

  1. Detection: The IOHUB monitors the HDMI stream for the QR code.
  2. Overlay: Upon detection, the IOHUB decodes the UI spec and overlays a "secure UI" directly onto the HDMI frames before they reach the monitor.
  3. Mediation: When the user interacts with this overlay, the IOHUB captures the input, signs it, and transmits it back to the server via an upstream channel.
  4. Integrity Protection: To prevent clickjacking, the IOHUB tracks the host's mouse pointer. When it enters the secure area, the IOHUB takes control and dims the rest of the screen (the "lightbox" effect), ensuring the host cannot trigger malicious clicks.

Key Results and Evaluation

ProtectIOn was evaluated using a prototype built with a Raspberry Pi 4 and Arduino components. The system demonstrates high efficiency and a minimal attack surface:

  • Performance: Display latency is approximately 21.76 ms, supporting a smooth 47 frames per second. Keystroke latency is a negligible 170 µs.
  • Minimal TCB: The core logic consists of only 1,911 lines of code, a fraction of the size of modern browsers like Chromium (25M+ lines), making it a candidate for future formal verification.
  • Security Efficacy: The system successfully prevents UI manipulation and "early form submission" attacks—vulnerabilities present in previous state-of-the-art systems like Fidelius.

Conclusion

ProtectIOn provides a robust, hardware-enforced trusted path for user interactions. By recognizing that input integrity is fundamentally dependent on output integrity, it offers a comprehensive solution for securing sensitive transactions on compromised platforms without requiring complex software deployments.

Summary updated

BibTeX
@inproceedings{dhar2020protection,
  author = {Aritra Dhar and Enis Ulqinaku and Kari Kostiainen and Srdjan Capkun},
  title = {{ProtectIOn: Root-of-Trust for IO in Compromised Platforms}},
  booktitle = {NDSS},
  year = {2020},
  url = {https://openreview.net/forum?id=M7ES3ffQsv},
}
Figure