HOME

TheInfoList



OR:

Software diversity is a research field about the comprehension and engineering of diversity in the context of software.


Areas

The different areas of software diversity are discussed in surveys on diversity for fault-tolerance or for security. The main areas are: * design diversity,
n-version programming ''N''-version programming (NVP), also known as multiversion programming or multiple-version dissimilar software, is a method or process in software engineering where multiple functionally equivalent programs are independently generated from the sam ...
, data diversity for
fault tolerance Fault tolerance is the ability of a system to maintain proper operation despite failures or faults in one or more of its components. This capability is essential for high-availability, mission-critical, or even life-critical systems. Fault t ...
*
randomization Randomization is a statistical process in which a random mechanism is employed to select a sample from a population or assign subjects to different groups.Oxford English Dictionary "randomization" The process is crucial in ensuring the random alloc ...
* software variability


Techniques


Code transformations

It is possible to amplify software diversity through automated transformation processes that create synthetic diversity. A "multicompiler" is compiler embedding a diversification engine. A multi-variant execution environment (MVEE) is responsible for selecting the variant to execute and compare the output. Fred Cohen was among the very early promoters of such an approach. He proposed a series of rewriting and code reordering transformations that aim at producing massive quantities of different versions of operating systems functions. These ideas have been developed over the years and have led to the construction of integrated obfuscation schemes to protect key functions in large software systems. Another approach to increase software diversity of protection consists in adding randomness in certain core processes, such as memory loading. Randomness implies that all versions of the same program run differently from each other, which in turn creates a diversity of program behaviors. This idea was initially proposed and experimented by Stephanie Forrest and her colleagues. Recent work on automatic software diversity explores different forms of program transformations that slightly vary the behavior of programs. The goal is to evolve one program into a population of diverse programs that all provide similar services to users, but with a different code. This diversity of code enhances the protection of users against one single attack that could crash all programs at the same time. Transformation operators include: * code layout randomization: reorder functions in code * globals layout randomization: reorder and pad globals * stack variable randomization: reorder variables in each stack frame * heap layout randomization


Natural software diversity

It is known that some functionalities are available in multiple interchangeable implementations. This natural diversity can be exploited, for example it has been shown valuable to increase security in cloud systems.{{Citation, last1=Gorbenko, first1=Anatoliy, title=Using Diversity in Cloud-Based Deployment Environment to Avoid Intrusions, date=2011, pages=145–155, place=Berlin, Heidelberg, publisher=Springer Berlin Heidelberg, isbn=978-3-642-24123-9, last2=Kharchenko, first2=Vyacheslav, last3=Tarasyuk, first3=Olga, last4=Romanovsky, first4=Alexander, series=Lecture Notes in Computer Science , volume=6968 , doi=10.1007/978-3-642-24124-6_14


References

Software engineering