arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Per Larsen

54 papers · 2011–2024

2011: 32012: 32013: 62014: 62015: 112016: 132017: 32018: 32019: 12020: 22021: 12022: 12023: 02024: 1
2011peak 13 in 20162024

Frequent co-authors

Papers

showing 1–25 of 54 RSS

SoK: Automated Software Diversity

Per Larsen, Andrei Homescu, Stefan Brunthaler +1 more

Artificial Intelligence · · cited 324× · DOI ↗ · more like this ·

The idea of automatic software diversity is at least two decades old. The deficiencies of currently deployed defenses and the transition to online software distribution (the "App store" model) for traditional and mobile computers has revived the interest in automatic software diversity. Consequently, the literature on diversity grew by more than two dozen papers since 2008. Diversity offers several unique properties. Unlike other defenses, it introduces uncertainty in the target. Precise knowledge of the target software provides the underpinning for a wide range of attacks. This makes diversity a broad rather than narrowly focused defense mechanism. Second, diversity offers probabilistic protection similar to cryptography-attacks may succeed by chance so implementations must offer high entropy. Finally, the design space of diversifying program transformations is large. As a result…

SoK: Sanitizing for Security

Dokyung Song, Julian Lettner, Prabhu Rajasekaran +4 more

cs.CR · · cited 210× · arXiv ↗ · more like this ·

The C and C++ programming languages are notoriously insecure yet remain indispensable. Developers therefore resort to a multi-pronged approach to find security issues before adversaries. These include manual, static, and dynamic program analysis. Dynamic bug finding tools --- henceforth "sanitizers" --- can find bugs that elude other types of analysis because they observe the actual execution of a program, and can therefore directly observe incorrect program behavior as it happens. A vast number of sanitizers have been prototyped by academics and refined by practitioners. We provide a systematic overview of sanitizers with an emphasis on their role in finding security issues. Specifically, we taxonomize the available tools and the security vulnerabilities they cover, describe their performance and compatibility properties, and highlight various trade-offs.

Readactor: Practical Code Randomization Resilient to Memory Disclosure

Stephen Crane, Christopher Liebchen, Andrei Homescu +5 more

Artificial Intelligence · · cited 209× · DOI ↗ · more like this ·

Code-reuse attacks such as return-oriented programming (ROP) pose a severe threat to modern software. Designing practical and effective defenses against code-reuse attacks is highly challenging. One line of defense builds upon fine-grained code diversification to prevent the adversary from constructing a reliable code-reuse attack. However, all solutions proposed so far are either vulnerable to memory disclosure or are impractical for deployment on commodity systems. In this paper, we address the deficiencies of existing solutions and present the first practical, fine-grained code randomization defense, called Read actor, resilient to both static and dynamic ROP attacks. We distinguish between direct memory disclosure, where the attacker reads code pages, and indirect memory disclosure, where attackers use code pointers on data pages to infer the code layout without reading code pages.…

Thwarting Cache Side-Channel Attacks Through Dynamic Software Diversity

Stephen Crane, Andrei Homescu, Stefan Brunthaler +2 more

Artificial Intelligence · · cited 159× · DOI ↗ · more like this ·

Abstract—We explore software diversity as a defense against side-channel attacks by dynamically and systematically random-izing the control flow of programs. Existing software diversity techniques transform each program trace identically. Our di-versity based technique instead transforms programs to make each program trace unique. This approach offers probabilistic protection against both online and off-line side-channel attacks. In particular, we create a large number of unique program execution paths by automatically generating diversified replicas for parts of an input program. Replicas derived from the same original program fragment have different implementations, but perform semantically equivalent computations. At runtime we then randomly and frequently switch between these replicas. We evaluate how well our approach thwarts cache-based side-channel attacks, in which an attacker…

Opaque Control-Flow Integrity

Vishwath Mohan, Per Larsen, Stefan Brunthaler +2 more

Artificial Intelligence · · cited 144× · DOI ↗ · more like this ·

