Stop pixelating! New tool reveals the secrets of "redacted" documents
Imagine you want to publish online an image of a document, but there are parts of it which you want to remain confidential. Maybe part of the image is somebody's phone number, or email address, or another piece of personal data that would be inappropriate to share publicly.
What should you do? You should redact the offending part of the image.
Okay, that makes sense. But how should you redact the text?
Well, a new tool makes crystal clear that it's a big mistake to redact text by pixelating it.. or indeed blurring it, or even applying a "swirl" filter.
As Dan Petro, a researcher at Bishop Fox explains, you should "never, ever, ever use pixelation for redacting text."
Petro is the author of a tool called Unredacter that can take "redacted documents" and retrieve the original words from pixelated text.
In order to do its work, all Unredacter needs to know is:
- What font the redacted text is written in
- What size of font is being used in the redacted text
- That the contents of the redaction is actually text
Frankly, those aren't hard to ascertain - because redacted text is rarely shown in isolation. Normally you will have a section of clear text (where the font and font size is fairly simple to ascertain) alongside a section which has been redacted through pixelation.
As he describes it, Petro's tool sees through the pixelation letter by letter - cycling through the possible letters until the most likely solution is found:
"Basically, we guess the letter “a”, pixelate that letter, and see how well it matches up to our redacted image. Then we guess the letter “b”, and so on."
As Petro explains in his blog post, the process is a little more complicated than that - and there are a number of other factors to consider for a successful reveal of the hidden text - but with the tool released, the ability to redact pixelated text has been put in the hands of anybody.
"The bottom line is that when you need to redact text, use black bars covering the whole text. Never use anything else. No pixelization, no blurring, no fuzzing, no swirling," says Petro.
So, what should you do instead of pixelation (or blurring or swirling) if you want to redact text? What you should do is ██████ out the text with an opaque black bar instead.
Just make sure that you really overwrite the text in an image, and don't make the mistake of sharing a document where the black bar effect might be undone. For instance, in the past nuclear submarine secrets have been accidentally shared in PDF files which looked like they had been redacted, but in fact could have their contents read by just clicking "copy-and-paste."
Scam alert: Cybercrooks use shady investment domain to scam keen investors out of money and data
May 24, 2022
John Oliver Shows the Dark Side of Data Brokerage on Last Week Tonight
April 15, 2022
Bitdefender Labs Warns of Phishing Scams Targeting MetaMask Users
April 14, 2022
Why and how to hide your IP address while traveling
April 13, 2022
How Bitdefender Can Help Restore Your Privacy in the Digital Age
April 04, 2022
How Strong is VPN Encryption?
February 28, 2022