Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Detection Avoidance Attacks: Evaluating the robustness of perceptual hashing-based client-side scanning

Shubham Jain, Ana-Maria Creţu|arXiv (Cornell University)|Jun 17, 2021
Advanced Steganography and Watermarking TechniquesComputer Science7 citations
TL;DR

This paper introduces the first framework to evaluate adversarial detection avoidance attacks against perceptual hashing-based client-side scanning (PH-CSS), proposing a black-box attack and two white-box attacks targeting DCT-based hashing algorithms. It demonstrates that over 99.9% of images can be modified with minimal, imperceptible perturbations to evade detection while preserving visual similarity, rendering current PH-CSS mechanisms highly vulnerable and mitigation strategies like database expansion ineffective.

ABSTRACT

End-to-end encryption (E2EE) by messaging platforms enable people to securely and privately communicate with one another. Its widespread adoption however raised concerns that illegal content might now be shared undetected. Following the global pushback against key escrow systems, client-side scanning based on perceptual hashing has been recently proposed by tech companies, governments and researchers to detect illegal content in E2EE communications. We here propose the first framework to evaluate the robustness of perceptual hashing-based client-side scanning to detection avoidance attacks and show current systems to not be robust. More specifically, we propose three adversarial attacks--a general black-box attack and two white-box attacks for discrete cosine transform-based algorithms--against perceptual hashing algorithms. In a large-scale evaluation, we show perceptual hashing-based client-side scanning mechanisms to be highly vulnerable to detection avoidance attacks in a black-box setting, with more than 99.9% of images successfully attacked while preserving the content of the image. We furthermore show our attack to generate diverse perturbations, strongly suggesting that straightforward mitigation strategies would be ineffective. Finally, we show that the larger thresholds necessary to make the attack harder would probably require more than one billion images to be flagged and decrypted daily, raising strong privacy concerns. Taken together, our results shed serious doubts on the robustness of perceptual hashing-based client-side scanning mechanisms currently proposed by governments, organizations, and researchers around the world.

Motivation & Objective

  • To assess the robustness of perceptual hashing-based client-side scanning (PH-CSS) against adversarial detection avoidance attacks.
  • To develop a general black-box attack and two novel white-box attacks targeting DCT-based perceptual hashing algorithms.
  • To evaluate the diversity of perturbations generated by the attacks, assessing the feasibility of mitigation via database expansion.
  • To quantify the detection thresholds required to make attacks infeasible, and assess the resulting privacy implications.
  • To challenge the viability of current PH-CSS proposals in real-world deployment under adversarial conditions.

Proposed method

  • Proposes a black-box adversarial attack using Natural Evolutionary Strategies (NES) for gradient estimation and perturbation update.
  • Designs two optimal white-box attacks exploiting the linearity and orthogonality of DCT-based perceptual hashing algorithms.
  • Employs a semi-automated procedure to remove duplicate images from ImageNet to ensure clean evaluation.
  • Measures perturbation quality using L2 norm per pixel and visual similarity to original images.
  • Evaluates five common perceptual hashing algorithms: pHash (continuous and discrete), dHash, aHash, and PDQ.
  • Uses a threshold-based detection model where hashes exceeding a given distance from known illegal content are flagged.

Experimental results

Research questions

  • RQ1Can adversarial perturbations be generated to evade detection in perceptual hashing-based client-side scanning with minimal visual distortion?
  • RQ2How diverse are the perturbations produced by the attack, and can this diversity undermine mitigation strategies like expanding the database with modified images?
  • RQ3What detection threshold is required to make the attack infeasible, and what are the resulting privacy costs?
  • RQ4Are DCT-based perceptual hashing algorithms inherently vulnerable due to their linear and orthogonal structure?
  • RQ5To what extent is current PH-CSS robust under black-box adversarial settings?

Key findings

  • Over 99.9% of images were successfully evaded in the black-box attack while maintaining low L2 perturbation per pixel and high visual similarity.
  • The attack generated highly diverse perturbations across different images, making database expansion an ineffective mitigation strategy.
  • The white-box attacks demonstrated theoretical optimality by exploiting the mathematical structure of DCT-based hashing algorithms.
  • Detection thresholds large enough to resist the attack would require more than one billion images to be wrongly flagged and decrypted daily, raising major privacy concerns.
  • The results indicate that perceptual hashing-based client-side scanning is fundamentally vulnerable to adversarial attacks, undermining its feasibility for deployment.
  • The study challenges the security assumptions of current PH-CSS proposals, including Apple’s cryptographic-enhanced scheme, suggesting they are not yet ready for real-world use.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.