Squashing bugs with an Apple fix a day

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

Q&A

Open-source developer Landon Fuller hit the headlines at the start of January when he announced an ambitious plan to bolster the security of Apple's software.

Fuller has vowed to create or source a patch for every vulnerability uncovered by the Month Of Apple Bugs (MOAB) — a controversial initiative being conducted by two security researchers. MOAB's goal is to announce a new flaw in an Apple application or operating system each day in January. Fuller's aim is to protect users by quickly finding a fix.

Although not a full-time security professional, Fuller has extensive knowledge of Apple having worked in its BSD Technology Group.

We interviewed Fuller by email to find why he is devoting his time to the Month Of Apple Fixes, and to learn his views on responsible disclosure and the relative security of Microsoft and Apple code.

Q: What prompted you to take on the task of fixing the bugs published by MOAB? In your blog you described it as "part brain exercise, part public service"...
A: As a brain exercise, patching a new bug each day is an enjoyable technical challenge — I've been introduced to pieces of the operating system that I've never before explored, and gained a more significant understanding of how it all works together. It's enjoyable to work co-operatively with other Macintosh developers on these issues.

On the other hand, this isn't just a technical exercise — critical vulnerabilities are being released without notifying the vendor, and I believe that providing users with an option is ultimately beneficial to the community. I also hope that I can help to clarify what the risks of the vulnerabilities are, as I don't believe users should be using our patches without understanding the risks.

Are you happy with the response from the developer community to your initial request for assistance? How well is the MOAB Fixes Google Group working? Could you benefit from more assistance?
I'm very happy with the response from both friends and colleagues in the Macintosh and Darwin developer community — they've provided advice, development assistance, and have even produced some of the bug patches. I'd never turn down more assistance — these are complex problems, and we all have day jobs.

What is the process for coding a patch for Apple software vulnerabilities? What do you need to do to write a patch?
Writing a patch requires spending some quality time in a debugger to determine where the code specifically fails and how best to patch it. As a third party, I don't generally have access to the source, requiring reverse engineering of the code in question. Once I've determined how the code works, I can write a patch that wraps the vulnerable code, rejecting data that would otherwise trigger the bug and allow the exploit to succeed.

These are patches, but not a replacement for a vendor-supplied fix. I think "band-aid" is an apt term.

What is your opinion of what the MOAB guys are doing? They say that responsible disclosure doesn't get good results — what is your opinion?
I'm not a security researcher by trade, and I have limited experience with disclosing vulnerabilities to Apple or any other vendor. It seems obvious that some members of the security community are frustrated — even rancorous — over Apple's handling of security issues. It's my hope that their grievances can be addressed and Apple can build and maintain a positive relationship with the security community at large. However, I do not personally agree with releasing critical vulnerabilities with zero vendor notification, regardless of the vendor.

How come you've been tasked with fixing the bugs? Obviously you have a lot of experience, but my understanding was that you no longer worked for Apple?
I'm not sure "tasked" is quite the right word. I don't work for Apple, and this is a spare-time pursuit. 1 January was a work holiday, and I just happened to come across the first Month of Apple Bugs issue.

What is your opinion of the severity of possible exploits for the bugs published so far? Is the threat serious or more theoretical?
The bugs have varied in severity. I would say that the QuickTime bugs have been the most critical so far, and do present a serious threat. While also critical, the OmniWeb vulnerability was patched in mere hours by The OmniGroup, and the VLC team released an update in a couple of days.

Until now Microsoft software has been the dominant target for hackers. As Apple software becomes more popular, will more exploits be written for it?
I'm very bad at predicting the future, but I do think that the size of the installed base is a factor when it comes to the business of compromising computers.

Do you think Apple's move to Intel chips will have any effect on the platform's overall security performance?
Not directly, but I don't think it's unreasonable to take into account the existing security expertise with x86 assembly.

There is some debate as to the relative security of Apple and Microsoft code. Some argue that Microsoft code was flawed from the beginning, whereas Apple simply wrote more secure code. What's your opinion?
Mac OS X is comprised of a vast quantity of code from a variety of sources, including NeXT, The FreeBSD Project, The NetBSD Project and legacy Apple code that precedes their purchase of NeXT. I don't think one can categorically declare that such a complex system written by multiple individuals in different organisations at different times is entirely comprised of superior, better-written code. As an example, Firefox is a great browser, but the RTSP vulnerability in Apple's QuickTime plug-in is sufficient to lead to remote code execution.

