Live data from Hacker News

A tool for recovering passwords from pixelized screenshots

github.com

21–30 of 130 posts

Re: A tool for recovering passwords from pixelized screenshots

#21
post #12
post #3

Earlier quoted context omitted.

It's not. There's never going to be a tool that does this with black bars. The only benefit I can think of is legitimacy. Having something blurred there suggests that there was actually something there.

Black bars alone may still leak info. First, if you add black bars on your own and don't use professional redaction features of software, you might miss the OCR text layer of the PDF, or the bar might be added as a separate object entirely which means it can also be removed later on. Second, if you don't use monospace text, the width of the text you are redacting will reveal information about it. That's why monospace…

Yes, in pdf, add bars, & then print it again as pdf, but as image.

Re: A tool for recovering passwords from pixelized screenshots

#22
So as I understand it this technique rests on a number of assumptions:

- You know the exact parameters used to render the text

- You can render new text with the exact same parameters

- The pixelated image hasn’t been ruined by color quantization or other destructive compression

Re: A tool for recovering passwords from pixelized screenshots

#23
post #13

Relatedly (and this is probably not surprising to anyone here) if you draw a black box on a PDF file to cover sensitive information, chances are a simple screen reader will still able to extract the information just fine.

Found this out the other day on that story from the port explosion. They had a pdf with blacked out names, but you could just copy the text and paste it and it wasn't blacked out.

Re: A tool for recovering passwords from pixelized screenshots

#24
post #6

Why is pixelation preferable to a big black obliterating box? To me, it seems like a lot of wasted time and effort and potential arms race between encoders and decoders and the risk of being exposed when you could just put a big black box over whatever you wish to obscure.

Only reason I can think of: Pixelation has a more elegant touch than covering everything with a box (be it black, or some better suited color). Took a while to convince people to not use a bit of gaussian blur, because it's insecure. Well, ready for round 2...

What stops one from making a more secure pixelation algorithm?

One that will shuffle around or maybe just randomly derive the pixelated blocks if they're within a certain color threshold of similarity?

I still generally like pixelation over drawing a box for aesthetic purposes.

Re: A tool for recovering passwords from pixelized screenshots

#26
This kind of techniques have been discussed here many times. See for example: https://news.ycombinator.com/item?id=8078747

I think one of the reasons people use blurring/pixelation is that it looks nicer than black boxes.

Wondering if it would make sense to build a tool that renders a pixelated version of lorem ipsum or something like that. It would be secure while also looking good.

Re: A tool for recovering passwords from pixelized screenshots

#27
I've always thought that people's confidence is pixelation filters was unjustified, and that reversal algorithms are eminently achievable. This goes for pixelation of faces for hiding identities, too. Deep learning or even just genetic algorithms testing lots of possibilities and re-pixelating should be able to infer the original image.

Re: A tool for recovering passwords from pixelized screenshots

#28
post #11
post #4

Is "pixelized" the norm somewhere? I'm used to "pixelated."

could it be that the author's first language is not English? "pixelized" sounds like a literal translation of the French word for "pixelated".

Judging from the author's username, he/she is almost certainly Dutch, and in Dutch we tend to use English terminology in most technical matters. But we don't always use it 100% correctly, so that could be a reason.

Re: A tool for recovering passwords from pixelized screenshots

#30
post #6

Earlier quoted context omitted.

Only reason I can think of: Pixelation has a more elegant touch than covering everything with a box (be it black, or some better suited color). Took a while to convince people to not use a bit of gaussian blur, because it's insecure. Well, ready for round 2...

What stops one from making a more secure pixelation algorithm? One that will shuffle around or maybe just randomly derive the pixelated blocks if they're within a certain color threshold of similarity? I still generally like pixelation over drawing a box for aesthetic purposes.

Why bother? Just have the tool put random text to fit then pixelize that.
Post reply on HN