News for hackers. Stuff that matters.
Re:Unredacter: Never ever use pixelation as a redaction tech... by Const-me on Saturday December 17, 2022 @08:38PM (#34034219)
JPEG format normally compresses pictures in 8x8 blocks, and these blocks are aligned so the first one starts at top-left corner of the image. I think these leaks you’re talking about are limited to the inside of the 8x8 blocks.

So, if you want to redact a rectangle between pixels [ 12, 4 ] – [ 34, 18 ], redact [ 8, 0 ] – [ 40, 24 ] instead, this way the black rectangle will cover complete blocks.

Re:Unredacter: Never ever use pixelation as a redaction tech... by laudecum on Saturday December 17, 2022 @10:14PM (#34034735)
I don’t think what you’re saying makes sense. If you covered all information, no information is left. The blocks are irrelevant since 100% of the information is gone. There’s no “history leak” in JPEG, which is basically what’s being asked.

The only issue I see is meta tags and embedded thumbnails, which some cameras do. Stripping EXIF is always required.

Re:Unredacter: Never ever use pixelation as a redaction tech... by wtallis on Saturday December 17, 2022 @10:46PM (#34034861)
> If you covered all information, no information is left.

JPEG compression causes ringing artifacts that can extend out past the pixels you're trying to redact, up to the next block boundary. This is a problem if what you're trying to redact is already a JPEG, rather than a pristine uncompressed image.

Re:Unredacter: Never ever use pixelation as a redaction tech... by addaon on Sunday December 18, 2022 @01:27AM (#34035504)
> JPEG compression causes ringing artifacts that can extend out past the pixels you're trying to redact, up to the next block boundary.

This.

I made a response to the parent question that goes into the practical side of this in a bit more detail, but this is a much better one-sentence summary of /how/ the information leaks.

Re:Unredacter: Never ever use pixelation as a redaction tech... by mananaysiempre on Sunday December 18, 2022 @03:51AM (#34036057)
(Monochrome pictures in 8x8 blocks, 4:2:0-downsampled colour images in 16x16 blocks; 4:2:2 and non-downsampled 4:4:4 colour images are technically possible but I’ve never seen one.)
Re:Unredacter: Never ever use pixelation as a redaction tech... by mixtur2021 on Sunday December 18, 2022 @06:55AM (#34036872)
Is another low tech way simply print screening the redacted image + cropping? Naturally you will lose resolution if the OS/app is downsampling the image to render but could be good enough and a good hedge against the image format somehow encoding history. AFAIK, some law firms still redact, print, scan for this reason.