Does anyone know of any attacks, either PoC or in the wild, that use malicious printer cartridges to infect printers? I saw this article from 2022

https://www.action-intell.com/2022/10/05/hp-bug-bounty-program-finds-reprogrammable-chips-open-printers-to-malware/

It says that HP's Bug Bounty program found such attacks are possible, but there are no details about who reported the bug that made such attacks possible. I remain skeptical about the accuracy.

Any help from experts in the form of pointers to attacks or analysis about whether printer cartridges are a viable infection vector would be much appreciated.

HP Bug Bounty Program Finds Reprogrammable Chips Open Printers to Malware | Actionable Intelligence

HP Inc. reported to Actionable Intelligence that it has confirmed third-party cartridges with reprogrammable chips can be used to inject malware into printers and compromise networks. HP has released a security alert and updated printer firmware to address the problem.

Actionable Intelligence | Market Research for digital printer and MFP hardware and supplies

HP CEO Enrique Lores said this about counterfeit ink cartridges this morningon CNBC:

They can "create security issues. We have seen that you can embed viruses in the cartridges, through the cartridges go to the printer, from the printer go to the network. So it can create [inaudible]"

I'm not aware of a single instance of this happening, either as a PoC attack by a researcher or a malicious one in the wild. Seems like the CEO is misspeaking. Any help here from people with experience in malware in embedded devices would be much appreciated.

Quote occurs at 3:28

https://youtu.be/QPRMyQSZGuY?si=EU905oCTcW860xJs&t=208

HP CEO Enrique Lores on PC market trends: 'Significant tailwinds' will continue to drive demand

YouTube
@dangoodin pure bollocks
@dangoodin and you can quote me on that, as a security professional who has previously worked in 3rd party ink recycling.
@dangoodin if you want a more technical answer: many ink cartridges contain a tiny embedded circuit (typically a CoB ASIC) in the plastic along with metal contacts, to electrically identify it as a "legit" cartridge and track the printed page count so it can claim to be empty after a while. this is intended to prevent refills (rewinding the page count) of first party cartridges, and also prevent third party cartridges from being used.
@dangoodin they're just EEPROMs most of the time, since they don't need to get their own custom ASICs designed and fabricated and can just buy the bare dies or chipscale packages. sometimes they also include some sort of passive "security" check like adding a specific resistance across pins which the printer can detect. some use EEPROMs that offer write or read protection on blocks, where an unlock command must be sent to unlock it. trivial to defeat in practice.

@dangoodin those EEPROMs will contain some magic data that the printer needs to see in order to believe it's a legit ink cartridge. it also tracks the number of printed pages so the cartridge can claim to be empty after a while (they don't detect ink level at all).

I can 99.999% guarantee that even with the most optimal trivial exploit for the printer firmware's parsing of the cartridge data, you cannot weaponise it in any useful way. Why? Because the whole thing is like 32 bytes.

@dangoodin on a combo colour cartridge you might have three or even four separate EEPROM blocks for those colours, so maybe 256 bytes if you're lucky. from which you'd have to trigger the exploit, gain code exec on the printer, and somehow pivot that into malware delivery elsewhere (including storage or download of that malware!)

that is a ludicrously tall order, and would still be strongly predicated on multiple severe firmware bugs in the printer.

@dangoodin (they don't use bigger EEPROMs because those cost money, and ink cartridges are where all the profit margins come from - printers themselves are typically loss leaders)

@dangoodin you could, I suppose, embed a microcontroller into the cartridge to emulate an EEPROM with much larger storage capacity, but that's a *lot* of manual work, and is nontrivial due to the CoB wire bonding (a wire bonding tool costs ten grand plus!)

literally nobody in the third party ink space is going to do this. nation states doing targeted attacks *might* bother, maybe, but there are usually much cheaper and easier vectors than these wacky theorised ink supply chain attacks.

@dangoodin so yeah, I call bullshit on this guy's claim. he has profit motive and I think he's a liar.

I've seen and done some truly wacky hardware stuff in my life, including hiding data in SPD EEPROMs on memory DIMMs (and replacing them with microcontrollers for similar shenanigans), so believe me when I say that his claim is wildly implausible even in a lab setting, let alone in the wild, and let alone at any scale that impacts businesses or individuals rather than selected political actors.

@dangoodin I should also point out that the EEPROMs they embed in the plastic for DRM purposes are a large part of why almost all printer ink cartridges end up in landfill rather than plastic recycling.

they also know that "eco" models of printers that use refillable liquid ink hoppers rather than cartridges don't allow them to artificially lock consumers into their ecosystem, because you can buy the ink from whoever you like, so it benefits them greatly to spread FUD about third parties.

@dangoodin the ink in each standard cartridge costs less than a penny to make. the plastic costs a few pennies. so you can imagine why they're so enamoured with keeping customers buying stuff from their consumables ecosystem at premium prices. the profit margins are ridiculous. that's also why in the mid-to-late 2000s there was such a race to the bottom on printer prices, offering them for £30 or even less. they sold them as loss leaders knowing that the median lifetime ink purchase made profit.
@gsuberland @dangoodin Good info. Thanks. I decided long ago never to buy another HP product when I learned that my multi-function printer (Office jet Pro 8600 plus) wouldn't scan a page unless it had a full complement of ink cartridges. Interested to know what you use for printing.