DaveK’s Embedded Security Blog
Comment
cdhmanning
I know you get upset when I make comments on your postings, but here goes ...
davek_ghs
So a hacker finds a couple gaping holes, and your reaction is to conclude that ...
The hackers have your PlayBook
Dave Kleidermacher
1/3/2012 5:55 PM EST
In my last blog, I wrote about the Duqu worm, as an example of how secure computing systems must be built from microkernels, not monolithic operating systems. One reader responded that secure systems depend on more than just the kernel, and must include middleware and applications. I answered in vehement agreement. The microkernel "attitude"--minimal implementation, componentization, least privilege, secure development process--needs to be applied holistically to the entire system.
To build on that theme, let's talk about the recent news of the RIM PlayBook being rooted. For those unfamiliar, the PlayBook tablet uses a microkernel-based operating system that has been touted as the heir apparent for all RIM devices. RIM has had a stellar reputation for providing secure smartphones for enterprises. The decision to switch from the original BlackBerry OS to this microkernel was certainly not a decision taken lightly.
So how does the new RIM microkernel fare in terms of security vulnerabilities? While numerous vulnerabilities in the RIM microkernel have been reported in the National Vulnerability Database, the hacker community has had little impetus to exploit its vulnerabilities.
Until now: when RIM decided to incorporate the microkernel into the PlayBook and next generation smartphones, this let slip the dogs of war (or maybe just some kids having fun with their toys…).
In contrast to Android devices and iPhones that are rooted/jailbroken early and often, Blackberry has had the mystique of being untouchable. The founder of Blackberry news site N4BB.COM stated, "This [PlayBook] is the first time a Blackberry product has ever been rooted." The first time a Blackberry device has ever been rooted is the first time a Blackberry device has used the new microkernel.
The root was caused by a flaw in the RIM OS, based on the new microkernel, which is now documented in the National Vulnerability Database as CVE-2011-0291, stating that the vulnerability "allows local users to gain privileges via a crafted configuration file in a backup archive." The database entry describes the impact as follows: "Provides administrator access, allows complete confidentiality, integrity, and availability violation; allows unauthorized disclosure of information; allows disruption of service." NIST has assigned the vulnerability a "HIGH" severity rating.
On December 6, RIM issued a security patch for this vulnerability. A few hours later, the same hacker demonstrated he could root the device using another vulnerability.
Lessons learned
Dave Kleidermacher is CTO of Green Hills Software. He writes about security issues, sharing his insights on techniques to improve the security of software for highly critical embedded systems.
To build on that theme, let's talk about the recent news of the RIM PlayBook being rooted. For those unfamiliar, the PlayBook tablet uses a microkernel-based operating system that has been touted as the heir apparent for all RIM devices. RIM has had a stellar reputation for providing secure smartphones for enterprises. The decision to switch from the original BlackBerry OS to this microkernel was certainly not a decision taken lightly.
So how does the new RIM microkernel fare in terms of security vulnerabilities? While numerous vulnerabilities in the RIM microkernel have been reported in the National Vulnerability Database, the hacker community has had little impetus to exploit its vulnerabilities.
Until now: when RIM decided to incorporate the microkernel into the PlayBook and next generation smartphones, this let slip the dogs of war (or maybe just some kids having fun with their toys…).
In contrast to Android devices and iPhones that are rooted/jailbroken early and often, Blackberry has had the mystique of being untouchable. The founder of Blackberry news site N4BB.COM stated, "This [PlayBook] is the first time a Blackberry product has ever been rooted." The first time a Blackberry device has ever been rooted is the first time a Blackberry device has used the new microkernel.
The root was caused by a flaw in the RIM OS, based on the new microkernel, which is now documented in the National Vulnerability Database as CVE-2011-0291, stating that the vulnerability "allows local users to gain privileges via a crafted configuration file in a backup archive." The database entry describes the impact as follows: "Provides administrator access, allows complete confidentiality, integrity, and availability violation; allows unauthorized disclosure of information; allows disruption of service." NIST has assigned the vulnerability a "HIGH" severity rating.
On December 6, RIM issued a security patch for this vulnerability. A few hours later, the same hacker demonstrated he could root the device using another vulnerability.
Lessons learned
- Not all microkernels are created equal: independent high assurance evaluation is necessary to establish meaningful security claims
- Microkernels (assuming they were developed for high assurance) are a necessary but insufficient requirement to achieve total system security; high assurance design must be applied to all critical aspects of the system. One example of doing it the right way can be found here (and based on a microkernel).
Dave Kleidermacher is CTO of Green Hills Software. He writes about security issues, sharing his insights on techniques to improve the security of software for highly critical embedded systems.
Navigate to related information



dvandit
1/5/2012 1:59 PM EST
The key thing here is that the hacker is also the user, the hacker is not some anonymous remote person that the user is unaware of. Thus the Playbook is a safe computing platform, (well for now anyways).
Sign in to Reply
davek_ghs
1/5/2012 2:21 PM EST
So a hacker finds a couple gaping holes, and your reaction is to conclude that the system is safe? The absence of a published remote vector does not imply safety (e.g. nonexistence of an unpublished remote vector). Hopefully we can all agree that a platform should be assumed insecure until proven otherwise. It's not the justice system. In fact, this tendency to assume safety is precisely the problem with computing and security today. We assume, wrongly, that systems are secure just because a vendor releases it to the market and maybe claims it's secure. Why? We assumed that RSA was secure, Sony, etc. The best way for the user community to gain assurance in safety and security is through independent expert evaluation/certification/accreditation against a meaningful security standard.
Sign in to Reply
cdhmanning
1/6/2012 4:43 PM EST
I know you get upset when I make comments on your postings, but here goes anyway...
Have a good read of http://en.wikipedia.org/wiki/Rooting_%28Android_OS%29
There are four rooting mechanism described here, only one of which has anything to do with the OS and has since been fixed.That was the keyboard handler running as root user - outside of the kernel so is not really an OS failure.
All the others are done by interfering with the bootloader or firmware upgrade process (by signing with a leaked key) which happens when the OS is not even running. From what I have read, the Playbook root is one of these, but I might be wrong there.
It would thus seem incorrect to suggest that none of these issues would happen on a microkernel device.
If I had a device running a microkernel (or your choosing) and upgraded it with a firmware that had been rebuilt with root access, surely that would have just rooted the device? Can a microkernel prevet that? If so, how.
If you could point me at white papers to back up your claim I would be most interested.
Sign in to Reply