Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixelation as blur can be reversed, time to use another blur / redaction algorithm? #2439

Closed
R8s6 opened this issue Feb 17, 2022 · 3 comments
Labels
Enhancement Feature requests and code enhancements

Comments

@R8s6
Copy link

R8s6 commented Feb 17, 2022

Feature Description

I came across a blog claiming pixelation can now be "hacked" or reversed to reveal the original english text and numbers.

The code is available on github too:
https://github.com/bishopfox/unredacter

Nothing too urgent, but perhaps the current blur algorithms can be changed to something else?

@R8s6 R8s6 added the Enhancement Feature requests and code enhancements label Feb 17, 2022
@borgmanJeremy
Copy link
Contributor

I saw that too. You can simply draw a black box if you need more security. You can also increase the kernel size in flameshot to make more letters to into a single block.

@R8s6
Copy link
Author

R8s6 commented Feb 17, 2022

black blocks will do, thanks!

@mmahmoudian
Copy link
Member

@R8s6 if you read their explanation you'll get to know that they are very much relying on the information they get from adjacent pixels' contrast and formation. Therefore one easy way is ro increase the pixel size of the pixelisation tool (scroll) to have the pixels larger than your line height. Also this way when you use normal fonts, one pixel will cover more than one character and therefore much harder, if not impossible, to guess the text.

@borgmanJeremy there is an algorithmically easy fix, although I don't know how the pixelation is implemented. If the pixels are shuffled around randomly, then this can make the guessing also very hard as massive noise is induced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Feature requests and code enhancements
Projects
None yet
Development

No branches or pull requests

3 participants