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
4 Lab-STICC_UBS_CACS_MOCS
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].
Type de document :
Communication dans un congrès
AsianHOST 2018 - Asian Hardware Oriented Security and Trust Symposium, Dec 2018, Hong Kong, China. pp.1-13
Liste complète des métadonnées

https://hal.archives-ouvertes.fr/hal-01911621
Contributeur : Pascal Cotret <>
Soumis le : mardi 6 novembre 2018 - 22:06:40
Dernière modification le : vendredi 9 novembre 2018 - 01:04:58

Fichier

asianhost-preprint.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01911621, version 1

Citation

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. 〈hal-01911621〉

Partager