arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.15545cs.CRcs.DC
收藏

重新思考使用虚拟磁盘的数据块存储加密

Rethinking Block Storage Encryption with Virtual Disks

Danny Harnik, Oded Naor, Effi Ofer, Or Ozery

摘要:

今天的磁盘加密使用标准的加密方法,这些方法是长度保留的,并且不需要在加密的磁盘扇区中存储任何额外的信息。这大大简化了磁盘加密管理,因为磁盘映射不会随加密而改变。另一方面,当数据被覆盖时,它强制加密是确定性的,并且它不允许完整性机制,从而降低了安全性保证。此外,由于最广泛使用的标准加密方法(如AES-XTS)工作在不超过32字节的小子块上,因此确定性重写会形成更大的安全风险。总的来说,今天的标准实践为了便于管理和性能考虑而放弃了一些安全性。这个缺点在支持版本控制和快照的虚拟磁盘设置中进一步放大,以便覆盖的数据仍然可以访问。在这项工作中,我们解决了这些问题,并规定,特别是与虚拟磁盘,有动机和潜力,以提高安全性为代价的一个小的性能开销。具体来说,将每个扇区的元数据添加到虚拟磁盘允许使用随机初始化向量(IV)运行加密以及潜在地添加完整性机制。我们将探讨如何最好地在Ceph RBD中实现额外的每个扇区信息,Ceph RBD是一种流行的具有客户端加密的开源分布式块存储。我们实现并评估了几种方法,并表明可以运行AES-XTS加密与随机IV在一个可控的开销范围从1\%--22\ %,取决于IO大小。

英文摘要:

Disk encryption today uses standard encryption methods that are length preserving and do not require storing any additional information with an encrypted disk sector. This significantly simplifies disk encryption management as the disk mapping does not change with encryption. On the other hand, it forces the encryption to be deterministic when data is being overwritten and it disallows integrity mechanisms, thus lowering security guarantees. Moreover, because the most widely used standard encryption methods (like AES-XTS) work at small sub-blocks of no more than 32 bytes, deterministic overwrites form an even greater security risk. Overall, today's standard practice forfeits some security for ease of management and performance considerations. This shortcoming is further amplified in a virtual disk setting that supports versioning and snapshots so that overwritten data remains accessible. In this work, we address these concerns and stipulate that especially with virtual disks, there is motivation and potential to improve security at the expense of a small performance overhead. Specifically, adding per-sector metadata to a virtual disk allows running encryption with a random initialization vector (IV) as well as potentially adding integrity mechanisms. We explore how best to implement additional per-sector information in Ceph RBD, a popular open-source distributed block storage with client-side encryption. We implement and evaluate several approaches and show that one can run AES-XTS encryption with a random IV at a manageable overhead ranging from 1\%--22\%, depending on the IO size.

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

↑