Skip to content

Lefteris-B/SystemsGenesis_CSAW2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SystemsGenesis_CSAW2023

Welcome to the SystemsGenesis CSAW 2023 AI Hardware Attack Challenge repository!

Overview

This repository contains the digital designs created by the SystemsGenesys team for the CSAW 2023 AI Hardware Attack Challenge. The challenge focused on creating hardware-based malware using Large Language Models (LLMs), with ChatGPT4 as the chosen LLM.

Getting Started

If you'd like to explore our projects, please refer to the respective project folders for detailed instructions on how to use and test them.

Feel free to reach out to us if you have any questions!

Happy hacking!

Projects

We've developed three different hardware malware projects using SystemVerilog and various techniques:

  1. UART Peripheral Denial-of-Service (DoS) Malware

    • Location: Project Folder
    • Description: This project features a Denial-of-Service malware targeting a UART peripheral.
  2. Wishbone Bus Peripheral Denial-of-Service (DoS) Malware

    • Location: Project Folder
    • Description: This project showcases a Denial-of-Service malware designed for a Wishbone bus peripheral.
  3. Caravel Wishbone Bus Peripheral Denial-of-Service (DoS) Malware

    • Location: Project Folder
    • Description: This project showcases a Denial-of-Service malware designed for the SPI Wishbone back-door state machine.
  4. AES Encryption/Decryption IP Block Information Leakage Malware

    • Location: Project Folder
    • Description: In this project, we've created malware to leak sensitive information (key) from an AES encryption/decryption IP block.

Prompt Engineering Techniques

We utilized the Chain Of Thought (CoT) technique for prompt engineering and also employed the recipe and persona prompt pattern to interact with the LLM effectively.

More details about the techniques, prompts and any other details about the projects:

Verification and Testing

To ensure the functionality and security of our designs, we used EDAplayground for testing and verification.

Repository Structure

  • /ip: Contains any IP blocks used in reference for each project.
  • /rtl: Contains the SystemVerilog code for each project.
  • /test: Includes testbenches for validating project functionality.
  • /simulation: Stores simulation files.
  • /synthesis: For synthesis-related files.

License

All projects in this repository are open source under the Apache License.

Affiliation


Disclaimer: This repository is intended for educational and research purposes only. Malicious use of the provided designs is strictly prohibited.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors