News for hackers. Stuff that matters.
Re:OS X – Safe, yet horribly insecure by X-Istence on Saturday June 25, 2011 @03:16PM (#2696318)
> The Unix Design is significantly less granular than that of Windows, not even having a basic ACL. The UNIX design came from a time when security was less of an issue and not taken as seriously as it did, and so does the job adequately. Windows NT (and later OSes) were actually designed with security in mind and this shows.

This comparison doesn't even make sense, comparing a decades old UNIX design to a comparatively newly designed OS (Windows NT). POSIX permissions have stood the test of time for a long time and by far were much better than what was available in Windows for the longest time. Off course Windows NT has improved on what was available at the time.

That being said, Mac OS X since 10.4 has had ACL, so that argument goes right out of the window. ACL's are enabled by default and they function as designed.

  touch testing
  chmod 700
  chmod +a "otheruser allow delete"
  
  su - otheruser
  ls -lahe testing
  rm testing
> They often share vulnerabilities with core libraries in other UNIX like systems with samba and java being two examples.

That is because they use that exact open source software. This is a simple no shit sherlock kind of deal. Luckily those are going away and won't be in Lion. Java will be an extra download, like Adobe Flash and Samba won't be included by default because of the GPLv3.

Apple's policy regarding third-party software vulnerabilities could definitely be improved, and they already have, but it could still be better. Ultimately many of the third party tools they ship are never used by consumers and even though they may be exploitable they aren't accessible to an attacker (looking at you PHP ...)

> They are extremely difficult to deal with when trying to report a vulnerability, seemingly not having qualified people to accept such reports. Even if they do manage to accept a report and acknowledge the importance of an issue they can take anywhere from months to a year to actually fix it properly.

This has been fixed recently, they have a new head of security [1] and have increasingly shown that they are getting faster at closing bugs and bringing out updates to fix issues. Look at the Pwn2Own contest iPhone bug, Apple was notified and an update was made available that fixed only that one flaw.

Do I think they are doing the best of job? No, MSFT has them beat by a mile with their security response team (really impressive), however the above sentence makes it sound like this is still the case which is no longer true.

--

It is a pretty good article in that it shows that there are certain issues that Apple could definitely improve upon, but completely ignoring any development to OS X for the past couple of years doesn't look good at all especially when the flaws you are attempting to point out have already been fixed.

[1] http://threatpost.com/en_us/blogs/apple-hires-new-security-c...

Re:OS X – Safe, yet horribly insecure by rlpb on Saturday June 25, 2011 @04:14PM (#2696453)
Whether ACLs are present or not makes little difference. When a user is logged in, he either has access to do something or he doesn't. Only one line of that ACL really matters, and that's the same on a system with permission control but no ACLs (such as traditional Unix).

If the user is able to escalate his privileges (whether with UAC or sudo, the OS doesn't matter) in order to install malware then he loses.

Re:OS X – Safe, yet horribly insecure by X-Istence on Saturday June 25, 2011 @04:23PM (#2696465)
I completely agree, I was merely refuting the authors point. Not stating that security does or does not rely on ACL's.
Re:OS X – Safe, yet horribly insecure by tobylane on Sunday June 26, 2011 @05:26AM (#2697720)
The recent malware entirely (as I understood) depended on the user putting their password into an OS prompt for permissions for the bad program. How can the OS make the line between that and something safe like Growl or Virtualbox?
Re:OS X – Safe, yet horribly insecure by LaGrange on Sunday June 26, 2011 @09:37AM (#2697984)
Stating the obvious: App Store only software installs, and other DRM solutions. And yes, that has a price that people may or may not be willing to pay.

It's somewhat scary, but I'm starting to think that we will be forced to adopt something like that. Computers are used for serious stuff too (payments, medicine, things like that), and, apparently, way too many people can't be trusted to administer their computers securely. Right now people are mostly damaging own life, but if this starts happening to medical records, it's going to go beyond personal security.

It's too bad, really. Even if "developer programs" were free -- i.e., just required asking the corp for a developer key (this could be enforced on state level), it would be more of a hassle than it should be.

Re:OS X – Safe, yet horribly insecure by tobylane on Sunday June 26, 2011 @03:12PM (#2698790)
So lets see an option in 10.8, aka Ocelot, where there is a fairly hidden button called Allow non-app store app installs, with a readable (unlike itunes eula), in Security.
Re:OS X – Safe, yet horribly insecure by there on Saturday June 25, 2011 @07:54PM (#2696973)
on a unix server, you have to be root to read everyone's data.

on an os x laptop, you can be the logged-in user and read everyone's data. file permissions don't really mean much when everything of importance on the system is owned by one user (which is running dozens of applications with large attack surfaces).

that's not really a criticism of mac os, because it's the same on a windows desktop. you need elevated privileges on both systems to be able to do certain things to the system, but if all you want to do is steal sensitive documents, spy on the system's webcam, launch DDoS scripts, or add a command to the startup/login sequence, there's no need to bother elevating privileges.

one way to fix that problem is to make the system actually use the file permissions and user separation that the system already has, so that safari is running as a separate user with no access to the operating user's home directory, and that itunes has no access to the machine's webcam.

i haven't really looked into the sandbox feature of lion, but i'm assuming it does pretty much that, just like ios' concept of each 3rd party application being segregated from each other and not able to read files it's not supposed to.

Re:OS X – Safe, yet horribly insecure by xsive on Saturday June 25, 2011 @10:53PM (#2697255)
> on a unix server, you have to be root to read everyone's data.

> on an os x laptop, you can be the logged-in user and read everyone's data

Shenanigans. Unless you have the password of the logged in user, you can't read stuff belonging to other users. Further, if the user in question does not have an Admin account, you're shit out of luck even if you do know their password.

Re:OS X – Safe, yet horribly insecure by tzs on Sunday June 26, 2011 @01:09AM (#2697423)
> Shenanigans. Unless you have the password of the logged in user, you can't read stuff belonging to other users

Their home directory defaults to world readable, and the default umask is set so documents created are world readable, so you can read things in their home directories.

The Desktop, Documents, and so on directories are 700, so things in those should be unreadable.

Re:OS X – Safe, yet horribly insecure by mveldthuis on Sunday June 26, 2011 @03:29AM (#2697629)
I think his point was that on a laptop, everyone is often just the one logged in user.
Re:OS X – Safe, yet horribly insecure by riffic on Sunday June 26, 2011 @02:54AM (#2697582)
reboot into single user mode, be root, read anything.

if you have physical access you can do anything

Re:OS X – Safe, yet horribly insecure by jvdh on Sunday June 26, 2011 @10:21AM (#2698028)
This article is not about physical access, it's about remote security.

If you have physical access to a machine, then you can almost always read the files off of it, except in certain cases with encrypted volumes.

Re:OS X – Safe, yet horribly insecure by seabee on Saturday June 25, 2011 @06:46PM (#2696802)
"[Unix permissions] were much better than what was available in Windows for the longest time"? Try DOS. Windows 1.0 - Me were never multi-user operating systems, which was largely the purpose of having permissions, until the world realised just what a mistake it is to have full, unguarded permission to your system files.

MS's first multi-user OS was Windows NT in 1993, which shipped with ACLs.

Re:OS X – Safe, yet horribly insecure by joshu on Sunday June 26, 2011 @01:39AM (#2697468)
Microsoft Xenix, 1980.
Re:OS X – Safe, yet horribly insecure by seabee on Sunday June 26, 2011 @09:39PM (#2699731)
Huh, well I never. Still a UNIX though, so let's say NT was the first one they designed, perhaps.
Re:OS X – Safe, yet horribly insecure by seanp2k on Saturday June 25, 2011 @06:36PM (#2696781)
I found this article to be very poorly written, although it does makes some good points.

That said, I agree with pretty much all of what you said.