News for hackers. Stuff that matters.
Re:Police claims to have fingerprinted computer based on pri... by dagw on Friday May 13, 2022 @05:31AM (#31365150)
Does Windows use the GPU to render fonts even if they get printed

Most cheaper printers (esp. on Windows) use the GDI protocol for printing. These printers only know how to print rasterised images, so the document is rasterised by the OS/Print driver and only this final rasterised image is sent to the printer. This is different from higher end PCL/PS printers where the document is translated into a page description language and the printer is (partially) responsible for rasterising the final document for print.

Since Windows uses the GPU to render fonts I wouldn't be surprised if the same code is used to rasterise the fonts for GDI printing.

That being said I'm very surprised they can identify the GPU just from that, unless there is some specific bug in the driver for the card which produces an obvious font rendering artefact.

Re:Police claims to have fingerprinted computer based on pri... by noduerme on Friday May 13, 2022 @06:02AM (#31365331)
Brilliant comment. Coming at this as a typographer/graphic artist and erstwhile coder, I'd bet it comes down to reverse engineering anti-aliasing algorithms. I'm not sure how it's done in Windows, but on Macs there are various levels of crispness you can set in default type as it's rasterized and if you zoom in a bit they have very clearly recognizable differences. Take the four bottom-left pixels of a capital A at 300 ppi, and compare their ink value ratios with different anti-aliasing techniques, and I bet you could get a signature of what card did the rasterization.

Gaussian blur is your friend if you wanna send a death note, I guess.

Re:Police claims to have fingerprinted computer based on pri... by Someone on Friday May 13, 2022 @06:55AM (#31365755)
I don’t think printer drivers do anti-aliasing on text. The hardware of a printer does anti-aliasing for free.

Also, I doubt you can get conclusive evidence from a single letter. Luckily, your average random note has lot of them, even duplicated ones. I would carefully align and average out as many capital A’s as I had, and work with that.

Re:Police claims to have fingerprinted computer based on pri... by zinekeller on Friday May 13, 2022 @08:58AM (#31366990)
> I don’t think printer drivers do anti-aliasing on text. The hardware of a printer does anti-aliasing for free.

You missed the explanation above why you're wrong, at least on consumer non-PostScript printers. Most cheap printers nowadays passes the buck of rasterisation to Windows (and its horrible, security headache spooler). You can even check if which is which: in Windows 10, open Settings, then Devices, select Printers & scanners, select [your name of printer], press Manage, press Printer Options (not Printing options), open the Advanced tab and then click on the Print Processor... button. If it says "winprint" then Windows handles the rasteriser.

Re:Police claims to have fingerprinted computer based on pri... by kevin_thibedeau on Friday May 13, 2022 @11:40AM (#31369045)
Anti-aliasing text is of limited value at the resolutions printers can achieve. 1200+ DPI inkjets and lasers have been commonplace for over 20 years. That doesn't mean GDI variations won't influence pixels due to small numeric differences.
Re:Police claims to have fingerprinted computer based on pri... by _Microft on Friday May 13, 2022 @09:03AM (#31367042)
> The hardware of a printer does anti-aliasing for free.

I think they meant something like "ink smears".

Re:Police claims to have fingerprinted computer based on pri... by zinekeller on Friday May 13, 2022 @09:08AM (#31367089)
In that case, then it'll be purely a mechanical thing. Another thing that is still handled by the printer (unless its drivers are sophisticated, winprint isn't) is halftoning, but I'm not sure if that counts as anti-aliasing.
Re:Police claims to have fingerprinted computer based on pri... by noduerme on Friday May 13, 2022 @08:29AM (#31366665)
IDK. In the olden days, desktop printers sometimes had embedded font faces or PS1 fonts would be sent to the printer, but any vector file for large/high-res print quality had to be "ripped" or rasterized first, usually with a dedicated card. These cards definitely had signature looks and feels to them, but so did the fonts. There were differences between the way an Adobe Times New Roman would rip versus the one that came stock on your Apple IIsi.

Pinpointing a version of Windows, if it was printed from a stock OS font, could be as simple as comparing tiny differences in the vector files and knowing if one pixel would rasterize at 60% black versus 50%. To the extent that the rip goes through a graphics card, it would be knowing whether that card rendered the 60% as 58% or 62%.

I'm pretty sure if you scale it down, the printer driver will do an extra layer of downsampling and add its own anti-aliasing; but the printer hardware doesn't do that, it just sprays the dots it's told to spray, and in general the drivers replicate the pixels that are sent from Photoshop or in this case, MS Word, which uses something like QuickDraw used to be on a Mac, an embedded system process, to rasterize the fonts.

Re:Police claims to have fingerprinted computer based on pri... by lupire on Friday May 13, 2022 @08:08AM (#31366478)
Gaussian blur is mostly invertible. Need more randomness.
Re:Police claims to have fingerprinted computer based on pri... by noduerme on Friday May 13, 2022 @08:36AM (#31366746)
Depends on the tolerance of what you're trying to hide. If the goal is just to obliterate the way something was previously anti-aliased, or make it trigger tons of false-positives, then a small blur and not relying on the inbuilt rasterization would probably do the trick.

Prior to this it had never occurred to me. But yeah, more randomness. Noise filter and blur, then a bit more noise, then photograph it, print the photo, scan it on another device, put it in the washing machine, leave it on the porch for a week and repeat.

Re:Police claims to have fingerprinted computer based on pri... by sdenton4 on Friday May 13, 2022 @10:13AM (#31367900)
Mostly... It's a low pass filter, so if the information - anti aliasing techniques in this case - is concentrated in high frequency, it'll be wiped out.
Re:Police claims to have fingerprinted computer based on pri... by flutas on Friday May 13, 2022 @12:22PM (#31369539)
> unless there is some specific bug

Could also be by design, similar to printer identification dots. Have the artifacting vary every so slightly from one GPU to another. Then again, I feel (emotional statement, not of fact) that this would be known by now if it was a thing.

Re:Police claims to have fingerprinted computer based on pri... by mike_hock on Friday May 13, 2022 @01:07PM (#31370142)
I thought it was known that printers all leave a unique fingerprint (device-specific, not just model-specific).
Re:Police claims to have fingerprinted computer based on pri... by Ferrotin on Friday May 13, 2022 @02:30PM (#31371014)
Color printers are known to.
Re:Police claims to have fingerprinted computer based on pri... by hermitdev on Friday May 13, 2022 @12:23PM (#31369560)
I was reading these comments while simultaneously trying to get some work done. I was taking a screenshot of some settings to show to a coworker for verification and immediately noticed something was off about the screenshot. It looked nothing like the screen! Apparently screenshots on Win10 with HDR is kind of funny. It looks like everything is neon. Like the standard HN orange banner looks like a yellow highlighter. Funny thing is, if I take the screenshot from my non-HDR monitor, it looks as expected.

So...evidently from a sample of me, I can tell from which monitor a screenshot was taken...