{
  "id": "2021/611",
  "url": "https://opencryptology.org/2021/611",
  "original_url": "https://eprint.iacr.org/2021/611",
  "title": "Some Applications of Hamming Weight Correlations",
  "authors": [
    "Fatih Balli",
    "Andrea Caforio",
    "Subhadeep Banik"
  ],
  "affiliations": null,
  "abstract": "It is a well-known fact that the power consumption during certain\nstages of a cryptographic algorithm exhibits a strong correlation\nwith the Hamming Weight of its underlying variables. This phenomenon\nhas been widely exploited in the cryptographic literature in various\nattacks targeting a broad range of schemes such as block ciphers or public-key\ncryptosystems.\nA common way of breaking this correlation is through the inclusion of countermeasures involving additional randomness\ninto the computation in the form of hidden (undisclosed) component functions\nor masking strategies that complicate the inference of any sensitive information from the\ngathered power traces.\n\nIn this work, we revisit the tight correlation between the Hamming Weight\nand the observed power consumption of an algorithm and demonstrate,\nin the first part, a practical reverse-engineering attack of\nproprietary AES-like constructions with secret internal components\nlike the SubBytes, MixColumns and ShiftRows functions.\nThis approach is used in some\ncommercial products such as the Dynamic Encryption\npackage from the communication services provider Dencrypt as an extra layer of security.\nWe recover the encryption key alongside\nthe hidden substitution and permutation layer as well as the\nMixColumns matrix on both 8-bit and 32-bit architectures.\n\nIn a second effort, we shift our attention to a masked implementation\nof AES, specifically the secAES proposal put forward by the\nFrench National Cybersecurity Agency (ANSSI) that concisely\ncombines several side-channel countermeasure techniques. We show its\ninsecurity in a novel side-channel-assisted statistical key-recovery attack\nthat only necessitates a few hundreds of collected power traces.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Some Applications of Hamming Weight Correlations” by Fatih Balli, Andrea Caforio, Subhadeep Banik, Cryptology ePrint Archive, Paper 2021/611, https://eprint.iacr.org/2021/611. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-05-17T06:14:41Z",
    "updated": "2021-05-17T06:14:41Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/611.pdf",
    "sha256": "1960c67273d184c4002a03fbcd375b8b15f35616f0063147fd22ad41550a763e",
    "size": 850351,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/611/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/611.pdf",
      "size": 850351,
      "sha256": "1960c67273d184c4002a03fbcd375b8b15f35616f0063147fd22ad41550a763e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260129075827id_/https://eprint.iacr.org/2021/611.pdf",
      "captured_at": "2026-01-29T07:58:27Z",
      "size": 841041
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/611.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 850351
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/611,\n      author = {Fatih Balli and Andrea Caforio and Subhadeep Banik},\n      title = {Some Applications of Hamming Weight Correlations},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/611},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/611}\n}"
}
