Skip to content

The development of a Verilog module designed to store encryption keys used in various encryption algorithms with LLM.

License

Notifications You must be signed in to change notification settings

Baungarten-CINVESTAV/HW_TI_Encryption

Repository files navigation

CSAW Competition: AI Hardware Attack Challenge

License UPRJ_CI

Author: Emilio Baungarten

HW Trojan Insertion in Encryption Algorithms with LLM’s

Objective:

The project encompasses the development of a Verilog module designed to store encryption keys used in various encryption algorithms. This module is engineered to support popular encryption algorithms, including Advanced Encryption Standard (AES), Data Encryption Standard (DES), and Secure Hash Algorithm (SHA). These algorithms play a pivotal role in securing sensitive data and communications across various applications.

One noteworthy aspect of this project is the utilization of a feature called Large Language Model (LLM) to modify the behavior of the Verilog module. This modification inserts a Trojan at the Register Transfer Level (RTL) level, changing the module's capabilities by enabling the storage of the last eight keys used in the previous encryption algorithms, AES, DES, and SHA. This adaptation empowers the module to offer key management, allowing third-person access and reusing recent encryption keys. As a result, it violates the efficiency and convenience of cryptographic operations, particularly in scenarios where frequent keys are necessary.

Documentation

Comprehensive documentation and a step-by-step explanation of the project's development can be accessed at the following URL:

https://hw-ti-encryption.readthedocs.io/en/latest/

About

The development of a Verilog module designed to store encryption keys used in various encryption algorithms with LLM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published