arrow
返回

Investigating Black-Box Function Recognition Using Hardware Performance Counters

delete2023-07-01
delete0
delete
OA
AI
C
Carlton Shepherd *
B
Benjamin Semal
K
Konstantinos Markantonakis
DOI:10.1109/TC.2022.3226302delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
This paper presents new methods and results for recognising black-box program functions using hardware performance counters (HPC), where an investigator can invoke and measure function calls. Important use cases include analysing compiled libraries, e.g., static and dynamic link libraries, and trusted execution environment (TEE) applications. We develop a generic approach to classify a comprehensive set of hardware events, e.g., branch mis-predictions and instruction retirements, to recognise standard benchmarking and cryptographic library functions. This includes various signing, verification and hash functions, and ciphers in numerous modes of operation. Three architectures are evaluated using off-the-shelf Intel/X86-64, ARM, and RISC-V CPUs. Next, we show that several known CVE-numbered OpenSSL vulnerabilities can be detected using HPC differences between patched and unpatched library versions. Further, we demonstrate that standardised cryptographic functions within ARM TrustZone TEE applications can be recognised using non-secure world HPC measurements, applying to platforms that insecurely perturb the performance monitoring unit (PMU) during TEE execution. High accuracy was achieved in all cases (86.22-99.83%) depending on the application, architectural, and compilation assumptions. Lastly, we discuss mitigations, outstanding challenges, and directions for future research.
Keyword:
Side-channel analysis
hardware performance counters (HPCs)
reverse engineering

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

U
university of london
学者数:
21.5W
论文数: 19.7W
被引数: 305
引用论文

引用论文

err分享
err收藏
Magnetic Structure of Inorganic–Organic Hybrid (C6H5CH2CH2NH3)2MnCl4 Using Magnetic Space Group Concept
err2020-11-30
err0
errOAAI
errGaram Park; In-Hwan Oh; J. M. Sungil Park; Seungsoo Hahn; Seong-Hun Park
err分享
err收藏
Luteinizing hormone-releasing hormone in human pituitary blood
err1978-09-01
err0
PREAI
errJ. Lobo Antunes; Peter W. Carmel; Edgar M. Housepian; Michel Ferin
err分享
err收藏
Alkaloid content in various chemoecotypes of Glaucium flavum from Israel
err1988-01-01
err0
PREAI
errBatya Peled; Yoav Waisel; Shmuel Carmeli
err分享
err收藏
A dual-parameter sensor for strain and temperature measurement featuring cascaded LPFG-FP structure
err2018-10-01
err0
PREAI
errWen Zhang; Jiaqi Hao; Mingli Dong; Xiaoping Lou; Lianqing Zhu
err分享
err收藏
Profile: Nanoro Health and Demographic Surveillance System
err2012-10-07
err0
PREAI
errK. Derra; E. Rouamba; A. Kazienga; S. Ouedraogo; M. C. Tahita; H. Sorgho; I. Valea; H. Tinto
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容