While it only takes one bug, there are some general steps that Apple could take to help minimise the impact of such a bug — the "non-executable" stack is one example, and is implemented on Apple's Intel machines. Address space randomisation is another positive step that would close some of the holes (ie, return-to-libc) that allow an exploit to bypass non-executable stack protection.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

apexwm

Interesting article and definitely see your points on the products mentioned. One of the top products for our Help Desk (approximately 20% of all...

4 hours ago by apexwm on Ten flawed products that derail productivity
Paul Hutchinson

Absolutely - this should obviously not be handled my isp - but handled by their hosting operator. What's been suggested here is that my isp police...

4 hours ago by Paul Hutchinson via Facebook on MPs urge ISPs to take down terrorist material
Techs UK

Looks like a great phone. I don't notice any deficiencies in WP7. used IOS before, that's pretty good. I don't spend much time in Apps, all i need...

7 hours ago by Techs UK on Nokia pins US 're-entry' hopes on Lumia 900
Larry Bloggy

Now with the help of these apps you are always synced with MS outlook while on the move. Just download apps like xobni or outlookreflex and get...

8 hours ago by Larry Bloggy via Facebook on Outlook Social Connector beta 2 and the LinkedIn connector
mike40g123

Your details are wrong. The version currently being made is the one with 2 USB ports, 256MB RAM and a network port. This is the Model B. The...

9 hours ago by mike40g123 on Raspberry Pi boards set to go on sale
Moley

The thing that has been puzzling me for quite a while is how Anonymous can remain anonymous whilst not only being active on the Internet but also...

23 hours ago by Moley on Anonymous activists release PCAnywhere source code
Don Dilly

If what Semantec is saying is rue, that is even worse and shows a complete disregard for thier users. If what Anonymous claims is true and the...

1 day ago by Don Dilly via Facebook on Anonymous activists release PCAnywhere source code
MattChurchy

Didn't seem particularly biased to me either. Oh though you might have mentioned some other competitors with free search and email services...

1 day ago by MattChurchy on Time for an evil umpire: Google, Microsoft & privacy
Simon Bisson and Mary Branscombe

James - exactly as much as anyone paid you for your comment; I don't feel that I need to say that I'm independant and unbiased, but just for you...

1 day ago by Simon Bisson and Mary Branscombe on Time for an evil umpire: Google, Microsoft & privacy
Carl White

Once they realise symantec are willing to pay real money, they will simply keep extorting, unless of course symantec/authorities can use the...

1 day ago by Carl White via Facebook on Symantec offered hackers $50k in source code sting
Jonathan Hassell

You can find more information on BS 8878 by Jonathan Hassell its lead-author at http://www.hassellinclusion.com/bs8878/ The page includes a...

2 days ago by Jonathan Hassell on BSI publishes first British web accessibility standard
servermanagement

Thanks for this list. Now I know, what to include on my system to make it more functional.

2 days ago by servermanagement on Ten flawed products that derail productivity
1000092626

What if it's a 4 car household? The point is, more bandwidth = more things you can do simultaneously, like streaming HD video in one room of the...

2 days ago by 1000092626 on Virgin Media beats 100Mbps schedule, hikes prices
Gary Burton

No point whatsoever increasing broadband download speed. unless ever server on the net has access to massively up rated throughput. The worlds...

2 days ago by Gary Burton via Facebook on Virgin Media beats 100Mbps schedule, hikes prices
Random_Error

They're also increasing their TV package prices, whether to help fund this or not.

2 days ago by Random_Error on Virgin Media beats 100Mbps schedule, hikes prices
Techs UK

How can you set it up wrong to intermittently connect? Should I be asking for more pay? Outlook/Exchange is a breeze.

2 days ago by Techs UK on Ten flawed products that derail productivity
JamesCheese

And how much did Microsoft pay you for that article?

2 days ago by JamesCheese on Time for an evil umpire: Google, Microsoft & privacy
JamesCheese

"But how many times have you seen someone make a video call from a tablet?" I do myself a lot. "How often have you seen someone hook up a tablet...

2 days ago by JamesCheese on Apple and Amazon's tablet rivals don't get it
k0tcs3

I have to disagree with this article. Maybe there is a cultural difference between the US and UK, or maybe your network of friends is less...

2 days ago by k0tcs3 on Apple and Amazon's tablet rivals don't get it
filthylooker

My thoughts are that there's some space for change in the business world for tablets as destop replacements. I'd contend that the tablet has a...

2 days ago by filthylooker on Apple and Amazon's tablet rivals don't get it