273 points · by IBM · 9y ago · 94 comments
> Securely erasing saved keys is just as important as generating them. It’s especially challenging to do so on flash storage, where wear-leveling might mean multiple copies of data need to be erased. To address this issue, iOS devices include a feature dedicated to secure data erasure called Effaceable Storage. This feature accesses the underlying storage technology (for example, NAND) to directly address and erase a small number of blocks at a very low level.
I guess that means separate storage, as the main storage in recent iPhones is an NVMe SSD and not raw NAND attached to the processor.
BTW, is there a good / easy way to connect raw NAND to a normal desktop PC?
However beyond this, you need to know a bit more information to interpret this raw data. This includes any data framing structure, error correction, scrambling, encryption and read error recovery algorithms. A lot of this information is non-standard or only available under NDA from the manufacturer.
https://gist.github.com/computerality/3e0bc104cd216bf0f03f8d... <--- only the new parts
tl;dr:
https://twitter.com/computerality/status/844652877058625536
https://gist.githubusercontent.com/computerality/3e0bc104cd2...
http://www-inst.cs.berkeley.edu/~cs161/fa16/
(Yeah, it says optional on the syllabus but Weaver said required in lecture.)
(It's just called something else.)
Historically Android has been lagging behind a bit from iOS devices when it comes to security, but Pixels and their software have a very similar security model and design (with some exceptions - less granularity with file-based encryption and some other mostly minor details).
Non Google devices however are usually significantly less secure - not so much due to Android design, as due to manufacturers deliberately disabling Android's security featuers (e.g. only Pixel actually uses dm-verity at this moment if I remember correctly), refusing to update them, building devices with bad trustzone drivers... etc.
If you keep to the 1st party (Google-branded) devices like in iOS world, you're mostly ok.
https://people.eecs.berkeley.edu/~raluca/cs261-f15/
But to me, they seem to be trying to find a moderate level of security with a profitable cost of goods. It doesn't seem that their heart is in it the way Apple's is with the Enclave. iOS is still breakable at the nation state level but well that's quite a high bar. Nation states are breakable at the nation state level.
[1] - https://developer.android.com/about/dashboards/index.html#Pl...
The latter is important: at the end of the day, software can only be as secure as the hardware on which it is installed. For example if someone can tamper with the hardware random number generator then your crypto becomes compromised.
There's a bunch of areas which only matter a lot to a small group of people where, when you investigate it, Apple has quietly been doing the right thing for a long time.
I know I certainly wish there was a Keychain access app like on macOS available for iOS rather than only being able to access passwords via Safari settings.
Any better examples come to mind of apps that refuse to run unless hey have an unreasonable feature granted?
The Chinese WeChat messenger also refuses to run unless location access is granted, even though messaging apps do not depend on location to work.
This type of behavior makes fine-grained permissions systems not very useful. It should be prohibited by the Apple App Store and Google Play Store.
????
https://hn.algolia.com/?query=author:tptacek%20responsible%2...
Incidentally, in the list of IDs you published, are those real? If they are: that's BS that you are publishing real people's IDs, and I'm also surprised by the number of numeric qq.com accounts.
Anyways, it's a privacy violation. Apple shouldn't be handing out your email without your permission. Facebook has a setting allowing you to choose whether you want your email to be public or not.