Apple Adds Memory Randomization To Leopard 311
.mack notes a ZDNet blog outlining some of the security features added to OSX Leopard (10.5). Here's Apple's brief description of all 11 new security features. "Apple has announced plans to add code-scrambling diversity to Mac OS X Leopard, a move aimed at making the operating system more resilient to virus and worm attacks. The security technology, known as ASLR (address space layout randomization), randomly arranges the positions of key data areas to prevent malware authors from predicting target addresses. Another new feature coming in Leopard is Sandboxing (systrace), which limits an application's access to the system by enforcing access policies for system calls."
Woo! (Score:4, Funny)
Re: (Score:2)
Re:Woo! (Score:5, Insightful)
Hehe, you were modded +5 Funny, but if it was the other way around:
"Vista is finally catching up with BSD, Linux and OSX!"
You would be modded +5 Insightful... Where are the scores of Microsoft fanboys bashing Apple, damn it!
Re: (Score:2, Funny)
Where are the scores of Microsoft fanboys bashing Apple, damn it!
90% of them don't have any real passions or sense of quality and are just playing follow-the-market-leader.
The other 10% are too busy chewing Ayn Rand's carpet
.Re: (Score:2)
The fair comparison isn't relative to other OS's, it's relative to the black-hat community targeting the OS. Windows didn't start adding security features until well after malware/viruses were a major problem on Windows. Apple, on the other hand, is adding the security features proactively, despite the fact that there are not yet any major virus/malware outbreaks on their platform. Bravo to Apple for thinking ahead!
Re: (Score:3, Interesting)
Then I'll put it on in a drawer.
Then I'll download the ISO of the version I'll install on my PC.
And I'll be a happy Apple customer
(I'm NOT going to buy a Mac unless I win the lottery or something. But I can spend $139 on the company that's produced the best OS for my use.)
Re: (Score:3, Insightful)
Re:Woo! (Score:4, Funny)
or to decide that it's good enough to use but not worth his money - maybe he'll spend a few hours learning what's new and consider himself even with Apple after they forced him to 'waste his precious time'.
Re: (Score:2)
You later complain that the Apple TV (hardware) won't play things that are outside the scope of what Apple said the specs were, and that the DVD Player.app won't skip past things that the movie studios put on the DVD, neither of which are Apple's problems, they're yours.
Re:Woo! (Score:5, Informative)
True. In order to license the codecs and software needed to play DVDs legally a DVD Player has to honor the DVD player spec, which means honoring the stupid "operation not allowed" messages embedded in the DVDs.
Re:Woo! (Score:5, Informative)
Re: (Score:3, Informative)
Were you born yesterday? Seems you know absolutely nothing about OS X.
# Tagging Downloaded Applications Protect yourself from potential threats. Any application downloaded to your Mac is tagged. Before it runs for the first time, the system asks for your consent -- telling you when it was downloaded, what application was used to download it, and, if applicable, what URL it came from.
This was introduced by Microsoft in Windows XP SP2
# Application-Based Firewall Gain more control over the built-in firewall. Specify the behavior of specific applications to either allow or block incoming connections.
You guessed it; Microsoft, SP2 (it was available in third party firewalls before then of course)
# Library Randomization Defend against attackers with no effort at all. One of the most common security breaches occurs when a hacker's code calls a known memory address to have a system function execute malicious code. Leopard frustrates this plan by relocating system libraries to one of several thousand possible randomly assigned addresses.
As the GP said, this has been in lots of OSes for a long time, including Windows Vista.
# Signed Applications Feel safe with your applications. A digital signature on an application verifies its identity and ensures its integrity. All applications shipped with Leopard are signed by Apple, and third-party software developers can also sign their applications.
Again, Microsoft, SP2.
I'm guessing "Well, good ideas should be shared around and used by all kinds of companies", and I agree; but why does it apply to Microsoft security and other internal OS technologies, and workspaces, etc, and not stuff Apple makes?
Re:Woo! (Score:4, Interesting)
Re: (Score:2)
Now, if we could only get the competition to happen on commodity hardware... Can you just imagine it? An OS that combines the popularity of Windows, the consistent feel of a Mac, the security of a BSD, with the openness and price point of linux - Sweet.
Re: (Score:2)
Macs popularity has risen the latest article has Macs at 8.5% market share. OS X is based of BSD and the new version is officially considered Unix. Much of the core is from open source products. Macs are probably the closest thing you will get to your utopian OS
Re: (Score:2)
Macs popularity has risen the latest article has Macs at 8.5% market share. OS X is based of BSD and the new version is officially considered Unix. Much of the core is from open source products. Macs are probably the closest thing you will get to your utopian OS
So it's the Mac, except for the popularity of Windows, and the openness and price point of Linux.
You might as well say it's Windows, because it has all the features he wants, except for the ones it doesn't...
Re: (Score:3, Funny)
After an old joke about the EU, sorry.
Come to think of it... (Score:4, Funny)
Re: (Score:3, Insightful)
Re: (Score:3, Informative)
File system snapshotting?
With the genius that Microsoft shows for marketing, they called the feature "Volume Shadow Copy". Steve Jobs foolishly called it "Time Machine". Everyone knows you want to label interesting features with unwieldy acronyms.
(that's sarcasm). http://en.wikipedia.org/wiki/Shadow_Copy [wikipedia.org] And yes, it's avai
Re: (Score:3, Interesting)
I might be mistaken, but isn't the Apple and MS implementation of this totally different? In the Mac implementation, you can get the history of a single file and resurrect any version of it.
In the MS implementation, if you want to resurrect a file you first have to restore the whole volume. This makes it useful for sytem backup, but not very practical for "oops, I just lost 15 minutes of work" file restore things.
So... I've never really bothered with Volume Shadow Copy but I will defin
Re: (Score:3, Informative)
Re:Woo! (Score:5, Informative)
Re: (Score:2)
Re: (Score:3)
ASLR is not present in XP. Sandboxing.. that is vaguely defined in the article/summary.
All OS-es in the world make use of *some* sandboxing on the hardware level, ring-0, ring-1 etc.
Also all OS-es have privilege implementation (file system privileges, etc.), including pre-Leopard OSX.
But I think Leopard implements something more granular. Windows 7 is also said to run all Win32 code in more pronounced and more granular sandbox than before (which means it'
Re:Woo! (Score:5, Informative)
Nice to hear those Microsoft people are about to catch up with the Java sandbox model from 1997
Re: (Score:2, Flamebait)
Re: (Score:2, Informative)
Such as?
Exactly as you stated, all modern systems have some sandboxing and security constraints. Everything that unmanaged code wants to do -- beyond simply spinning in its own little memory box -- requires the cooperation of the OS. Want to open a network socket? Ask the OS. Want to open a file i
Re: (Score:3, Interesting)
Unfortunately I have yet to see the 'granularity' in
I think the point of a future Windows and
Re: (Score:3, Informative)
Of course, both of these statements are wrong. Lisp machines had finer grained authority management, as did earlier capability hardware (tagging down to the word level); we're talking technology from the 70s and 80s here which can surpass the capabilities of new millennium technology.
Typed Assembl
Re:Woo! (Score:5, Funny)
Re: (Score:2)
obligitary troll (Score:4, Funny)
Cool, but even better... (Score:5, Interesting)
From the changelog [apple.com]:
It sounds like a high-level player finally decided to take on Exchange. My biggest questions: are there Windows programs that support these features via CalDAV, and is there a CalDAV server in FreeBSD's ports?
Re: (Score:3, Informative)
It looks like there are a handful of Windows apps [osafoundation.org] that support CalDAV at this time. Since it's an open standard, it shouldn't be long before more calendar apps support it. As for the server, this [wikipedia.org] is what I could find with a 10 second search. Looks promising, too.
Re:Cool, but even better... (Score:5, Informative)
Also, the calendar server that is used in Leopard is nothing more than the open-source Darwin calendar server at http://trac.calendarserver.org/projects/calendarserver [calendarserver.org]
So, although nothing exists in ports that I can find you can run the Darwin calendar server on FreeBSD.
Re: (Score:2)
There are things like Sunbird and Yagoon but they don't work well with Outlook (i.e. no real integration).
Actually, (it was explained to me that) we get our Outlook licenses for free because we have an Exchange server. If we migrated off Exchange, we'd likely be migrating off Outlook, too, if there was something solid that could take its place. We're a smallish company that doesn't have more than one conference room to reserve and most of our scheduling issues are currently resolved over IM (on our Jabber server - bless you ejabberd!). Maybe KDE4's Kontact will fill the bill.
Re: (Score:2)
You can buy Outlook licenses separately from Office, but Microsoft has set the pricing structure so there's no real advantage to it.
Re: (Score:2)
Re: (Score:2)
I guess we should talk to our Microsoft rep - not everybody needs Office and maybe we can save a couple of bucks...
Re: (Score:2)
MS Exchange also comes bundled with MS Outlook as a stand-alone application, but if you own MS Office licenses you'd still be able to use MS Office even if you migrated off MS Exchange.
Re: (Score:2)
Fixed that for you.
Re: (Score:2)
I don't know details, but Apple is claiming Outlook support for their new calendaring. I'm guessing they've figured out how to mimic Exchange's MAPI, but I guess it might be some sort of Outlook plugin...?
Like I said, I don't know.
Re: (Score:2, Informative)
According to this article [appleinsider.com], apple corporate has switched from a third party calendaring program to iCal so those feature additions make perfect sense.
from page 3:
Re: (Score:2)
Re: (Score:2, Interesting)
Re: (Score:3, Interesting)
Also according to http://www.appleinsider.com/articles/07/10/18/study_iphone_already_nibbling_away_at_motorolas_dominance.html [appleinsider.com]
Re: (Score:2)
I don't see this as a move to take on 'high-level' solutions. If anything, this sounds more like the Calendar sharing features Vista uses (Local,Network,Web).
It scares me sometimes that things like 'upping' shared calendars and other features Windows has had for almost ten years is touted as being 'rev
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Even Windows does this (Score:5, Informative)
Re:Even Windows does this (Score:4, Insightful)
Just look at the U.S. election this year. Everyone and their brother loves Colbert because he is cool and hip and represents a stick in the eye to every other goddamned POLITICIAN out there who can't help but pander to big money and special interest groups. But come election day, it ain't OSX you're putting on your servers.
Know what I mean?
Re:Even Windows does this (Score:5, Funny)
Re: (Score:2)
insightful... bah...
Re: (Score:2)
Re: (Score:2)
Re:Even Windows does this (Score:5, Informative)
From your Wikipedia link:
Since that release was made on 2007-02-05, you could more accurately say that "Linux, of course, has been doing it for months". OpenBSD didn't even really get a strong version of it until 3.8 [openbsd.org], and that wasn't quite 2 years ago. It sounds like Windows had problems [zdnet.com] with it as recently as February 2007, but maybe that's fixed now.
This is still fairly cutting-edge stuff. It's not like they just now implemented memory protection for the first time.
Re: (Score:3, Informative)
Re: (Score:3, Insightful)
I'll give you that, but PaX was never accepted into the mainline kernel. That's what I was using as my criterion for "supported by Linux".
These are just bandaids (Score:4, Insightful)
There is just no way to do this in software. The future is going to be implementing these types of features in well proven hardware. Things like the no-execute bit, virtualization extensions and such are steps in the right direction but eventually I think we will see some really good security measures put into hardware.
Re:These are just bandaids (Score:5, Informative)
You know why we don't do all that in hardware in PCs? Because it requires a huge amount of silicon. Sure, it's great. You learn good programming practices, because you can't get away with slipping even a little. But it costs a lot, gets hot, and goes slow. PCs are meant to be a good enough and cheap enough solution - not necessarily the best solution.
One reason banks run on mainframes (Score:2, Insightful)
You could do this on a PC TODAY (Score:2)
Even the 386 had some fairly largish number of selectors that could be assigned to an application, rather than just the one with a 2GB address space. So, you could have an application get some big amount of selectors, use them for guarded arrays and so forth, and it could be much more secure than now.
Re: (Score:2)
A. It would break a lot of software. "Well detected a lot of already broken software."
and
B. Wouldn't sell.
As you said PCs are cheap and "good enough" for a lot of jobs.
Re: (Score:2)
Good enough and cheap enough is usually the best solution if resources (time and money) hold any value.
Not quite in 100% agreement, but... (Score:2)
The first line of defense is being BADLY neglected.
Get rid of the dangerous APIs (such as the single set of bindings in LaunchServices) and browser features (who the hell thinks automatically opening 'safe' files after downloading is a good idea?) first.
Re:These are just bandaids (Score:4, Insightful)
99% of security is bandaid and "obscurity" under cover. Even cryptography with large prime numbers is just obscurity: they give you the number and if you could factor is quickly, you can break it. You just can't break it quickly yet.
Still though, it's the nature of the beast. It's in uphill battle with the hackers. Tech gets sophisticated, hackers get sophisticated, tech gets more sophisticated... It's evolution in a way.
There are very few security concepts which aren't "bandaids", for example privilege levels are such a security measure, and still, most apps that take advantage of this have a bunch of "bandaids" in them to avoid privilege escalation situations.
ASLR is a practical approach to easily calling known adresses after buffer overflow exploit. If all apps in existence made proper use of the no-execute bit and made sure not to overrun buffers in the first place, ASLR could've been useless.
OS designers though meet a world with imperfect apps, and their task is to improve security in this *existing* situation. They do good.
Re: (Score:2)
Re: (Score:2)
Well, it'll be even less obscure if everyone published their private keys.
The proof is in the using (Score:2)
Re: (Score:2)
grsecurity? (Score:2)
The Summary, as seen by Leopard users (Score:2, Funny)
Trend (Score:5, Funny)
Sandboxing != Systrace (Score:5, Informative)
Another new feature coming in Leopard is Sandboxing (systrace), which limits an application's access to the system by enforcing access policies for system calls
Folks,
Just FYI, the sandboxing in Leopard is not systrace. Systrace is vulnerable to race conditions -- see Robert Watson's paper "Exploiting Concurrency Vulnerabilities in System Call Wrappers" [lightbluetouchpaper.org]. I asked him about this at WWDC, and he told me that Leopard's sandboxing is based on a different technology and is not vulnerable to the same attacks.
--Paul
Windows had this around 1998 (Score:3)
ASLR (Score:3, Funny)
Re:Leopard? (Score:5, Funny)
To give you closeted folk an excuse to talk about your feelings in public.
Simple. (Score:5, Funny)
Because the Macintosh is the Gay Computer [shelleytherepublican.com].
Re: (Score:3, Funny)
Re: (Score:3, Funny)
I think this one is even better.
Microsoft4Life | October 13, 2006 at 3:34 am | Permalink
Having never used an iMac, eMac or any other apple computer ever in my life i can truly say they suck. Shelley is just the only one brave enough to enlighten you people and what do you do? Criticize all the way?
Why dos the mac mouse have only one button? Because they are made for islamic terorist that lost most of their fingers in accidents trying to assemble bombs. How could they rightclick on normal mice when they are
Re: (Score:2)
crash logs (was Re:ASLR == Windows Feature...) (Score:5, Interesting)
2006:
Quark XPress: 207 crashes (as many as 9 per day)
Adobe Illustrator: 25
InDesign: 35
PhotoShop: 15
Acrobat: 65
Microsoft Word: 23
Macromedia FreeHand: 9
Mac OS X: 14 (this includes Mac OS X apps like Mail.app and Safari.app)
The totals for this year are a bit more reasonable --- Quark XPress v6.5: 26, v7: 46 (I had to move the afore-mentioned journal over to Quark 7 after a re-design and that involved a new set of things to work-around) --- but I find Mac OS X overall reliable and workable as an environment (thought not as nice, consistent and synergistic as NeXTstep).
William
Re:ASLR == Windows Feature Since 3.1 (Score:4, Interesting)
Then there's the spinning beachball of death crashes which are a sore point with me.. they happen every time it decides it can't access a network resource* and the only way out is to pull the power cord (since if finder is dead you can't even power off or run the kill application). Got rather sick of doing that last night...
* Which happens rather a lot if you decide to use NFS. NFS under Tiger is broken on intel macs but works OK on ppc macs.. same OS version (allegedly), same NFS share, even the same damned cables.. different result every time.
Re: (Score:3, Informative)
I've never had any problems plugging a Firewire driving into a Mac. Sure that something's not dodgy at your end?
Re:ASLR == Windows Feature Since 3.1 (Score:5, Informative)
Also, if applications are "just vanishing" on launch, you may have disabled the little popup that tells you the 'application quit, wrote a crash log, and would you like to reopen it?'
Re:ASLR == Windows Feature Since 3.1 (Score:4, Informative)
Huh? When most Mac apps crash it produces that "The Application [ApplicationName] has quit unexpectedly" crashlog dialog box, where it shows you a trace and you can choose to type a friendly little note in and send it away to Apple. this thing [wikipedia.org].
I don't see it that frequently but I did find a pattern of actions that would repeatedly crash Aperture the other day, and it popped that thing up every time.
Don't know whether it only comes up for Apple applications or what (I don't think so; I remember getting it a few times when Vuescan crashed). Maybe it only comes up as a result of some types of faults, and not all of the fatal ones. But it seems to work fairly well for me.
Re: (Score:2)
Re: (Score:2)
BSD yes, Linux NO...
ASLR was added to the Linux kernel around Feburary of 2007, so even Vista's more expanded version was available before it was in Linux.
Re:Pre-Binding? (Score:4, Informative)
It's still a bandaid though, just as it is in every other OS that's implemented it (pretty much everything OTHER than OS X has a form of this already).
Re: (Score:3, Insightful)
Actually, I'd tend to view it as just one of a series of preventative measures that one takes in order to KEEP from getting sick. A band-aid is something you throw on AFTER you've been cut up.
And yes, we probably could do more, but not until people are willing to take a minor hit in performance in exchange for hardened security features and layers. Linux in particular tends to erupt in flame wars over just a 0.12% increase/decrease in scheduler performance. And Window's folk
Re: (Score:2)
There's currently a massive bug that accidently implements ASLR on PowerPCs in 10.4.x, but it's per process and completely screws with the shared memory benefits. Of course, 10.5 doesn't have this issue.
Re:I hope they let you disable this junk. (Score:5, Insightful)
Answers (Score:2)
It doesn't. It's really to make it easier to track whether different versions of an application are different versions of the same application.
How does it prevent malicious software developers from signing their software and making it look nice and pretty?
It doesn't. Any more than it does on Windows.
Re: (Score:2)
It gives you someone to sue, duh. Knowing who to trust and verifying the certificate chain is, of course, your responsibility.
Re: (Score:2)
Re: (Score:2)
This question is too much like Vista's UAC making users answer "yes, whatever, just bugger off". I suppose signing helps distinguishing between harmless upgrades and real damage, allowing OS X to ask this question less often.
Re:Why? (Score:5, Insightful)
Yes, it's just like that, except you have millions of doors, and a intruder can only try to open one door per night, and the unlocked door changes randomly every night.
"People really need to stop adding these kinds of things that increase complexity and do not address the real issue, which in this case is access to the memory space of another application without some sort of credential or approval. When the real problem is addressed, this overly complex and fundamentally useless random memory address layout 'feature' will be left in to cause bugs and complexity forever."
This has nothing to do with access to the memory space of another application.