Skip to main content
QUICK REVIEW

[논문 리뷰] DIVAS: An LLM-based End-to-End Framework for SoC Security Analysis and Policy-based Protection

Sudipta Paria, Aritra Dasgupta|arXiv (Cornell University)|2023. 08. 14.
Physical Unclonable Functions (PUFs) and Hardware SecurityComputer Science인용 수 14
한 줄 요약

DIVAS는 SoC 명세에서 CWE를 식별하고, SVAs를 생성하며, 이를 RTL 수준 구성으로 시행되는 보안 정책으로 변환하는 엔드투엔드 프레임워크를 제시하고, 공개 소스 SoC 벤치마크에서 검증된다.

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.

연구 동기 및 목표

  • SoC 명세에서 관련 하드웨어 CWE를 LLM 지식 기반으로 자동 식별
  • 식별된 CWE를 버스 및 IP 수준 취약점용으로 선별된 Extensive CWE 데이터베이스와 매핑
  • 발견된 CWE에 대한 SystemVerilog Assertions (SVAs) 생성 및 검증
  • 활성화된 SVAs를 3-튜플 보안 정책(<predicate, timing, action>)으로 번역하고 RTL 코드의 중앙 보안 모듈 또는 최상위 버스 래퍼를 통해 시행

제안 방법

  • JSON 형태의 사용자 제공 SoC 명세로부터 설계 명세 기반 질의 생성
  • 질의를 후보 CWE로 매핑하고 코사인 유사도 및 구조적 검사를 사용해 Extensive CWE DB로 필터링하기 위해 LLM(ChatGPT 또는 BARD) 활용
  • 관련 CWE 및 IP/버스 맥락에 대해 각 CWE에 대한 SVAs를 생성하고 시뮬레이션(Synopsys VCS 등)을 통해 검증
  • 활성화된 SVAs를 3-튜플 보안 정책(<predicate, timing, action>)으로 변환하고 중앙 집중식 보안 모듈 또는 RTL 코드로 구현하여 시행
  • 정책 시행을 버스-레벨 및 IP-레벨 인터페이스 전반에 도입할 수 있는 워크플로우를 제공하고, 정책 생성을 위한 DiSPEL 도구를 활용해 시행을 지원

실험 결과

연구 질문

  • RQ1일반적인 SoC 명세 및 가정에서 LLM이 관련 하드웨어 CWE를 얼마나 효과적으로 식별할 수 있는가?
  • RQ2확장 CWE 데이터베이스를 사용하는 필터링 메커니즘이 주어진 SoC 맥락에 관련된 버스- 및 IP-레벨 CWE를 안정적으로 선택할 수 있는가?
  • RQ3LLM이 생성한 SVAs가 전 silicon 전제 시뮬레이션 및 형식 검증에 대해 구문상 올바르고 검증 가능해야 하는가?
  • RQ4주장된 보안 요구사항을 실행 가능한 3-튜플 보안 정책으로 번역하고 RTL 수준에서 시행할 수 있는가?
  • RQ5자동화 및 시행 품질 측면에서 공개 소스 SoC 벤치마크에 대한 DIVAS의 전반적인 실행 가능성은 어떠한가?

주요 결과

  • DIVAS는 SoC 명세에서 CWE 식별을 LLM과 Extensive CWE DB에 대한 필터링 단계로 자동화한다.
  • 필터링 알고리즘은 코사인 유사도를 사용하여 LLM이 생성한 CWE를 관련 HW/SOC CWE의 선별 집합에 매핑한다.
  • LLMs는 식별된 CWE에 대해 SVAs를 생성할 수 있으며, 이는 시뮬레이션 도구를 통해 검증된다.
  • SVAs는 3-튜플 보안 정책으로 변환되어 중앙 집중식 모듈 또는 RTL 구현이 있는 버스 수준 래퍼를 통해 시행된다.
  • 프레임워크는 오픈 소스 SoC 벤치마크에서 효과성을 보여주며 분석, 어설션 생성, 정책 시행의 엔드-투-엔드 흐름을 검증한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.