Secret debug mode uncovered in AMD CPUs

by Pete Mason on 15 November 2010, 11:30

Tags: AMD (NYSE:AMD)

Quick Link: HEXUS.net/qa23n

Add to My Vault: x

An intrepid hacker has managed to uncover a hidden secret in AMD CPUs by unlocking a debug mode present in almost every one of the company's processors released in the past decade.

According to the discoverer, who goes by the name Czernobyl, all AMD chips starting with the Athlon XP have a firmware-based developer mode built in. This is meant to be used by the company's engineers during the development process to ensure that everything is working properly, and is apparently a fairly common feature on chips from any manufacturer.

However, AMD's has managed to be kept a secret until now because the mode - which is disabled by default - can only be accessed by entering the correct values into the processor's registers. Understandably, these values are highly guarded secrets known to only a limited number of people.

Using a brute-force approach, Czernobyl has now managed to discover what these keys are, granting access to the debugging features for anyone to enjoy. In theory, this will open up a whole new set of tools and possibilities for hacking, debugging and reverse engineering.

This particular hack is still very early in development though, and comes with the very clear warning that "the item is WORK IN PROGRESS, but USABLE hence released AS IS". Unfortunately, this makes the chance of inputting an incorrect key value all the more likely - a mistake that will instantly crash the entire system.

For anyone who wants to know more, Czernobyl has posted all of his findings so far to the RCE Knowledge Library.

UPDATE: AMD wanted to update on what impact this might all have. The short version is that there are no security concerns associated with the dubug mode and it won't allow any sort of hacking of reverse engineering of the processors themselves. So basically, there's nothing to worry about, in case you were concerned.



HEXUS Forums :: 23 Comments

Login with Forum Account

Don't have an account? Register today!
Pedantic again but I found a grammatical error in the article.

", all AMD chips starting with the Athlon XP have a firmware-based developer mode built in.“

”the" doesn't fit in with the rest of the sentence…



Back to topic, this guy has way too much spare time. It is quite a find though, and I'm sure AMD are pissed off. I wonder what he plans on achieving with this debug mode.
Makes perfect sense to me Exhail?

Anyway, yeah, will be interesting to see what actually comes of it. Somehow, I can't help feeling like it might blow over without much actual end product.
snootyjim
Makes perfect sense to me Exhail?
It's incorrect English all the same.
ExHail
It's incorrect English all the same.

No it's not. It could maybe use commas to separate sub-clause “starting with the Athlon XP” from the rest of the sentence, but that's a matter of style and the sentence is perfectly acceptable as is. In fact, it would be incorrect English without the “the”. Perhaps you're trying to read the sentence with a different meaning than the intended one?
scaryjim
No it's not. It could maybe use commas to separate sub-clause “starting with the Athlon XP” from the rest of the sentence, but that's a matter of style and the sentence is perfectly acceptable as is. In fact, it would be incorrect English without the “the”. Perhaps you're trying to read the sentence with a different meaning than the intended one?

“Athlon XP” is not a noun… It is an adjective in this sentence. “the” Cannot refer to an adjective, it requires a noun as a reference.

This is the correct use of words for that sentence:
“, all AMD chips starting with Athlon XP have a firmware-based developer mode built in.”

Here is a good article you should read: http://www.sirlin.net/articles/writing-well-part-1-sensibilities.html