Paper 2023/1441

Out of the Box Testing

Hubert Kario
Abstract

In this paper we analyse typical timing data that can be collected over loopback interface, in local, and in metropolitan area networks. We evaluate performance of few statistical test for detecting differences in timing of server responses. The evaluated tests include the popular Box test, as well as sign test, Wilcoxon signed-rank test, and paired sample t-test. We found that the Box test offers poor performance, as it's an incorrect test to use for the measurements we collected. Use of appropriate tests also allows for robust differentiation between much smaller differences than the existing literature would suggest. We were able to detect side channels of single-digit CPU cycles over regular gigabit Ethernet. Those alternative tests were also found to be robust against noise in production networks, allowing detection of side channel of just few nanoseconds with 6 network hops between test systems.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2023/1441,
      author = {Hubert Kario},
      title = {Out of the Box Testing},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1441},
      year = {2023},
      url = {https://eprint.iacr.org/2023/1441}
}
Category
Attacks and cryptanalysis
License
CC BY-SA
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy