
If you ever owned a printer in the last two decades, you might know how unreliable they may be in unexpected ways: "can't print black because there's no yellow" is a common joke for the inkjet models, or scanning functionality on multi-function printers (MFPs), which for some unknown reason could become unavailable with empty ink cartridge without additional workarounds.
It's not hard to refill toner of the laser printer cartridge yourself: you'll definitely end up tonerhead from top to bottom the first time you do that, but all you need is a screwdriver, a cheap compatible toner in a bottle, and some patience.
However, on many printer models, the original cartridge won't print for long after first refilling, if at all.
The reason for that is a tiny proprietary chip embedded into the cartridge, which counts the amount of printed paper, and blocks the printing if it believes there's no toner left in the cartridge, even if there's plenty of it.
This is a story of Russian & Ukrainian hackers who cracked up their laser printers' DRM system first for themselves, then later put it onto a business rails for everybody, integrating their bespoke DRM to prevent cracked firmware files from being installed to any printer for free.
The writeup is based on my interpretation of the leftover public evidence from defunct websites and forums, and could contain mistakes and errors. I find it fascinating and want to share it with the infosec community, as there's plenty of information on hacking the printers (see pwn2own for example), but absolutely no information on cracking in English-speaking web.

Printer hack by the SYNACKTIV team at the Pwn2Own competition in Toronto
Short history of laser printer DRM
Printer manufacturers sell entry-level models at a marginally higher price than a net cost, expecting additional revenue stream from the cartridge sales, which the user will buy during the printer's expected life time.
Laser cartridge of many entry-level models is a relatively complex mechanical component which consists of:
- Organic Photoconductor (OPC) Drum
- Developing Roller
- Charging Roller
- Supply Roller
- Toner Separation Blade

Both the printer and the cartridge is designed to work only with specific OPC drum type and toner composition, which historically was hard to source due to, I assume, exclusive contract between these parts manufacturers and printer manufacturer.
However soon enough, Chinese masters became familiar with laser cartridges and started to produce them for many popular models, as well as selling the toner bottles.
Third-party cartridges (and bottles) usually contain slightly different toner composition and, especially for color laser printers, are not on par in terms of printing quality with the genuine ones. For many, these are 'good enough' for the price, which could be 4-5 times lower than the genuine offer.

The price of an original cartridge versus the price of a toner bottle good for 7-8 refills
To combat Chinese intervention and re-establish their revenue stream, printer manufacturers started to integrate electronic counter chips they call Customer Replaceable Unit Monitor (CRUM) into the cartridge, with the idea that it can't be obtained or cloned by a third-party cartridge manufacturer.

Step 1: EEPROM
First DRM attempts were targeted at regular owners who managed to buy a compatible toner and refill the genuine cartridge at home.

Based on Atmel AT24C04 electrically erasable programmable read-only memory (EEPROM) chip, it implemented a simple counter for printed pages and OPC drum rotations. At first, the counter was used for good: adjust the voltage (toner density) closer to the OPC drum life span to achieve best printing quality, but after some time printer manufacturers decided to use it as a DRM method.
The solution was simple: reprogram the chip using any EEPROM programmer. The chip is not secured in any way, all you need is to understand the data structure to reset the counters, or just burn the clean dump obtained elsewhere.
This could be easily done by a service specialist but not necessary by the regular user armed with a screwdriver only.
Step 2: Secure EEPROM
The next CRUM chip which was widely used is Atmel AT88SC0204C CryptoMemory. It incorporates mutual authentication and encryption, preventing the chip from being read or reprogrammed without the keys.

For some time, this was a stopgap.
As it was later discovered, early implementations contained static keys which could be obtained by reverse-engineering once. That allowed to reprogram existing chips or to clone them to a blank EEPROM chip.
Latter implementations introduced dynamic keys based on Lot History Code (LHC) data inside the chip, which were also reverse-engineered and reprogrammed.
As with the regular EEPROM, these chips are easily obtainable and once the know-how was learned, easily reprogrammable.
Step 3: Bespoke cryptographic chips
The next logical step for the printer manufacturers was to make their own microcontroller-based solution, where they could implement any handshake and encryption algorithm in a mixture of hardware and software.

One of such attempt is Samsung's S3CC921 chip with EEPROM and One-time programmable (OTP) memory combination.
OTP stores the printer model, regional code, cartridge capacity, some of the counters, and other information, which you can't tamper with. This means you can't reuse the chip as freely as simple EEPROMs. In addition, since the chip is designed only for Samsung usage, it was not sold and could not be obtained by the third-party cartridge manufacturers.
How could this be solved?
- IP cloning / supply chain stealing
- Hardware reverse-engineering and emulation
- Crack printer firmware instead

Scott Best's "State-of-the-Art Anti-Counterfeiting" 2024 talk
Hardware solutions could be learned in Scott Best's "State-of-the-Art Anti-Counterfeiting" 2024 talk, which by mere coincidence has the cartridge images very similar to Samsung's lineup ;)
Let's continue with the printer firmware.
Cracking the firmware
The year is 2009. Andrey Lutov from Donetsk, Ukraine has exceeded the cartridge counter of Samsung SCX-4300, and got it locked.

