Memory Deduplication as a Protective Factor in Virtualized Systems

被引:2
作者
Albalawi, Abdullah [1 ]
Vassilakis, Vassilios [1 ]
Calinescu, Radu [1 ]
机构
[1] Univ York, Dept Comp Sci, York, N Yorkshire, England
来源
APPLIED CRYPTOGRAPHY AND NETWORK SECURITY WORKSHOPS, ACNS 2021 | 2021年 / 12809卷
关键词
Side-channel attacks; Memory deduplication; Flush plus reload; Flush plus flush; SIDE-CHANNEL ATTACKS; CLOUD;
D O I
10.1007/978-3-030-81645-2_17
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We introduce a method for protection against a side-channel attack made possible by the use of a cloud-computing feature called memory deduplication. Memory deduplication improves the efficiency with which physical memory is used by the virtual machines (VMs) running on the same server by keeping in memory only one copy of the libraries and other software used by multiple VMs. However, this allows an attacker's VM to find out the memory locations (and thus the operations) used by a victim's VM, as these locations are cached and can be accessed faster than memory locations not used by the victim. To perform the attack, the malicious VM needs to execute an abnormal sequence of cache flushes, and our new method detects this by monitoring memory locations associated with sensitive (e.g., encryption) operations and using logistic regression to identify the abnormal cached operations. Furthermore, by using its own cache flushing, our method disrupts the side channel, making it more difficult for the attacker to acquire useful information. The experiments we ran using the KVM hypervisor and Ubuntu 18.04 LTS VMs on both Debian 10 and CentOS physical servers show that our method can detect attacks with 99% accuracy, and can feed fake information to an attacker with between 2-8% CPU overheads.
引用
收藏
页码:301 / 317
页数:17
相关论文
共 37 条
[31]   Security and Privacy in Cloud Computing [J].
Xiao, Zhifeng ;
Xiao, Yang .
IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2013, 15 (02) :843-859
[32]  
Yan Lin, 2015, P S INT INT WUH CHIN, P30, DOI DOI 10.1145/2875913.287593410.1145/2875913.2875934
[33]  
Yarom Y., 2014, CRYPTOLOGY EPRINT AR, V2014, P140
[34]  
Yarom Y., 2016, MASTIK MICROARCHITEC
[35]  
Yarom Y, 2014, PROCEEDINGS OF THE 23RD USENIX SECURITY SYMPOSIUM, P719
[36]   CloudRadar: A Real-Time Side-Channel Attack Detection System in Clouds [J].
Zhang, Tianwei ;
Zhang, Yinqian ;
Lee, Ruby B. .
RESEARCH IN ATTACKS, INTRUSIONS, AND DEFENSES, RAID 2016, 2016, 9854 :118-140
[37]   HomeAlone: Co-Residency Detection in the Cloud via Side-Channel Analysis [J].
Zhang, Yinqian ;
Juels, Ari ;
Oprea, Alina ;
Reiter, Michael K. .
2011 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2011), 2011, :313-328