<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Matasano Chargen - Latest Comments in A Little Challenge To Our Mac Advocate Friends</title><link>http://matasanochargen.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 27 Apr 2007 14:34:06 -0000</lastBuildDate><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322358</link><description>Sorry to post on an old thread, but anybody know how this might work?&lt;br&gt;&lt;br&gt;&lt;a href="http://www.subrosasoft.com/OSXSoftware/index.php?main_page=product_info&amp;amp;cPath=200&amp;amp;products_id=195" rel="nofollow"&gt;http://www.subrosasoft.com/OSXSoftware/index.ph...&lt;/a&gt;&lt;br&gt;&lt;br&gt;They seem to think they've got a way to get access to all the keychain passwords and it doesn't look like they're hijacking the individual applications.  They also claim it's forensically sound, though that seems... well, patently false since the very fact of mounting the usb drive modifies the system, but I'll save that for the forensic experts to argue.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jordan Wiens</dc:creator><pubDate>Fri, 27 Apr 2007 14:34:06 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322357</link><description>JohnGruberIsARobot: At 23c3 there was a  talk about the security of file vault and that the key derivation didn't suck in an obvious way. However there were some very serious flaws mentioned but not focused on in that talk including: The low power behavior of OS X includes writing the encryption key to the disk without protection. &lt;br&gt;This means that the main goal for disk encryption, "protecting your data when your machine is stolen" is not achieved. I would consider this a fatal flaw - although not apropos to the rest of the discussion here.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jesse</dc:creator><pubDate>Tue, 24 Apr 2007 17:30:14 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322356</link><description>@Robert C:&lt;br&gt;&lt;br&gt;Overall, I think Bert gives some solid advice.  I am not sure I know everything that Bert is doing to protect the InputManagers directory, but it will probably provide some protection, specifically around automated attacks.&lt;br&gt;&lt;br&gt;The most solid recommendation is to make sure that your user account is not an administative user.  I definitely recommend not running with a user in the admin group.  While it won't help you with your data, it will prevent someone from immediately running amok with your /Applications diretory.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave G.</dc:creator><pubDate>Tue, 24 Apr 2007 12:22:09 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322355</link><description>Thomas, Rosyna, et al. Thanks for the discussion here. I learned something.&lt;br&gt;&lt;br&gt;BTW Thomas,&lt;br&gt;&lt;br&gt;$ id 501&lt;br&gt;id: 501: no such user&lt;br&gt;&lt;br&gt;;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Max</dc:creator><pubDate>Tue, 24 Apr 2007 04:10:33 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322354</link><description>I know I sound like I know what I'm talking about, and that serves me well when I'm poking holes in things, but I'm going to leave it to Dave G. to give actual recommendations on how to deal with this stuff.&lt;br&gt;&lt;br&gt;Like I said, I live dangerously, and I live by what Dave wrote about safety vs. security;&lt;br&gt;&lt;br&gt;&lt;a href="http://www.matasano.com/log/644/safety-vs-security-2/" rel="nofollow"&gt;http://www.matasano.com/log/644/safety-vs-secur...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Mon, 23 Apr 2007 23:33:21 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322353</link><description>@Thomas: Your last comment is hilarious. :)&lt;br&gt;&lt;br&gt;What sorts of things should Mac users be doing? Does Bert have the right idea with that InputManager thing he's talking about?&lt;br&gt;&lt;br&gt;Or is the point simply that this kind of vulnerability is really going to hurt no matter what we do? Because I believe you. It will hurt. I'd just like to find out if there's anything I should do to mitigate my risk.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert C.</dc:creator><pubDate>Mon, 23 Apr 2007 23:08:53 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322352</link><description>dre: Hrm?  The only thing they showed at 23c3 is that filevault is cryptographically secure, but it can be brute forced quicker than extremely slow (read: somewhat slowly) in hardware.  And everyone already knew that anyway.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JohnGruberIsARobot</dc:creator><pubDate>Mon, 23 Apr 2007 16:34:20 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322285</link><description>Rosyna: thanks for the info about the keychain and binary modifications, I learned something. When did they do that? OS X used to do a rebasing step that would change your binaries, and I always thought that was really stupid.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Russell</dc:creator><pubDate>Mon, 23 Apr 2007 16:32:15 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322284</link><description>"At what risk factor"? I'm the attacker. Am I going to trip and fall over my exploit script?&lt;br&gt;&lt;br&gt;I guess if you just declare the whole discussion moot, it's easy to "win". You win! I mean no offense when I continue to respond to the rest of the comments in the thread as if you hadn't won. For, indeed, you have won.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Mon, 23 Apr 2007 16:05:52 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322351</link><description>Thomas you can have what you want, in fact if you fancy doing some retouching on the images i currently need to send to client, hell, have those as well&lt;br&gt;&lt;br&gt;Again this is one area where security researchers sometimes forget about applying risk. Yes you can root a box, but at what risk factor? &lt;br&gt;&lt;br&gt;seriously you lot take this too seriously, maybe it's because i've been doing it since 94, but damn... IT ONLY A FUCKING OS!!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel</dc:creator><pubDate>Mon, 23 Apr 2007 15:02:44 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322350</link><description>wideload:~ xistence$ id&lt;br&gt;uid=1001(xistence) gid=1001(xistence) groups=1001(xistence)&lt;br&gt;&lt;br&gt;(NFS on my FreeBSD has that uid for that account, so had to be the same on my Mac to be able to read/write, took me a while to figure out how to change it)&lt;br&gt;&lt;br&gt;If you got my UID 501 account, i'd be up shit creek without a paddle since it has admin privs. &lt;br&gt;&lt;br&gt;wideload:~ xistence$ id 501&lt;br&gt;uid=501(administrator) gid=501(administrator) groups=501(administrator), 81(appserveradm), 79(appserverusr), 80(admin)&lt;br&gt;&lt;br&gt;I almost never use that account. The only time I use it is when I get a stubborn installer that does some shell script ninjutzu, and needs to do it as root. I look at you KisMac.&lt;br&gt;&lt;br&gt;Now as for my current user account, you'd get a whole lot of data about me. Keychain however is under a different password, and I am very suspicious when an app needs access to it. I keep my mail password in it for example, and if it is locked, it will ask me for access.&lt;br&gt;&lt;br&gt;InputManager? The folder is set to chmod 000. No read or write access, also, just in case something is put in there, AppleScript will pop up letting me know something was dumped there (can only be done as root on a chmod 000).&lt;br&gt;&lt;br&gt;Thing that would suck the most, is if my SSH keys were stolen. Access to too many machines, and no real fast way to remove them from each of the machines it has access to.&lt;br&gt;&lt;br&gt;What I would worry about the most is just general information about me, stuff that could probably be found on the Internet, but would take a lot of time. I don't think that what I do have is interesting. A few PDF's, a shitload of TV Shows, Movies, projects for school, and just some open source projects I am working on.&lt;br&gt;&lt;br&gt;Rosyna: Only way I have found that a keylogger would work under Mac OS X is if it was a kernel module. But that is a general problem with all operating systems, not just Mac OS X.&lt;br&gt;&lt;br&gt;Thomas: The assumption that everyone that is reading your blog would run under UID 501 is a really bad one. The only reason someone would be reading your blog is if they were interested in security, and those people would be smarter than your average grandma or grandpa. That being said, my dad is a Mac OS X user and I set him up with split accounts, just so that he would do everything under his own UID and only when installing apps use Administrator.&lt;br&gt;&lt;br&gt;Cheerio!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bert JW Regeer</dc:creator><pubDate>Mon, 23 Apr 2007 12:44:04 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322349</link><description>Well, if you assume that I'm the only user of my computer, then the answer is indeed, there is nothing important you don't have with my UID.&lt;br&gt;&lt;br&gt;But in fact, they're not single-user machines.  With my UID, on my computer, you win (given that you can get my password sooner or later and then have UID 0).&lt;br&gt;&lt;br&gt;But with my UID on my wife's computer, you have not so much of interest.  Some audio projects, but nothing of major value.  With my UID on my mom's computer, you have practically nothing - I check webmail when I go back home, and that's about it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dragonfrog</dc:creator><pubDate>Mon, 23 Apr 2007 12:27:20 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322348</link><description>i thought filevault (and therefore keychain) had serious implementation problems as talked about at &lt;a href="http://events.ccc.de/congress/2006/Fahrplan/events/1642.en.html" rel="nofollow"&gt;23C3&lt;/a&gt;?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dre</dc:creator><pubDate>Mon, 23 Apr 2007 12:19:39 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322347</link><description>Not sure you read the whole comment thread, but, uh, the challenge still stands? I can inject code into iTunes (or any Cocoa app) from a Safari exploit.&lt;br&gt;&lt;br&gt;So, not close to "STFU" yet.&lt;br&gt;&lt;br&gt;What can't I get to on YOUR MacBook from UID 501?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Mon, 23 Apr 2007 10:36:24 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322346</link><description>ps..&lt;br&gt;&lt;br&gt;Thomas we love you anyway, but it's good to be humbled every now and then, it makes us better people ;0)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel</dc:creator><pubDate>Mon, 23 Apr 2007 10:33:16 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322345</link><description>1: Thinking yer the shnizzle for all things anti-mac $100&lt;br&gt;2: Posting a little challenge to prove the point $25 &lt;br&gt;3: Telling people "You’re not following..." whilst huffing and pufffing and strutting your stuff $10 &lt;br&gt;4: Getting smacked in the face and told to STFU and listen for once $priceless</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel</dc:creator><pubDate>Mon, 23 Apr 2007 10:12:17 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322344</link><description>Thomas,&lt;br&gt;&lt;br&gt;I can see how it's game over for me if you can run code as my UID, but (forgive my ignorance) do you have any more details as to how/why the "single user machine" is more hostile for the tightening up you just mentioned?&lt;br&gt;&lt;br&gt;I was under the impression that the saving grace was "on a multi user machine, you'd have only 'lost' one user not everybody", but your last comment makes me think I'm still not getting the whole picture...&lt;br&gt;&lt;br&gt;Also, if I did split off, say, all "my financial stuff" into a completely separate account, would it actually be any safer despite the inconveniences? Sure it's toast if you get root, but would my other account topple anyway? Say, if I normally fast user switch from the now compromised user account?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DG</dc:creator><pubDate>Mon, 23 Apr 2007 09:32:38 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322343</link><description>MAC is great and all, but let's not lose sight of the real issue. You can, with a bit of userland C code, tighten up Mac permissions so that it is really hard to transition from "owning Safari" (and thus the auth cookie for your bank account) to "owning iTunes". It's not that MacOS X lacks the features to pull this off. &lt;br&gt;&lt;br&gt;The problem is, "single user machine" is a really hostile setting for deploying those features.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Sun, 22 Apr 2007 15:43:48 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322342</link><description>*Sigh* Rosyna. *sigh* You're arguing that people don't care if you slurp their entire home folder (and everything else they have read permission to on the computer) up to a web/ftp site. That is not an argument you can win. The password B*llsh*t is meaningless. People in general are not happy when they lose every bit of data they have due to a system crash, but they would be even LESS happy if everything on their computer was posted to usenet. To demonstrate this point, allow me to give you the simple test I use on beurocrats who like to use my SSN on documents where it's public. Post YOUR (SSN) home folder on the internet for everyone to see, and then tell me you don't care.&lt;br&gt;&lt;br&gt;I saw a great talk by Marc Stiegler of HP research back in Feb where he showed their capabilities-based system which stops applications from fscking your over except, of course, in the presence of social engineering attacks. But even social engineering attacks are limited because the applications ask for their capabilities the first time they load or you can just set them based on profiles (like "web-browser", which is something which needs to read your bookmarks and cache files, but DOESN'T need to read or write files anywhere else on the system...). There were lots of caveats to the talk (like the fact that everything has to be written in an OO langauge like java, and excluding things like C++ which have those evil pointers), but the message is clear, and has been repeated in other contexts over the years: even user-level applications need to be heavily sandboxed and partitioned, and given "least privilege" (fo' real...not just given lip service) because otherwise, as the example he used repeatedly, we are left with a world where solitaire can send your turbotax pdf printout to my good friends over at 1.1dy.us and citi-bank.ru (don't go there ;)).&lt;br&gt;&lt;br&gt;For those of you who may have missed it, 10.5 is supposed to have Mandatory Access Control based on the TrustedBSD code base. I am cautiously optimistic that the sandboxing therein when combined with ability that darwin already has to spawn mini-vms for applications, will help stop my applications from being able to access everything everywhere in my user account.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tiresome</dc:creator><pubDate>Sun, 22 Apr 2007 14:09:41 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322341</link><description>RobertC: &lt;br&gt;Not running as admin certainly helps reduce(but doesn't prevent)the chances of people taking over your machine, but the question remains, what data can be mined?&lt;br&gt;&lt;br&gt;As Thomas says, how do you decrypt that image. Couldn't someone just install an input manager to watch you do it?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Moir</dc:creator><pubDate>Sun, 22 Apr 2007 11:56:55 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322340</link><description>Robert: how do you decryt the disk image? The disk image helper program runs with your user creds.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Sun, 22 Apr 2007 11:37:49 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322339</link><description>It's not a trick question. The point is, non-admin user code execution is game-over, even if you don't have root.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Ptacek</dc:creator><pubDate>Sun, 22 Apr 2007 11:36:58 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322338</link><description>I think I have some assets you can't get. I don't run as admin normally, so that might keep you away from Applications (?). I keep important / sensitive financial &amp;amp; other documents in an encrypted disk image. &lt;br&gt;&lt;br&gt;Questions: Would those things be safe? Does it help me that I don't run as admin?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert C.</dc:creator><pubDate>Sun, 22 Apr 2007 10:52:53 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322337</link><description>Is there any platform on the planet that has a secure enough kernel code base to negate the fact that the ability to execute arbitrary code as a non-privilleged account is essentially already Game Over for local root (Hi Argus!!)?  Let alone Mac OS X?&lt;br&gt;&lt;br&gt;I call shennanigans on Tom for posing a trick question.  You all fell for the bait too :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Bowie</dc:creator><pubDate>Sun, 22 Apr 2007 08:46:49 -0000</pubDate></item><item><title>Re: A Little Challenge To Our Mac Advocate Friends</title><link>http://www.matasano.com/log/809/a-little-challenge-to-our-mac-advocate-friends/#comment-2322336</link><description>"Robert, the point of my exercise was to use an exploit without any kind of social engineering."&lt;br&gt;&lt;br&gt;Fair enough.&lt;br&gt;&lt;br&gt;In which case I'll go with malicious input manager copied to ~/libraries/inputmanagers. Quite possible from what Thomas says, and while I wouldn't own your machine I'd own your data. The data might be worth more.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Moir</dc:creator><pubDate>Sun, 22 Apr 2007 08:17:35 -0000</pubDate></item></channel></rss>