Memory utilization can be reduced by merging identical memory blocks into copy-on-write mappings. Previous work showed that this so-called memory deduplication can be exploited in local attacks to break ASLR, spy on other programs,and determine the presence of data, i.e., website images. All these attacks exploit memory deduplication across security domains, which in turn was disabled. However, within a security domain or on an isolated system with no untrusted local access, memory deduplication is still not considered a security risk and was recently re-enabled on Windows by default. In this paper, we present the first fully remote memorydeduplication attacks. Unlike previous attacks, our attacks require no local code execution. Consequently, we can disclose memory contents from a remote server merely by sending and timing HTTP/1 and HTTP/2 network requests. We demonstrate our attacks on deduplication both on Windows and Linux and attack widely used server software such as Memcached and InnoDB. Our side channel leaks up to 34.41 B/h over the internet, making it faster than comparable remote memory-disclosure channels. We showcase our remote memory-deduplication attack in three case studies: First, we show that an attacker can disclose the presence of data in memory on a server running Memcached. We show that this information disclosure channel can also be used for fingerprinting and detect the correct libc version over the internet in 166.51 s. Second, in combination with InnoDB, we present an information disclosure attack to leak MariaDB database records. Third, we demonstrate a fully remote KASLR break in less than 4 minutes allowing to derandomize the kernel image of a virtual machine over the Internet, i.e., 14 network hops away. We conclude that memory deduplication must also be considered a security risk if only applied within a single security domain.


翻译:将相同的内存区块合并成文字版地图可以降低内存的利用率。 先前的工作显示, 这种所谓的内存减少作用可以在当地攻击中被利用, 以打破 ASLR, 监视其他程序, 并确定数据的存在, 即网站图像。 所有这些攻击都利用了跨安全域的内存减少作用, 而这反过来又被禁用。 但是, 在安全域内或在没有本地访问的孤立系统中, 内存消减仍然不被视为安全风险, 最近又默认地在 Windows 上重新启用。 在本文中, 我们首次展示了完全远程的内存消减攻击。 与以往的攻击不同, 我们的内存攻击不需要本地代码执行。 因此, 我们只能通过远程服务器发送和计时 HTTP/1 和 HTTP/2 网络请求来披露内存的内存减少内存; 我们展示了在Windows 和 Linux 以及广泛使用的服务器软件, 例如Memcashed and IndnoDB。 在互联网上, 我们的侧频道只能将内存到3441 B/ h 显示一个比可比较的远程内存的内存的内存的内存系统。 我们的内存记录, 我们的内存记录显示比我们更快的内存的内存的内存的内存的内存的内存的内存的内存, 我们的内存的内存的内存的内存的内存的内存的内存的内存记录, 我们的内存的内存的内存的内存的内存记录, 我们的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存数据, 我们的内存记录, 我们的内存的内存的内存的内存的内存的内存的内存的内存的内存记录, 显示在用来在三, 我们在内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存的内存,

0
下载
关闭预览

相关内容

Memcached 是一套分布式的高速缓存系统,当初是 Danga Interactive 为了LiveJournal 所发展的,但目前被许多软件所使用。这是一套开放源代码软件,以 BSD license 授权释出。
专知会员服务
29+阅读 · 2021年2月17日
专知会员服务
98+阅读 · 2020年12月8日
专知会员服务
41+阅读 · 2020年9月6日
异质信息网络分析与应用综述,软件学报-北京邮电大学
商业数据分析,39页ppt
专知会员服务
162+阅读 · 2020年6月2日
最新BERT相关论文清单,BERT-related Papers
专知会员服务
53+阅读 · 2019年9月29日
LibRec 精选:推荐系统的论文与源码
LibRec智能推荐
14+阅读 · 2018年11月29日
计算机 | CCF推荐会议信息10条
Call4Papers
5+阅读 · 2018年10月18日
开发者应当了解的18套机器学习平台
深度学习世界
5+阅读 · 2018年8月14日
ERROR: GLEW initalization error: Missing GL version
深度强化学习实验室
9+阅读 · 2018年6月13日
笔记 | Sentiment Analysis
黑龙江大学自然语言处理实验室
10+阅读 · 2018年5月6日
carla 学习笔记
CreateAMind
9+阅读 · 2018年2月7日
Capsule Networks解析
机器学习研究会
11+阅读 · 2017年11月12日
【推荐】树莓派/OpenCV/dlib人脸定位/瞌睡检测
机器学习研究会
9+阅读 · 2017年10月24日
Auto-Encoding GAN
CreateAMind
7+阅读 · 2017年8月4日
Arxiv
0+阅读 · 2022年1月17日
Arxiv
13+阅读 · 2021年3月3日
Weight Poisoning Attacks on Pre-trained Models
Arxiv
5+阅读 · 2020年4月14日
Deflecting Adversarial Attacks
Arxiv
8+阅读 · 2020年2月18日
Arxiv
5+阅读 · 2018年5月16日
VIP会员
相关资讯
LibRec 精选:推荐系统的论文与源码
LibRec智能推荐
14+阅读 · 2018年11月29日
计算机 | CCF推荐会议信息10条
Call4Papers
5+阅读 · 2018年10月18日
开发者应当了解的18套机器学习平台
深度学习世界
5+阅读 · 2018年8月14日
ERROR: GLEW initalization error: Missing GL version
深度强化学习实验室
9+阅读 · 2018年6月13日
笔记 | Sentiment Analysis
黑龙江大学自然语言处理实验室
10+阅读 · 2018年5月6日
carla 学习笔记
CreateAMind
9+阅读 · 2018年2月7日
Capsule Networks解析
机器学习研究会
11+阅读 · 2017年11月12日
【推荐】树莓派/OpenCV/dlib人脸定位/瞌睡检测
机器学习研究会
9+阅读 · 2017年10月24日
Auto-Encoding GAN
CreateAMind
7+阅读 · 2017年8月4日
Top
微信扫码咨询专知VIP会员