Skip to main content
QUICK REVIEW

[Paper Review] Fidelius: Protecting User Secrets from Compromised Browsers

Saba Eskandarian, Jonathan Cogan|arXiv (Cornell University)|Sep 13, 2018
Advanced Malware Detection TechniquesComputer Science3 citations
TL;DR

Fidelius is a browser security architecture that leverages hardware enclaves and trusted I/O paths to protect user secrets—such as passwords and credit card data—from malware in fully compromised browsers. By isolating sensitive input processing in a trusted execution environment and establishing secure channels to the keyboard and display via modified Raspberry Pi devices, Fidelius ensures confidentiality and integrity of form data, JavaScript execution, and web storage, with minimal performance overhead and a small trusted computing base.

ABSTRACT

Users regularly enter sensitive data, such as passwords, credit card numbers, or tax information, into the browser window. While modern browsers provide powerful client-side privacy measures to protect this data, none of these defenses prevent a browser compromised by malware from stealing it. In this work, we present Fidelius, a new architecture that uses trusted hardware enclaves integrated into the browser to enable protection of user secrets during web browsing sessions, even if the entire underlying browser and OS are fully controlled by a malicious attacker. Fidelius solves many challenges involved in providing protection for browsers in a fully malicious environment, offering support for integrity and privacy for form data, JavaScript execution, XMLHttpRequests, and protected web storage, while minimizing the TCB. Moreover, interactions between the enclave and the browser, the keyboard, and the display all require new protocols, each with their own security considerations. Finally, Fidelius takes into account UI considerations to ensure a consistent and simple interface for both developers and users. As part of this project, we develop the first open source system that provides a trusted path from input and output peripherals to a hardware enclave with no reliance on additional hypervisor security assumptions. These components may be of independent interest and useful to future projects. We implement and evaluate Fidelius to measure its performance overhead, finding that Fidelius imposes acceptable overhead on page load and user interaction for secured pages and has no impact on pages and page components that do not use its enhanced security features.

Motivation & Objective

  • To address the critical security gap where malware in a fully compromised OS and browser can steal user-entered secrets like passwords and credit card numbers.
  • To design a system that ensures confidentiality and integrity of web form inputs, JavaScript execution, and network requests even when the OS and browser are fully controlled by an attacker.
  • To establish a trusted path from user input devices (keyboard) and output devices (display) to a hardware enclave without relying on a potentially compromised hypervisor.
  • To minimize the trusted computing base (TCB) by isolating only essential functionality in the enclave while preserving full web application compatibility.
  • To provide a practical, open-source solution that enables developers and users to securely interact with web applications without trusting the underlying OS or browser stack.

Proposed method

  • Fidelius uses Intel SGX-based hardware enclaves to isolate sensitive operations such as form input processing, JavaScript execution, and data encryption.
  • It implements a trusted I/O path to the keyboard using a Raspberry Pi Zero that establishes a secure channel between the physical keyboard and the enclave, preventing OS-level interception.
  • A trusted display path is established via a Raspberry Pi 3 that overlays a trusted image from the enclave onto the HDMI output, ensuring that rendered UI elements cannot be manipulated by malware.
  • The system integrates a lightweight browser component that communicates securely with the enclave, enabling secure handling of form fields, XMLHttpRequests, and web storage.
  • It supports client-side JavaScript execution within the enclave, preserving functionality like checksum validation and password strength meters without exposing sensitive data.
  • The architecture ensures that all interactions between the enclave and the user—input and output—are cryptographically authenticated and tamper-proof, with timing side channels mitigated.

Experimental results

Research questions

  • RQ1Can a hardware enclave-based system protect user secrets from malware when both the OS and browser are fully compromised?
  • RQ2How can a trusted path be established from physical I/O devices (keyboard and display) to a hardware enclave without relying on a trusted hypervisor?
  • RQ3What is the performance overhead of integrating enclave-based protection into standard web applications, and can it be kept acceptable for real-world use?
  • RQ4How can client-side JavaScript functionality be preserved within the enclave while ensuring that sensitive data remains confidential?
  • RQ5Can a minimal trusted computing base be achieved while still providing strong security guarantees for web input and output?

Key findings

  • Fidelius successfully protects form inputs, JavaScript execution, network requests, and local storage from malware in a fully compromised browser environment.
  • The system achieves a trusted I/O path to keyboard and display using only hardware assumptions and open-source Raspberry Pi-based components, without requiring a trusted hypervisor.
  • Performance evaluation shows that Fidelius imposes acceptable overhead on page load and user interaction for secured pages, with no measurable impact on non-secured pages.
  • The implementation includes a working prototype with end-to-end encryption and authentication for input and output, demonstrating feasibility and correctness in real-world scenarios.
  • The system supports interactive, real-time input processing and rendering, with no observable delay or side-channel leakage in user input timing.
  • The open-source release of Fidelius, including sample code and a video demo, enables broader adoption and future research in trusted web application security.

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.