Researcher Has New Attack For Embedded Devices
tinkertim writes "Computerworld is reporting that a researcher at Juniper has discovered an interesting vulnerability that can be used to compromise ARM and Xscale based electronic devices such as many popular routers and mobile phones. According to the article, the vulnerability would allow hackers to execute code and compromise personal information or re-direct internet traffic at the router level. Juniper plans to demonstrate not only the researcher's discovery, but also how he managed to use a common JTAG developed Boundary Scan to discover the vulnerability at this month's CanSecWest conference in hopes of shifting more of the black hat community to looking at devices instead of software."
Are belong to us?
You can use a debugger to actually see where the code checks for the registration key, and by manipulating the program in a hex editor, you could even make the code skip over the check and run without the key.
I've just had the greatest idea for my PhD.
that Juniper wants the BLACK HAT hackers focusing on their hardware?
To me that seems bass ackwards. Something seems fishy about the post, perhaps they want White HAT hackers, or maybe they are afraid of the interest of Black Hats but... surely they aren't excited to have people finding holes in their devices and not reporting them?
Sometimes the best solution is to stop wasting time looking for an easy solution.
Is this implying that it could be done remotely? The product I work on supports JTAG access via software, but if you can do that, you already own the box. (And have our internal hardware specifications.)
If it's not remote, then what's the point? I though it was already well-established that if you have physical access to the device you can do anything you want.
If the attack involves popping open the router and attaching wires to the JTAG port, I'm not going to worry about it.
I think you lost that battle in the 90s, sorry.
The article doesn't claim that the attack uses the JTAG port. It claims that he used the JTAG port to find some sort of vulnerability. People do this ALL THE TIME.... I do it at work to reverse engineer automotive computers.
Now it does say that there is some peculiarity of these specific CPUs that makes them vulnerable to an attack of some sort. I hope the peculiarity isn't the presense of the JTAG port. If you assume people won't get your binary code off of a chip because it doesn't have a debug port then you're a fool.
Rats would be more funny if they could fart.
About the only part of the software industry that doesn't assume that you've already won if you've got physical access to the box (and getting into a JTAG port kind of implies that) are the folks who still have a dog in the DRM fight... and there's fewer of them every year.
Ehhhh, you can't fool us; it's the easiest thing in the world for a man to look as if he's got a great secret in him.
Just tell us, no free publicity.
"Eve of Destruction", it's not just for old hippies anymore...
Wow, I haven't heard anyone going on about that in years. Good show!
Maybe this "atack" is not useful to remotely hack into the box. But there are other reasons to hack a device. It could help with reverse engineering for example.
Reminds me of a security presentation about how Nintendo had secured the Wii, over the gamecube. Apparently they had changed the physical interface to a JTag like port and changed to password to all capitals. heh.
Ok, then what is a No-CD Crack?
If I have nothing to hide, don't search me
Juniper plans to demonstrate... at this month's CanSecWest conference in hopes of shifting more of the black hat community to looking at devices instead of software
My initial reaction was along the lines of, "Good God, I hope they get together with Marvell & JTAG and post some firmware updates before they release the details."
To do otherwise would strike me as nigh unto criminally negligent.
Or maybe they're saying that the vulnerability can't be patched in firmware?!? If so, then yikes! [And all the more negligent...]
I know what a Cracker is... and they are really good with butter!
JTAG is not accessible remotely so this guy is talking out of his ass.
You cannot compromise the system unless you have physical access to the JTAG.
The JTAG cannot be accessed thru ethernet or CAN.
If the designer is stupid enough to use embedded windows then I would agree that it can be easily compromised but not with the JTAG. If a company wants to protect its code it can read protect the flash and then all you couldn't do anything with the device until you erase the flash. Micronas has an option to disable JTAG and then you have to bring the correct level to certain pins to erase the device which reenables the JTAG.
It is rather nice to be able to erase the code in a device that you own and do what you want with it. What is wrong with that and why would anyone be stupid enough to think this is compromising anything?
You compromise something when you attack someone's crap, not when you're playing with your own stuff.
If you access a device that is not yours in a building that is not yours, then this could be compromising something. It's like someone robbing a bank, nothing to do with JTAG easy access.
Does this mean better iPod hacks are coming? This is mostly over my head, so I don't know if it's even relevant to iPods or similar devices...
Stasis is death. Embrace change.
nice pun if it was intentional...
as someone who designs jtag into systems I can tell you that alot of implimentations extend the standard and allow you to run bist routines... some even alow you to dump the entire chip content... this is a debug feature. try an extest or sample/preload command.. look, you just owned the IO! at least 20 years ago people were putting embedded fuses into this type of logic to allow these interfaces to be shut down post-debug/design but before being shipped to the field on cryptographic/sensitive chips.
if there wasn't any physical security component to the protection profile of the target, you didn't really do anything... if there was (say FIPS-140 level 3 or 4 validated), thats something different.
> I've just had the greatest idea for my PhD.
:-)
You're going to pirate your PhD!?!
Please keep the racial slurs to a minimum...
I resemble that statement.
He probably used the JTAG port to take a look and play with the ARM/XScale processors, but not the Boundary Scan part of the port's capabilities. Even the article doesn't mention the Boundary Scan, which is normally used only for testing whether the processor is well and alive.
warning: The above post tests positive for sarcasm and should be taken with a pound of salt.
Unless you're talking about trying to 'edit' what's going into a particular IC when you already have access to the board. That I could see... but why not just plug into it, then?
Have you been touched by his noodly appendage?
Processor Magazine http://www.processor.com/editorial/article.asp?art icle=articles%2Fp2913%2F54p13%2F54p13.asp&guid=&se archtype=&WordList=&bJumpTo=True is reporting that developers at Steelcape http://www.steelcape.com/has developed a new solution sending data without opening ports on the firewall. Will this work with embedded devices?
When you JTAG into a device you OWN the device. This is no breakthrough. It's what JTAG was designed to allow you to do. Jeez..
As I understand, on XScale the JTAG debugger downloads some code into the minicache to interface with the JTAG probe. If an attacker has this kind of physical access to the device the battle is already lost. Having worked on XScale security for a few years, I'm skeptical this guy found any critical vulnerability.
You just need to get the victim to open up their unit, solder on some contacts and hook up an ethernet-enabled jtag debugger and plug that into the ethernet without a firewall. Something like: http://users.actrix.co.nz/manningc/lejos_nxt.jpg (a JTAG unit hooked up to a Lego NXT device).
You'd then be able to debug the device as much as you want without the victim noticing anything.
Engineering is the art of compromise.
On some devices you can disable the JTAG making this attack impossible.
Engineering is the art of compromise.
It obviously depends on whether you own the game/program in the first place- I'd be willing to bet most people who apply them don't, thus they are "cracks".
I'll really impress if the author can send a TCP packet through the ethernet port and hack the ARM router. Solder an interface JTAG to the router ARM CPU is (yawn) useless. I might as well hack my machine directly. But then, what the hell for?
It's really important to make a distinction between ARM Ltd- who make IP cores implementing the ARM architecture (now at version 7) and XScale which is an Intel implementation of the ARM v4/v5 architecture. Intel has an architecture license to produce products compatible with ARM-derived cores. Any kind of micro-architectural vulnerability is very unlikely to be shared across ARM Ltd and Intel implementations because they share no heritage. So making sweeping statements of vulnerabilities across all ARM-compatible embedded devices is premature and unnecessary
Barnaby used the JTAG to determine vulnerabilities in embedded hardware and the RTOS running on it. The vulnerability is not that he used a JTAG, or even that companies leave JTAG ports enabled on hardware (as i've seen clever hardware hackers pin out the chips themselves to re-enable a removed JTAG port). The point of this article, and much of the work barnaby has been doing for the past couple years (http://research.eeye.com/html/advisories/publishe d/AD20060714.html , also previous presentations at cansec, blackhat, and other confs), is that hardware is not safer than software. Hardware has a slightly higher cost of entry into the vulnerability research area, but it also offers a treasure trove of vulnerabilities for those willing to make the jump.
The parent gets it.
the NPG electrode was replaced with carbon blac