Power Analysis Over JTAG Ports: Hidden Debug Dangers - Block Side-Channel Analysis Attacks
Circuit Cellar|September 2024
Small changes in the phase of clock signals can encode power leakages. An attacker can use standard interfaces such as the JTAG port to drive clocks across targets, using them as measurement techniques for sidechannel analysis attacks despite limited physical access. This article demonstrates how you can test devices for vulnerability and how to modify devices to prevent attacks.
Colin O'Flynn
Power Analysis Over JTAG Ports: Hidden Debug Dangers - Block Side-Channel Analysis Attacks

When I've presented side-channel power analysis attacks, I always use an oscilloscope or ADC that measures analog voltage variations. This is logical because side-channel power analysis attacks exploit the small changes in device power when it executes different instructions or even processes different data. This made it seem like a purely analog attack. Attackers need measurement access, such as a shunt resistor or electromagnetic probe. But what if attackers could use a purely digital interface, one that is already on your board, like the JTAG interface?

Things you always thought were safe might have hidden dangers. In this case, I will show you how a a side-channel power analysis attack occurs through the JTAG interface. But first, the background.

Back in the March 2024 issue of Circuit Cellar (Issue 404, "It's About Time: When Timing Attacks Reveal Power Usage), I recreated the work of a paper presented at CHES 2023 titled "JitSCA: Jitter-based Side-Channel Analysis in Picoscale Resolution", by Kai Schoos, Sergej Meschkov, Mehdi B. Tahoori, and Dennis R. E. Gnad.[1] In this article, I will present an extension of my talk at CHES 2024. If you want to see the full article entitled "Phase Modulation Side Channels: Jittery JTAG for On-Chip Voltage Measurements"[2] use a link to both the original paper and my extension available in article resources.

PHASE MODULATION LEAKAGE

In my March 2024 column, I recreated the JitSCA paper to demonstrate how small changes in the phase of a clock directly leak a power trace. In the previous column, I used a basic voltage divider; here, I'm using an RF mixer component. While RF mixers are normally used to create a signal based on frequency differences, they will also give an output related to a phase difference of two signals.

Esta historia es de la edición September 2024 de Circuit Cellar.

Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.

Esta historia es de la edición September 2024 de Circuit Cellar.

Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.

MÁS HISTORIAS DE CIRCUIT CELLARVer todo
Catching Lightning in an IMU
Circuit Cellar

Catching Lightning in an IMU

Simulating Diffusion-Limited Aggregation with a Raspberry PI RP2040 MCU

time-read
10+ minutos  |
November 2024
Build an Interactive Kinetic Wall
Circuit Cellar

Build an Interactive Kinetic Wall

Using a Raspberry Pi 4 and Kinect V1 Camera

time-read
10 minutos  |
October 2024
Learn to Program MCUs with uLISP
Circuit Cellar

Learn to Program MCUs with uLISP

Part 1: Crash Course Offers Insight Into Pioneering Language

time-read
10+ minutos  |
October 2024
Intelligent Automotive Battery Sensor
Circuit Cellar

Intelligent Automotive Battery Sensor

Shunt Resistors and Evaluation Electronics Offer Two Key Components

time-read
4 minutos  |
October 2024
Understanding Mesh Circuits How to Use and Calculate Them
Circuit Cellar

Understanding Mesh Circuits How to Use and Calculate Them

Microcontrollers and other digital systems concern mostly ones and zeros but when connections to the real word are needed it can get messy. Stuart writes about mesh analysis and how mesh circuits can be calculated and applied in practical scenarios.

time-read
10+ minutos  |
October 2024
Datasheet: Very Cool Micro Machines
Circuit Cellar

Datasheet: Very Cool Micro Machines

Smartphone Cooling Rounds Out Parade of Advanced MEMS

time-read
2 minutos  |
October 2024
Improving Patient Outcomes
Circuit Cellar

Improving Patient Outcomes

Device Technology Advances Medical Practices

time-read
10+ minutos  |
October 2024
Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing
Circuit Cellar

Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing

GPU silicon and cloud computing infrastructure are too costly for mass markets devices like refrigerators and washers. By deploying compute resources only to the necessary parts of AI inference, Sparse AI allows product designers to practically incorporate new AI features like natural voice interfaces into their consumer offerings without breaking the bank or electric bill surprises.

time-read
5 minutos  |
September 2024
Thin Film Transistor LED Displays - Visual I/O
Circuit Cellar

Thin Film Transistor LED Displays - Visual I/O

To add a resistive touchscreen on top of a TFT display, Jeff explores the technology offerings and libraries needed to accomplish his task. Calibrating the touchscreen's computed coordinates with the actual pixel coordinates of the display proved difficult with a modular framework but separating functions allows easy expansion.

time-read
9 minutos  |
September 2024
Mobile APP Development with React Native
Circuit Cellar

Mobile APP Development with React Native

This month, Bob continues his series on mobile app development from an embedded designer's perspective. He programs a React Native app and he offers guidelines for picking a tutorial for React Native. He further explores how it handles concurrency and asynchronous programming. Bob expected a few nuances during the process but to say there were more than a few would be an understatement.

time-read
9 minutos  |
September 2024