Erase and Repair: An Efficient Box-Free Removal Attack on High-Capacity Deep Hiding

Hangcheng Liu, Tao Xiang, Shangwei Guo, Han Li, Tianwei Zhang, Xiaofeng Liao

Abstract

Deep neural network (DNN) based steganography, or "deep hiding," has revolutionized the capacity of data embedding, allowing full-resolution images to be concealed within others. However, this high capacity introduces specific vulnerabilities. This paper presents EBRA (Efficient Box-Free Removal Attack), a novel framework designed to scrub hidden secrets from container images without any prior knowledge of the underlying hiding algorithm. By exploiting the spatial locality and low redundancy of deep hiding schemes, EBRA employs a two-phase "erase and repair" strategy that effectively destroys hidden payloads while preserving the visual integrity of the host image.

Introduction

Traditional steganography typically prioritizes security over capacity, hiding only a few bits of information to avoid detection. In contrast, deep hiding leverages the representational power of DNNs to achieve massive embedding rates, often exceeding 24 bits per pixel (bpp). While these methods are increasingly robust against standard image processing and adversarial training, they remain susceptible to structural attacks.

EBRA is proposed as a "box-free" attack—meaning it requires no access to the target's encoding or decoding networks—making it a practical tool for intermediaries, such as social media platforms, to ensure the "sterilization" of uploaded content from unauthorized hidden data.

Vulnerabilities in Deep Hiding

The effectiveness of EBRA stems from two critical weaknesses inherent in current deep hiding architectures:

  1. Spatial Locality: Most deep hiding models utilize convolutional neural networks (CNNs). Because convolutions operate on local receptive fields, the information for a specific secret pixel is typically concentrated within a small, corresponding neighborhood in the container image.
  2. Low Redundancy: To achieve high embedding rates, these models utilize nearly every available bit of the container's capacity. Consequently, there is very little redundant information to recover the secret if parts of the container image are damaged or missing.

The EBRA Framework

EBRA operates in two distinct phases: Erasing and Repairing.

1. The Erasing Phase

In this phase, the attacker strategically "punches holes" in the container image. By selecting small $k \times k$ regions and setting their pixel values to zero, the attack disrupts the local spatial dependencies required by the revealing network. Due to the low redundancy of the payload, even these small erasures are sufficient to render the secret image unrecoverable.

2. The Repairing Phase

To maintain the visual quality of the container image (the "cover"), the erased regions must be filled. EBRA utilizes a quality-enhanced inpainting model designed to restore the image without restoring the secret. The pipeline includes:

  • Edge and Color Generators: These auxiliary models extract structural contours and coarse color maps from the original container image to guide the reconstruction.
  • Feature Fusion: An inpainting model ($I_3$) integrates these maps to fill the holes seamlessly.
  • Sanitized Training: Crucially, the inpainting models are trained exclusively on clean, non-container images. This ensures the model learns to reconstruct natural image features rather than the specific patterns used to hide data.

Experimental Evaluation

Setup

The researchers evaluated EBRA using the CelebA dataset, with images resized to $256 \times 256$ pixels. The attack was tested against five state-of-the-art deep hiding schemes: UDH, DS, ISGAN, MIS, and HCVS.

Quantitative Results

EBRA demonstrated exceptional performance in both destruction and restoration:

  • Secret Destruction: The quality of recovered secret images plummeted to a point of total illegibility, with an average Peak Signal-to-Noise Ratio (PSNR-S) dropping to approximately 6-8 dB.
  • Container Quality: The "purified" container images remained high-quality, maintaining an average PSNR-C above 30 dB, ensuring the attack is virtually imperceptible to human viewers.
  • Efficiency: EBRA is highly optimized, processing images in just 7.75 ms on average, making it suitable for real-time, high-traffic applications.

Subjective Evaluation

In a user study involving 50 human observers, EBRA achieved a failure rate of only 1%. It significantly outperformed ten other baseline attacks, including Gaussian blurring and pixel deflection, which often failed to remove the secret or caused excessive damage to the container image.

Discussion and Limitations

While EBRA is highly effective, its performance is tied to the quality of the hiding scheme. If a hiding model produces visible artifacts (such as "stripes" or color shifts), the inpainting model may interpret these as legitimate image features and preserve them, potentially leaving traces of the secret.

Furthermore, future defense strategies might involve "adversarial hiding," where the container image is crafted to specifically trigger failures in common inpainting architectures, thereby protecting the hidden payload from erasure.

Conclusion

EBRA represents a significant shift in the cat-and-mouse game of steganography. By treating hidden data as a form of noise to be removed and the container as a signal to be repaired, the framework provides a robust, efficient, and box-free method for neutralizing high-capacity deep hiding. This work highlights that for deep hiding to be truly secure, it must move beyond simple robustness and address the fundamental vulnerabilities of locality and redundancy.

Summary updated

BibTeX
@article{liu2023erase,
  author = {Hangcheng Liu and Tao Xiang and Shangwei Guo and Han Li and Tianwei Zhang and Xiaofeng Liao},
  title = {{Erase and Repair: An Efficient Box-Free Removal Attack on High-Capacity Deep Hiding}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2023},
  url = {https://openreview.net/forum?id=GHSarqcE8A},
}
Figure