Author(s): Vishwath Mohan, Per Larsen, Stefan Brunthaler, Kevin W. Hamlen, Michael Franz Download: Paper (PDF) Date: 7 Feb 2015 Document Type: Briefing Papers Additional Documents: Slides Associated Event: NDSS Symposium 2015 Abstract: A new binary software randomization and Control-Flow Integrity (CFI) enforcement system is presented, which is the first to resist code-reuse attacks launched by … Continued

Control-Flow Integrity: Precision, Security, and Performance

Nathan Burow, Scott A. Carr, Joseph Nash +4 more

cs.CR · · cited 124× · arXiv ↗ · more like this ·

Memory corruption errors in C/C++ programs remain the most common source of security vulnerabilities in today's systems. Control-flow hijacking attacks exploit memory corruption vulnerabilities to divert program execution away from the intended control flow. Researchers have spent more than a decade studying and refining defenses based on Control-Flow Integrity (CFI), and this technique is now integrated into several production compilers. However, so far no study has systematically compared the various proposed CFI mechanisms, nor is there any protocol on how to compare such mechanisms. We compare a broad range of CFI mechanisms using a unified nomenclature based on (i) a qualitative discussion of the conceptual security guarantees, (ii) a quantitative security evaluation, and (iii) an empirical evaluation of their performance in the same test environment. For each mechanism, we…

Losing Control

Mauro Conti, Stephen Crane, Lucas Davi +6 more

Artificial Intelligence · Research Padua Archive (University of Padua) · · cited 122× · DOI ↗ · more like this ·

Adversaries exploit memory corruption vulnerabilities to hijack a program's control flow and gain arbitrary code execution. One promising mitigation, control-flow integrity (CFI), has been the subject of extensive research in the past decade. One of the core findings is that adversaries can construct Turing-complete code-reuse attacks against coarse-grained CFI policies because they admit control flows that are not part of the original program. This insight led the research community to focus on fine-grained CFI implementations. In this paper we show how to exploit heap-based vulnerabilities to control the stack contents including security-critical values used to validate control-flow transfers. Our investigation shows that although program analysis and compiler-based mitigations reduce stack-based vulnerabilities, stack-based memory corruption remains an open problem. Using the…

It's a TRaP

Stephen Crane, Stijn Volckaert, Félix Schuster +7 more

Artificial Intelligence · TUbilio (Technical University of Darmstadt) · · cited 111× · DOI ↗ · more like this ·

Code-reuse attacks continue to evolve and remain a severe threat to modern software. Recent research has proposed a variety of defenses with differing security, efficiency, and practicality characteristics. Whereas the majority of these solutions focus on specific code-reuse attack variants such as return-oriented programming (ROP), other attack variants that reuse whole functions, such as the classic return-into-libc, have received much less attention. Mitigating function-level code reuse is highly challenging because one needs to distinguish a legitimate call to a function from an illegitimate one. In fact, the recent counterfeit object-oriented programming (COOP) attack demonstrated that the majority of code-reuse defenses can be bypassed by reusing dynamically bound functions, i.e., functions that are accessed through global offset tables and virtual function tables, respectively.

Profile-guided automated software diversity

Andrei Homescu, S. Neisius, Per Larsen +2 more

Artificial Intelligence · · cited 109× · DOI ↗ · more like this ·

Code-reuse attacks are notoriously hard to defeat, and most current solutions to the problem focus on automated software diversity. This is a promising area of research, as diversity attacks the common denominator enabling code-reuse attacksthe software monoculture. Recent research in this area provides security, but at an unfortunate price: performance overhead. Leveraging previously collected profiling information, compilers can substantially improve subsequent code generation. Traditionally, profile-guided optimization focuses on hot program code, where a program spends most of its execution time. Optimizing rarely executed code does not significantly impact performance, so few optimizations focus on this code. We use profile-guided optimization to reduce the performance overhead of software diversity. The primary insight is that we are free to diversify cold code, but restrict our…

Leakage-Resilient Layout Randomization for Mobile Devices

