This invention relates to the field of satellite television broadcasting which utilizes Integrated Receiver Decoders (IRDs), which are a type of set top box (STB), and in particular to prevention of hacking in order to reprogram IRDs and thereby obtain free services via piracy. The invention relates to the design and manufacture of IRDs that are resistant to hacking via unauthorized reprogramming.
A STB is any electronic device designed to produce output on a conventional television set, having one or more inputs connected to a communications channel such as telephone, ISDN, optical fiber, or cable. The STB usually runs software to allow the user to interact with the programs shown on the television in some way. An IRD functions to receive and decode an incoming transport stream, often in MPEG-2 format, and present the output to the user on a television set. The user interacts with the TV and the STB via a remote control.
The IRD is connected to a satellite dish via a cable. Although many channels are received by the dish, the IRD is programmed to decode only the channels to which the user has subscribed and paid for.
Direct Broadcast Satellite (DBS) television services such as DirecTV, and DISH Network, (owned by Echostar), broadcast via satellite television and radio programs to consumers who purchase or lease IRDs for receiving such programs and pay a monthly subscription fee to receive a selected array of channels. The DBS companies offer a very wide and extensive variety of available channels priced at different levels, as well as special programs which are sometimes known as “Pay per View” (PPV), for which the subscriber must order individually and for which a one time viewing fee is charged.
It is well known that there are people known as hackers or pirates who attempt to obtain DBS services without paying the appropriate subscription fee, thereby depriving the broadcasters and DBS companies of a return on their investment, and also ultimately depriving artists of royalties on their creative works since such royalties often depend on the number of viewers who subscribe to a particular broadcast. The DBS companies have attempted a wide variety of Electronic Counter-Measures (ECMs) but, for each ECM, people In the hacker and Piracy community develop methods and apparatus (hacks) to overcome it and continue to obtain free satellite broadcasts, including premium channels as well as PPV broadcasts. For technologically inclined hackers, each ECM presents an interesting software or hardware challenge that must be overcome in order to prove to himself and others in the hacker community that he or she is smarter than the engineers who design the circuits and ECMs. For other hackers, there is an anti-establishment view or a something-for-nothing objective.
Many of the DBS hacks involve applying a voltage to the programming enable pin of the flash memory chip (for example the {overscore (R)}{overscore (P)} pin in ST M29W320) and then reprogramming the boot sector of the flash memory by use of a JTAG (Joint Test Action Group, IEEE 1149.1) device to read from and write to the TSOP (Thin Small Outline Package) flash.
It is an object of the present invention to provide a solution to the hacking problem with IRDs.
It is a further object to provide a hardware lock to prevent boot sector reprogramming.
These objects, and others which will become apparent from the following disclosure and drawing, are addressed by the present invention which comprises in one aspect a method of manufacture of IRDs comprising permanently locking the boot sector of the flash memory so that any attempts to reprogram the boot sector by a consumer will result in damage to the IRD.
In another aspect, the invention comprises an improved IRD that comprises a microprocessor having an electronically erasable and reprogrammable flash memory having a boot sector, which is programmed and thereafter connected by a jumper wire or resistor to the reset line of the processor so as to prevent reprogramming of the boot sector after the manufacture of the IRD.
Another aspect of the invention is a populated circuit board for use in a set-top box, the board containing a hardware component which prevents unauthorized reprogramming of the boot sector of the programmable memory by causing voltage applied to the programming enable pin of the programmable memory in an unauthorized attempt to reprogram it to be applied to the reset lines of the microprocessor and the reset circuit, thereby causing them to be damaged. The populated circuit board comprises a microprocessor having a reset line, a reset circuit having a reset line for generating a reset signal, a programmable memory, preferably a flash memory, having a boot sector and a reset-power down pin (R P). According to the invention, the {overscore (R)}{overscore (P)} pin is connected to the reset lines of the microprocessor and the reset circuit, preferably with a resistor or a jumper wire. The resistor should have a value sufficiently low so that when a programming voltage, typically 12 volts, is applied to the programming enable pin, i.e., {overscore (R)}{overscore (P)} pin, the voltage damages the microprocessor and reset circuit, thereby rendering the set-top box useless.
Set-top boxes functioning as IRDs generally received access cards, known as smart cards, which are programmed with subscription information so that the user is allowed to receive and view the programs for which a subscription has been paid, or for which the satellite broadcaster has authorized decoding and viewing. The smart card holder is usually soldered on the circuit board and, in the case of this invention, is preferably soldered on the board on top of the resistor or jumper to prevent or inhibit physical access to the portion of the circuit board where the resistor or jumper is located after the board is manufactured.
A preferred method of manufacturing the circuit board comprises (a) applying solder paste to a circuit board; (b) placing a microprocessor having a reset line, a programmable memory having boot sectors and a reset-power down pin (RP pin), and a reset chip having a reset line on the circuit board; (c) reflowing the solder paste; (d) programming the programmable memory; (e) locking the boot sectors; and (f) inserting a jumper wire or a resistor to connect the {overscore (R)}{overscore (P)} pin of the flash, the reset line of the reset chip, and the reset line of the microprocessor. It is preferred to validate the code after programming the programmable memory. The programming of the programmable memory step would normally include applying a program enable voltage to the {overscore (R)}{overscore (P)} pin first.
While there are many possible modes for carrying out the invention, one specific embodiment will be described in detail.
Processor 14 has address bus 19 and data bus 20 connecting to an ST M29W320 48 pin TSOP flash memory 12 via copper traces on the circuit board.
The flash memory 12 has a {overscore (R)}{overscore (P)} pin 22 (pin #12 in ST M29W320) to which 12 volts (the programming voltage) may be applied to reprogram the flash. The {overscore (R)}{overscore (P)} pin is also known as the programming enable pin. The {overscore (R)}{overscore (P)} pin supports other two levels, ground and +5 volts, used as a reset for flash. When {overscore (R)}{overscore (P)} pin is held at ground level, the flash memory 12 is inaccessible for reading or writing. For other types of flash memory, the programming enable pin may not be the {overscore (R)}{overscore (P)} pin. For example, the VPP pin of INTEL® 28F320C3 may be considered as a programming enable pin.
After the flash is programmed, a 47-ohm, 0.25 watt resistor 10 is installed between holes 16 and 17. Hole 16 has a copper trace 23 to flash memory {overscore (R)}{overscore (P)} pin 22, and hole 17 has a copper trace 24, which connects with processor 14 at pin 25 (#124), and to trace 26, which leads to reset IC 15 at pin 27 (#6).
The copper trace 23 is also coupled to ground through a resistor 30. The resistor 30 is a 10-kilo ohm, 0.1-watt resistor. The resistance of the resistor 30 can be ranged from 4 kilo ohms to 22 kilo ohms, so long as the resistor 30 will not be burned when a programming voltage is applied at the {overscore (R)}{overscore (P)} pin 22.
Reset IC 15 is an 8-pin integrated circuit, model M51957B. Pin 27 (#6) is the reset line of reset IC 15.
A suitable manufacturing method for population of a circuit board is to start with a raw board, screen solder paste, load chip parts and integrated circuits (ICs), reflow solder in an oven to melt the solder, perform top side integrated circuit testing (ICT), perform flash programming while the flash memory is on the circuit board, insert axial components, i.e., components with leads, including the special resistor 10 or jumper wire parts which are connected to the programming enable pin 22 of the flash memory and the reset line 25 of the microprocessor, and the reset pin 27 (pin #6) of reset IC 15, performing a wave solder step, bottom side ICT, performing an ATE test, instrument assembly, final test, and pack to produce the populated circuit board. Of course, the flash memory 12 can also be programmed before being connected to the circuit board.
As is conventional, the software code for the flash programming is validated prior to storing it in the flash memory. A boot loader is a program to validate and launch application code stored in flash memory. If the application code is corrupted, the boot loader launches recovery code to obtain another copy of the application code. If the validation process in the boot loader is safe, then the rest of the software is considered safe.
If a jumper is used instead of a resistor, it is merely a wire between holes 16 and 17.
In a preferred embodiment, a smart card connector, not shown, is soldered on top of the portion of the circuit board having the resistor or jumper wire 10 to prevent access to the resistor or jumper wire.
In order to protect IRDs (Integrated Receiver Decoders) from having the software code re-programmed by unauthorized parties, the boot sector of the flash memory needs to be hardware locked by disallowing the application of the programming voltage to the {overscore (R)}{overscore (P)} pin 22. Although illustrated as locking the boot sector, other sectors can be similarly protected.
According to the present invention, a new circuit design and method of manufacturing thereof is provided wherein programming method associated therewith which requires a jumper in series, or a low value of resistor (the resistor must be low enough value to cause destruction if programming voltage is applied) with the {overscore (R)}{overscore (P)} pin to be inserted after reflowing and topside ICT (In Circuit Test) and flash programming. Any resistor with sufficiently low power rating that a voltage of 12 volts across it will burn it out can be used, for example one having a resistance of 25 ohms at 0.25 watts, or ones having a resistance of less than 100 ohms at 0.25 watts. For resistors rated with lower wattages, resistors having greater that 100-ohm resistances could be used. The method comprises programming and locking the flash boot sector prior to adding the resistor or jumper on the board. Once the resistor or jumper is added, if the required voltage (e.g., 12 volts) is applied to the {overscore (R)}{overscore (P)} pin, the components on the reset line will be destroyed, and the IRD system thereby becomes inoperative.
It is unlikely that a hacker is able to cut the connection between holes 16 and 17. Even if a hacker is able to cut the connection between holes 16 and 17, the hacker would not be able to reprogram the flash memory 12 because the {overscore (R)}{overscore (P)} pin 22 is coupled to ground through the resistor 30, making the flash memory 12 inaccessible for reading and writing.
This new circuit design and programming method allows the programming to occur with the flash chip on-board, as opposed to an off-line programming process prior to the chips being placed on the board. Therefore, this programming method allows a more efficient product flow and less chance of causing an undesirable physical damage (such as with bending a pin of the flash memory chip) since the programming has taken place after physical implementation of the flash memory chip on a circuit board. The disclosed new circuit design and programming method also reduces handling and labor in a factory.
It will be understood that many additional changes in the details, materials, steps and arrangement of parts, which have been herein described and illustrated in order to explain the nature of the invention, may be made by those skilled in the art within the principles, spirit, and scope of the invention.
Benefit of Provisional Patent Application 60/366,319, filed Mar. 20, 2002, is claimed.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US03/08354 | 3/19/2003 | WO |
Number | Date | Country | |
---|---|---|---|
60366319 | Mar 2002 | US |