DF-SCA: Dynamic Frequency Side Channel Attacks are Practical

Debopriya Roy Dipta, Berk Gulmezoglu
6/27/2022
cs.CR

Official code: Diptakuet/DF-SCA-Dynamic-Frequency-Side-Channel-Attacks-are-Practical (6 stars, Python, last commit 2022-10-04).

Abstract

The arm race between hardware security engineers and side-channel researchers has become more competitive with more sophisticated attacks and defenses in the last decade. While modern hardware features improve the system performance significantly, they may create new attack surfaces for malicious people to extract sensitive information about users without physical access to the victim device.

Show full abstract

Although many previously exploited hardware and OS features were patched by OS developers and chip vendors, any feature that is accessible from userspace applications can be exploited to perform software-based side-channel attacks. In this paper, we present DF-SCA, which is a software-based dynamic frequency side-channel attack on Linux and Android OS devices. We exploit unprivileged access to cpufreq interface that exposes real-time CPU core frequency values directly correlated with the system utilization, creating a reliable side-channel for attackers. We show that Dynamic Voltage and Frequency Scaling (DVFS) feature in modern systems can be utilized to perform website fingerprinting attacks for Google Chrome and Tor browsers on modern Intel, AMD, and ARM architectures. We further extend our analysis to a wide selection of scaling governors on Intel and AMD CPUs, verifying that all scaling governors provide enough information on the visited web page. Moreover, we extract properties of keystroke patterns on frequency readings, that leads to 95% accuracy to distinguish the keystrokes from other activities on Android phones. We leverage inter-keystroke timings of a user by training a k-th nearest neighbor model, which achieves 88% password recovery rate in the first guess on Bank of America application. Finally, we propose several countermeasures to mask the user activity to mitigate DF-SCA on Linux-based systems.

View on arXivView PDF

Code Implementations(1)

We present DF-SCA, which is a software-based dynamic frequency side-channel attack on Linux and Android OS devices. We show that Dynamic Voltage and Frequency Scaling (DVFS) feature in modern systems can be utilized to perform website fingerprinting attacks for Google Chrome and Tor browsers on modern Intel, AMD, and ARM architectures. Moreover, we extract properties of keystroke patterns on frequency readings, that leads to 95% accuracy to distinguish the keystrokes from other activities on Android phones.

62Python, ShellJun 27, 20224 years ago

Similar Papers

Cite this paper

@article{dipta2022dfsca,
  title  = {DF-SCA: Dynamic Frequency Side Channel Attacks are Practical},
  author = {Debopriya Roy Dipta and Berk Gulmezoglu},
  year   = {2022},
  eprint = {2206.13660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.13660}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.13660.svg)](https://codeofpaper.com/paper/2206.13660)

Discussion