Skip to main content
Vai all'homepage della Commissione europea (si apre in una nuova finestra)
italiano it
CORDIS - Risultati della ricerca dell’UE
CORDIS

Assured Recompilation of Vintage Executables via Binary Lifting: Unfreezing Legacy Software from Obsolete Toolchain Dependence

Descrizione del progetto

Modernizzazione del software legacy tramite binary lifting

Il software legacy nell’infrastruttura si basa su toolchain obsolete, il che limita l’accesso ai vantaggi dei compilatori moderni e richiede hardware obsoleto. La sua modernizzazione è complicata da dipendenze non documentate e dalla difficoltà di abbinare il codice sorgente ai binari. Il progetto REVITALIZE, finanziato dal CER, utilizzerà un metodo innovativo che parte da un binario autorevole e lo eleva alla rappresentazione intermedia dell’infrastruttura del compilatore LLVM, consentendo al software esistente di sfruttare vari strumenti di affidabilità e passaggi di ottimizzazione disponibili in LLVM. Il progetto convertirà i binari legacy x86 in sostituti con maggiore sicurezza per l’architettura RISC-V, sia con che senza estensioni di sicurezza CHERI. Per garantire che il software rivitalizzato serva da sostituto preciso e immediato, il progetto riproporrà idee sviluppate inizialmente nel contesto di ambienti di esecuzione multivarianti (MVEE).

Obiettivo

A lot of everyday infrastructure is powered by legacy software that depends on obsolete toolchains. Such software is literally “stuck in time” and cannot benefit from innovations in modern compilers such as automated security mitigations applied during compilation. There are often other undesirable consequences, such as a need to use outdated hardware platforms.

Unfortunately, modernizing such legacy software isn’t as simple as taking the ancient source code (if it exists) and re-running it through a modern compiler. In practice, hidden undocumented dependencies on specific compiler versions, build systems, and other parts of older toolchains often make it infeasible to recreate legacy programs from old source code. There is also the related problem of identifying which of several surviving source code versions might be the one that corresponds to an existing authoritative binary.

In this project, the PI proposes an ambitious approach that bypasses these concerns by starting at the existing authoritative binary and then “lifting” it to the intermediate representation of the LLVM compiler infrastructure. Once “lifted,” the existing software can immediately take advantage of the vast array of software reliability tools and optimization passes that already exist for LLVM. Our project will take existing x86 legacy binaries and automatically translate them to security-hardened replacement binaries for the open standard RISC-V architecture, both with and without CHERI security extensions.

In order to provide assurance that replacement software revitalized via “lifting” actually performs exactly as a functional drop-in replacement of the original (but lacking security vulnerabilities lurking in the original), the PI proposes a novel use of Multivariant Execution Environments (MVEEs) for the fine-grained differential testing of replacement against original. This can also be used to confirm that existing legacy source code truly matches the authoritative binary.

Campo scientifico (EuroSciVoc)

Programma(i)

Argomento(i)

Meccanismo di finanziamento

HORIZON-ERC - HORIZON ERC Grants

Vedi tutti i progetti finanziati nell’ambito di questo schema di finanziamento

Invito a presentare proposte

(si apre in una nuova finestra) ERC-2024-ADG

Vedi tutti i progetti finanziati nell’ambito del bando

Istituzione ospitante

TECHNISCHE UNIVERSITAT BERLIN
Contributo netto dell'UE
€ 2 500 000,00
Indirizzo
STRASSE DES 17 JUNI 135
10623 Berlin
Germania
Regione
Berlin Berlin Berlin
Tipo di attività
Higher or Secondary Education Establishments
Collegamenti
Costo totale
Nessun dato

Beneficiari (1)