Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

Thread-Level Attack-Surface Reduction

  • Florian Rommel
  • , Christian Dietrich
  • , Andreas Ziegler
  • , Illia Ostapyshyn
  • , Daniel Lohmann

Publikation: Beitrag in Buch/Bericht/Sammelwerk/KonferenzbandAufsatz in KonferenzbandForschungPeer-Review

Abstract

Existing debloating techniques designed to prevent buffer-overflow exploits through return-oriented programming do not differentiate roles within a process or binary, allowing all threads access to the full program functionality. For example, a worker thread that handles client connections (highest attack exposure) still has access to all the code that the management thread needs (highest potential fallout). We introduce thread-level attack-surface reduction (TLASR), a dynamic, context-aware approach that eliminates unused code on a thread level. For this, we (permanently or temporarily) eliminate parts of the text segment (both in shared libraries and the main binary) and use the mmview Linux extension to support multiple text-segment views in a single process. We reduce the executable code visible from a single thread in MariaDB, Memcached, OpenSSH, and Bash by 84 to 98.4 percent. As a result, the number of ROP gadgets decreases significantly (78–97 %), with TLASR rendering an auto-ROP utility ineffective in all investigated benchmarks and eliminating all CVE-related functions ever reported for glibc in 97 percent of the cases.

OriginalspracheEnglisch
Titel des SammelwerksLCTES 2023
UntertitelProceedings of the 24th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems
Herausgeber/-innenBernhard Egger, Dongyoon Lee
Herausgeber (Verlag)Association for Computing Machinery (ACM)
Seiten64-75
Seitenumfang12
ISBN (elektronisch)9798400701740
DOIs
PublikationsstatusVeröffentlicht - 13 Juni 2023
Veranstaltung24th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2023 - Orlando, USA / Vereinigte Staaten
Dauer: 18 Juni 202318 Juni 2023

Publikationsreihe

NameProceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)

Konferenz

Konferenz24th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2023
Land/GebietUSA / Vereinigte Staaten
OrtOrlando
Zeitraum18 Juni 202318 Juni 2023

ASJC Scopus Sachgebiete

  • Software

Dieses zitieren