Depackaging the Nintendo 3DS CPU
gaasedelen.blogspot.co.uk
gaasedelen.blogspot.co.uk
However it makes me realize in what kind of weirdly antagonistic society we live. In an ideal universe, you could just ask the Nintendo engineers for the chip layouts, or for the boot ROM. It reminds me of a documentary I saw the other day where they tested the chicken content of chicken salad. Again, in an ideal universe, you could just ask the manufacturer. Of course that would be naive in the real world, since manufacturers and consumers have different interests. Most of the time we don't notice anything weird about this. A bit of competition is usually considered a good thing. But every now and then I have a WTF moment... Why are we working against each other? How much productivity do we loose through duplication of effort? Are the losses from this smaller or bigger than the gains from healthy competition? I have no great answer for that...
Oh and sorry for hijacking the comment area for a rant about the world and so on ;-).
In an ideal world. An ideal world sounds really cool! The implementation details might get a little crazy though.
Basically he takes pictures of the circuits on the smart card and then reverses the logic from that. There's even software to assist with that [1].
As a pure software guy I was pretty baffeled when I saw this the first time.
http://gaasedelen.blogspot.co.uk/feeds/posts/default?alt=rss...
What's old is new again.
I just forget who did it, which is unfortunate.
I found a similar idea here: http://members.iinet.net.au/~lantra9jp1/gurudumps1/decap/ind... The photo in the upper-right looks like it could reasonably be turned into binary, if you knew what you were looking at.
Anyone have any more info about how this actually works?
Start here:
Somewhere in that site they detail the step by step process of decapping, delayering photographing and identifying the logic.
There's also a JavaScript simulator, check it out.
The CCC also had a few lectures about decapping. The most interesting one is about backside scanning the die to bypass the safety features.
https://www.youtube.com/watch?v=dtviiOJ-2hI
It contains lots of info and technical details.
Another one:
https://www.youtube.com/watch?v=KVmpBPbGPsQ
This is what an actual ROM looks like:
https://docs.google.com/document/d/18IGx18NQY_Q1PJVZ-bHywao9...
As the last image shows, the ROM table values are extracted by graphics processing the photo.
It's also possible to dump the ROM by reading it byte by byte, but this depends on the architecture (not always possible) and is typically done for mask ROMs that contain data.
Nice setup. I was almost expecting an RF anechoic chamber for the bedroom. The bonus would be you can shut the door, and it would be a very quiet sleeping space.
"does no harm" might be an exaggeration here. It's doubtful you'd have a functional chip. But the fine structure remains, clearly.
Toss some nitric acid in there, forming aqua regia, and you'll dissolve the whole chip including any gold.
I have a couple of fully functional examples on my desk that say otherwise. If you actually want to keep the device usable to the point that you can still solder it to a board, then you normally preserve most of the package, bond wires, and leadframe which requires more care during decap. For this particular specimen we didn't bother because we just wanted the ROM.
Here's an example of a fully functional decapped device soldered back to a board: http://i.imgur.com/UebB3FO.jpg
My lecture notes at http://security.cs.rpi.edu/courses/hwre-spring2014/Lecture3_... go into more detail on various methods, chemical and otherwise, for decapping with and without preserving the leadframe.
The nice thing is they decap old/common devices.
With a handheld the most important number, to me, is battery life. I still feel that Nintendo (and Sony) could do more by using a more efficient or lower power chip and get a couple more hours out of the device.
Then again I do not care that much for graphics so perhaps my opinion is in the minority. There are several things I would change about the 3DS if I could but upping the processing power is not one of them.
I bought my 3DS for basically 3 games, and while the graphics don't compare to my phone or tablet, the fact that I can even have them in a portable form factor prevents me from caring that it's underpowered.