Skip to main content
Go to the home page of the European Commission (opens in new window)
English en
CORDIS - EU research results
CORDIS

Principled Microarchitectural Security with Leakage Contracts

Project description

New theory and tools against microarchitectural leaks

Microarchitectural attacks exploit hardware side effects to compromise secure programmes by revealing sensitive data through timing and other indirect observations. Developers use models to identify and fix potential leaks, but these models are often inaccurate for modern multicore CPUs, leading to overlooked vulnerabilities and potential data breaches. The ERC-funded Primula project is developing a new theory of hardware-software leakage contracts and tools to apply them to both hardware and software. The project will link programme-level models with physical CPUs, enabling automatic protection for software against leaks. Though high-risk due to the need for innovative verification and synthesis techniques, it promises rewards by addressing critical microarchitectural leaks.

Objective

Microarchitectural attacks exploit hardware side-effects to compromise otherwise secure programs. These attacks rely on microarchitectural leaks, which reveal information about a program's execution through indirect observations (e.g. by measuring a program's execution time) of a CPU internal state. Through these leaks, attackers can, for instance, stealthily recover encryption keys and secret passwords from security-critical software.

To prevent leaks, software developers need to reason about the interactions between software and a CPU's microarchitecture. For this, they rely on program-level models describing how information might leak microarchitecturally and they modify their implementations accordingly to ensure the absence of leaks.

This way of building leak-free systems, however, has one fundamental flaw: current models are unsound for modern multi-core CPUs. They have no precise relation with a CPU's microarchitecture and may ignore actual leaks. This results in insecure programs that leak information despite being secure with respect to the model.

Primula's goal is to establish foundations for security against microarchitectural leaks in modern multi-core CPUs. For this, Primula will develop a new theory of hardware-software leakage contracts for multi-core CPUs together with tools for applying these contracts to hardware and software. Primula will close the gap between program-level models and CPUs by inferring sound contracts directly from a processor's microarchitecture. These contract will be used to automatically secure software against microarchitectural leaks. Primula is high risk since it requires developing novel verification and synthesis techniques, targeting both hardware and software, that need to scale to modern CPUs and software systems. Yet, Primula is high gain since it allows tackling security-critical microarchitectural leaks, once and for all, rather than relying on ad-hoc patches whenever new leaks are discovered.

Fields of science (EuroSciVoc)

Keywords

Programme(s)

Topic(s)

Funding Scheme

HORIZON-ERC - HORIZON ERC Grants

See all projects funded under this funding scheme

Call for proposal

(opens in new window) ERC-2025-COG

See all projects funded under this call

Host institution

FUNDACION IMDEA SOFTWARE
Net EU contribution
€ 1 999 878,00
Address
CAMPUS DE MONTEGANCEDO SN
28223 Pozuelo De Alarcon
Spain
Region
Comunidad de Madrid Comunidad de Madrid Madrid
Activity type
Research Organisations
Links
Total cost
€ 1 999 878,00

Beneficiaries (1)