PreprintCited by 30Physical Unclonable Functions (PUFs) and Hardware SecurityEmbedded Systems Design TechniquesSecurity and Verification in Computing

DIVAS: An LLM-based End-to-End Framework for SoC Security Analysis and Policy-based Protection

Open access
Paria, Sudipta, Dasgupta, Aritra, Bhunia, Swarup·2023·arXiv

Abstract

Securing critical assets in a bus-based System-On-Chip (SoC) is imperative to mitigate potential vulnerabilities and prevent unauthorized access, ensuring the integrity, availability, and confidentiality of the system. Ensuring security throughout the SoC design process is a formidable task owing to the inherent intricacies in SoC designs and the dispersion of assets across diverse IPs. Large Language Models (LLMs), exemplified by ChatGPT (OpenAI) and BARD (Google), have showcased remarkable proficiency across various domains, including security vulnerability detection and prevention in SoC designs. In this work, we propose DIVAS, a novel framework that leverages the knowledge base of LLMs to identify security vulnerabilities from user-defined SoC specifications, map them to the relevant Common Weakness Enumerations (CWEs), followed by the generation of equivalent assertions, and employ security measures through enforcement of security policies. The proposed framework is implemented using multiple ChatGPT and BARD models, and their performance was analyzed while generating relevant CWEs from the SoC specifications provided. The experimental results obtained from open-source SoC benchmarks demonstrate the efficacy of our proposed framework.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2308.06932

Cites

0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • DIVAS automates vulnerability detection and policy enforcement, reducing manual effort and enhancing SoC security.

    “DIVAS automates the process of vulnerability detection and policy enforcement, reducing manual effort and enhancing SoC security.”

    From When LLMs meet cybersecurity: a systematic literature review (2025) · cites this paper as Paria et al. (2023)

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

The publisher hasn’t deposited this paper’s reference list.

