Empowering Hardware Security with LLM: The Development of a Vulnerable Hardware Database. Saha, D., Yahyaei, K., Kumar Saha, S., Tehranipoor, M., & Farahmandi, F. In 2024 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), pages 233–243, May, 2024. ISSN: 2765-8406
Paper doi abstract bibtex The scarcity of comprehensive databases and bench-marks in hardware design specifically tailored for security tasks is a significant challenge in the community. Such databases are crucial for developing machine learning-based methods and benchmarking, providing a foundation for evaluating and improving hardware security solutions. However, manually creating these extensive datasets is impractical due to the significant time and effort required. Given the proficiency of large language models (LLM) in natural language processing, coding, and advanced reasoning tasks, using LLM as an artificial intelligence (AI) agent presents a viable option to efficiently create such extensive datasets. In this light, this paper introduces Vul-FSM, a database of 10,000 vulnerable finite state machine (FSM) designs incorporating 16 distinct security weaknesses and vulnerabilities generated using the proposed SecRT-Llmframework. The framework combines the in-context learning capability of LLM, the guidance of developed prompting strategies, and the scrutiny of fidelity-check to not only insert but also detect hardware vulnerabilities and weaknesses. To demonstrate the efficacy of SecRT-LLM, we present an exhaustive analysis, highlighting the proficiency of GPT models in vulnerability insertion, detection, and mitigation. Our proposed SecRT-LLM framework, using gpt-3.5-turbo, demonstrates strong effectiveness, achieving macroaverage pass rates of 81.98% and 80.30% on the first attempt and 97.37% and 99.07% within five attempts for vulnerability insertion and detection, respectively.
@inproceedings{saha_empowering_2024,
title = {Empowering {Hardware} {Security} with {LLM}: {The} {Development} of a {Vulnerable} {Hardware} {Database}},
shorttitle = {Empowering {Hardware} {Security} with {LLM}},
url = {https://ieeexplore-ieee-org.ezproxy.lib.ucalgary.ca/document/10545393/?arnumber=10545393},
doi = {10.1109/HOST55342.2024.10545393},
abstract = {The scarcity of comprehensive databases and bench-marks in hardware design specifically tailored for security tasks is a significant challenge in the community. Such databases are crucial for developing machine learning-based methods and benchmarking, providing a foundation for evaluating and improving hardware security solutions. However, manually creating these extensive datasets is impractical due to the significant time and effort required. Given the proficiency of large language models (LLM) in natural language processing, coding, and advanced reasoning tasks, using LLM as an artificial intelligence (AI) agent presents a viable option to efficiently create such extensive datasets. In this light, this paper introduces Vul-FSM, a database of 10,000 vulnerable finite state machine (FSM) designs incorporating 16 distinct security weaknesses and vulnerabilities generated using the proposed SecRT-Llmframework. The framework combines the in-context learning capability of LLM, the guidance of developed prompting strategies, and the scrutiny of fidelity-check to not only insert but also detect hardware vulnerabilities and weaknesses. To demonstrate the efficacy of SecRT-LLM, we present an exhaustive analysis, highlighting the proficiency of GPT models in vulnerability insertion, detection, and mitigation. Our proposed SecRT-LLM framework, using gpt-3.5-turbo, demonstrates strong effectiveness, achieving macroaverage pass rates of 81.98\% and 80.30\% on the first attempt and 97.37\% and 99.07\% within five attempts for vulnerability insertion and detection, respectively.},
urldate = {2024-08-12},
booktitle = {2024 {IEEE} {International} {Symposium} on {Hardware} {Oriented} {Security} and {Trust} ({HOST})},
author = {Saha, Dipayan and Yahyaei, Katayoon and Kumar Saha, Sujan and Tehranipoor, Mark and Farahmandi, Farimah},
month = may,
year = {2024},
note = {ISSN: 2765-8406},
keywords = {\#nosource, Analytical models, ChatGPT, Cognition, Common Weakness Enumeration (CWE), Databases, Hardware Security, Hardware security, Instruments, Large Language Model, Learning systems, Linguistics, RTL design, Vulnerability Analysis},
pages = {233--243},
}
Downloads: 0
{"_id":"ZFeipGrW8JskjeAgP","bibbaseid":"saha-yahyaei-kumarsaha-tehranipoor-farahmandi-empoweringhardwaresecuritywithllmthedevelopmentofavulnerablehardwaredatabase-2024","author_short":["Saha, D.","Yahyaei, K.","Kumar Saha, S.","Tehranipoor, M.","Farahmandi, F."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Empowering Hardware Security with LLM: The Development of a Vulnerable Hardware Database","shorttitle":"Empowering Hardware Security with LLM","url":"https://ieeexplore-ieee-org.ezproxy.lib.ucalgary.ca/document/10545393/?arnumber=10545393","doi":"10.1109/HOST55342.2024.10545393","abstract":"The scarcity of comprehensive databases and bench-marks in hardware design specifically tailored for security tasks is a significant challenge in the community. Such databases are crucial for developing machine learning-based methods and benchmarking, providing a foundation for evaluating and improving hardware security solutions. However, manually creating these extensive datasets is impractical due to the significant time and effort required. Given the proficiency of large language models (LLM) in natural language processing, coding, and advanced reasoning tasks, using LLM as an artificial intelligence (AI) agent presents a viable option to efficiently create such extensive datasets. In this light, this paper introduces Vul-FSM, a database of 10,000 vulnerable finite state machine (FSM) designs incorporating 16 distinct security weaknesses and vulnerabilities generated using the proposed SecRT-Llmframework. The framework combines the in-context learning capability of LLM, the guidance of developed prompting strategies, and the scrutiny of fidelity-check to not only insert but also detect hardware vulnerabilities and weaknesses. To demonstrate the efficacy of SecRT-LLM, we present an exhaustive analysis, highlighting the proficiency of GPT models in vulnerability insertion, detection, and mitigation. Our proposed SecRT-LLM framework, using gpt-3.5-turbo, demonstrates strong effectiveness, achieving macroaverage pass rates of 81.98% and 80.30% on the first attempt and 97.37% and 99.07% within five attempts for vulnerability insertion and detection, respectively.","urldate":"2024-08-12","booktitle":"2024 IEEE International Symposium on Hardware Oriented Security and Trust (HOST)","author":[{"propositions":[],"lastnames":["Saha"],"firstnames":["Dipayan"],"suffixes":[]},{"propositions":[],"lastnames":["Yahyaei"],"firstnames":["Katayoon"],"suffixes":[]},{"propositions":[],"lastnames":["Kumar","Saha"],"firstnames":["Sujan"],"suffixes":[]},{"propositions":[],"lastnames":["Tehranipoor"],"firstnames":["Mark"],"suffixes":[]},{"propositions":[],"lastnames":["Farahmandi"],"firstnames":["Farimah"],"suffixes":[]}],"month":"May","year":"2024","note":"ISSN: 2765-8406","keywords":"#nosource, Analytical models, ChatGPT, Cognition, Common Weakness Enumeration (CWE), Databases, Hardware Security, Hardware security, Instruments, Large Language Model, Learning systems, Linguistics, RTL design, Vulnerability Analysis","pages":"233–243","bibtex":"@inproceedings{saha_empowering_2024,\n\ttitle = {Empowering {Hardware} {Security} with {LLM}: {The} {Development} of a {Vulnerable} {Hardware} {Database}},\n\tshorttitle = {Empowering {Hardware} {Security} with {LLM}},\n\turl = {https://ieeexplore-ieee-org.ezproxy.lib.ucalgary.ca/document/10545393/?arnumber=10545393},\n\tdoi = {10.1109/HOST55342.2024.10545393},\n\tabstract = {The scarcity of comprehensive databases and bench-marks in hardware design specifically tailored for security tasks is a significant challenge in the community. Such databases are crucial for developing machine learning-based methods and benchmarking, providing a foundation for evaluating and improving hardware security solutions. However, manually creating these extensive datasets is impractical due to the significant time and effort required. Given the proficiency of large language models (LLM) in natural language processing, coding, and advanced reasoning tasks, using LLM as an artificial intelligence (AI) agent presents a viable option to efficiently create such extensive datasets. In this light, this paper introduces Vul-FSM, a database of 10,000 vulnerable finite state machine (FSM) designs incorporating 16 distinct security weaknesses and vulnerabilities generated using the proposed SecRT-Llmframework. The framework combines the in-context learning capability of LLM, the guidance of developed prompting strategies, and the scrutiny of fidelity-check to not only insert but also detect hardware vulnerabilities and weaknesses. To demonstrate the efficacy of SecRT-LLM, we present an exhaustive analysis, highlighting the proficiency of GPT models in vulnerability insertion, detection, and mitigation. Our proposed SecRT-LLM framework, using gpt-3.5-turbo, demonstrates strong effectiveness, achieving macroaverage pass rates of 81.98\\% and 80.30\\% on the first attempt and 97.37\\% and 99.07\\% within five attempts for vulnerability insertion and detection, respectively.},\n\turldate = {2024-08-12},\n\tbooktitle = {2024 {IEEE} {International} {Symposium} on {Hardware} {Oriented} {Security} and {Trust} ({HOST})},\n\tauthor = {Saha, Dipayan and Yahyaei, Katayoon and Kumar Saha, Sujan and Tehranipoor, Mark and Farahmandi, Farimah},\n\tmonth = may,\n\tyear = {2024},\n\tnote = {ISSN: 2765-8406},\n\tkeywords = {\\#nosource, Analytical models, ChatGPT, Cognition, Common Weakness Enumeration (CWE), Databases, Hardware Security, Hardware security, Instruments, Large Language Model, Learning systems, Linguistics, RTL design, Vulnerability Analysis},\n\tpages = {233--243},\n}\n\n\n\n","author_short":["Saha, D.","Yahyaei, K.","Kumar Saha, S.","Tehranipoor, M.","Farahmandi, F."],"key":"saha_empowering_2024","id":"saha_empowering_2024","bibbaseid":"saha-yahyaei-kumarsaha-tehranipoor-farahmandi-empoweringhardwaresecuritywithllmthedevelopmentofavulnerablehardwaredatabase-2024","role":"author","urls":{"Paper":"https://ieeexplore-ieee-org.ezproxy.lib.ucalgary.ca/document/10545393/?arnumber=10545393"},"keyword":["#nosource","Analytical models","ChatGPT","Cognition","Common Weakness Enumeration (CWE)","Databases","Hardware Security","Hardware security","Instruments","Large Language Model","Learning systems","Linguistics","RTL design","Vulnerability Analysis"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"inproceedings","biburl":"https://bibbase.org/zotero/bxt101","dataSources":["Wsv2bQ4jPuc7qme8R"],"keywords":["#nosource","analytical models","chatgpt","cognition","common weakness enumeration (cwe)","databases","hardware security","hardware security","instruments","large language model","learning systems","linguistics","rtl design","vulnerability analysis"],"search_terms":["empowering","hardware","security","llm","development","vulnerable","hardware","database","saha","yahyaei","kumar saha","tehranipoor","farahmandi"],"title":"Empowering Hardware Security with LLM: The Development of a Vulnerable Hardware Database","year":2024}