VSE ECE

Flexible Open-source workBench fOr Side-channel analysis (FOBOS)

Side-channel analysis attacks pose a grave threat to implementations of cryptographic algorithms. FOBOS, loosely named after the Greek god Phobos (Φóβος), is an "acquisition to analysis" solution which includes all necessary software to control the device under test (attack) (DUT), trigger the oscilloscope, obtain the measurements and analyze them using several power analysis techniques. FOBOS mainly targets FPGAs as DUTs.

FOBOS 2 Setup
FOBOS 2 Setup with NewAE Artix 7 Target

Features

  • Complete solution useful for education.
  • De-couples Control from Device under Test (DUT).
  • Allows use of inexpensive FPGA boards.
  • Modular software, allows for easy adaptation for new boards, oscilloscopes.
  • Extensible by the user to include
    • new attack scenarios and
    • new attack models.

Highlights

FOBOS 2 has improved DUT communication and supports fast USB3 Picoscope leading to a total speed improvement over FOBOS 1 of 30 times.

SCA lets you recover the secret key. FOBOS supports the following methods: SPA, DPA, CPA.

Test Vector Leakage Assessment lets you know if your implementation is leaking any information. FOBOS supports Welch's T-Test and the Χ2-Test.

FOBOS 2 Features

Acquisition

  • Uses Basys 3 or optional Nexys A7 as control board.
  • Tested with Rigol 1000z, Agilent DSO6054A, Picoscope 5000 Series.
  • VHDL wrapper for DUT w/ support for CAESAR and LWC HW APIs.
  • Control board provides clock to DUT, no external clock generator required.

Analysis

  • Correlation Power Analysis
  • Test vector leakage assessment (TVLA) using T-Test and Χ2-Test.
  • Profiler correlates DUT clock cycles to TVLA leakage points.
  • Power Consumption measurement (with XBP)

Related Publications