modchip

term

hackingsecurity

Kept in this browser · My desk

A small electronic device fitted inside a console to alter or disable the restrictions its maker built in, so that it runs discs, cartridges or code the maker did not approve; the hardware form of a console jailbreak.

Modchips surfaced with the PlayStation, when CD writers became affordable, and first let consoles play imported and copied discs. The same openings run homebrew software. Selling devices for piracy has led to prison: in 2022 Gary Bowser of Team Xecuter was sentenced in the United States to 40 months.

What it is. A modchip (modification chip, sometimes called a hardmod) is a small circuit fitted inside a console, usually by soldering wires to selected traces or chip legs on the main board, that alters or disables the restrictions the maker built in: disc authentication, region lock, signature checks. It is the hardware form of a console jailbreak; the same opening can be reached by a software exploit (a softmod) when one exists.

History. Modchips surfaced with the PlayStation, as compact disc (CD) writers became affordable and copy protection more sophisticated, and at first their only purpose was to run imported and copied discs. Cartridge consoles rarely had them, because their lockout lived in the cartridges; converters and pass-through devices served there. Each later generation had its chips: the open-source MM3 (Multi-Mode 3) built on a microcontroller for the PlayStation, the low-cost Aladdin chips on the original Xbox's LPC (Low Pin Count) bus and the Xecuter 3 with its own LCD (liquid crystal display) interface, the widely cloned Modbo series, based on the Matrix Infinity architecture, for the PlayStation 2, and for the Xbox 360 the Reset Glitch Hack (RGH) chips such as X360ACE and Team Xecuter's CoolRunner, built on CPLDs (complex programmable logic devices). To dissuade modding, some makers offered official homebrew or Linux, as Sony did for the PlayStation 2, and later withdrew such features.

What it defeats. Each generation's lock: disc authentication on the PlayStation, the secret boot block of the original Xbox (read off the bus by Andrew Huang in 2002), signed code on later consoles. Huang's memo for the Massachusetts Institute of Technology (MIT) of 26 May 2002 explains the Xbox case: a secret boot block buried in a system ASIC (application-specific integrated circuit) decrypts and verifies portions of an external flash ROM (read-only memory), camouflaged by a decoy boot block in that ROM, but its code travels to the processor in the clear over high-speed buses, where simple custom hardware captured it; his lesson was that a fast bus alone is no security measure in an age of cheap FPGAs (field-programmable gate arrays). The fail0verflow team's table at the 27th Chaos Communication Congress (December 2010) lists the Xbox of 2001 as opened in 4 months, for Linux, homebrew and piracy. Many later jailbreaks need no chip at all, using a software flaw or a boot ROM bug such as Fusée Gelée on the Switch (2018), which the maker cannot patch on consoles already sold: the National Vulnerability Database (NVD) records it under the Common Vulnerabilities and Exposures (CVE) identifier CVE-2018-6242, a buffer overflow in the recovery mode boot ROM of NVIDIA Tegra processors released before 2016, open to anyone with physical access to the USB (Universal Serial Bus) port.

Uses. Homebrew (software written outside the maker's licence), running backups, region-free play, research, and piracy; the hardware is the same, the use decides the legal question.

The Team Xecuter case. On 2 October 2020 the United States Department of Justice (DOJ) announced charges in Seattle against three leaders of Team Xecuter: Max Louarn, 48, of France, Yuanning Chen, 35, of China, and Gary Bowser, 51, a Canadian arrested and deported from the Dominican Republic. From about June 2013 to August 2020 the group sold devices under names such as Gateway 3DS, Stargate, TrueBlue Mini, Classic2Magic and the SX line (SX OS, SX Pro, SX Lite, SX Core) for the Nintendo Switch, the 3DS, the Nintendo Entertainment System (NES) Classic Edition, the PlayStation Classic and the Xbox. The indictment said that although the group invoked homebrew, the overwhelming use of its devices was piracy, that some came preloaded with pirated games, and that customers had to buy a licence for the SX OS firmware to unlock pirated play; each defendant faced 11 felony counts, among them conspiracy to circumvent technological measures and to traffic in circumvention devices, and money laundering conspiracy. Bowser was sentenced in February 2022 to 40 months, after agreeing to pay Nintendo 10 million dollars in a civil settlement and 4.5 million in restitution.

Law. In the United States, circumventing access controls falls under the Digital Millennium Copyright Act (DMCA), and selling circumvention devices for piracy has been prosecuted. Section 1201 of title 17, enacted on 28 October 1998, forbids both the act of circumvention and the trafficking in any device primarily designed for it; its exemptions are set every three years by the Librarian of Congress. Other countries vary: the few court cases have mostly ended with the conviction of sellers, and Japan outlawed modchips in 2018 legislation that also covered save-game editing. In Brazil, art. 107 of Lei 9.610/1998 makes whoever alters, removes or disables technical protection devices liable for damages, and also whoever disables the coded signals that restrict communication to the public; Lei 9.609/1998 punishes the violation of a program's rights, with one to four years of reclusão when copies are made for sale. Owning the tools themselves is covered in the Learn article on owning hacking gear legally.

What defenders learned. Each break fed the next design: secrets that never leave the processor die, chains of trust anchored in boot ROM, fuses, and, after the PlayStation 3, signatures generated with a fresh random number every time. Its later forms include glitch chips such as the Xbox 360's RGH boards, which attack the hardware's timing rather than its code.

Neighbours. The lockout chip it descends from, secure boot and the Elliptic Curve Digital Signature Algorithm (ECDSA), the cryptography of the locks it attacks, fault injection, the technique of the glitch chips, and the DMCA.

Also known as: mod chip, modification chip, hardmod, console jailbreak, jailbreak de console, desbloqueio de console, homebrew

Sources

← Back to M Back to the glossary