Kjell Braden, Stephen Crane, Lucas Davi +4 more

Artificial Intelligence · Graduate School and Research Center in Digital Science (EURECOM) · · cited 77× · DOI ↗ · more like this ·

Attack techniques based on code reuse continue to enable real-world exploits bypassing all current mitigations. Code randomization defenses greatly improve resilience against code reuse. Unfortunately, sophisticated modern attacks such as JITROP can circumvent randomization by discovering the actual code layout on the target and relocating the attack payload on the fly. Hence, effective code randomization additionally requires that the code layout cannot be leaked to adversaries. Previous approaches to leakage-resilient diversity have either relied on hardware features that are not available in all processors, particularly resource-limited processors commonly found in mobile devices, or they have had high memory overheads. We introduce a code randomization technique that avoids these limitations and scales down to mobile and embedded devices: Leakage-Resilient Layout Randomization…

Librando

Andrei Homescu, Stefan Brunthaler, Per Larsen +1 more

Artificial Intelligence · · cited 75× · DOI ↗ · more like this ·

Just-in-time compilers (JITs) are here to stay. Unfortunately, they also provide new capabilities to cyber attackers, namely the ability to supply input programs (in languages such as JavaScript) that will then be compiled to executable code. Once this code is placed and marked as executable, it can then be leveraged by the attacker.

Address Oblivious Code Reuse: On the Effectiveness of Leakage-Resilient Diversity

Robert Rudd, Richard Skowyra, David Bigelow +9 more

Artificial Intelligence · · cited 65× · DOI ↗ · more like this ·

Author(s): Robert Rudd, Richard Skowyra, David Bigelow, Veer Dedhia, Thomas Hobson, Stephen Crane, Christopher Liebchen, Per Larsen, Lucas Davi, Michael Franz, Ahmad-Reza Sadeghi, Hamed Okhravi Download: Paper (PDF) Date: 27 Feb 2017 Document Type: Reports Additional Documents: Slides Video Associated Event: NDSS Symposium 2017 Abstract: Memory corruption vulnerabilities not only allow modification of control data and … Continued

Booby trapping software

Stephen Crane, Per Larsen, Stefan Brunthaler +1 more

Artificial Intelligence · · cited 51× · DOI ↗ · more like this ·

Cyber warfare is asymmetric in the current paradigm, with attackers having the high ground over defenders. This asymmetry stems from the situation that attackers have the initiative, while defenders concentrate on passive fortifications. Defenders are constantly patching the newest hole in their defenses and creating taller and thicker walls, without placing guards on those walls to watch for the enemy and react to attacks. Current passive cyber security defenses such as intrusion detection, anti-virus, and hardened software are not sufficient to repel attackers. In fact, in conventional warfare this passivity would be entirely nonsensical, given the available active strategies, such as counterattacks and deception.

Security through Diversity: Are We There Yet?

Per Larsen, Stefan Brunthaler, Michael Franz

Artificial Intelligence · IEEE Security & Privacy · · cited 47× · DOI ↗ · more like this ·

Because most software attacks rely on predictable behavior on the target platform, mass distribution of identical software facilitates mass exploitation. Countermeasures include moving-target defenses in general and biologically inspired artificial software diversity in particular. Although the concept of software diversity has interested researchers for more than 20 years, technical obstacles prevented its widespread adoption until now. Massive-scale software diversity has become practical due to the Internet (enabling distribution of individualized software) and cloud computing (enabling the computational power to perform diversification). In this article, the authors take stock of the current state of software diversity research. The potential showstopper issues are mostly solved; the authors describe the remaining issues and point to a realistic adoption path.

Strategy without tactics

Dean Sullivan, Orlando Arias, Lucas Davi +3 more

Artificial Intelligence · Journal of International Crisis and Risk Communication Research · · cited 45× · DOI ↗ · more like this ·

