Layered Binary Templating: Efficient Detection of Compiler- and Linker-introduced Leakage
Martin Schwarzl, Erik Kraft, Daniel Gruss

TL;DR
This paper introduces LBTA, a layered cache templating attack that significantly speeds up cache side-channel analysis, revealing widespread user input leakage in Chromium-based applications and other software frameworks.
Contribution
The paper presents LBTA, a novel multi-layer cache templating attack that combines coarse and fine-grained side channels to efficiently detect user input leakage in large binaries.
Findings
LBTA reduces cache templating runtime by three orders of magnitude.
Discovered data deduplication and dead-stripping as security issues.
All user input in Chromium-based apps is vulnerable to cache-based keylogging.
Abstract
Cache template attacks demonstrated automated leakage of user input in shared libraries. However, for large binaries, the runtime is prohibitively high. Other automated approaches focused on cryptographic implementations and media software but are not directly applicable to user input. Hence, discovering and eliminating all user input side-channel leakage on a cache-line granularity within huge code bases are impractical. In this paper, we present a new generic cache template attack technique, LBTA, layered binary templating attacks. LBTA uses multiple coarser-grained side channel layers as an extension to cache-line granularity templating to speed up the runtime of cache templating attacks. We describe LBTA with a variable number of layers with concrete side channels of different granularity, ranging from 64 B to 2MB in practice and in theory beyond. In particular the software-level…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Digital and Cyber Forensics
