Is your FPGA bitstream Hardware Trojan-free? Machine learning can provide an answer. Palumbo, A., Cassano, L., Luzzi, B., Hernández, J. A., Reviriego, P., Bianchi, G., & Ottavi, M. Journal of Systems Architecture, 128:102543, July, 2022.
Paper doi abstract bibtex Software exploitable Hardware Trojan Horses (HTHs) inserted into commercial CPUs allow the attacker to run his/her own software or to gain unauthorized privileges. Recently a novel menace raised: HTHs inserted by CAD tools. A consequence of such scenario is that HTHs must be considered a serious threat not only by academy but also by industry. In this paper we try to answer to the following question: can Machine Learning (ML) help designers of microprocessor softcores implemented onto SRAM-based FPGAs at detecting HTHs introduced by the employed CAD tool during the generation of the bitstream? We present a comparative analysis of the ability of several ML models at detecting the presence of HTHs in the bitstream by exploiting a previously performed characterization of the microprocessor softcore and an associated ML training. An experimental analysis has been carried out targeting the IBEX RISC-V microprocessor running a set of benchmark programs. A detailed comparison of multiple ML models is conducted, showing that many of them achieve accuracy above 98%, and κ values above 0.97. By identifying the most effective ML models and the best features to be employed, this paper lays the foundation for the integration of a ML-based bitstream verification flow.
@article{palumbo_is_2022,
title = {Is your {FPGA} bitstream {Hardware} {Trojan}-free? {Machine} learning can provide an answer},
volume = {128},
issn = {1383-7621},
shorttitle = {Is your {FPGA} bitstream {Hardware} {Trojan}-free?},
url = {https://www.sciencedirect.com/science/article/pii/S1383762122001023},
doi = {10.1016/j.sysarc.2022.102543},
abstract = {Software exploitable Hardware Trojan Horses (HTHs) inserted into commercial CPUs allow the attacker to run his/her own software or to gain unauthorized privileges. Recently a novel menace raised: HTHs inserted by CAD tools. A consequence of such scenario is that HTHs must be considered a serious threat not only by academy but also by industry. In this paper we try to answer to the following question: can Machine Learning (ML) help designers of microprocessor softcores implemented onto SRAM-based FPGAs at detecting HTHs introduced by the employed CAD tool during the generation of the bitstream? We present a comparative analysis of the ability of several ML models at detecting the presence of HTHs in the bitstream by exploiting a previously performed characterization of the microprocessor softcore and an associated ML training. An experimental analysis has been carried out targeting the IBEX RISC-V microprocessor running a set of benchmark programs. A detailed comparison of multiple ML models is conducted, showing that many of them achieve accuracy above 98\%, and κ values above 0.97. By identifying the most effective ML models and the best features to be employed, this paper lays the foundation for the integration of a ML-based bitstream verification flow.},
language = {en},
urldate = {2022-10-09},
journal = {Journal of Systems Architecture},
author = {Palumbo, Alessandro and Cassano, Luca and Luzzi, Bruno and Hernández, José Alberto and Reviriego, Pedro and Bianchi, Giuseppe and Ottavi, Marco},
month = jul,
year = {2022},
keywords = {\#broken, CAD, Hardware Trojans, Hardware security, Machine learning, Microprocessors, RISC-V, SRAM-based FPGA},
pages = {102543},
}
Downloads: 0
{"_id":"wwjvWbpqAiDvPCDgJ","bibbaseid":"palumbo-cassano-luzzi-hernndez-reviriego-bianchi-ottavi-isyourfpgabitstreamhardwaretrojanfreemachinelearningcanprovideananswer-2022","author_short":["Palumbo, A.","Cassano, L.","Luzzi, B.","Hernández, J. A.","Reviriego, P.","Bianchi, G.","Ottavi, M."],"bibdata":{"bibtype":"article","type":"article","title":"Is your FPGA bitstream Hardware Trojan-free? Machine learning can provide an answer","volume":"128","issn":"1383-7621","shorttitle":"Is your FPGA bitstream Hardware Trojan-free?","url":"https://www.sciencedirect.com/science/article/pii/S1383762122001023","doi":"10.1016/j.sysarc.2022.102543","abstract":"Software exploitable Hardware Trojan Horses (HTHs) inserted into commercial CPUs allow the attacker to run his/her own software or to gain unauthorized privileges. Recently a novel menace raised: HTHs inserted by CAD tools. A consequence of such scenario is that HTHs must be considered a serious threat not only by academy but also by industry. In this paper we try to answer to the following question: can Machine Learning (ML) help designers of microprocessor softcores implemented onto SRAM-based FPGAs at detecting HTHs introduced by the employed CAD tool during the generation of the bitstream? We present a comparative analysis of the ability of several ML models at detecting the presence of HTHs in the bitstream by exploiting a previously performed characterization of the microprocessor softcore and an associated ML training. An experimental analysis has been carried out targeting the IBEX RISC-V microprocessor running a set of benchmark programs. A detailed comparison of multiple ML models is conducted, showing that many of them achieve accuracy above 98%, and κ values above 0.97. By identifying the most effective ML models and the best features to be employed, this paper lays the foundation for the integration of a ML-based bitstream verification flow.","language":"en","urldate":"2022-10-09","journal":"Journal of Systems Architecture","author":[{"propositions":[],"lastnames":["Palumbo"],"firstnames":["Alessandro"],"suffixes":[]},{"propositions":[],"lastnames":["Cassano"],"firstnames":["Luca"],"suffixes":[]},{"propositions":[],"lastnames":["Luzzi"],"firstnames":["Bruno"],"suffixes":[]},{"propositions":[],"lastnames":["Hernández"],"firstnames":["José","Alberto"],"suffixes":[]},{"propositions":[],"lastnames":["Reviriego"],"firstnames":["Pedro"],"suffixes":[]},{"propositions":[],"lastnames":["Bianchi"],"firstnames":["Giuseppe"],"suffixes":[]},{"propositions":[],"lastnames":["Ottavi"],"firstnames":["Marco"],"suffixes":[]}],"month":"July","year":"2022","keywords":"#broken, CAD, Hardware Trojans, Hardware security, Machine learning, Microprocessors, RISC-V, SRAM-based FPGA","pages":"102543","bibtex":"@article{palumbo_is_2022,\n\ttitle = {Is your {FPGA} bitstream {Hardware} {Trojan}-free? {Machine} learning can provide an answer},\n\tvolume = {128},\n\tissn = {1383-7621},\n\tshorttitle = {Is your {FPGA} bitstream {Hardware} {Trojan}-free?},\n\turl = {https://www.sciencedirect.com/science/article/pii/S1383762122001023},\n\tdoi = {10.1016/j.sysarc.2022.102543},\n\tabstract = {Software exploitable Hardware Trojan Horses (HTHs) inserted into commercial CPUs allow the attacker to run his/her own software or to gain unauthorized privileges. Recently a novel menace raised: HTHs inserted by CAD tools. A consequence of such scenario is that HTHs must be considered a serious threat not only by academy but also by industry. In this paper we try to answer to the following question: can Machine Learning (ML) help designers of microprocessor softcores implemented onto SRAM-based FPGAs at detecting HTHs introduced by the employed CAD tool during the generation of the bitstream? We present a comparative analysis of the ability of several ML models at detecting the presence of HTHs in the bitstream by exploiting a previously performed characterization of the microprocessor softcore and an associated ML training. An experimental analysis has been carried out targeting the IBEX RISC-V microprocessor running a set of benchmark programs. A detailed comparison of multiple ML models is conducted, showing that many of them achieve accuracy above 98\\%, and κ values above 0.97. By identifying the most effective ML models and the best features to be employed, this paper lays the foundation for the integration of a ML-based bitstream verification flow.},\n\tlanguage = {en},\n\turldate = {2022-10-09},\n\tjournal = {Journal of Systems Architecture},\n\tauthor = {Palumbo, Alessandro and Cassano, Luca and Luzzi, Bruno and Hernández, José Alberto and Reviriego, Pedro and Bianchi, Giuseppe and Ottavi, Marco},\n\tmonth = jul,\n\tyear = {2022},\n\tkeywords = {\\#broken, CAD, Hardware Trojans, Hardware security, Machine learning, Microprocessors, RISC-V, SRAM-based FPGA},\n\tpages = {102543},\n}\n\n\n\n","author_short":["Palumbo, A.","Cassano, L.","Luzzi, B.","Hernández, J. A.","Reviriego, P.","Bianchi, G.","Ottavi, M."],"key":"palumbo_is_2022","id":"palumbo_is_2022","bibbaseid":"palumbo-cassano-luzzi-hernndez-reviriego-bianchi-ottavi-isyourfpgabitstreamhardwaretrojanfreemachinelearningcanprovideananswer-2022","role":"author","urls":{"Paper":"https://www.sciencedirect.com/science/article/pii/S1383762122001023"},"keyword":["#broken","CAD","Hardware Trojans","Hardware security","Machine learning","Microprocessors","RISC-V","SRAM-based FPGA"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://bibbase.org/zotero/bxt101","dataSources":["Wsv2bQ4jPuc7qme8R"],"keywords":["#broken","cad","hardware trojans","hardware security","machine learning","microprocessors","risc-v","sram-based fpga"],"search_terms":["fpga","bitstream","hardware","trojan","free","machine","learning","provide","answer","palumbo","cassano","luzzi","hernández","reviriego","bianchi","ottavi"],"title":"Is your FPGA bitstream Hardware Trojan-free? Machine learning can provide an answer","year":2022}