Paper 2023/1441 Original: eprint.iacr.org/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.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2023-09-21: last updated
2023-09-21: published
Short URL
https://ia.cr/2023/1441
License
https://creativecommons.org/licenses/by-sa/4.0/

BibTeX

@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}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.