13.03.2013 Views

Hacking the Xbox

Hacking the Xbox

Hacking the Xbox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

122<br />

<strong>Hacking</strong> <strong>the</strong> <strong>Xbox</strong>: An Introduction to Reverse Engineering<br />

tions available at <strong>the</strong> HyperTransport consortium’s website, were used to<br />

verify <strong>the</strong> assumption that <strong>the</strong> HyperTransport signalling convention is<br />

indeed being used.<br />

The HyperTransport bus is implemented on <strong>the</strong> <strong>Xbox</strong> mo<strong>the</strong>rboard with<br />

all <strong>the</strong> signals parallel and evenly spaced, a decision likely driven by <strong>the</strong> high<br />

operating speed of <strong>the</strong> bus. This makes <strong>the</strong> bus an ideal target for eavesdropping,<br />

except for <strong>the</strong> fact that it runs at such a high data rate. Eavesdropping<br />

a bus that runs at this speed requires special attention to <strong>the</strong> stub<br />

length of <strong>the</strong> eavesdropping traces (in order to preserve <strong>the</strong> integrity of <strong>the</strong><br />

signals) and it also requires a ra<strong>the</strong>r expensive logic analyzer or a custom<br />

analyzer circuit.<br />

Ultimately, <strong>the</strong> Northbridge-Southbridge connection was chosen as <strong>the</strong><br />

first bus to eavesdrop because it has by far <strong>the</strong> fewest wires, and <strong>the</strong>refore<br />

requires <strong>the</strong> least amount of soldering. The Northbrige-Southbridge<br />

connection has only ten unique signals, whereas both <strong>the</strong> FSB and <strong>the</strong> main<br />

memory have about one hundred signals each. Soldering a large number of<br />

connections not only consumes a large amount of time, but also greatly<br />

increases <strong>the</strong> risk of hardware failures due to solder bridges or damaged<br />

traces. Thus, minimizing <strong>the</strong> number of solder connections minimizes <strong>the</strong><br />

risk of collateral damage to <strong>the</strong> mo<strong>the</strong>rboard.<br />

Eavesdropping a High Speed Bus<br />

I had committed to <strong>the</strong> HyperTransport eavesdropping approach in late<br />

January 2002. The significant technical issues with this approach were:<br />

• Tapping <strong>the</strong> high-speed differential bus without disrupting signal<br />

integrity<br />

• Finding or building a logging tool that could keep up with <strong>the</strong> 400<br />

MB/s data rates on <strong>the</strong> HyperTransport bus<br />

• Determining <strong>the</strong> polarity and bit ordering of <strong>the</strong> differential<br />

HyperTransport bus traces on <strong>the</strong> mo<strong>the</strong>rboard<br />

Tapping <strong>the</strong> Bus on a Budget<br />

The first two issues are intimately linked. High-speed bus analysis and<br />

logging tools typically have proprietary interfaces that would require a<br />

custom adapter to <strong>the</strong> <strong>Xbox</strong> mo<strong>the</strong>rboard. The last issue, determining bit<br />

polarity and ordering, just requires a lot of post-processing and data<br />

massaging after <strong>the</strong> data logger is attached and functioning.<br />

HyperTransport is an open standard that has gained industry acceptance,<br />

meaning that off-<strong>the</strong>-shelf protocol analyzers and logging tools are available<br />

for <strong>the</strong> bus. One such example is <strong>the</strong> HyperTransport protocol analyzer<br />

by FuturePlus. Unfortunately, this protocol analyzer was priced in excess

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!