Session 8D: Language Security CCS ’19, November 11–15, 2019, London, United Kingdom Different is Good: Detecting the Use of Uninitialized Variables through Differential Replay Mengchen Cao∗ Xiantong Hou∗ Tao Wang∗
[email protected] xiantong.houxianto@alibaba-
[email protected] Orion Security Lab, Alibaba Group inc.com Orion Security Lab, Alibaba Group Orion Security Lab, Alibaba Group Hunter Qu Yajin Zhou† Xiaolong Bai
[email protected] [email protected] [email protected] Orion Security Lab, Alibaba Group School of Cyber Science and Orion Security Lab, Alibaba Group Technology, Zhejiang University Fuwei Wang
[email protected] Orion Security Lab, Alibaba Group ABSTRACT ACM Reference Format: The use of uninitialized variables is a common issue. It could cause Mengchen Cao, Xiantong Hou, Tao Wang, Hunter Qu, Yajin Zhou, Xiao- kernel information leak, which defeats the widely deployed security long Bai, and Fuwei Wang. 2019. Different is Good: Detecting the Use of Uninitialized Variables through Differential Replay. In 2019 ACM SIGSAC defense, i.e., kernel address space layout randomization (KASLR). Conference on Computer and Communications Security (CCS ’19), November Though a recent system called Bochspwn Reloaded reported multi- 11–15, 2019, London, United Kingdom. ACM, New York, NY, USA, 15 pages. ple memory leaks in Windows kernels, how to effectively detect https://doi.org/10.1145/3319535.3345654 this issue is still largely behind. In this paper, we propose a new technique, i.e., differential re- play, that could effectively detect the use of uninitialized variables. Specifically, it records and replays a program’s execution in multi- 1 INTRODUCTION ple instances.