A novel lightweight hardware-assisted static instrumentation approach for ARM SoC using debug components

Muhammad Abdul Wahab, Pascal Cotret, Mounir Nasr Allah, Guillaume Hiet, Vianney Lapôtre, Guy Gogniat, Arnab Kumar Biswas

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Citation (Scopus)

Abstract

Most of hardware-assisted solutions for software security, program monitoring, and event-checking approaches require instrumentation of the target software, an operation which can be performed using an SBI (Static Binary Instrumentation) or a DBI (Dynamic Binary Instrumentation) framework. Hardware-assisted instrumentation can use one of these two solutions to instrument data to a memory-mapped register. Both these approaches require an in-depth knowledge of frameworks and an important amount of software modifications in order to instrument a whole application. This work proposes a novel way to instrument an application with minor modifications, at the source code level, taking advantage of underlying hardware debug components such as CS (CoreSight) components available on Xilinx Zynq SoCs. As an example, the instrumentation approach proposed in this work is used to detect a double free security attack. Furthermore, it is evaluated in terms of runtime and area overhead. Results show that the proposed solution takes 30 μs on average to instrument an instruction while the optimized version only takes 0.014 μs which is ten times better than usual memory-mapped register solutions used in existing works [1], [2].

Original languageEnglish
Title of host publication2018 Asian Hardware Oriented Security and Trust Symposium (AsianHOST): Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages92-97
Number of pages6
ISBN (Electronic)9781538674710
ISBN (Print)978-1-5386-7472-7
DOIs
Publication statusPublished - 10 Jan 2019
Externally publishedYes
Event2018 Asian Hardware Oriented Security and Trust Symposium, AsianHOST 2018 - Hong Kong, Hong Kong
Duration: 17 Dec 201818 Dec 2018

Publication series

NameProceedings of the 2018 Asian Hardware Oriented Security and Trust Symposium, AsianHOST 2018
PublisherIEEE

Conference

Conference2018 Asian Hardware Oriented Security and Trust Symposium, AsianHOST 2018
Country/TerritoryHong Kong
CityHong Kong
Period17/12/201818/12/2018

Bibliographical note

Publisher Copyright:
© 2018 IEEE.

ASJC Scopus subject areas

  • Hardware and Architecture
  • Safety, Risk, Reliability and Quality
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'A novel lightweight hardware-assisted static instrumentation approach for ARM SoC using debug components'. Together they form a unique fingerprint.

Cite this