A cost-cutting measure of this printer is that the starter cartridge (the one bundled with the printer out of the box) has no chip, and as long as you're using it, the printer won't be locked.
The printer starts using the chip as soon as the first non-starter cartridge (with chip) has been installed, after which you have to use only chipped cartridges.
Andrey wants to patch the firmware to deactivate the chip routines, to make it behave as it always prints on a starter cartridge. The reverse-engineering process is not obstructed by modern security features: there's no firmware signature, no secure boot inside the chip. UART access provides unrestricted debugging facilities with the help of a ROM monitor:
pROBE+> help
-----ROM monitor command format-----------
dm start_addr <byte_count>
dm.b start_addr <byte_count>
dm.w start_addr <byte_count>
dm.l start_addr <byte_count>
ESC repeat memory dump
fm start_addr byte_count byte_value
fm.b start_addr byte_count byte_value
fm.w start_addr word_count word_value
fm.l start_addr long_count long_value
pm addr byte_value
pm.b addr byte_value
pm.w addr word_value
pm.l addr long_value
ul byte_count : upload image
flash : upgrade flash image
fl : upgrade flash image
go jmp_addr
dl load_addr
dhry : check dhry speed
pROBE+>

SCX-4300 firmware is running on Samsung's Chorus2 SoC, a highly-integrated printer ASIC reused from the previous SCX-4200 model of year 2005.
- ARM7TDMI 66 MHz core
- 8 MB SDRAM
- 1 MB Flash
- USB 2.0 interface
- Debug UART
- JTAG
The firmware is not compressed, not encrypted, and has lots of useful debug strings. The following could be easily found with just a strings command:
[TN]!!!!!!!!!!!!!!Check CA_KEY!!!!!!!!!!!!
[TN]RandNum Tick= %d => %02x
[TN]After cfInternalAuthCommand -> uwRandNumSize = %d Request Size = %d :
[TN]Auth Return Size :%d
[TN]aubRanNum: After Comm call..
[TN]ulIndex=%x ulFFCnt=%x
[TN]AuthToner: No CRUM
[TN]After cfInternalAuthResponse -> uwRandNumSize = %d Request Size = %d :
[TN]AuthToner: ACK
[TN]AuthToner: NAK
…
[CRUM]InitToner - NoCrum
[CRUM] Cart VAILD
[CRUM] CR_LOW
[CRUM] CR_EMPTY
[CRUM] CrumDb.prnPgLow [%d]
Lutov patches the firmware to erase the printer's internal EEPROM data into initial factory state on each boot, which activates 'starter cartridge' routine, and puts a piece of tape to CRUM chip contacts to prevent it from communicating with the printer.
This works!

The cracked firmware is uploaded for everyone to testcopy.ru printer service technician website. Simple firmware update file to flash over USB, no disassembly required.
Great success
This was the first patched firmware which will be called 'MA' (multi-apparatus) in the future—a gift for the community with no strings attached. The file has received very positive comments from the technicians, because it allowed to refill the customers' cartridges with the toner, which is a sound money!
The first-time refilling center customer now have to bring both the printer and the cartridge to the center once. It got flashed by the technician with a cracked firmware they got for free, and now they can continue to earn money on each refilling as it was previously with all the printers they were familiar with!
Soon other people got on the ball of the cracked firmware potential for other DRM'ed models, and started their own research and reverse-engineering trip.
Business opportunity 1: reverse-engineering for money
The first sensible step for the researcher with reverse-engineering skills wanting to grab quick cash was to get requests for the specific printer model from the refilling technician, make and sell a cracked firmware for them.
That quickly turned into a multi-level reselling business: once the technician received the firmware, they resold it to several other people for half the price. Why would you want to buy it from the researcher, when you can spend less money and buy it from your technician friend from another city?
Usually, several weeks later, sometimes months, the firmware file ended up publicly available on the internet.
That did not look like a sound and sustainable model, and other business opportunities were in development.
Business opportunity 2: per-printer firmware files
To prevent endless firmware reselling and get more money, reverse engineer have to implement some kind of cracked firmware protection.
What allows to distinguish one printer from another? What they all have different, which is easily readable from the firmware?
The serial number!

Now the cracked firmware applied the fixes only if the serial number embedded into the modified code match the serial number of the printer, otherwise it works just as an original firmware. They call it OA (one-apparatus) firmware file.
This way, the technician had to order the firmware for each printer—for the way cheaper price, but pay every time, and the reverse-engineer receives stable revenue for their job from multiple people for a long time.
The 'pirating' community quickly discovered several ways to circumvent this business model:
- A keygen: find and patch the serial number inside the patched firmware file you already have
- A dump: grab a SPI NOR + EEPROM dump of one printer, flash it into another with a programmer
First keygens were easy to create, as the serial number was hard-coded into the cracked firmware file in plain sight.

