Hacking the Xbox
Hacking the Xbox
Hacking the Xbox
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
32<br />
<strong>Hacking</strong> <strong>the</strong> <strong>Xbox</strong>: An Introduction to Reverse Engineering<br />
and treating one as <strong>the</strong> “sacrificial” box helps remove <strong>the</strong> psychological<br />
barrier one might o<strong>the</strong>rwise have about performing aggressive experiments<br />
on <strong>the</strong> hardware.<br />
This chapter will introduce you to <strong>the</strong> basics of reverse engineering, with<br />
a focus on basic techniques, such as reading circuit boards to build an<br />
intuition, and some coverage of intermediate techniques such as pattern<br />
matching and recognizing basic design motifs.<br />
Reading a Circuit Board<br />
The first thing you see when you take <strong>the</strong> cover off of a typical electronic<br />
device is <strong>the</strong> circuit board. Typically colored green or tan, this multilayer<br />
sandwich of copper, glass fiber and epoxy contains an exact schematic<br />
netlist within its traces. In o<strong>the</strong>r words, by following <strong>the</strong> traces, one can<br />
determine exactly how every component is connected. The placement of<br />
components and <strong>the</strong> layout of <strong>the</strong> traces also contains clues that can bring<br />
insight into <strong>the</strong> designer’s thought process.<br />
Circuit Board Basics<br />
A typical circuit board consists of a few layers of patterned copper<br />
separated by thin sheets of fiberglass impregnated with epoxy. The color<br />
of a raw circuit board is whitish or tan with copper traces; however,<br />
almost all circuit boards are coated with a thin polymer called <strong>the</strong><br />
soldermask that gives circuit boards <strong>the</strong>ir familiar green color. Molten<br />
solder does not adhere to <strong>the</strong> soldermask, so during production excess<br />
solder does not stick to <strong>the</strong> board and cause shorts. The soldermask has<br />
openings for connections to components. These openings typically have a<br />
silvery color from a thin plating of tin or solder that is applied to prevent<br />
<strong>the</strong> copper from oxidizing and to enhance solderability.<br />
On top of <strong>the</strong> soldermask is typically a layer of white lettering referred<br />
to as <strong>the</strong> silkscreen. Each component on a circuit board has an outline and<br />
a unique designator on <strong>the</strong> silkscreen layer. The designator enables people<br />
to quickly associate a component on a circuit board with a component on<br />
a schematic. You can use <strong>the</strong> designator to help guess <strong>the</strong> function of a<br />
component based on <strong>the</strong> component naming scheme. Table 2-1 summarizes<br />
<strong>the</strong> component naming scheme used in <strong>the</strong> <strong>Xbox</strong>.