On the Detectability of Control Flow Using Memory Access Patterns
Authors:
Open Access
- 15 January 2018
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 48-53
Abstract
Shielding systems such as AMD's Secure Encrypted Virtualization aim to protect a virtual machine from a higher privileged entity such as the hypervisor. A cornerstone of these systems is the ability to protect the memory from unauthorized accesses. Despite this protection mechanism, previous attacks leveraged the control over memory resources to infer control flow of applications running in a shielded system. While previous works focused on a specific target application, there has been no general analysis on how the control flow of a protected application can be inferred. This paper tries to overcome this gap by providing a detailed analysis on the detectability of control flow using memory access patterns. To that end, we do not focus on a specific shielding system or a specific target application, but present a framework which can be applied to different types of shielding systems as well as to different types of attackers. By training a random forest classifier on the memory accesses emitted by syscalls of a shielded entity, we show that it is possible to infer the control flow of shielded entities with a high degree of accuracy.Keywords
Funding Information
- Software Campus: (FKZ 01IS17052)
This publication has 17 references indexed in Scilit:
- Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems2015
- AppGuard: A hardware virtualization based approach on protecting user applications from untrusted commodity operating system2015
- InkTag2013
- Architectural support for hypervisor-secure virtualization2012
- Architectural support for secure virtualization under a vulnerable hypervisor2011
- CloudVisor2011
- FlickerACM SIGOPS Operating Systems Review, 2008
- Overshadow2008
- Architectural support for copy and tamper resistant softwareACM SIGARCH Computer Architecture News, 2000
- Architectural support for copy and tamper resistant softwareACM SIGOPS Operating Systems Review, 2000