Researchers who hack the Mac OS
Dino Dai Zovi
(Credit: Tehmina Beg)It was summer 2005. Dino Dai Zovi walked into a Manhattan Starbucks, ordered a coffee, sat down, and opened up his laptop.
Before his coffee was cold he had found a local privilege escalation vulnerability in Mac OS X Tiger, which could allow people to elevate from normal user to full super user, and had written code that could exploit the hole.
"I just think that I got lucky, but that's what I always think when I find a bug that quickly," he said in an interview on Wednesday.
Dai Zovi has been exploiting Macs for a long time, publishing his first Mac OS X shellcode (code used as the payload in an exploitation of a vulnerability) for the PowerPC in July 2001. He said he has reported more than 10 vulnerabilities to Apple over the years and does so out of love for the platform.
"I'm an avid Mac user," he said. "So I have a vested interest in them being more secure."
The 29-year-old got an early start in computers, using bulletin boards in second grade and accessing the Internet through a computer running VAX at 13. He taught himself to program and got a computer science degree from the University of New Mexico. While still in college, Dai Zovi worked for the Information Design Assurance Red Team at Sandia National Laboratories, which performs security assessments for the government, military, and commercial industry.
Since then he's worked for consultancies @Stake and Matasano Security, Bloomberg, been director of security at a hedge fund in New York, and now works as chief scientist at Endgame Systems, an information security start-up.
Dai Zovi's Mac hacking hobby has won him some measure of fame. He won the first ever PWN2OWN hacking contest at the CanSecWest security conference in 2007, exploiting a vulnerability in Apple's QuickTime that affected not only Mac-based computers but also those running Windows and for which Safari, Internet Explorer Firefox were vulnerable. (In the contest, participants show up with exploits ready to go. The exploits do not require local access to the systems; they only require that the user visit a web page to simulate a drive-by web exploit, as is common on the Internet today.)
He co-authored a book, The Mac Hacker's Handbook this year with security expert Charlie Miller that argues that contrary to popular belief, the Mac platform is not more secure than Windows, it's just not targeted by malware writers--yet.
"The sky is not falling," Dai Zovi said. But also, "the Mac is not magically protected from malware."
If security features are added to the new version of Mac OS X, Snow Leopard, which is due out on Friday, that could change Dai Zovi and Millers' opinion. (The CNET review of the product is here.)
Charlie Miller
(Credit: Charlie Miller)Miller has won the PWN2OWN contest the past two years. In 2008, he was able to gain control of a Leopard-based MacBook Air using a newly discovered vulnerability in Safari. That took him less than two minutes. This year, it only took him 10 seconds or so to exploit a hole in Safari on a MacBook running Leopard.
Miller is probably best known, though, for being the first to hack the iPhone, discovering a hole in the mobile version of Safari in 2007.
One of the reasons he entered the PWN2OWN contest was to prove that Mac OS security was lacking.
"I had a feeling that Mac was easier (to hack) than Windows," he said. "If I can find the Safari bug or exploit in a few days and it would take me 10 times as long for IE, why would I do that? I go after the easiest guy."
Miller comes from a Linux and Windows background and is relatively new to the Mac platform because he worked in the financial and government sector before becoming a security whiz.
After getting a Ph.D. in mathematics at the University of Notre Dame, Miller worked at the U.S. National Security Agency for five years. Hired as a cryptographer, Miller pushed for computer security training because he was "looking for something else to do."
He then worked at a financial-services firm before moving back to his home town of St. Louis and taking a job as principal analyst at consultancy Independent Security Evaluators, where Macs are standard.
"I hack products I own and use and like," he said. "I want to know how they work and play around with them...I thought the Mac OS and the iPhone were cool."
Updated at 6:58 a.m. PDT with more details about the PWN2OWN contest.
Elinor Mills covers Internet security and privacy. She joined CNET News in 2005 after working as a foreign correspondent for Reuters in Portugal and writing for The Industry Standard, the IDG News Service, and the Associated Press. E-mail Elinor. 





