How we found rogerkver’s obfuscated wallet private key
medium.freecodecamp.org
medium.freecodecamp.org
1) If you care about the data, don't blur. Black it out, entirely. 2) If you don't want to black it out for aesthetic reasons, then you don't care enough about the data being private. 3) Black out every pixel, every time.
If it's an aesthetic thing, someone could make a tool that looks like it's blurring, but actually puts in fake data and then blurs that.
But anyone who knows or cares enough to go download a purpose-made tool for censoring images probably just opened it in Paint and drew a black rectangle.
The classy thing to do would be to replace it with a real QR code that spells out "remember to drink your ovaltine" but is damaged enough you need about a million brute force attempts to decode it.
be careful asking non technical employees, sans training, to "just draw a black box over it", is what I'm saying.
- a black box will get drawn over it. - that box completely covers the text. - that box will be drawn opaquely.
Verifying that isn’t easy.
Save to .png is safer. It doesn’t support layers, so what you see is what you get.
Just make sure your document->png converter doesn't do anything silly with the alpha channel.
https://petsymposium.org/2016/files/papers/On_the_(In)effect...
https://pbs.twimg.com/media/DM2-8SrX4AAqc4o.jpg:large
Context:
http://www.huffingtonpost.ca/entry/dillon-baldridge-trump-ch...
Actually, the post above has a video where no blurring at all occurs...!
Applied to that QR-code, the currently blurred out part would be entirely white —because the original QR-code was surrounded by a white background.
That should take care of many aesthetic concerns, without using a single bit of secret information for the final rendering.
The technique has been done before and the text string of the private key would probably be the easiest point of attack.
WHY BLURRING SENSITIVE INFORMATION IS A BAD IDEA[2]
RESTORATION OF DEFOCUSED AND BLURRED IMAGES[3]
Take away: black out any and all sensitive information. Blurring just marginally reduces the independence of the bits presented in blurred output. To have privacy, all dependence must be eliminated, e.g. black out.
[1] https://en.wikipedia.org/wiki/Deconvolution
[2] https://dheera.net/projects/blur
[3] http://yuzhikov.com/articles/BlurredImagesRestoration1.htm
What happened though is instead of deleting their phone numbers, the contractor who was in charge of this simply changed the font colour of their phone number to white (same as the background).
So if you looked at the PDF, it looked normal. If you highlighted the text - the phone number instantly showed up. Also viewing google "text" cache version showed the number too. As a result - hundreds of their personal phone numbers were available to anyone and everyone.
http://www.smh.com.au/federal-politics/political-news/privat...
I had also started trying to decode the QR but as I was starting to look into the ECC I noticed someone had moved half of the coins and gave up.
Glad you explained your technique. I initially used a Picross editor to map the screenshot before moving to a full Python script.