One of the early keygens
Later it was XOR'ed, encrypted, compressed, or obfuscated in some other way, which the technicians had hard time to modify.
This model worked for quite a while, but got completely broken in just a single day, when one simple command has been discovered:
@PJL SET SERIALNUMBER=Z2U1BFFB100942X
This string, when sent over USB just like a print job, allowed to change the printer's serial number.
The model reduced to:
- A clone: buy the firmware once (for cheap!), change the serial number of the printer itself, flash the firmware
New drastic measures have to be done to continue positive revenue.
Business opportunity 3: per-cartridge firmware files
New Lutov's DRM system incorporated additional hardening by adding cartridge's CRUM serial number. The technician now needed to supply both serial numbers: the printer's and the CRUM's.
Upon every boot, the firmware reads CRUM serial from either the chip itself (if it's present), or from the printer's EEPROM (if it's missing).

Simple, effective, yet still has a room for abuse: if the technician generated the firmware for their own cartridge and use it every time they want to flash the printer, they can just change the serial of the to-be-flashed printer with the USB command and use their cartridge once, then tape the contacts of the CRUM reader to prevent any chip from being read forever.
This way the last CRUM serial the printer's EEPROM will contain is one that the firmware expects, yet you can install any cartridge (original or refilled ones).
One of the Lutov rivals, a project called korotron-online, had an ingenious idea: why use printer's serial number, when it's possible to utilize cartridge's CRUM instead? Not only read from, but also write to it!
The flow they implemented now includes activation process, and is as follows:
- The technician supplies CRUM serial number of the installed cartridge to generate the firmware
- The firmware, when flashed, checks currently installed CRUM serial number
- If the embedded number and the number in CRUM match, the firmware 'activates' itself by burning a special flag onto CRUM's OTP memory, and copies CRUM serial onto printer's EEPROM
- Upon any subsequent regular boot, the firmware checks the number in EEPROM.
This eliminates this obvious workaround possible with Lutov's firmwares: the OTP region flag of CRUM will be burnt upon first installation and the cartridge won't be reusable for activation.
On the other side
Printer manufacturers have made several attempts at eliminating patched firmwares.
One of the approach you may be familiar with is a remote firmware update implemented in the driver or in the printer itself, if it has network connectivity.
New firmware version is downloaded and the user is asked to update it. If you accept the update unknowingly or out of mistake, you get a bricked printer which needs a new cartridge to continue printing.
Often newer firmware versions have rollback protection which prevent the patched (or just older) version from being installed.

HP firmware update
Another approach, an evil one, was implemented by HP: bundle the firmware update inside the cartridge!
Just as a CRUM chip, the cartridge has a NAND flash with the updated firmware. Once the printer reads the data from a newly bought cartridge, the firmware is updated completely offline2.
HP has found a new way to update the firmware of their printers in order to lock out third‑party or aftermarket toner cartridges. HP has launched a new range of W1106A/106A cartridges which are embedded with a chip that can trigger a firmware update of the laser printer without the need of the internet. The HP W1106A/106A cartridges are used with HP Laser MFP 135a/135w/137fnw and HP Laser 107a/107w series of printers.
https://imagingsolution.in/latest‑despicable‑trick‑by‑hp‑exposed/
The cracking scene's answer to these actions were NU (non-updatable) firmware as a selectable option upon buying, which just blocked any reflashing.

Newer models implemented firmware file signatures, removed debug UART and JTAG, however still did not implement Secure Boot in chip in a secure way. These models are still possible to reflash, although now only by reprogramming the flash using a programmer, which is not as easy to do with BGA NAND as it was back in the day.
Current day
As of 2026, the printer cracking scene is still active and sell fixes for modern HP Laser models (HP bought Samsung printer division in 2017 and make entry-level models based on their hardware), and also for selected Pantum printers and MFPs, along with all the old stuff they collected over the years for Samsung and Xerox.
The price is very modest: from $1 for the oldest models (firmware files for which you can find publicly on the internet), to $25 for Pantum.
The median price is around $5-$8 though.

chipov.net service interface
Some of the old Russian people are still active, however it's not clear if they are still involved in it: I could not manage to establish a successful contact, and the latest Pantum research stuff smells Chinese, not Russian. I might be wrong though.
Outro
Once the business opportunity strikes, even the best of us are tempted to exploit it. I'm sure, the reader is not unheard how it used to be countless times in game console scene, and now you know that the printer scene exists and full of business as well ;)
In Russia, old printers are still in favour and have a resell value. You can buy a printer from the golden era of laserjet manufacturing (2004-2011) from multiple technicians who refurbish them professionally, and have a machine which will last for another 15 years.
Links
- gamozolabs Printer Hacking
- https://copywin.ru/statiy_po_teme/manuals/sovmestimost
- http://www.startcopy.net/repair/toner_chip.shtml
- https://lapatushka.com/
- http://www.startcopy.ru/repair/sams4300_sc.htm
- https://www.testcopy.ru/orgtekhnika/odnoapparatnye-proshivki-samsung.html
- https://notes.valdikss.org.ru/printers/
- Some of the firmware files mentioned in the article
- Cracked firmware files on RuTracker.org
- Running Minecraft on Samsung printer: