fbpx
Frame-14

Privacy Ninja

        • DATA PROTECTION

        • CYBERSECURITY

        • Penetration Testing

          Secure your network against various threat points. VA starts at only S$1,000, while VAPT starts at S$4,000. With Price Beat Guarantee!

        • API Penetration Testing
        • Enhance your digital security posture with our approach that identifies and addresses vulnerabilities within your API framework, ensuring robust protection against cyber threats targeting your digital interfaces.

        • On-Prem & Cloud Network Penetration Testing
        • Boost your network’s resilience with our assessment that uncovers security gaps, so you can strengthen your defences against sophisticated cyber threats targeting your network

        • Web Penetration Testing
        • Fortify your web presence with our specialised web app penetration testing service, designed to uncover and address vulnerabilities, ensuring your website stands resilient against online threats

        • Mobile Penetration Testing
        • Strengthen your mobile ecosystem’s resilience with our in-depth penetration testing service. From applications to underlying systems, we meticulously probe for vulnerabilities

        • Cyber Hygiene Training
        • Empower your team with essential cybersecurity knowledge, covering the latest vulnerabilities, best practices, and proactive defence strategies

        • Thick Client Penetration Testing
        • Elevate your application’s security with our thorough thick client penetration testing service. From standalone desktop applications to complex client-server systems, we meticulously probe for vulnerabilities to fortify your software against potential cyber threats.

        • Source Code Review
        • Ensure the integrity and security of your codebase with our comprehensive service, meticulously analysing code quality, identifying vulnerabilities, and optimising performance for various types of applications, scripts, plugins, and more

        • Email Spoofing Prevention
        • Check if your organisation’s email is vulnerable to hackers and put a stop to it. Receive your free test today!

        • Email Phishing Excercise
        • Strengthen your defense against email threats via simulated attacks that test and educate your team on spotting malicious emails, reducing breach risks and boosting security.

        • Cyber Essentials Bundle
        • Equip your organisation with essential cyber protection through our packages, featuring quarterly breached accounts monitoring, email phishing campaigns, cyber hygiene training, and more. LAUNCHING SOON.

Researcher ‘reverses’ Redaction, Extracts Words from Pixelated Image

Researcher ‘reverses’ Redaction, Extracts Words from Pixelated Image

Using pixelation to redact images? Those pixels may not actually be hiding anything.

A researcher has demonstrated how he was able to successfully recover text that had been redacted using the pixelation technique. Further, the researcher has released a GitHub tool that can be used by anyone to reconstruct text from obscure, pixelated images.

Reversing obscure pixels

This week, Dan Petro, Lead Researcher at offensive security firm Bishop Fox has demonstrated how he was able to completely recover text from an image redacted via the pixelation method.

When publishing sensitive images online, pixelation or blurring is often used as a redaction technique by media outlets and researchers alike.

Also Read: 10 Best, Secured And Trusted Disposal Contractor In Singapore

But Petro shows why it might be safer to just stick good old opaque bars over the text you want to hide, rather than chancing it with alternate techniques—especially with pixelation.

Last year, Jumpsec Labs shared an open challenge for anyone to decipher the text present in the following image:

Pixelated image sent to the researcher
Pixelated image sent to the researcher (Bishop Fox)

“How could I refuse such a challenge?” says Petro, who after studying various pixelation and deobfuscation techniques arrived at a solution.

And after applying his magic, the researcher managed to fully reverse the text sent to him. At Jumpsec’s request, he’s only partially disclosed the solution:

recovered text
Unredacted text recovered from pixels — only first 4 characters shown (Bishop Fox)

“I reached out to Caleb Herbert at Jumpsec, and they confirmed that my guess was correct!” states Petro.

“Caleb also asked me to not disclose the solution, so you reading this can have a go at it yourself. (It’s blurred out above, and there’s no way you can read blurred text, right?).”

Interestingly, Petro’s partially disclosed solution is blurred rather than pixelated. So others can continue to experiment with and solve the challenge in their own ways, without being able to recover it from Petro’s blurred image.

Also Read: 10 Tips For Drafting Key Terms In A Service Agreement

Similar solutions exist for ‘enhancing’ low res images

Although similar solutions have existed for enhancing pixelated photos of people or landscapes, no concrete real-world solutions released thus far promised accurate recovery of text present in pixelated images, while simultaneously cutting out the noise.

Google Brain has previously been able to provide “zoom and enhance” functionality for photos, based on extensive research [PDF].

google brain results
Google Brain reconstructs images (center) from low res images provided (left).
The right column shows the actual images before their pixelation.

Existing tools like Depix do provide similar functionality for pixelated text blocks, but fall short in real-world scenarios, according to the researcher.

“I like the theory of this tool a lot, but… perhaps it doesn’t work as well in practice as you’d like,” says Petro, pointing to Jumpsec’s aforementioned research.

“In real world examples, you’re likely to get minor variations and noise that throws a wrench into the gears.”

Depix de-pixelation results
Text partially recovered by Depix in second row from the pixelated input (GitHub)

New GitHub tool recovers text from pixels

The researcher’s success with solving Jumpsec’s challenge prompted him, along with Bishop Fox, to release a new open source tool on GitHub called Unredacter.

A test run below shows Unredacter reconstructing original text in its entirety and correctly from the given pixelated input: 

Live running example
Live running example of Unredacter predicting original text from pixelated image (GitHub)

Suffice to say, when publishing sensitive images online—using opaque shapes for redaction provides far more assurance than pixelation.

Petro’s detailed research findings are explained in his Bishop Fox blog post.

“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,” warns Petro.

When redacting text, it should be edited as an image, warns the researcher, rather than being obscured using simple HTML/CSS styling. For example, text masked using the same background color as that of the text body itself can be trivially revealed when highlighted.

“The last thing you need after making a great technical document is to accidentally leak sensitive information because of an insecure redaction technique,” concludes the researcher.

0 Comments

KEEP IN TOUCH

Subscribe to our mailing list to get free tips on Data Protection and Data Privacy updates weekly!

Personal Data Protection

REPORTING DATA BREACH TO PDPC?

We have assisted numerous companies to prepare proper and accurate reports to PDPC to minimise financial penalties.
×

Hello!

Click one of our contacts below to chat on WhatsApp

× Chat with us