Skip to Main content Skip to Navigation
Conference papers

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

Muhammad Abdul Wahab 1 Pascal Cotret 2 Mounir Nasr Allah 3 Guillaume Hiet 3 Vianney Lapotre 4 Gogniat Guy 4 Arnab Kumar Biswas 4
3 CIDRE - Confidentialité, Intégrité, Disponibilité et Répartition
CentraleSupélec, Inria Rennes – Bretagne Atlantique , IRISA-D1 - SYSTÈMES LARGE ÉCHELLE
Lab-STICC - Laboratoire des sciences et techniques de l'information, de la communication et de la connaissance
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, 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].
Complete list of metadata

Cited literature [18 references]  Display  Hide  Download
Contributor : Cotret Pascal Connect in order to contact the contributor
Submitted on : Tuesday, November 6, 2018 - 10:06:40 PM
Last modification on : Friday, January 21, 2022 - 3:20:48 AM
Long-term archiving on: : Thursday, February 7, 2019 - 10:14:57 PM


Files produced by the author(s)



Muhammad Abdul Wahab, Pascal Cotret, Mounir Nasr Allah, Guillaume Hiet, Vianney Lapotre, et al.. A novel lightweight hardware-assisted static instrumentation approach for ARM SoC using debug components. AsianHOST 2018 - Asian Hardware Oriented Security and Trust Symposium, Dec 2018, Hong Kong, China. pp.1-13, ⟨10.1109/asianhost.2018.8607177⟩. ⟨hal-01911621⟩



Les métriques sont temporairement indisponibles