Passer à la navigation principale Passer à la recherche Passer au contenu principal

Privagic: automatic code partitioning with explicit secure typing

  • Subashiny Tanigassalame
  • , Yohan Pipereau
  • , Adam Chader
  • , Jana Toljaga
  • , Gaël Thomas
  • INRIA
  • Telecom Sudparis

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

Partitioning a multi-threaded application between a secure and a non-secure memory zone remains a challenge. The current tools rely on data flow analysis techniques, which are unable to handle multi-threaded C or C++ applications. To avoid this limitation, we propose to trade the ease-of-use of data flow analysis for another language construct: explicit secure typing. With secure typing, as with data flow analysis, the developer annotates memory locations that contain sensitive values. However, instead of analyzing how the sensitive values flow, we propose to use these annotations to only check typing rules, such as ensuring that the code never stores a sensitive value in an unsafe memory location. By avoiding data flow analysis, the developer has to annotate more memory locations, but the partitioning tool can handle multi-threaded C and C++ applications. We implemented our explicit secure typing principle in a compiler named Privagic. Privagic takes a legacy application enriched with secure types as input. It outputs an application partitioned for Intel SGX. Our evaluation with micro- and macro-applications shows that (i) explicit secure typing can handle multi-threaded C and C++ applications, (ii) adding explicit secure types requires a modest engineering effort of less than 10 modified lines of codes in our use cases, (iii) using explicit secure typing is more efficient than embedding a complete application in an enclave both in terms of performance and security in our use cases.

langue originaleAnglais
titreMiddleware 2024 - Proceedings of the 25th ACM International Middleware Conference
EditeurAssociation for Computing Machinery, Inc
Pages199-210
Nombre de pages12
ISBN (Electronique)9798400706233
Les DOIs
étatPublié - 2 déc. 2024
Modification externeOui
Evénement25th ACM International Middleware Conference, Middleware 2024 - Hong Kong, Hong-Kong
Durée: 2 déc. 20246 déc. 2024

Série de publications

NomMiddleware 2024 - Proceedings of the 25th ACM International Middleware Conference

Une conférence

Une conférence25th ACM International Middleware Conference, Middleware 2024
Pays/TerritoireHong-Kong
La villeHong Kong
période2/12/246/12/24

Empreinte digitale

Examiner les sujets de recherche de « Privagic: automatic code partitioning with explicit secure typing ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation