The State of Linux Security
linux-audit.com
linux-audit.com
> Stop using MD5. If you still use SHA1, then add also the SHA256 or SHA512 hashes.
How did hash strength have anything to do with this? Unless my sources are completely out of whack, the MD5 of the backdoored ISO didn't match the official ISO. My understanding is that there is a vulnerability along these lines, but it requires the official build process to be compromised, whereas this was an edit on the Mint website to point to a malicious file on an attacker-controlled server.
https://linuxmint.com/edition.php?id=225
Only a few of the ISOs are delivered with TLS/HTTPS, like this one:
https://mirrors.c0urier.net/linux/linuxmint/iso/stable/18.1/...
Serving the images directly over HTTPS would provide more security for every end user that is not manually checking signing hashes.
¹ I'm aware that APT actually uses GPG, but it does (did) so fishy manipulations both before and after invoking GPG on the signed files, that, if this would've happened in a corporate setting, I'd have rather peculiar questions for the employee who wrote that code.
That recent CVE, and also issues in software that I co-maintain, plus all the other CVEs that are delivered to my inbox changed my mind on open source quite a lot. Open source is completely worthless if no one actually bothers to read the code; I doubt anyone actually read those portions of the APT code, because anyone with a secure coding or crypto coding background should be alerted already by the function names (look them up). Instead we all always assume "ah well people use it and someone probably checked that anyway... should be good to go!". NO. It's not good to go. Read [the] code.
From the openSUSE, I brought up my concerns about us not using HTTPS and it boils down to the fact that few mirrors want to host stuff over SSL. And if not many mirrors will do it, the benefit to users is diminished (you can't force the usage of SSL on the client).
On the plus side, openSUSE does serve a copy of the GPG signing key for the ISO over HTTPS (from the main site). I just wish that there were less steps required to be sure that the ISO is official.
I feel the same way about the discussion of Mirai - the only thing broken embedded/IoT systems have in common with any given Linux distro, is the kernel, and maybe a few basic userspace bits (sometimes).
The site does have some interesting discussion about Core Infrastructure (again technically separate from Linux, although fundamental) and other Kernel issues and hardening though.
I would not be surprised to learn that it varies from company to company and chip to chip, with various bits being shared for common logic.
Edit: looks like VxWorks wants a 32-bit CPU, 128KB of ROM, and 1-2MB of RAM. But you get threads, networking, filesystem, etc.
while(1){ } for(;;){ }On more serious MCU's, you might see things like VxWorks or QNX:
https://en.wikipedia.org/wiki/VxWorks
https://en.wikipedia.org/wiki/QNX
As hardware improved, we also saw trimmed down Linux like ucLinux, MontaVista Linux, and so on. It just went from there with increasing complexity (and reboots :).
$0.31 each, available in 2mm x 3mm packages.
What will happen instead is that the world will move on to a microkernel-based OS.
The problems they solve are orthogonal to kernel issues.
Sandboxing thwarts userspace attacks (any program I install has access to my userspace). Microkernels solve kernel side attacks.
The problem with microkernal's isn't compatibility, it's speed.
The problems with microkernels are mostly urban legends.
It is called L4 and is responsible for the baseband communications and secure enclave.
https://en.wikipedia.org/wiki/L4_microkernel_family#Commerci...
Or go to random website look for .Git folders, recreate directory structure from object file, get MySQL passwords and steal user data (I'm not responsible for anyone using my comment for illegal purposes)
Microkernals are supposed to make OSes more stable but they don't. Linux work good enough due to automated testing and amazing kernel engineers.
GNU Hurd, Mach 3, Minix - so far track record isn't good. Stop flamewaring and fire up vim. Write a microkernals if you think you can do a better job
Well, you'd need the adequate permissions to do that in the firstr place.
Or you'd have to exploit the VFS (good luck with that), the disk driver (which is hidden behind VFS, good luck with that), or some other driver which hardware is for some reason not isolated via iommu (good luck with that).
> Linux work good enough due to automated testing and amazing kernel engineers.
You definitely do not run much Linux on production, else you'd know how amazing 2016 has been, regarding kernel vulnerabilities.
Some of them were even reliably exploitable on grsec/pax patched kernels.
> Microkernals are supposed to make OSes more stable but they don't.
Except most RTOSs and anything with high assurance requirements uses microkernels.
> GNU Hurd, Mach 3
Hurd uses Mach, a pre-liedtke, old world microkernel. Not really worth pointing at it, the same way 1971 UNIX isn't representative of Linux.
> Minix - so far track record isn't good.
Minix is doing quite well at what it set out to do: Fault-tolerance.
Definitely proven to be doable but just few doing it.
Even a micro-kernel won't help. Even there, you have a few "keys to the kingdom", such as compromising the HD driver (If I can write what I want, I can modify the micro-kernel how I want).
You seems to be slandering grsec for no reason.
It's not without reason, I don't like people abusing free software in the manner the grsecurity people do it (https://grsecurity.net/agree/agreement.php). They license code under the GPL (because they have to) but then they effectively tell their customers that exercising their right to redistribute code will result in a termination of contract (which is at best against the spirit of the GPL, and at worst illegal).
I disagree.
> Everything is explained very well on the agreement page.
Yes, it's very clear that they're attempting to subvert the GPL by coercing customers into not exercising their freedom to redistribute (section 3, first sentence). I can't find it now (all I could find is https://news.ycombinator.com/item?id=11808914) but there was a thread about this issue earlier this year.
Essentially, in some people's view grsecurity is acting in bad faith which means that they are violating the GPL (not the license text itself, but the copyright law surrounding license agreements).
Even you said they're not breaking GPL multiple times. What they're doing is allowed.