TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Reverse Engineering a NAND Flash Device Management Algorithm

101 pointsby jwise0almost 11 years ago

6 comments

Cokoalmost 11 years ago
I realize that this whole process was more than just data recovery (it&#x27;s a very valuable learning experience too), but if it was <i>just</i> about data recovery, couldn&#x27;t he buy another SD card and re-solder the IC from the broken board to the new one?
评论 #8133851 未加载
userbinatoralmost 11 years ago
You are lucky that the SD card you had used a discrete package for the flash - to reduce costs, quite a few of them just encapsulate a bare die, which is nowhere near as robust; even assuming the die didn&#x27;t crack, trying to wirebond one of those without special machinery is nearly impossible. MicroSD almost exclusively is constructed this way.<p>There&#x27;s also a very interesting article about reverse-engineering the microcontroller used inside: <a href="http://www.bunniestudios.com/blog/?p=3554" rel="nofollow">http:&#x2F;&#x2F;www.bunniestudios.com&#x2F;blog&#x2F;?p=3554</a>
评论 #8135425 未加载
aaron_lalmost 11 years ago
My EE knowledge is a few years out of date, but I was surprised to learn that excessive correlation between pages causes problems. The XOR key used for decorrelation is apparently not too hard to reverse engineer, so I wonder if this could be turned into an attack against solid state storage devices. Would storing a particular data stream which becomes very correlated once the XOR is applied lead to data corruption? Wear leveling and filesystems might make this difficult to pull off, but it still scares me a bit.
评论 #8134823 未加载
评论 #8135048 未加载
评论 #8134448 未加载
kabdibalmost 11 years ago
Very nice article.<p>I wrote a lot of the flash object store for the Apple Newton, back in 1992. I&#x27;ve often wondered how many of the things we came up with were later patented by other companies.
mng2almost 11 years ago
Impressive work and a fantastic writeup to boot. Kinda makes me want to accidentally break something (okay not really).
kaspersetalmost 11 years ago
ECC explanation is also good.