Skip to content

5ky9uy/AGS--SEC--DEMO--2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

SCHEDULE

  • 24h remaining
  • Expected by July 28, 2024 (Extended to September, 2024)

DESCRIPTION

  • HDL-based IC-layer HW-trojan demonstration for C140.

COMPONENTS

  • 4-bit Digital Lock (implemented in Verilog, SystemVerilog, and vHDL for comparison)
  • Lock-bypassing HW-trojan injection (if trojan activates, then the lock bypasses key if submission has a '1' bit in the 1st position).
  • 3rd-party AES encryption (implemented in Verilog)
  • Encryption key-leaking HW-trojan injection (for a more advanced example)

TOOLS

  • Verilog
  • Pencil/Paper
  • Xilinx Vivado (on AWS Windows 11 Workspace intance)
  • EDA Playground (for prototyping and demonstration of wave analysis triggered by testbench)
  • Markdown (docs)
  • Pages (diagrams)

STEPS

  1. Handwrite original Digital Lock logic.
  2. Simplify Digital Lock logic using Karnaugh Map.
  3. Write original Digital Logic in Verilog, SystemVerilog, and vHDL.
  4. Demonstrate the HW-trojan in action by showing how it can leak the passkey to a connected peripheral device given a different input.
  5. Explain other advanced injection methods (e.g. using photoresistant ion-based doping mask phase of fabrication to sneakily increase required voltage thresholds between specified benign pre-existing or added circuits by creating vacancies for positive flow or adding electrons for negative flow, allowing the activation of the trojan by passing a custom voltage).
  6. Explain pre and post injection mitigations now and in the future (e.g. NVC Quantum Sensor for precise electromagnetic difference scanning).
  7. Demonstrate a more advanced info-leaking HW-trojan injection in AES cipher.

REFERENCES

Concepts

  1. https://ryancor.medium.com/hardware-trojans-under-a-microscope-bf542acbcc29

Implementation

  1. https://www.edaplayground.com/
  2. http://esd.cs.ucr.edu/labs/tutorial/
  3. https://caslab.csl.yale.edu/courses/EENG428/current/slides/eeng428-lecture-05-cloud-fpga-infrastructures.pdf
  4. https://aws.amazon.com/blogs/aws/developer-preview-ec2-instances-f1-with-programmable-hardware/

About

Extended to September, 2024.

Resources

Stars

Watchers

Forks

Packages

No packages published