<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Matasano Chargen - Latest Comments in A Roundup Of Leopard Security Features</title><link>http://matasanochargen.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 04 Dec 2007 13:04:47 -0000</lastBuildDate><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323358</link><description>whether the cron thing works or not, it's only there for historical compatibility.  If you're looking to make Leopard secure, ditch the legacy support.  Turn off cron, it's not used.&lt;br&gt;&lt;br&gt;sudo launchctl unload -w /System/Library/LaunchDaemons/com.vix.cron.plist</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">theed</dc:creator><pubDate>Tue, 04 Dec 2007 13:04:47 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323357</link><description>umm...Tom, did you ever try that cron -e thing you suggested? Because it doesn't work (which I didn't really think it would) since cron stuff is handled by launchd, not crontab proper...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bobdole</dc:creator><pubDate>Fri, 16 Nov 2007 22:32:28 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323266</link><description>"I locked down the Guest account to nothing but Safari. I verified that I couldn’t start arbitrary apps."&lt;br&gt;Well, if you check again you can actually run FrontRow even if it is unchecked in the list of allowed apps. You can launch FrontRow via Command-Esc or if using the simplified version of Finder, Right click Finder in the Dock, Go To... and type /Applications.&lt;br&gt;Gonna check if you can get it to open iTunes like previus version did in Tiger.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Diegus</dc:creator><pubDate>Thu, 08 Nov 2007 08:14:13 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323356</link><description>Nectar: the paxtest sources are public, feel free to play with them (thing is, i don't have access to a Mac myself, the tests were done by some other helpful folks). btw, you'll need an OS X specific makefile, email me if you want the first cut.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PaX Team</dc:creator><pubDate>Sun, 04 Nov 2007 07:12:56 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323355</link><description>Seatbelt is a policy that hooks into the TrustedBSD framework. SEDarwin was derived from TrustedBSD and got folded into Darwin 9 it seems.&lt;br&gt;&lt;br&gt;Seatbelt is Apple proprietary apparently (otherwise it would be in the release). There are references to sandboxing/seatbelt in the kernel code if you grep closely enough. For example: There is a new mach port for seatbelt in osfmk/kern/ipc_tt.c.&lt;br&gt;&lt;br&gt;Kirk: Arm shields. Fire up disassembler.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralf</dc:creator><pubDate>Thu, 01 Nov 2007 20:32:33 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323354</link><description>Weird, Ralf. I can't find the Seatbelt source (sbf_*.[ch]), but TrustedBSD is in the source tree. Seatbelt doesn't look like TrustedBSD. What is TrustedBSD doing there?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Thu, 01 Nov 2007 19:06:39 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323353</link><description>Mike, I have literally no idea what you are talking about. Code signing does not protect the keychain; it signs binaries, not the entire runnable text area of a process. An attacker can inject libraries into any running Cocoa program, without special privileges, without corrupting the signature.&lt;br&gt;&lt;br&gt;What I'm saying when I say "protecting nothing but the Keychain was a bad idea..." is not that protecting the Keychain is a bad idea --- it's that it was a mistake not to make key validation pervasive throughout the runtime, and instead trying to enforce it programmatically only at a single point.&lt;br&gt;&lt;br&gt;I'm not saying "it's not enough just to make sure hijacked programs can't touch Keychain". I'm saying "Apple hasn't even accomplished that limited security objective".&lt;br&gt;&lt;br&gt;I'm happy to be proven wrong, but confident at this point that it won't be by you, and with that I leave you to the last word in this thread of the comments.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Thu, 01 Nov 2007 17:47:19 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323352</link><description>Thomas:  Don't be silly - nobody ever said that reducing vulnerabilities was bad.  Well, nobody except the straw man that you made up.&lt;br&gt;&lt;br&gt;I did say that it is impossible to engineer a system with zero probability of exploit.  This is just trivially true - if you believe you can reduce the probability of exploitation to 0, you reject the fundamental laws of mathematics and the universe in which we live.  But I'm sure we both agree that reducing vulnerabilities, and thus reducing the probability of an exploit, is a good idea.&lt;br&gt;&lt;br&gt;I wish you would just give a straight answer on the keychain rather than continually dancing around and trying to have it both ways.  At this point I don't know if this is supposed to be a security forum or a legal forum.  If you don't think Leopard does anything at all to protect the keychain, why did you write, "protecting nothing but keychain was a bad security call on Apple’s part (or a necessary tradeoff with the same effect as a bad call)"?  Were you wrong at 9:40 am, or are you wrong now?  It's got to be one or the other.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike</dc:creator><pubDate>Thu, 01 Nov 2007 14:35:21 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323351</link><description>Yippiiiee!! 10.5 src is out!&lt;br&gt;&lt;br&gt;&lt;a href="http://www.opensource.apple.com/darwinsource/10.5/" rel="nofollow"&gt;http://www.opensource.apple.com/darwinsource/10.5/&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralf</dc:creator><pubDate>Thu, 01 Nov 2007 13:57:37 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323350</link><description>@PaX Team:   It would be interesting to compile and run the test for a 64-bit executable instead to see if there are any differences.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nectar</dc:creator><pubDate>Thu, 01 Nov 2007 13:20:50 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323349</link><description>Also, happy to confirm: DYLD_INSERT_LIBRARIES still beats code signing; for instance, you can use it to trivially beat Parental Controls.&lt;br&gt;&lt;br&gt;Parental Controls in Jaguar by the way --- really interesting. Not just Finder-based.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Thu, 01 Nov 2007 12:46:00 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323348</link><description>I did as you said:&lt;br&gt;&lt;br&gt;- Switched to Guest&lt;br&gt;- Launched Safari&lt;br&gt;- Turned on Password Saving&lt;br&gt;- Logged Into GMail&lt;br&gt;- Quit Safari&lt;br&gt;- Relaunched Safari&lt;br&gt;- Visited GMail, observed password&lt;br&gt;- Switched back to me&lt;br&gt;- Hex edited crap over the mach-o-le i386 text segment&lt;br&gt;- Saved&lt;br&gt;- Switched back to Guest&lt;br&gt;- Launched Safari&lt;br&gt;- Visited GMail&lt;br&gt;- Observed passwords still there.&lt;br&gt;&lt;br&gt;I'm doing something wrong. I don't come to this doubting that Apple can actually implement code signing; I'm just dubious of the value.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Thu, 01 Nov 2007 12:34:34 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323347</link><description>Did you try that thing with saved passwords in Safari (which uses the keychain)?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rosyna</dc:creator><pubDate>Thu, 01 Nov 2007 01:58:03 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323346</link><description>Also: I didn't make any comment about whether the keychain was "worth protecting". I said Tiger doesn't protect it. And I don't believe Leopard does either.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Wed, 31 Oct 2007 19:50:33 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323345</link><description>Mike: if you believe reducing the known vulnerabilities in a product to zero is "just stupid", you reject the concept of software security, and I don't have much more to contribute to the discussion after that.&lt;br&gt;&lt;br&gt;Security is hard. Cryptographic security is harder. An RSA signing scheme where verification happens in an untrusted environment fails.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Wed, 31 Oct 2007 19:49:44 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323344</link><description>bobdole: you are suggesting I should --- what, close comments on this post?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Wed, 31 Oct 2007 19:45:09 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323343</link><description>I guess, Mitchell. I mean, like we say about Apple, market irrelevance is a security feature. If running MacOS is like living in Elgin instead of the West Side, running Cobia is, what? Decatur?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Wed, 31 Oct 2007 19:44:32 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323342</link><description>@Ralf&lt;br&gt;Seriously, that is exactly the type of question to put on the apple-focus list instead...this will all get sorted out in time, but you need to have it somewhere with more visibility than buried 87 comments down on a blog post!&lt;br&gt;&lt;br&gt;I mean, I definitely support this discussion 100%, but I don't like reading it like this, with everything jumbled together&lt;br&gt;&lt;br&gt;Come on Thomas...step up and move the discussion to a reasonable location</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bobdole</dc:creator><pubDate>Wed, 31 Oct 2007 19:21:51 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323265</link><description>Seems kind of late to me.  Apple is really just an also ran.  There are still way more windows users and at the end of the day and that isn't changing, Vista is a fortress with out many peers, the only I can think of is Cobia, in terms of security.  These are all just bolt-ons trying to add security, after the fact, to an iPod syncing platform.  Where is the NAC integration?&lt;br&gt;&lt;br&gt;And I'm no apple hater, I used to use them quite a bit.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mitchel Ashley</dc:creator><pubDate>Wed, 31 Oct 2007 18:52:40 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323341</link><description>"I give the average Leopard user approximately 6 hours before clicking “OK” on this dialog becomes a function of their autonomous nervous system."&lt;br&gt;&lt;br&gt;I disagree, I think the average Leopard user will rarely see this dialog, and will quickly learn that it should only show after they have downloaded a new application.&lt;br&gt;&lt;br&gt;When they first see this dialog out of the blue, unexpected, with a web site and app name they don't recognise, _that's_ when it will really help. And I also think it's one of the more practical and immediately useful ways of blocking malware.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Wed, 31 Oct 2007 18:35:10 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323340</link><description>OK. Quiz time: Does anyone have a clue what exactly the TMSafetyNet kext does? It is a security policy loaded by default, called "Safety net for Time Machine", in the kext directory there's a binary called bypass that uses mac_set_proc(3) (see &lt;a href="http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?mac_set_proc+3" rel="nofollow"&gt;http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?ma...&lt;/a&gt; for example, unforunately 10.5 has no man page for this function).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralf</dc:creator><pubDate>Wed, 31 Oct 2007 16:55:25 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323339</link><description>Thomas, I think I may have confused you when I mentioned "now closed" vector.  That was a reference to the fact that Input Managers are better protected now (a crucial component in your previous hypothetical attack).  It wasn't referring to LD_PRELOAD.&lt;br&gt;&lt;br&gt;Your 9:40 am post states that you agree code signing is helping protect the keychain.  Nobody said that it would reduce the probability of an exploit to 0.  That would just be stupid.&lt;br&gt;&lt;br&gt;So my question remains:  In April you made a big fuss about gaining access to a user's keychain.  Now you say it's not worth protecting.  Which is it?&lt;br&gt;&lt;br&gt;(My personal opinion is that it's worth protecting, but that's not the question.)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike</dc:creator><pubDate>Wed, 31 Oct 2007 15:55:56 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323264</link><description>I concede that there is some use to a "Guest" account that cleans itself up after use. None of that use has anything to do with security, though.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Wed, 31 Oct 2007 15:42:14 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323338</link><description>To double up on what Matt said, wouldn't a "technically skilled, highly motivated" attacker that you leave along with the guest account long enough to do anything useful (ie, you've left him alone for at least a few minutes) be able to just reboot the machine with a boot image on a CD or flash key, and do whatever he felt like?&lt;br&gt;&lt;br&gt;A really motivated attacker would have an image that would &lt;i&gt;automatically&lt;/i&gt; mount and backdoor your root drive, in fact.&lt;br&gt;&lt;br&gt;Security (and "secure") is definitely a graduated sort of thing.&lt;br&gt;&lt;br&gt;"Guest" might well be vulnerable to some sort of cron attack (though of course the worst it seems able to do is run jobs &lt;i&gt;as guest&lt;/i&gt;), but as far as threats go, that's very low on the scale.&lt;br&gt;&lt;br&gt;Not a big "security" win for Apple, but a useful convenience that helps with a more practical sort of security that maps to a reasonably common real-world use case and threat model.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sigivald</dc:creator><pubDate>Wed, 31 Oct 2007 15:25:05 -0000</pubDate></item><item><title>Re: A Roundup Of Leopard Security Features</title><link>http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/#comment-2323337</link><description>So does this stuff get reported to Apple? Would you expect it to be fixed in 10.5.1?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gordon</dc:creator><pubDate>Wed, 31 Oct 2007 14:50:31 -0000</pubDate></item></channel></rss>