[Paper Review] Attacks on Image Encryption Schemes for Privacy-Preserving Deep Neural Networks
This paper presents practical chosen-plaintext and ciphertext-only cryptanalysis attacks against two recently proposed image encryption schemes—Tanaka and SKK—designed for privacy-preserving deep neural networks. The attacks exploit structural weaknesses: deterministic encryption in Tanaka’s scheme and local color gradient preservation in SKK’s, enabling near-complete recovery of original images without the secret key.
Privacy preserving machine learning is an active area of research usually relying on techniques such as homomorphic encryption or secure multiparty computation. Recent novel encryption techniques for performing machine learning using deep neural nets on images have recently been proposed by Tanaka and Sirichotedumrong, Kinoshita, and Kiya. We present new chosen-plaintext and ciphertext-only attacks against both of these proposed image encryption schemes and demonstrate the attacks' effectiveness on several examples.
Motivation & Objective
- To analyze the security of image encryption schemes proposed for privacy-preserving deep learning.
- To identify fundamental flaws in the design of the Tanaka and SKK encryption schemes that undermine their security guarantees.
- To demonstrate practical attacks—both chosen-plaintext and ciphertext-only—against these schemes using real-world image examples.
- To evaluate the feasibility of recovering original images from encrypted inputs used in deep neural network inference and training.
- To highlight the inherent trade-off between preserving image structure for DNN performance and ensuring cryptographic security.
Proposed method
- For the Tanaka scheme, a chosen-plaintext attack is mounted by encrypting known images and observing consistent block-wise shuffling patterns under a fixed key.
- For the SKK scheme with a single key, a chosen-plaintext attack is applied by selecting plaintexts with predictable color distributions to infer the keying behavior.
- For the SKK scheme with per-image keys, a ciphertext-only attack is developed that minimizes the sum of absolute differences in color components between neighboring pixels to reverse the encryption.
- The attack uses a search over 48 possible permutations and negation states per pixel (3! shuffles × 2³ negation choices) to find the configuration that minimizes color variation from adjacent decrypted pixels.
- The algorithm propagates decryption from a single known pixel, using local color consistency as a heuristic to guide the reconstruction of the full image.
- The method is evaluated on real 8-bit color images, with visual and quantitative assessment of reconstruction quality.
Experimental results
Research questions
- RQ1Can deterministic image encryption schemes used in privacy-preserving DNNs be broken via chosen-plaintext attacks?
- RQ2To what extent does preserving local image gradients in encryption compromise security in the context of machine learning?
- RQ3Can ciphertext-only attacks recover meaningful image content from SKK-encrypted images without access to the plaintext?
- RQ4How effective is the use of local color consistency as a heuristic for reversing image encryption in the absence of the key?
- RQ5What is the trade-off between maintaining image structure for DNN performance and ensuring cryptographic security in image encryption schemes?
Key findings
- The Tanaka scheme is vulnerable to a chosen-plaintext attack due to its deterministic encryption, which violates CPA security and allows full reconstruction of the original image.
- The SKK scheme with a single key is also vulnerable to a chosen-plaintext attack, as the same transformation pattern across images enables key recovery.
- For the SKK scheme with per-image keys, a ciphertext-only attack successfully recovers images with recognizable objects and partial color fidelity by minimizing inter-pixel color differences.
- The advanced ciphertext-only attack achieves high-quality reconstructions, with objects appearing clearer and colors more accurate than in basic attack variants.
- The attack is effective on realistic images due to natural color gradients, but fails on extreme cases like pure black-and-white images.
- The results demonstrate a critical trade-off: preserving image structure for DNN performance inadvertently leaks information exploitable by cryptanalysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.