Tag Archive: open source project


Surya R Praveen SE Android: Security-oriented Android from the NSA

On January 6, the US National Security Agency (NSA) released the first public release of the Security Enhanced (SE) Android Project, a program designed to find and plug security holes and risks in the Android flavor of Linux. SE Android is based on the NSA’s SELinux, first released in 2000.

SELinux started as a string of security patches to the Linux kernel along with a few utilities to help with access control and damage confinement. One of the key differences between the base Linux kernel and SELinux is the switch to Mandatory Access Control (MAC), a change from the Discretionary Access Control (DAC), which allows users to elevate their permissions to run certain commands as if they were the root user of the system. MAC can be configured system-wide and only allows users minimum access required to do their jobs. This level of security keeps programs and daemons from causing more harm than they would normally be able to if they become compromised. Individual applications can also be “sandboxed,” which means they are kept away from other applications running, isolating them in case one becomes compromised.

As of the 2.6.0-test3 kernel, SELinux was compiled into the base Linux kernel, and no longer requires separate patches or updates. This merging occurred in August of 2003, and SELinux has also seen contributions from Network Associates, Secure Computing Corporation, Trusted Computer Solutions and Tresys.

Surya R Praveen SELinux logoSE Android was first publicly described at Linux Security Summit 2011. In essence, the NSA is attempting to bring the same access control and damage mitigation measures found in SELinux to the Android Open Source Project. In the Security Summit presentation, a number of known security vulnerabilities were demonstrated and tested against a version of Android running SE Android controls. All exploits failed unless specifically tailored to the particular system, and even in those cases the exploit’s effectiveness was much reduced.

Going forward, the SE Android Project team is looking to incorporate SE Android into Application Layer Security, so it is able to thwart unauthorized access and compromised programs at the application layer instead of only battling at the kernel level.

There’s a lot to do to get SE Android built into the current Android tree, but it certainly seems like the right way to go. With the explosion of applications in the Android market, and some question of why certain applications need access to user information such as the user’s contact list or the ability to access the internet or telephone application when it’s not a facet of the application itself, SE Android controls would be a welcome addition to security-minded Android users. Government entities may find a security-hardened mobile phone operating system enticing to use, as well.

The need for security on the internet and in the mobile space has never been more important. SE Android is looking to bridge the current gap between Android and a secure experience for always-connected communication devices. SE Android won’t make malware a thing of the past on its own, but it will certainly be a welcome edition in the fight against malicious hackers.

Read more about SE Android

Source

Surya R Praveen Locked down

If you were to ask an average Android fan what the best part of the operating system was, there is a good chance that their reply would be that it’s an open source project. The fact that it’s freely available to use and work with is the cornerstone of the Android movement. However, is Android as wide open as users think? According to a recent report from VisionMobile, Google’s mobile OS is actually one of the most locked down open source projects on the market. While not everyone agrees with this point, it’s easy to see how they came to that conclusion.

VisionMobile conducted their research by putting Android up against other open source projects such as Mozilla, Linux, MeeGo, and Eclipse. Using its own market research, the company rated each project on four areas: access, development, derivatives, and community.

How did Android rank? Dead last. In each category the mobile OS scored the lowest, which, in my opinion, does not indicate a lack of openness, but an overstatement of VisionMobile’s self-importance. In reading the infographic, it feels like the whole thing was created to expose Android as an open source sham. As an Android user, I have to take issue with this, specifically because it calls out Android in the areas of access, derivatives, and community.

Access

Of the legs VisionMobile is trying to stand on, this may be the most sturdy. Android is not developed in the open, but in-house until it’s ready for release. Google works with partners like Samsung and HTC to make sure the latest versions plays nicely with hardware, then rolls the source out to the community for its use. Usually there is a large gap between the announcement and demo of the new features, but with Ice Cream Sandwich developers got the source before the Galaxy Nexus was even announced in the US.

Surya R Praveen While the definition of open usually involves fully crowdsourced piece of software, the fact that Google holds the code until it’s ready for everyday use is about quality. Honeycomb was not released until recently because of the fragmentation of the platform, and Google not wanting to exacerbate the problem. Once Android source goes live, anyone can do anything they like with it, even add to the source tree. I can concede the issue to a point, but I don’t think that Google’s focus on quality should be reason for a low score.

Derivatives

This is where VisionMobile’s case starts to fall apart. Android scored low here because it limits who “officially” can have the Android Market on their devices. Manufacturers must meet certain standards and be certified to be able to advertise the Market being there, but are free to either create their own or use one of the other third-party markets available on the internet. Google is not locking down applications like Apple, indeed there are some Android users who wish they would do that to raise the quality of apps. Instead Google is creating a new method of getting apps, allowing users to make the choice if they want to get Angry Birds from the Amazon App Store or the Market. Certification is about keeping hardware partners happy, nothing else. Go get yourself a no-name, knock-off Android device, I guarantee it has the Market installed on it.

Community

Rating a piece of software on whether or not users get tiered rights seem a bit anti-open source to me. The idea is that everyone gets access, not just the elite. Android again scored poorly here because there is no official leveling in the community. I understand that VisionMobile is talking about incentives for developers to actually get projects completed, but Android has one of the strongest communities around! A user can look to several development groups to pick and choose what kind of ROM they want to run on their device. These groups do the work because they love Android, love open source and are pleased to provide the public with a service that an everyday user can’t usually take part in. Docking Android or any of the other programs for that matter is ridiculous.

You can see the results of the study in the infographic below. Readers need to note that it was conducted solely by VisionMobile, using its own market research. Take it for what it’s worth.

Surya R Praveen Open Source Inforgraphic

Vision Mobile via Boy Genius Report

Source