DUPEFS: Leaking Data Over the Network With Filesystem Deduplication Side Channels
Andrei Bacs, Saidgani Musaev, Kaveh Razavi, Cristiano Giuffrida, Herbert Bos
摘要
To reduce the storage footprint with increasing data volumes, modern filesystems internally use deduplication to store a single copy of a data deduplication record, even if it is used by multiple files. Unfortunately, its implementation in today's advanced filesystems such as ZFS and Btrfs yields timing side channels that can reveal whether a chunk of data has been deduplicated. In this paper, we present the DUPEFS class of attacks to show that such side channels pose an unexpected security threat. In contrast to memory deduplication attacks, filesystem accesses are performed asynchronously to improve performance, which masks any potential signal due to deduplication. To complicate matters further, filesystem deduplication is often performed at large granularities, complicating high-entropy information leakage. To address these challenges, DUPEFS relies on carefully-crafted read/write operations that show exploitation is not only feasible, but that the signal can be amplified to mount byte-granular attacks over the network. We show attackers can leak sensitive data at the rate of ∼1.5 bytes per hour in a end-to-end remote attack, to leak a long-lived (critical) OAuth access token from the access log file of the nginx web server running on ZFS/HDD. Finally, we propose mitigations where read/write operations exhibit the same time-domain behavior, irrespective of the pre-existence of the data handled during the operation.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Remote Memory-Deduplication Attacks 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
- Remote Memory-Deduplication Attacks 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- Attacks on Approximate Caches in Text-to-Image Diffusion Models 引用了 Remote Memory-Deduplication Attacks
- Attacks on Approximate Caches in Text-to-Image Diffusion Models 引用了 Side-Channel Attacks on Optane Persistent Memory
- ABSynthe: Automatic Blackbox Side-channel Synthesis on Commodity Microarchitectures 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
- ASLR on the Line: Practical Cache Attacks on the MMU 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
- Sync+Sync: A Covert Channel Built on fsync with Storage 引用了 Side-Channel Attacks on Optane Persistent Memory
引用它的顶会 Paper5
- InftyDedup: Scalable and Cost-Effective Cloud Tiering with DeduplicationIwona Kotlarska, Andrzej Jackowski, Krzysztof Lichota, Michal Welnicki 等FAST 2023 · 23 次引用
- Sync+Sync: A Covert Channel Built on fsync with StorageQisheng Jiang, Chundong WangUSENIX Security 2024 · 12 次引用
- Attacks on Approximate Caches in Text-to-Image Diffusion ModelsDesen Sun, Shuncheng Jie, Sihang LiuUSENIX Security 2026 · 1 次引用
- Pistis: A Decentralized Knowledge Graph Platform Enabling Ownership-Preserving SPARQL QueryingEnyuan Zhou, Song Guo, Zicong Hong, Christian S. Jensen 等VLDB 2025 · 1 次引用
- Side-Channel Attacks on Optane Persistent MemorySihang Liu, Suraaj Kanniwadi, Martin Schwarzl, Andreas Kogler 等USENIX Security 2023
它引用的 Paper5
- ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos 等NDSS 2017 · 276 次引用
- Dedup Est Machina: Memory Deduplication as an Advanced Exploitation VectorErik Bosman, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaS&P 2016 · 252 次引用
- Remote Memory-Deduplication AttacksMartin Schwarzl, Erik Kraft, Moritz Lipp, Daniel GrussNDSS 2022
- ABSynthe: Automatic Blackbox Side-channel Synthesis on Commodity MicroarchitecturesBen Gras, Cristiano Giuffrida, Michael Kurth, Herbert Bos 等NDSS 2020
- A Tale of Two Headers: A Formal Analysis of Inconsistent Click-Jacking Protection on the WebStefano Calzavara, Sebastian Roth, Alvise Rabitti, Michael Backes 等USENIX Security 2020
相关 Paper
- LeakyTree: Cross-VM Bit-by-Bit Deduplicated Page Leakage via Linux Kernel Samepage Merging InternalsErnesto Martinez Garcia, Lukas Maar, Martin Unterguggenberger, Mathias Oberhuber 等CCS 2026
- I know What You Sync: Covert and Side Channel Attacks on File Systems via syncfsCheng Gu, Yicheng Zhang, Nael B. Abu-GhazalehS&P 2025
- Page Cache AttacksDaniel Gruss, Erik Kraft, Trishita Tiwari, Michael Schwarz 等CCS 2019 · 55 次引用
- Practical Timing Side-Channel Attacks on Memory CompressionMartin Schwarzl, Pietro Borrello, Gururaj Saileshwar, Hanna Müller 等S&P 2023
- Secret Spilling Drive: Leaking User Behavior through SSD ContentionJonas Juffinger, Fabian Rauscher, Giuseppe La Manna, Daniel GrussNDSS 2025
