229 points · by Bender · 3y ago · 138 comments
Sounds innocent right? Well, depending on the paintbrush tool used (this affects both Apple and Android) the number will be fully or partially recoverable, because the paintbrush is slightly translucent. The user will repeatedly cover up the number using the same paintbrush tool until they can't see the number anymore, but if you load the result in any (real) image editor and turn up the contrast in that area, you'll see the numbers.
Users need a tool on the markup editor that they can select and unambiguously know that if they draw a big black rectangle over something, it is going to be replaced by solid #000000 pixels and anything underneath will be impossible to retrieve.
Link: https://blog.nuclearsecrecy.com/2021/05/17/how-not-to-redact...
If a pixel's value is '7' and in the redacted zone, the program will iterate over the single character and output '0'. If the pixel's value is actually '174', the program will iterate over all three characters, outputting '000'. Any normal PPM image viewer will display these identically, but high contrast areas like text will be recoverable.
Right, I'd never use part of the original image. Best print it out and rescan it, preferably on different scanner.
Being truly anonymous is enormously difficult, even the Bauer pattern/Bayer filter shape in one's image sensor will give one away. That alone requires sophisticated filtering to decouple it from a specific sensor/camera.
And that's only the beginning, there are many other factors that contribute to the leaking one's identity.
But if I ever learned anything about that area it's that there's probably still five other details I haven't considered.
I think this is a little unfair. I would not blame anyone for thinking that the part of the image they cropped is deleted. That's what the word means, that's what it looks like is happening, there's usually no warning that it's recoverable.
When you delete text it is really gone from the document, even though you can undo to get it back. It's totally reasonable to expect images to work the same way.
Abusing Microsoft Office applications to do things they're not designed to do has sort of a bathtub curve of likelihood versus tech literacy. The people most likely to do it are either largely tech illiterate or skilled hackers with far too much time on their hands.
I’m well aware that it’s reversible so I’m careful of what I put in to begin with, but I’m not going to open an image editor unless I really have to
I have other shit to do
Those are things many recent UI "improvements" haven't considered.
My significant other is outside of tech and wasn't aware of either of these. Once shown, there was no reason to go back to using anything else to crop images.
No image editors involved!
saving a screenshot as JPG (lossy format) adds more loss - if you started with a lossy image in the first place then we are losing even more information by screenshotting it and saving it again in a lossy format.
even when not intended for print, when making formal documents and presentations I look for the original images at highest resolution available.
- Bluetooth file transfer… I don’t even know where to begin
- AirDrop requires you to be in the Apple ecosystem. I think default settings also require you to be logged in the same Apple account on both devices too
- Cloud storage services need you to install the app or login into the website on both your phone and the computer with the same account. Very few of my non-tech friends even have any cloud storage service outside what their phone uses
Ngl, I take photos of my screens sometimes
For example, "motion photo" feature I used few years ago would give you perfectly normal JPG file that also happened to store a short video. Nothing I know other than Samsung phones can read the video part directly, though there exists desktop software that can extract it and save as separate video file.
More recently, I've noticed photo editor tools on Samsung phones allow you to undo previously made edits on an already saved file, including any destructive crops and transforms - meaning the original is being persisted somewhere. I haven't checked where, but I imagine it's again attached to the back of the JPG you thought you've cropped/redacted.
Somewhat related: PlantUML. It's a tool for generating diagrams from plaintext descriptions. One of its most interesting, if not well-known, features is that it saves "editable PNGs" by default - that is, PNGs it produces have the plaintext diagram code attached to the image as metadata. Seems mostly harmless, but it could technically leak information you put in the diagram code but made not visible in the image.
A
Ctrl+I
Enter
Ctrl+I
B
This will look like: A
B
If you later start typing on that intermediate line, though, your text will be in italics. This is what users expect, and is in contrast to outting a little "italics" markup symbol on the line, as people did pre-WYSIWYG or do today in Markdown, HTML, and other markup languages.And then, the app use information is also independently stored on your Google account. For your convenience. So even if you flush your phone down the toilet and get a new one, the information remains. Even if you wipe your Google account, organizations with enough pull (e.g. governments) could get at it.
And don't get me started on battery level / charging status or what WiFi networks were seen when.
When they take possession of items for various reasons they want to sell them off to reclaim lost tax revenue.
Cars for example, now you must know that in Europe for some reason people are very weary of their VIN. It's not shown on websites as it is in the USA.
So the tax office posts a PDF with all the cars they possessed with their VINs, but with 80% blacked out.
With black boxes.
And they didn't flatten the PDF.
Sending around data is a minefield. Metadata everywhere. It's so easy to lose track of it.
Though the overall lesson of the story is good: analog redactions with a permanent market and a b&w photocopier are recommended for anybody without 100% confidence in their tools.
Or better yet, an exacto blade. If the "black and white" photocopier is actually grayscale, then you could get text leaking through the marker if you play around with the image contrast.
Quite a lot of cars in Europe, including from European marquees, have the VIN in a visible place at the bottom of the windshield.
I can also look up the VIN for pretty much any car on the road by just searching the number plate on the traffic authority's website. Gives me the VIN, last inspection date, tyre sizes, tax info, etc.
Also, all TikTok videos are restored to their original form and archived, by TikTok, both in the US and China. All those "blurry" nudes, "a day in the life at the office", and more, belong to TikTok. Along with all that metadata. TikTok you don't stop!
If you're feeling rough, run the screencap through an OCR and a spell checker first before taking an off axis picture in Times New Roman.
If noone does that right now it is just an update away.
Only the final image should be compressed using a lossy image compressor as then any details can't be diffused to the image if they simply aren't there.
Or as Thomas J. Watson put it: "Recently, I was asked if I was going to fire an employee who made a mistake that cost the company $600,000. No, I replied, I just spent $600,000 training him. Why would I want somebody to hire his experience?"
Don't fire him, and you've paid $600,000 to train just him. Fire him, and you've paid $600,000 to train everybody else at the company. Which one is the better value?
However don't trust... tools can't help but be good advice. There's no need to trust the Intercept on metadata existing.
[1]: https://youtu.be/BUkRlfkv2D8?t=2199
And the related GitHub issue: https://github.com/AOMediaCodec/av1-avif/issues/188
But there is probably still a lot of watermarking that could leak through.
PDF’s are risky business. So much metadata can be hidden in a PDF depending on how it was generated. Stick to optimized JPEG’s (as I suggested in another comment [1]).
For clean PDFs you would need a dedicated tool. I wouldn't trust PDFs that were created by any standard office software (Word, Acrobat, ...). There is always the risk some information about your computer, user name, time zone, location or maybe even license key/hash of the software may leak into the created document.
> Police found metadata embedded in a deleted Microsoft Word document that was, unknown to Rader, still stored on the floppy disk. The metadata contained the words "Christ Lutheran Church", and the document was marked as last modified by "Dennis". An Internet search determined that a "Dennis Rader" was president of the church council.[1]
https://play.google.com/store/apps/details?id=com.niksoftwar...
I remember lots of people getting busted after news spread that Word 97 kept the complete undo-history within the doc-file itself. Leaking a lot of redacted hate-mails and plagiarized then edited home assignments.
(red dwarf scene) https://www.youtube.com/watch?v=6i3NWKbBaaU
Alternate way is to select the area you want to keep and then click the crop button on the toolbar.
I'll look for the crop button in paint 11, don't think I've noticed it yet.
Sadly looks like win 10 does hit EOL before I retire so I've got one more generation to deal with before I slip away to linux and mac.
Foolproof, easy to explain to anyone, and 100% reliable.