arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.11501cs.CR
收藏

Write+Sync:利用内存-磁盘同步的软件缓存写隐蔽信道

Write+Sync: Software Cache Write Covert Channels Exploiting Memory-disk Synchronization

Congcong Chen, Jinhua Cui, Gang Qu, Jiliang Zhang

AI总结:

本研究提出利用内存-磁盘同步原语的SYNC+SYNC软件缓存写隐蔽信道攻击,具备纯软件实现、抗现有缓存防护等优势,在多系统跨进程/沙箱场景下实现高速低误码传输,是首个此类高速写隐蔽信道。

摘要:

内存-磁盘同步是保障数据正确性、完整性与安全性的关键技术,在处理金融交易、医疗记录等敏感信息的系统中尤为重要。我们提出了SYNC+SYNC,这是一组利用内存-磁盘同步原语的攻击手段。SYNC+SYNC通过巧妙改变写缓冲区上的同步时机实现攻击,具备多项优势:1)纯软件实现,可部署于任意硬件设备;2)对现有缓存分区与随机化技术具有抗性;3)不受预取技术和缓存替换策略的影响。我们通过实现两种写隐蔽信道协议(分别使用单个文件或单个页面)阐述了SYNC+SYNC的原理,并介绍了三种利用多文件与多页面的增强策略。这些信道的可行性在不同操作系统(OSes)的跨进程与跨沙箱场景中均得到验证。实验结果显示,在Linux系统上,其平均速率可达2.036 Kb/s(峰值速率为14.762 Kb/s),错误率为0%;在macOS系统上运行时,平均速率可达10.211 Kb/s(峰值速率为253.022 Kb/s),错误率为0.004%。据我们所知,SYNC+SYNC是首个针对软件缓存的高速写隐蔽信道。

英文摘要:

Memory-disk synchronization is a critical technology for ensuring data correctness, integrity, and security, especially in systems that handle sensitive information like financial transactions and medical records. We propose SYNC+SYNC, a group of attacks that exploit the memory-disk synchronization primitives. SYNC+SYNC works by subtly varying the timing of synchronization on the write buffer, offering several advantages: 1) implemented purely in software, enabling deployment on any hardware devices; 2) resilient against existing cache partitioning and randomization techniques; 3) unaffected by prefetching techniques and cache replacement strategies. We present the principles of SYNC+SYNC through the implementation of two write covert channel protocols, using either a single file or page, and introduce three enhanced strategies that utilize multiple files and pages. The feasibility of these channels is demonstrated in both cross-process and cross-sandbox scenarios across diverse operating systems (OSes). Experimental results show that, the average rate can reach 2.036 Kb/s (with a peak rate of 14.762 Kb/s) and the error rate is 0% on Linux; when running on macOS, the average rate achieves 10.211 Kb/s (with a peak rate of 253.022 Kb/s) and the error rate is 0.004%. To the best of our knowledge, SYNC+SYNC is the first high-speed write covert channel for software cache.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