Hybrid information flow analysis for real-world C code

Gergö Barany, Julien Signoles

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Information flow analysis models the propagation of data through a software system and identifies unintended information leaks. There is a wide range of such analyses, tracking flows statically, dynamically, or in a hybrid way combining both static and dynamic approaches. We present a hybrid information flow analysis for a large subset of the C programming language. Extending previous work that handled a few difficult features of C, our analysis can now deal with arrays, pointers with pointer arithmetic, structures, dynamic memory allocation, complex control flow, and statically resolvable indirect function calls. The analysis is implemented as a plugin to the Frama-C framework. We demonstrate the applicability and precision of our analyzer by applying it to an open-source cryptographic library. By combining abstract interpretation and monitoring techniques, we verify an information flow policy that proves the absence of control-flow based timing attacks against the implementations of many common cryptographic algorithms. Conversely, we demonstrate that our analysis is able to detect a known instance of this kind of vulnerability in another cryptographic primitive.

Original languageEnglish
Title of host publicationTests and Proofs - 11th International Conference, TAP 2017 Held as Part of STAF 2017, Proceedings
EditorsEinar Broch Johnsen, Sebastian Gabmeyer
PublisherSpringer Verlag
Pages23-40
Number of pages18
ISBN (Print)9783319614663
DOIs
Publication statusPublished - 1 Jan 2017
Externally publishedYes
Event11th International Conference on Tests and Proofs, TAP 2017, held as part of STAF 2017 - Marburg, Germany
Duration: 19 Jul 201720 Jul 2017

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10375 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference11th International Conference on Tests and Proofs, TAP 2017, held as part of STAF 2017
Country/TerritoryGermany
CityMarburg
Period19/07/1720/07/17

Fingerprint

Dive into the research topics of 'Hybrid information flow analysis for real-world C code'. Together they form a unique fingerprint.

Cite this