CBA-detector: An accurate detector against cache-based attacks using HPCs and Pintools

Beilei Zheng, Jianan Gu, Chuliang Weng

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

7 Scopus citations

Abstract

Cloud computing is convenient to provide adequate resources for tenants, but it suffers from information disclosure risks because hardware resources are shared among multiple tenants. For example, secret information in the shared cache can be inferred by other malicious processes, which is called cache-based attacks. To defeat against such attacks, many detection methods have been proposed. However, most of the existing detection mechanisms completely rely on the hardware performance counters (HPCs) and induce high false positives in detecting attacks. This paper proposes an accurate detector named CBA-Detector to detect cache-based side-channel attacks in real time. CBA-Detector is composed of an offline analysis phase and an online detection phase. The former analyzes the hardware events generated by sample programs. Then it extracts features from these events to train machine learning models. Based on the models, the latter monitors active processes in real time to discover suspicious processes. These suspicious processes will be checked again at the instruction level by customized Pintools, which effectively eliminates false positives. As shown in our experiments, CBA-Detector can accurately identify attacks in real time and introduces 4.4% overhead on PARSEC and about 10% overhead on web server.

Original languageEnglish
Title of host publicationAdvanced Parallel Processing Technologies - 13th International Symposium, APPT 2019, Proceedings
EditorsPen-Chung Yew, Per Stenström, Junjie Wu, Xiaoli Gong, Tao Li
PublisherSpringer Verlag
Pages109-122
Number of pages14
ISBN (Print)9783030296100
DOIs
StatePublished - 2019
Event13th International Symposium on Advanced Parallel Processing Technologies, APPT 2019 - Tianjin, China
Duration: 15 Aug 201916 Aug 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11719 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference13th International Symposium on Advanced Parallel Processing Technologies, APPT 2019
Country/TerritoryChina
CityTianjin
Period15/08/1916/08/19

Keywords

  • Cache-based side-channel attacks
  • False positives
  • Hardware performance counters
  • Pintools

Fingerprint

Dive into the research topics of 'CBA-detector: An accurate detector against cache-based attacks using HPCs and Pintools'. Together they form a unique fingerprint.

Cite this