Skip to Main content Skip to Navigation
Conference papers

Tailored Source Code Transformations to Synthesize Computationally Diverse Program Variants

Benoit Baudry 1 Simon Allier 1 Martin Monperrus 2, 3 
1 DiverSe - Diversity-centric Software Engineering
Inria Rennes – Bretagne Atlantique , IRISA-D4 - LANGAGE ET GÉNIE LOGICIEL
2 SPIRALS - Self-adaptation for distributed services and large software systems
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : The predictability of program execution provides attackers a rich source of knowledge who can exploit it to spy or remotely control the program. Moving target defense addresses this issue by constantly switching between many diverse variants of a program, which reduces the certainty that an attacker can have about the program execution. The effectiveness of this approach relies on the availability of a large number of software variants that exhibit different executions. However, current approaches rely on the natural diversity provided by off-the-shelf components, which is very limited. In this paper, we explore the automatic synthesis of large sets of program variants, called sosies. Sosies provide the same expected functionality as the original program, while exhibiting different executions. They are said to be computationally diverse. This work addresses two objectives: comparing different transformations for increasing the likelihood of sosie synthesis (densifying the search space for sosies); demonstrating computation diversity in synthesized sosies. We synthesized 30184 sosies in total, for 9 large, real-world, open source applications. For all these programs we identified one type of program analysis that systematically increases the density of sosies; we measured computation diversity for sosies of 3 programs and found diversity in method calls or data in more than 40% of sosies. This is a step towards controlled massive unpredictability of software.
Document type :
Conference papers
Complete list of metadata
Contributor : Martin Monperrus Connect in order to contact the contributor
Submitted on : Wednesday, January 29, 2014 - 4:31:47 PM
Last modification on : Wednesday, February 2, 2022 - 3:51:01 PM
Long-term archiving on: : Sunday, April 9, 2017 - 2:45:09 AM


Files produced by the author(s)



Benoit Baudry, Simon Allier, Martin Monperrus. Tailored Source Code Transformations to Synthesize Computationally Diverse Program Variants. Proceedings of the International Symposium on Software Testing and Analysis, 2014, San Jose, United States. pp.149-159, ⟨10.1145/2610384.2610415⟩. ⟨hal-00938855⟩



Record views


Files downloads