Reliable Reverse Engineering of Intel DRAM Addressing Using Performance Counters


연구 분야: Analysis



학회: 2020 28th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS)


초록

The memory controller of a processor translates the physical memory address to hardware components such as memory channels, ranks, and banks. This DRAM address mapping is of interest to many researchers in the fields of IT security, hardware architecture, system software, and performance tuning. However, Intel processors are using a complex and undocumented DRAM addressing. The addressing can be different for every system because it depends on many aspects such as the processor model, DIMM population on the motherboard, and BIOS settings. Thus an analysis for every individual system is necessary. In this paper, we introduce an automatic and reliable method for reverse engineering the DRAM addressing of Intel server-class processors. In contrast to existing approaches, it is reliable, measurement errors are unlikely to occur, and can be detected if they occur. Our method mainly relies on CPU hardware performance counters to precisely locate the accessed DRAM component. It eliminates the problem of wrong attribution that is common in timing based approaches. We validated our method by reversing engineering the DRAM addressing of a diverse set of Intel processors. This set includes Broadwell, Haswell, and Skylake micro-architectures, with various core counts, DIMM arrangements, and BIOS settings. We show the correctness of the determined addressing functions using micro-benchmarks that access specific DRAM components.


Author Profile
Christian Helm

The University of Tokyo Tokyo Japan

Japan
Author Profile
Soramichi Akiyama

The University of Tokyo Tokyo Japan

Japan
Author Profile
Kenjiro Taura

The University of Tokyo Tokyo Japan

Japan

📄 논문 정보

발행 연도 2020년
인용수 13
출판 국가 Japan
사이트 IEEE
좋아요 수 0

연관 논문 목록 (163건)