Format oracles on openPGP

Florian Maury, Jean René Reinhard, Olivier Levillain, Henri Gilbert

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The principle of padding oracle attacks has been known in the cryptography research community since 1998. It has been generalized to exploit any property of decrypted ciphertexts, either stemming from the encryption scheme, or the application data format. However, this attack principle is being leveraged time and again against proposed standards and real-world applications. This may be attributed to several factors, e.g., the backward compatibility with standards selecting oracle-prone mechanisms, the difficulty of safely implementing decryption operations, and the misuse of libraries by non cryptography-savvy developers. In this article, we present several format oracles discovered in applications and libraries implementing the OpenPGP message format, among which the popular GnuPG application. We show that, if the oracles they implement are made available to an adversary, e.g., by a frontend application, he can, by querying repeatedly these oracles, decrypt all OpenPGP symmetrically encrypted packets. The corresponding asymptotic query complexities range from 2 to 28 oracle requests per plaintext byte to recover.

Original languageEnglish
Title of host publicationTopics in Cryptology - CT-RSA 2015 - The Cryptographers’ Track at the RSA Conference 2015, Proceedings
EditorsKaisa Nyberg
PublisherSpringer Verlag
Pages220-236
Number of pages17
ISBN (Electronic)9783319167145
DOIs
Publication statusPublished - 1 Jan 2015
Externally publishedYes
Event2015 Conference on Cryptographer's Track at the RSA, CT-RSA 2015 - San Francisco, United States
Duration: 21 Apr 201524 Apr 2015

Publication series

NameLecture Notes in Computer Science
Volume9048
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference2015 Conference on Cryptographer's Track at the RSA, CT-RSA 2015
Country/TerritoryUnited States
CitySan Francisco
Period21/04/1524/04/15

Keywords

  • Authenticated encryption
  • Chosen ciphertext attacks
  • Format oracle
  • GnuPG
  • Implementation
  • Padding oracle

Fingerprint

Dive into the research topics of 'Format oracles on openPGP'. Together they form a unique fingerprint.

Cite this