View Single Post
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#7
Originally Posted by tentpole View Post
Is that perhaps the DRM system they were going to (and probably will) put in MeeGo? That'll be more as an anti-piracy move on their part, to get more of the big-time developers to release stuff for MeeGo.
Yep, see http://wiki.maemo.org/Maemo_security

It won't protect against someone uploading a backdoor named "really funny fart app" and owning a ton of devices and everything in them (theres a lot of sensitive information in these devices nowadays..).
Impact is a bit mitigated in 'closed mode'. In 'open mode', they could even brick your device.

UNIX doesn't handle this well though. To prevent this you'd need capability-based security (like Symbian has), or force applications to run in their own VM (sandboxing; which boils down to the same as capability-based security).

Originally Posted by zimon View Post
maemo5 is very vulnarable to MITM attacks because even serious developers just download deb packages and install them with dpkg -i. This way installing the authenticity of the package is not checked in any way, it can be anything if there is a MITM attack.
We usually include checksums of .deb packages in the Debian world, just like the BSD world does with their .tgz Ports.

Once a Thompson's Trojan Horse type of attack has been succesfully made to some developer's system, the crack and the back door can propagate through whole Linux-community.

This is the long known weakness in deb-package-based system.
There is a fix for having embedded signatures in deb-packages, but practically noone is using it.

In rpm-system, the packages themselves have GPG signatures embedded.
So whether you install them by first transfering the package via ubstick, ftp, wget, bluetooth, *, the signature comes along always and is checked when package is installed with rpm-program or by yum, zypper or whatever package manager Meego will have. (Ok, there can be RPM packages w/o signatures but one have to force rpm to install this kind of package if the rpm settings are correctly set in the first place.)

I've been told the above reason is not why they chose RPM in Meego, nor the fact RPM is preferred by LSB, but for me it is an important plus and improvement. Also RPM-package system has transaction-support, which comes handy if system is cold rebooted suddenly in the middle of package installation for example battery has drained out.
APT does have a GPG backend to authenticate repositories. If you then download from e.g. HTTPS you are secure against MITM attacks on network layer, and package layer (provided the certificates are checked). It is still possible for hostile code to be inside a package no matter if it is a .deb or .rpm.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!

Last edited by allnameswereout; 2010-09-19 at 13:34.
 

The Following User Says Thank You to allnameswereout For This Useful Post: