Master's Thesis

Software-based power side-channel attack automation

Diogo Medeiros Merklinger — 2023

Key information

Authors:

Diogo Medeiros Merklinger (Diogo Medeiros Merklinger)

Supervisors:

Aleksandar Ilic (Aleksandar Ilic); Ricardo Jorge Fernandes Chaves (Ricardo Jorge Fernandes Chaves)

Published in

June 21, 2023

Abstract

Este trabalho investiga o processo de automação de \textit{Side-Channel Attacks} de análise de potência, introduzindo uma ferramenta que ajusta os parâmetros necessários dinamicamente, de maneira a que a chave secreta possa ser extraída mesmo quando as características do sistema são alteradas. O ataque pode ser feito remotamente devido à existência de registos de consumo de energia na maioria dos processadores modernos, o que elimina a necessidade de acesso físico ao sistema, contudo introduzem o inconveniente de uma frequência de amostragem menor, o que exigirá maior processamento de informações e explorar os limites da plataforma para obter resultados mais precisos. Para combater este problema, vários testes e métricas foram implementados para que o sistema pudesse ser caracterizado automaticamente, aumentando as chances de recuperar a chave secreta correta. Esta pesquisa demonstra que um conjunto de parâmetros pode ser concebido e atualizado automaticamente para obter melhores resultados dependendo da configuração da máquina e das variações do algoritmo criptográfico, de modo a retirar esforço manual deste tipo de ataques. Os resultados obtidos durante a avaliação experimental também demonstram que é possível retirar informação crítica ao utilizar cenários simplificados, embora não fosse possível extrair a chave ao utilizar um algoritmo de criptografia completo utilizando os componentes da ferramenta desenvolvida. This study investigates the automation process of power analysis Side-Channel Attacks by proposing a tool that dynamically adjusts the parameters necessary so that the secret key can be extracted even when system characteristics are changed. These attacks can now be performed remotely due to the existence of energy consumption registers in most modern-day processors, which removes the need to have physical access to the target machine but comes with the drawback of a lower sampling frequency, which will require higher information processing and exploring the platform limits in order to obtain more accurate results. Various tests and metrics were put in place so the target machine could be characterized automatically, increasing the chances of retrieving the correct secret key. This research shows that a set of parameters can be devised and automatically updated for better results depending on the machine configuration and the cryptographic algorithm variations, removing manual efforts for this kind of attack. The results obtained from the experimental evaluation also demonstrate that leakage is present when utilizing simplified scenarios, but fails to extract the key when facing a complete encryption algorithm when using the developed tool's components.

Publication details

Authors in the community:

Supervisors of this institution:

RENATES TID

203834690

Degree Name

Mestrado em Engenharia Eletrotécnica e de Computadores

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Keywords

  • criptografia
  • análise de potência
  • \textit{Side-Channel Attack}
  • running-average power limit
  • automação
  • cryptography
  • power analysis
  • side-channel attacks
  • automation

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

November 1, 2024

Institution name

Instituto Superior Técnico