Control-flow integrity (CFI) is a general defense against code-reuse exploits that currently constitute a severe threat against diverse computing platforms. Existing CFI solutions (both in software and hardware) suffer from shortcomings such as (i) inefficiency, (ii) security weaknesses, or (iii) are not scalable. In this paper, we present a generic hardware-enhanced CFI scheme that tackles these problems and allows to enforce diverse CFI policies. Our approach fully supports multi-tasking, shared libraries, prevents various forms of code-reuse attacks, and allows CFI protected code and legacy code to co-exist. We evaluate our implementation on SPARC LEON3 and demonstrate its high efficiency.

Microgadgets: size does matter in turing-complete return-oriented programming

Andrei Homescu, Michael Stewart, Per Larsen +2 more

Artificial Intelligence · · cited 44× · OpenAlex ↗ · more like this ·

Return-oriented programming (ROP) has gained a lot of popularity lately, as an attack against currently imple-mented defenses in modern operating systems. Several kinds of ROP-based attacks and anti-ROP defenses have been proposed in recent years. The original attack tech-nique depends on the existence of a hand-picked set of byte sequences (called gadgets) in the program, while subsequent approaches use complex scanners, which per-form semantic analysis on the code to locate gadgets. The latter ones are efficient at finding gadgets and build-ing an attack, but incur a significant cost in time. We propose a ROP attack technique, based on a hand-picked but flexible and Turing-complete set of gadgets. One novelty in this approach is the use of microgadgets, which are gadgets restricted to 2 or 3 bytes in length. Our approach splits gadgets into several classes of vary-ing sizes (from 1 to…

PKRU-safe

Paul Kirth, Mitchel Dickerson, Stephen Crane +6 more

Artificial Intelligence · Lirias (KU Leuven) · · cited 40× · DOI ↗ · more like this ·

After more than twenty-five years of research, memory safety violations remain one of the major causes of security vulnerabilities in real-world software. Memory-safe languages, like Rust, have demonstrated that compiler technology can assist developers in writing efficient low-level code without the risk of memory corruption. However, many memory-safe languages still have to interface with unsafe code to some extent, which opens up the possibility for attackers to exploit memory-corruption vulnerabilities in the unsafe part of the system and subvert the safety guarantees provided by the memory-safe language.

Selfrando: Securing the Tor Browser against De-anonymization Exploits

Mauro Conti, Stephen Crane, Tommaso Frassetto +6 more

Artificial Intelligence · Proceedings on Privacy Enhancing Technologies · · cited 38× · DOI ↗ · more like this ·

Abstract Tor is a well-known anonymous communication system used by millions of users, including journalists and civil rights activists all over the world. The Tor Browser gives non-technical users an easy way to access the Tor Network. However, many government organizations are actively trying to compromise Tor not only in regions with repressive regimes but also in the free world, as the recent FBI incidents clearly demonstrate. Exploiting software vulnerabilities in general, and browser vulnerabilities in particular, constitutes a clear and present threat to the Tor software. The Tor Browser shares a large part of its attack surface with the Firefox browser. Therefore, Firefox vulnerabilities (even patched ones) are highly valuable to attackers trying to monitor users of the Tor Browser. In this paper, we present selfrando-an enhanced and practical load-time randomization technique…

Large-Scale Automated Software Diversity—Program Evolution Redux

Andrei Homescu, Todd Jackson, Stephen Crane +3 more

Artificial Intelligence · IEEE Transactions on Dependable and Secure Computing · · cited 32× · DOI ↗ · more like this ·

The software monoculture favors attackers over defenders, since it makes all target environments appear similar. Code-reuse attacks, for example, rely on target hosts running identical software. Attackers use this assumption to their advantage by automating parts of creating an attack. This article presents large-scale automated software diversification as a means to shore up this vulnerability implied by our software monoculture. Besides describing an industrial-strength implementation of automated software diversity, we introduce methods to objectively measure the effectiveness of diversity in general, and its potential to eliminate code-reuse attacks in particular.

Taming Parallelism in a Multi-Variant Execution Environment

Stijn Volckaert, Bart Coppens, Bjorn De Sutter +3 more

Artificial Intelligence · Ghent University Academic Bibliography (Ghent University) · · cited 30× · DOI ↗ · more like this ·

Exploit mitigations, by themselves, do not stop determined and well-resourced adversaries from compromising vulnerable software through memory corruption. Multi-variant execution environments (MVEEs) add additional assurance by executing multiple, diversified copies (variants) of the same program in lockstep while monitoring their behavior for signs of attacks (divergence). While executing multiple copies of the same program requires additional computational resources, modern MVEEs run many workloads at near-native speed and can detect adversaries before they leak secrets or achieve persistence on the host system.

Secure and efficient application monitoring and replication

Stijn Volckaert, Bart Coppens, Alexios Voulimeneas +4 more

Artificial Intelligence · Ghent University Academic Bibliography (Ghent University) · · cited 29× · OpenAlex ↗ · more like this ·

Memory corruption vulnerabilities remain a grave threat to systems software written in C/C++. Current best practices dictate compiling programs with exploit mitigations such as stack canaries, address space layout randomization, and control-flow integrity. However, adversaries quickly find ways to circumvent such mitigations, sometimes even before these mitigations are widely deployed. In this paper, we focus on an "orthogonal" defense that amplifies the effectiveness of traditional exploit mitigations. The key idea is to create multiple diversified replicas of a vulnerable program and then execute these replicas in lockstep on identical inputs while simultaneously monitoring their behavior. A malicious input that causes the diversified replicas to diverge in their behavior will be detected by the monitor; this allows discovery of previously unknown attacks such as zero-day exploits. So…

Parallelizing more Loops with Compiler Guided Refactoring

Per Larsen, Razya Ladelsky, Jacob Lidman +3 more

Hardware and Architecture · Technical University of Denmark, DTU Orbit (Technical University of Denmark, DTU) · · cited 25× · DOI ↗ · more like this ·

The performance of many parallel applications relies not on instruction-level parallelism but on loop-level parallelism. Unfortunately, automatic parallelization of loops is a fragile process, many different obstacles affect or prevent it in practice. To address this predicament we developed an interactive compilation feedback system that guides programmers in iteratively modifying their application source code. This helps leverage the compiler's ability to generate loop-parallel code. We employ our system to modify two sequential benchmarks dealing with image processing and edge detection, resulting in scalable parallelized code that runs up to 8.3 times faster on an eight-core Intel Xeon 5570 system and up to 12.5 times faster on a quad-core IBM POWER6 system. Benchmark performance varies significantly between the systems. This suggests that semi-automatic parallelization should be…

Preventing kernel code-reuse attacks through disclosure resistant code diversification

Jason Gionta, William Enck, Per Larsen

Artificial Intelligence · · cited 23× · DOI ↗ · more like this ·

Software diversity has been applied to operating system kernels to protect against code-reuse attacks. However, the security of fine-grained software diversification relies on ensuring that the code layout remains secret. Unfortunately, memory disclosure vulnerabilities assist adversaries in bypassing software diversity protections by leaking the code layout. In this paper, we propose KHide, a system that thwarts kernel code-reuse attacks by combining fine-grained software diversity techniques and memory disclosure protection. First, we apply multiple fine-grained software diversity techniques to kernel code at compile time. Next, we propose a technique to protect diversified kernel code against memory disclosure at runtime. As a result, an attacker cannot predict or identify gadgets in memory to launch code-reuse attacks. We implement KHide for the Linux kernel. Our evaluation shows…

Automatic Software Diversity

Per Larsen, Stefan Brunthaler, Michael Franz

Artificial Intelligence · IEEE Security & Privacy · · cited 16× · DOI ↗ · more like this ·

Vulnerabilities in low-level systems software leave users exposed to malware, theft, and monitoring. Automatic software diversity makes weaponization of these vulnerabilities much harder. The premise of software diversity is simple: randomizing program features conceals them from adversaries; however, securely and transparently implementing automatic software diversity is anything but simple.