paper-with-me

Papers

Constraint-based Diversification of JOP Gadgets

2021-11-18 · Rodothea Myrsini Tsoupidi, Roberto Castañeda Lozano, Benoit Baudry

Modern software deployment process produces software that is uniform and hence vulnerable to large-scale code-reuse attacks, such as Jump-Oriented Programming (JOP) attacks. Compiler-based diversification improves the resilience of software systems by automatically generating different assembly code versions of a given program. Existing techniques are efficient but do not have a precise control over the quality of the generated variants. This paper introduces Diversity by Construction (DivCon), a constraint-based approach to software diversification. Unlike previous approaches, DivCon allows users to control and adjust the conflicting goals of diversity and code quality. A key enabler is the use of Large Neighborhood Search (LNS) to generate highly diverse code efficiently. For larger problems, we propose a combination of LNS with a structural decomposition of the problem. To further improve the diversification efficiency of DivCon against JOP attacks, we propose an application-specific distance measure tailored to the characteristics of JOP attacks. We evaluate DivCon with 20 functions from a popular benchmark suite for embedded systems. These experiments show that the combination of LNS and our application-specific distance measure generates binary programs that are highly resilient against JOP attacks. Our results confirm that there is a trade-off between the quality of each assembly code version and the diversity of the entire pool of versions. In particular, the experiments show that DivCon generates near-optimal binary programs that share a small number of gadgets. For constraint programming researchers and practitioners, this paper demonstrates that LNS is a valuable technique for finding diverse solutions. For security researchers and software engineers, DivCon extends the scope of compiler-based diversification to performance-critical and resource-constrained applications.

📄 PDF Abstract BibTeX arXiv:2111.09934

Code (0)

등록된 구현이 없습니다.

Tasks

Diversity

Similar Papers 제목 키워드 기반

FastSpec: Scalable Generation and Detection of Spectre Gadgets Using Neural Embeddings

2020-06-25 · M. Caner Tol, Berk Gulmezoglu, Koray Yurtseven, Berk Sunar

Several techniques have been proposed to detect vulnerable Spectre gadgets in widely deployed commercial software. Unfortunately, detection techniques proposed so far rely on hand-written rules which fall short in coveri…

Code Generation

Diversified Top-k Similarity Search in Large Attributed Networks

2016-08-18 · Meng Zaiqiao, Shen Hong

Given a large network and a query node, finding its top-k similar nodes is a primitive operation in many graph-based applications. Recently enhancing search results with diversification have received much attention. In t…

Attribute

Automated Gadget Discovery in Science

2022-12-24 · Lea M. Trenkwalder, Andrea López Incera, Hendrik Poulsen Nautrup, Fulvio Flamini 외

In recent years, reinforcement learning (RL) has become increasingly successful in its application to science and the process of scientific discovery in general. However, while RL algorithms learn to solve increasingly c…

ClusteringReinforcement Learning (RL)scientific discovery

Max-Sum Diversification, Monotone Submodular Functions and Dynamic Updates

2016-11-25 · Borodin Allan, Jain Aadhar, Lee Hyun Chul, Ye Yuli

Result diversification is an important aspect in web-based search, document summarization, facility location, portfolio management and other applications. Given a set of ranked results for a set of objects (e.g. web docu…

Document SummarizationManagement

Trace Gadgets: Minimizing Code Context for Machine Learning-Based Vulnerability Prediction

2025-04-18 · Felix Mächtle, Nils Loose, Tim Schulz, Florian Sieck 외

As the number of web applications and API endpoints exposed to the Internet continues to grow, so does the number of exploitable vulnerabilities. Manually identifying such vulnerabilities is tedious. Meanwhile, static se…

Vulnerability Detection