Research works printed but not linked: 23

  1. G. Dessouky, D. Gens, P. Haney, G. Persyn, A. Kanuparthi, H. Khattri, J. M. Fung, A.-R. Sadeghi, and J. Rajendran, "HardFails: Insights into Software-Exploitable hardware bugs," in 28th USENIX Security Symposium (USENIX Security 19). Santa Clara, CA: USENIX Association, Aug. 2019, pp. 213-230. https://www.usenix.org/conference/ usenixsecurity19/presentation/dessouky
  2. M. M. Bidmeshki, Y. Zhang, M. Zaman, L. Zhou, and Y. Makris, "Hunting security bugs in soc designs: Lessons learned," IEEE Design & Test, vol. 38, no. 1, pp. 22-29, 2021.
  3. S. Sudhakrishnan, J. Madhavan, E. Jr, and J. Renau, "Under- standing bug fix patterns in Verilog," 05 2008, pp. 39-42.
  4. B. Ahmad, W.-K. Liu, L. Collini, H. Pearce, J. M. Fung, J. Valamehr, M. Bidmeshki, P. Sapiecha, S. Brown, K. Chakrabarty, R. Karri, and B. Tan, "Don't CWEAT It: Toward CWE Analysis Techniques in Early Stages of Hardware Design," in Proceedings of the 41st IEEE/ACM International Conference on Computer-Aided Design, ser. ICCAD '22. New York, NY, USA: Association for Computing Machinery, 2022. https://doi.org/10.1145/3508352.3549369 · DOI
  5. K. Nienhuis, A. Joannou, T. Bauereiss, A. Fox, M. Roe, B. Campbell, M. Naylor, R. M. Norton, S. W. Moore, P. G. Neumann, I. Stark, R. N. M. Watson, and P. Sewell, "Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation process," in 2020 IEEE Symposium on Security and Privacy (SP), 2020, pp. 1003- 1020.
  6. P. Budzianowski and I. Vulic, "Hello, It's GPT-2 -How Can I Help You? Towards the Use of Pretrained Language Models for Task-Oriented Dialogue Systems," CoRR, vol. abs/1907.05774, 2019. http://arxiv.org/abs/1907.05774 · arXiv
  7. R. Dale, "GPT-3: What's it good for?" Natural Language En- gineering, vol. 27, no. 1, p. 113-118, 2021.
  8. Y. Liu, M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettlemoyer, and V. Stoyanov, "RoBERTa: A Robustly Optimized BERT Pretraining Approach," CoRR, vol. abs/1907.11692, 2019. http://arxiv.org/abs/1907.11692 · arXiv
  9. J. B. Nielsen and V. Rijmen, Eds., Advances in Cryptology - EUROCRYPT 2018 -37th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Tel Aviv, Israel, April 29 -May 3, 2018 Proceedings, Part II, ser. Lecture Notes in Computer Science, vol. 10821. Springer, 2018. https://doi.org/10.1007/978-3-319-78375-8 · DOI
  10. J. He, X. Guo, T. Meade, R. G. Dutta, Y. Zhao, and Y. Jin, "Soc interconnection protection through formal verification," Integration, vol. 64, pp. 143-151, 2019. https://www. sciencedirect.com/science/article/pii/S016792601830289X
  11. S. Ray, N. Ghosh, R. J. Masti, A. Kanuparthi, and J. M. Fung, "Invited: Formal verification of security critical hardware- firmware interactions in commercial socs," in 2019 56th ACM/IEEE Design Automation Conference (DAC), 2019, pp. 1-4.
  12. J. Sepulveda, D. Aboul-Hassan, G. Sigl, B. Becker, and M. Sauer, "Towards the formal verification of security properties of a network-on-chip router," in 2018 IEEE 23rd European Test Symposium (ETS), 2018, pp. 1-6.
  13. A. Ardeshiricham, W. Hu, J. Marxen, and R. Kastner, "Register transfer level information flow tracking for provably secure hardware design," in Design, Automation & Test in Europe Conference & Exhibition (DATE), 2017, 2017, pp. 1691-1696.
  14. W. Hu, B. Mao, J. Oberg, and R. Kastner, "Detecting hardware trojans with gate-level information-flow tracking," Computer, vol. 49, no. 8, p. 44-52, aug 2016. https: //doi.org/10.1109/MC.2016.225 · DOI
  15. D. Zhang, Y. Wang, G. Suh, and A. Myers, "A hardware design language for timing-sensitive information-flow security," ACM SIGPLAN Notices, vol. 50, pp. 503-516, 05 2015.
  16. S. K. Muduli, G. Takhar, and P. Subramanyan, "Hyperfuzzing for soc security validation," in Proceedings of the 39th International Conference on Computer-Aided Design, ser. ICCAD '20. New York, NY, USA: Association for Computing Machinery, 2020. https://doi.org/10.1145/3400302.3415709 · DOI
  17. T. Trippel, K. G. Shin, A. Chernyakhovsky, G. Kelly, D. Rizzo, and M. Hicks, "Fuzzing hardware like software," CoRR, vol. abs/2102.02308, 2021. https://arxiv.org/abs/2102.02308 · arXiv
  18. R. Kande, A. Crump, G. Persyn, P. Jauernig, A.-R. Sadeghi, A. Tyagi, and J. Rajendran, "TheHuzz: Instruction fuzzing of processors using Golden-Reference models for finding Software-Exploitable vulnerabilities," in 31st USENIX Security Symposium (USENIX Security 22). Boston, MA: USENIX Association, Aug. 2022, pp. 3219-3236. https://www.usenix. org/conference/usenixsecurity22/presentation/kande
  19. M. Hicks, C. Sturton, S. T. King, and J. M. Smith, "Specs: A lightweight runtime mechanism for protecting software from security-critical processor bugs," in Proceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems, ser. ASPLOS '15. New York, NY, USA: Association for Computing Machinery, 2015, p. 517-529. https://doi.org/10. 1145/2694344.2694366 · DOI
  20. M. Mushtaq, J. Bricq, M. K. Bhatti, A. Akram, V. Lapotre, G. Gogniat, and P. Benoit, "Whisper: A tool for run-time detection of side-channel attacks," IEEE Access, vol. 8, pp. 83 871-83 900, 2020.
  21. S. R. Sarangi, A. Tiwari, and J. Torrellas, "Phoenix: Detecting and recovering from permanent processor design bugs with programmable hardware," in 39th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO-39 2006), 9-13 December 2006, Orlando, Florida, USA. IEEE Computer Society, 2006, pp. 26-37. https://doi.org/10.1109/ MICRO.2006.41 · DOI
  22. F. Farahmandi, Y. Huang, and P. Mishra, System-on-Chip Security: Validation and Verification. Springer, 2019.
  23. P. Bhamidipati, S. M. Achyutha, and R. Vemuri, "Security Analysis of a System-on-Chip Using Assertion-Based Verifi- cation," in 2021 IEEE International Midwest Symposium on Circuits and Systems (MWSCAS), 2021, pp. 826-831.

Cited by

Sorted by citations

Authors
Paria, S., Dasgupta, A., & Bhunia, S.
Affiliations
University of Florida (US)
Venue
arXiv
Publisher
arXiv
Published
2023
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4385849010
Cited by
17
References
0
Citations by year
2026: 1 · 2025: 7 · 2024: 9
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Hardware and Architecture › Physical Unclonable Functions (PUFs) and Hardware Security
  • Physical Sciences › Computer Science › Hardware and Architecture › Embedded Systems Design Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Security and Verification in Computing
Keywords
system-on-chip security, vulnerability detection, large language models, security policy enforcement, assertion generation, ChatGPT, bards

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review