- by jwoolmanq September 2, 2009 8:34 AM PDT
- The market share is misleading because computers are used for different purposes. So certain groups use macs much more than 5% for the kinds of things I myself am interested in. <br /><br />Haven't kept up with the numbers, but back last century half US engineers and scientists used macs, along with at least 1/4 of translators judging from a poll at at a translator watering hole (I'm a scientist and a scientific translator), and some huge number of graphic artists (85% or more). One physicist gave the example of his lab: 20 computers crunching numbers attached to equipment were Windows-based, but the one computer in his office (which he used for word processing and e-mail and net surfing and everything else) was a mac. I remember when the American Physical Society started its online physics research journal program back when proprietary software was needed (back in the days when 2400 baud was fast). It made a huge mistake when it developed the Windows/DOS software for access first and delayed developing the mac version - really delayed the whole online journal program big time, because not only was at least half their target audience using macs for such things, but it was the more internet-friendly half because at the time, Windows apps for the net were a pain to install and use compared to the mac versions. The problem vanished when they switched to web-based access.<br /><br />Again, I don't know if this is still true - but many schools and small business owners back last century found that macs were much more suitable for them simply because upkeep and peripheral/software installation was simpler and they didn't have the resources for extensive tech support (a moot point in big companies that can afford a full-time tech support staff and also can switch people to other working computers when a computer is down). People who actually serviced mixed networks (mac and windows pc) said most of their time was spent on the Windows machines rather than the macs even when equal numbers were present. Tech support lines for cdroms said the same thing - mac versions of their software were more profitable because they got so few tech support calls from mac'ers. Most mac problems were just solved by restarting the machine or other simple maneuvers that non-techies could handle without being a member of the priesthood. In my translation work (full-time freelancer since 1979), I've certainly seen this to be true - I've seen Windows-based colleagues struggle with things I can do easily on my macs, and also the non-mac'ers seem to rely on tech support while I don't. Also messages on discussion lists about Windows problems still seem much more involved than I encounter on my macs.<br /><br />Many people use Windows machines at work, but then go home to a mac. Macs have been able to handle files from Windows pc's pretty well in major applications for many years, and also DOS/Windows emulators for macs have been around for a very long time (I've used many of them for games primarily, since I really don't seem to have trouble dealing with clients on non-macs in my work).<br /><br />I'm not a big OS X fan myself mainly because troubleshooting is more arcane than in the previous OS's and also it broke too many things I need but can't be updated. But I must admit that I haven't had big problems with my OS X machine that I keep updated for web surfing purposes (while working in comfy OS 9 on another machine). So maybe things haven't changed so much and I'm just cranky because my favorite ancient Cyrillic font won't work in OS X...<br /><br />Anyway - even though the percentage of business computers that can be taken down with a Windows-based attack might also be attractive, another aspect of malware targeting Windows machines might just be that so far, the disgruntled hackers might be just more ticked at Microsoft's megalomania and indifference to long-term problems with their software. Apple's sins seem rather minor in comparison (although I might think differently if an ipod exploded on me!). Of course, the hackers' reasoning is flawed in this case, since it's not Microsoft that's hurting from their attacks but rather all the regular folk stuck using their software.... But the anger factor shouldn't be ignored.
- Like this Reply to this comment
-
-
- by SteveW928 September 8, 2009 11:28 PM PDT
- You're right on market share. There are a couple issues with it. <br /><br />1) they are usually based on quarterly sales, not actual computers in-use out there in the market. Mac users tend to keep their computers longer before upgrading, so of course many more PCs will sell and be retired, etc. <br /><br />2) as you mentioned, computers for 'dumb' use are often included. Machines hooked to lab equipment, point of sales terminals, etc. It doesn't give an accurate estimate for computers with a real user behind them who might purchase software. It really gets misleading when thinking about less standard apps than things a typical office user might purchase (or their company purchase) as many PCs just sit at employee desks where they don't even make a decision on what to buy. In that case, the percentage of Mac users who might buy an app vs Windows users could be MUCH different than 5% vs 95%.<br /><br />I think the most accurate numbers we'll probably get anywhere are those that look at which OSs visit general interest type web sites. Most of these that I have seen put Mac market share at roughly 10% and climbing.<br /><br />I also agree with you on the 'ease of use' history... but also the 'get more done' history of using a Mac over a Windows machine. I've had a number of clients over my years of consulting working in fairly similar businesses (both scale, industry, etc.) using either primarily Macs or PCs. For the most part, the Mac using companies were WAY ahead of the PC using companies in the type of things they were doing with their computers. I don't think the divide is quite as pronounced today as it was 10-15 years ago, but I still find Macs require less maintenance but some amount and user productivity to be higher.<br /><br />As for hackers.... I think you need to realize there are three types:<br /><br />1) hackers who do it for the challenge... I'd think it might be hard to say what these people will target. They are in it for the fun of it. I suppose M$ would make an interesting target for them if they don't like them and want to cause trouble.<br /><br />2) hackers with an axe to grind.... yea, I'm sure M$ ranks right up there as a target for these people.<br /><br />3) hackers in it for the money.... this category (probably now, by far, the biggest) just wants to set-up as big of bot-net as possible to sell services to whoever will pay. They will go after whoever will help them establish that. M$ has been a good target, because there were lots of machines and lots of holes. If enough people upgrade to M$'s more secure OSs, the task will become harder and they are likely to start considering other platforms with fewer numbers. OSX, phone OSs, video-game consoles, etc. could all become future targets for these people. I doubt they have any particular loyalty or axe to grind with any OS. It is simply business to them, albeit dark, underground business.
- Like this
-
(47 Comments)