News for hackers. Stuff that matters.
Re:Elsevier embeds a hash in the PDF metadata that is unique... by hristov on Monday June 10, 2024 @05:42AM (#40631768)
1. Download the PDF from Elsevier.

2. Open it in your own PDF viewer.

3. Press print.

4. In the printer selection box, select "Print to PDF".

Re:Elsevier embeds a hash in the PDF metadata that is unique... by bArray on Monday June 10, 2024 @06:05AM (#40631899)
1. Download PDF from publisher.

2. Open it in your PDF viewer.

3. Press print.

4. Physically print the document.

5. Re-scan the printed PDF pages.

6. Compile them into a PDF document (convert, pdfunite).

7. Compress the PDFs (ghostscript).

Re:Elsevier embeds a hash in the PDF metadata that is unique... by dopp0 on Monday June 10, 2024 @08:14AM (#40632743)
1. Download PDF from publisher. 2. Open it in your PDF viewer. 3. Press print. 4. Physically print the document. 5. Re-scan the printed PDF pages. --->6. Run OCR to rebuild the document 7. profit!

7. Compress the PDFs (ghostscript).

Re:Elsevier embeds a hash in the PDF metadata that is unique... by RedShift1 on Monday June 10, 2024 @06:18AM (#40631976)
Printing just to rescan again? Sounds like my workplace :-)
Re:Elsevier embeds a hash in the PDF metadata that is unique... by pajko on Monday June 10, 2024 @06:39AM (#40632079)
0. Disable saving the zone identifier - or clear it with a tool. This information is most likely preserved when copying a file, and depending on the tool and format, it might get into a compressed archive to be restored later.

https://www.digital-detective.net/forensic-analysis-of-zone-...

There's a Total Commander plugin which can show where a given file was downloaded from. Not sure which one it is as I have multiple installed. Probably this one: https://totalcmd.net/plugring/ntfsstreamviewer.html

Re:Elsevier embeds a hash in the PDF metadata that is unique... by jojobas on Monday June 10, 2024 @07:36AM (#40632455)
5. ???

6. Keep all the possible steganography in kerning, colours, line spacing and what not.

Re:Elsevier embeds a hash in the PDF metadata that is unique... by miki123211 on Monday June 10, 2024 @06:09AM (#40631922)
5. Absolutely destroy any tagging / accessibility the PDF may have had as a result.

Please, for the love of God, don't do this unless you absolutely, positively know you have to.

Re:Elsevier embeds a hash in the PDF metadata that is unique... by antegamisou on Monday June 10, 2024 @06:05AM (#40631897)
> 1. Download the PDF from Elsevier.

2. Convert pages to PNG images

3. Merge them into a new PDF

4. Run them through OCR

Re:Elsevier embeds a hash in the PDF metadata that is unique... by out_of_protocol on Monday June 10, 2024 @07:07AM (#40632252)
Wouldn't help if marks are visible, e.g. some regular string "copy №1234" somewhere or something more complicated like uneven spacing between lines or words
Re:Elsevier embeds a hash in the PDF metadata that is unique... by Xelbair on Monday June 10, 2024 @05:54AM (#40631842)
if you print PDF file to PDF it creates a copy of a file.
Re:Elsevier embeds a hash in the PDF metadata that is unique... by dsissitka on Monday June 10, 2024 @06:04AM (#40631896)
Doesn't seem to.

    david@desktop:~/test$ ls -hl
    total 8.9M
    -rw-r--r--. 1 david david 2.2M Jun 10 06:02 chromium.pdf
    -rw-r--r--. 1 david david 4.4M Jun 10 06:02 firefox.pdf
    -rw-r--r--. 1 david david 2.3M Jun 10 06:01 input.pdf
    david@desktop:~/test$
Re:Elsevier embeds a hash in the PDF metadata that is unique... by noio on Monday June 10, 2024 @06:27AM (#40632026)
For sure not true. I get PDF invoices, from one of my contractors, that my bookkeeping software chokes on.

I use print to PDF to generate a version that it can handle.

(That does not say anything about whether it removes metadata though, just that it’s not the same file)

Re:Elsevier embeds a hash in the PDF metadata that is unique... by BSDobelix on Monday June 10, 2024 @06:07AM (#40631910)
On Firefox if you print you can choose "safe to pdf" then it has a different checksum (compared to the downloaded one), if you say "print using the system dialog" then "print to file" the checksum is again different (compared to the other two).

Linux with Firefox 126

Re:Elsevier embeds a hash in the PDF metadata that is unique... by ExoticPearTree on Monday June 10, 2024 @06:57AM (#40632187)
Most likely it uses different libraries for PDF print, like the browser one is different than the system one.
Re:Elsevier embeds a hash in the PDF metadata that is unique... by fallingknife on Monday June 10, 2024 @08:01AM (#40632649)
It annoys me how you have to manually choose these safe options in FF. Same with "copy link" vs "copy link without site tracking." Why would anybody ever want the former?
Re:Elsevier embeds a hash in the PDF metadata that is unique... by cpach on Monday June 10, 2024 @08:18AM (#40632770)
People doing marketing, I guess.
Re:Elsevier embeds a hash in the PDF metadata that is unique... by jimbobthrowawy on Monday June 10, 2024 @09:15AM (#40633303)
Site tracking might end up being needed if a site changes how their URLs work in response, breaking sites. Facebook made a change a while back where they went from fb.com/<unique readable url>+<tracking slug> to fb.com/<link UUID> after the tracking details were getting stripped out.
Re:Elsevier embeds a hash in the PDF metadata that is unique... by withinboredom on Monday June 10, 2024 @05:56AM (#40631857)
On all OS's? That seems like a nice optimization, but I doubt it is true everywhere. There's always someone who never optimizes anything.