HP ink cartridge DRM bypass demonstrated using physical man-in-the-middle-attack

Man-in-the-middle PCB for refilled HP Ink Cartridge
(Image credit: Jay Summet/YouTube)

A refilled HP ink cartridge has been demonstrated using a man-in-the-middle attack to bypass HP’s strict printer ink digital rights management (DRM), which prevents consumers from using generic cartridges. YouTube creator Jay Summet shared a video (via Hackaday) showing this particular attack that lets users bypass HP’s user-unfriendly DRM practices.

Ink cartridge hacks have proliferated in the ink cartridge markets, especially as HP and other printer manufacturers sell their ink at exorbitant prices (presumably to recoup their initial investment in their printers) which they reportedly sell at a loss. Because of these high prices, many have resorted to using third-party cartridges, which printer makers have attempted to stop by embedding chips.

Printers now need to detect these embedded chips before recognizing the cartridges; so, third-party-ink makers resorted to refilling old cartridges to circumvent this security feature. The original ink cartridges then received page limiters that required end-users to replace the ink after printing a certain number of pages, even if the cartridge still had some ink left.

This is where the man-in-the-middle attack happens — the ink refiller added a flexible PCB on the cartridge’s original contacts and routed the signal to a chip. This then alters the original signal to tell the printer that it hasn’t reached its page limit, which is then rerouted to another set of contacts that overlay the original ones. Because of this, the printer thinks that it’s talking to an original, unaltered cartridge.

The chip hack is the latest attempt that third-party ink makers have made to assuage the negative experience consumers have with printers — particularly, HP-branded ones. The company is defending its move to limit third-party ink like these, claiming security issues, and has even made ads saying its printers are ‘made to be less hated’. However, the company’s anti-consumer moves, particularly in the printer space, are what’s driving them to buy generic cartridges. In fact, there are numerous lawsuits against printer DRM and the like. But as it takes time for cases like this to go through the legal system, users have to resort to creative solutions to keep their printers usable without having to pay through the nose for ink.

Jowi Morales
Contributing Writer

Jowi Morales is a tech enthusiast with years of experience working in the industry. He’s been writing with several tech publications since 2021, where he’s been interested in tech hardware and consumer electronics.

  • cyrusfox
    Love to see this, but it is the reason I do laser these days(Have an old samsung color laser, too bad HP bought Samsung out too).
    I use to have an HP that I added a modded ink well that could print on DVDs, problem was the print heads would clog either due to second party ink, or just from volume of prints.

    I love to see DRM defeated, But I do wish we had greater consumer protection from these practices, the most egregious being serialized parts that will only work with whitelisted /or coded parts.
    Reply
  • Heat_Fan89
    Last year I purchased an HP LaserJet which is the size of a small toaster. I love that printer and it connects SO easily to my Mac and Windows PC's. However I made sure to buy the Non-Subscription version even though the cartridge has DRM enabled. It's a shame HP has gone rouge with their DRM. It's bad for the consumer !
    Reply
  • Geef
    It is too bad HP can't sell certain printers with a requirement that you use X number of HP cartridges before you can start using third party cartridges. Make it known the sale is at a loss for them so you go into it knowing why you need to use them.

    HP could even make a tiny bit of extra money by having a 'squeeze out a few more drops' option so once your current cartridge stops on you, you can pay like 5 bucks to get another 20 pages for an emergency print! Evil but people would probably pay it. :devilish:
    Reply
  • micheal_15
    People need to stop buying HP printers. even the Uk government is putting them to an end after realizing the internal hard drive of all contracted printer models "hides" previously printed pages in a hidden partition. When the drive is changed over as per-contract, the enginer takes the OLD drive with them.....i.e. HP has access to everything the Civil Service has ever printed on that machine.

    Not beyond belief that 'consumer' printers without hard drives instead push your printed info to the HP datacentres for storage and AI analysis.

    All the driver has to do is send when your internet connection is idle, and not have errors if the connection is down...to not alert the end-user it's doing anything bad. just sit + wait for an active connection
    Reply
  • Alvar "Miles" Udell
    Weren't tank printers supposed to solve the issues of cartridge inkjets of both Ahole DRM as well as cost per page?

    I say this as an owner of a 10 year old Brother CMYK inkjet that happily accepts generic carts and won't give me an excuse to upgrade...
    Reply
  • BryanFRitt
    It seams that manufacturers shouldn't be allowed to sell consumer after purchase stuff (like ink, product repairs, replacement parts, etc...) required to make their products continue work. It causes a 'conflict of interest' that typically isn't good for consumers and the environment.
    Reply
  • M0rtis
    Alvar Miles Udell said:
    Weren't tank printers supposed to solve the issues of cartridge inkjets of both Ahole DRM as well as cost per page?

    I say this as an owner of a 10 year old Brother CMYK inkjet that happily accepts generic carts and won't give me an excuse to upgrade...

    Apparently these do print a respectively large volume and are bang for the buck but HP and/or Epson have a way to screw you over with these too.
    The ink tank printers have a purge area - a plastic plate with a sponge and these get "saturated" - either truly or in a similar fashion as cartridges that register as empty after X prints.
    You need to call over a support tech to replace it.
    Reply
  • Alvar "Miles" Udell
    M0rtis said:
    Apparently these do print a respectively large volume and are bang for the buck but HP and/or Epson have a way to screw you over with these too.
    The ink tank printers have a purge area - a plastic plate with a sponge and these get "saturated" - either truly or in a similar fashion as cartridges that register as empty after X prints.
    You need to call over a support tech to replace it.
    You should be able to do it yourself, like emptying and reusing or replacing the waste toner box on laser printers and waste ink pads on cartridge inkjets. The former is easy with a trash can, the latter with hot water and a sink.
    Reply
  • BryanFRitt
    BryanFRitt said:
    It seams that manufacturers shouldn't be allowed to sell consumer after purchase stuff (like ink, product repairs, replacement parts, etc...) required to make their products continue work. It causes a 'conflict of interest' that typically isn't good for consumers and the environment.
    But then they might want you to just throw away the products and get new ones, so they should be required to warranty their products too.
    Reply
  • Giroro
    Pretty much anyone can build a 3D printer from scratch using open source software and common parts, if they wanted.

    Can the same be done with 2D printers? Seems like it should be easier
    Reply