{
  "id": "2022/563",
  "url": "https://opencryptology.org/2022/563",
  "original_url": "https://eprint.iacr.org/2022/563",
  "title": "Find the Bad Apples: An efficient method for perfect key recovery under imperfect SCA oracles – A case study of Kyber",
  "authors": [
    "Muyan Shen",
    "Chi Cheng",
    "Xiaohan Zhang",
    "Qian Guo",
    "Tao Jiang"
  ],
  "affiliations": null,
  "abstract": "Side-channel resilience is a crucial feature when assessing whether a post-quantum cryptographic proposal is sufficiently mature to be deployed. In this paper, we propose a generic and efficient adaptive approach to improve the sample complexity (i.e., the required number of traces) of plaintext-checking (PC) oracle-based side-channel attacks (SCAs), a major class of key recovery chosen-ciphertext SCAs on lattice-based key encapsulation mechanisms. This new approach is preferable when the constructed  PC oracle is imperfect, which is common in practice, and its basic idea is to design new detection codes that can determine erroneous positions in the initially recovered secret key. These secret entries are further corrected with a small number of additional traces.\nThis work benefits from the generality of PC oracle and thus is applicable to various schemes and implementations. We instantiated the proposed generic attack framework on Kyber512 and fully implemented this attack instance.  Through extensive computer simulations and also a real-world experiment with electromagnetic (EM) leakages from an ARM-Cortext-M4 platform, we demonstrated that the newly proposed attack could greatly improve the state-of-the-art in terms of the required number of traces. For instance, the new attack requires only 41% of the EM traces needed in a majority-voting attack in our experiments, where the raw oracle accuracy is fixed.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Find the Bad Apples: An efficient method for perfect key recovery under imperfect SCA oracles – A case study of Kyber” by Muyan Shen, Chi Cheng, Xiaohan Zhang, Qian Guo, Tao Jiang, Cryptology ePrint Archive, Paper 2022/563, https://eprint.iacr.org/2022/563. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-05-10T08:22:40Z",
    "updated": "2022-11-30T08:11:59Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/563.pdf",
    "sha256": "1a9fd1acee8f97f12f652d04dce9126f9c5ab1a18a854487f49c82a89023d638",
    "size": 3046003,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/563/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/563.pdf",
      "size": 3046003,
      "sha256": "1a9fd1acee8f97f12f652d04dce9126f9c5ab1a18a854487f49c82a89023d638",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/563/versions/20220510T083644Z.pdf",
      "captured_at": "2022-05-10T08:36:44Z",
      "label": "copy captured 2022-05-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220510083644id_/https://eprint.iacr.org/2022/563.pdf",
      "size": 2958142,
      "sha256": "5a8fa446c123ce33f1a6ad45a858f97ab6a4dd060274baa36b280dc8b85cba62",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250912194412id_/https://eprint.iacr.org/2022/563.pdf",
      "captured_at": "2025-09-12T19:44:12Z",
      "size": 3007624
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/563.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 3046003
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/563,\n      author = {Muyan Shen and Chi Cheng and Xiaohan Zhang and Qian Guo and Tao Jiang},\n      title = {Find the Bad Apples: An efficient method for perfect key recovery under imperfect SCA oracles – A case study of Kyber},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/563},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/563}\n}"
}
