Slashdot Mirror


Semi-Automatic Hacking of Masked ROM Code From Microscopic Images

An anonymous reader writes "Decapping chips and recovering code or data is nothing new, but the old problem of recovering Masked ROM through visual inspection (binary '0' and '1' can be distinguished within the images) is normally done by crowd sourcing a manual typing effort. Now a tool that semi-automates this process and then recovers the data automatically has been released."

7 of 42 comments (clear)

  1. Nice 8085 example by ranulf · · Score: 5, Interesting

    For a nice example of this being done by humans, see Ken Shirriff's decoding of the 8085 instruction decode logic.

  2. This is awesome... by jonwil · · Score: 4, Interesting

    Could be useful for future MAME work if someone is able to decap (and photograph) various otherwise un-dumpable mask-ROM-based MCUs and other chips.

    1. Re:This is awesome... by Rik+Sweeney · · Score: 4, Interesting

      Interestingly, this was done for Bubble Bobble to ensure that the emulation was perfect:

      http://mamelife.blogspot.co.uk/2006/08/completed-at-last.html

    2. Re:This is awesome... by Anonymous Coward · · Score: 4, Informative

      This is done for the SNES, and all known coprocessors have been perfectly emulated. Write-up here, with pictures and explanations.

  3. As said this is not really new... by rimcrazy · · Score: 5, Informative

    I use to work for a large semiconductor company that manufactures microcontrollers. (I won't say who but they really make very small micro chips) I got into hot water once as I was the geek they called into a meeting to explain to a customer just how secure their technology was and because the rom code was stored in EEPROM that all was safe and secure. Well, first, no one told me the issue that was bothering the customer and second, they just called me in cold and I was asked "Can someone reverse engineer the code that is stored in the device." Being Dilbert to a T I looked at the crowd and said, "Sure if you have enough money. Just decap the device, put it into a voltage contrast SEM and fire it up. You'll have nice pictures of bright and dark spots on the memory array and in no time you'll have the code". Customer went batshit. My boss gave me the look of death and I'm standing there saying "What?" "You asked me if it can be done" "I just told you how to do it. It's not cheap but it's possible".

    These days this is probably a lot more difficult as many, not all, but many IC's are mounted in a package face down as they use bump technology to do both die attach and signal connections.

    --
    "TV, a medium as it is neither rare nor well done." Ernie Kovacs
  4. A better method: captcha by ctrl-alt-canc · · Score: 5, Funny

    Just split the ROM mask image into subimages, and ask engineers to decode a piece of the embedded code to access pr0n sites, and you will get the job done in a few minutes.

  5. Re:THIS is what we need more of on /. by Jorl17 · · Score: 4, Insightful

    And yet, only 18 comments. Why? This was the most awesome article in MONTHS.

    --
    Have you heard about SoylentNews?