ie8 fix
madison

Zero Day

Ryan Naraine, Emil Protalinski and Dancho Danchev

Mac worm rumors swirl; Dai Zovi ships unofficial Mac OS X patch

By | July 18, 2007, 3:11pm PDT

Summary: Amidst unconfirmed rumors that anonymous hackers have created a worm that exploits an unpatched code execution flaw in Mac OS X (Intel), a team of researchers have come up with a way to completely disable a buggy portion of the Mac code base.

Amidst unconfirmed rumors that anonymous hackers have created a worm that exploits an unpatched code execution flaw in Mac OS X (Intel), a team of researchers have come up with a way to completely disable a buggy portion of the Mac code base.

Led by Mac security guru Dino Dai Zovi (of CanSecWest MacBook hijack fame), the researchers have created a third-party patch that removes the uPNP code from within mDNSResponder, the Bonjour system service that implements Multicast DNS Service Discovery for discovery of services on the local network.

Davi Zovi worked with his former employers at Matasano Security on the patch after looking at the worm claim and the recent mDNSResponder patch (and Bonjour exploit) affecting that portion of the Mac OS X code.

[ SEE: Ten questions for MacBook hacker Dina Dai Zovi ]

“If I were to guess about the vulnerability linked to the worm claim, I’d say it’s in uPNP. I won’t be surprised if there are others looking hard at that piece of code to find holes,” Dai Zovi said in a telephone interview.

The patch, which is buyer-beware (and unsupported), does not fix a specific vulnerability. Instead, it removes the LegacyNATTraversal code from mDNSResponder. Hackers consider mDNSResponder the primary client -> server attack surface on Mac OS X.

Matasano president Dave Goldsmith, a former @Stake researcher who has found/reported numerous Mac OS X vulnerabilities over the years, said that portion of the code contains lots of unbounded memory copies and a history of overflows and memory smashing bugs.

“This patch will hopefully prevent a certain code path from getting executed. No one knows for sure if there’s a vulnerability there but we think this (patch) could potentially stop some bad code from getting called,” Goldsmith said by telephone.

“The LegacyNATTraversal code is 1994-style C code,” Goldsmith said. “[There are known bad programming practices lurking in that particular file.”

On Matasano’s blog, Goldsmith warns that the patch is buyer-beware.

Standard disclaimers about this patch apply (including: may do nothing, may protection you form current/future vulns, may cause mDNSresponder to not work, may break support contracts). Also, this patch is unsupported, which is why I didn’t give step by step instructions on how to apply it.

In any event, Dai Zovi said the patch isn’t for non-technical Mac users. “There’s an opportunity for someone to make it more user-friendly but, right now, it’s not something the average user can use,” he said.

His advice to Apple: Rewrite the entire uPNP code base.

“It’s a feature that’s there for a reason but that entire bit of code needs to be rewritten. There are too many (potential) dangers there,” he added.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues.

Disclosure

Ryan Naraine

The most important disclosure is of my employment with Kaspersky Lab as a member of the global research and analysis team. Kaspersky Lab is a global company specializing in anti-malware and secure content management technologies. I do not own stocks or other investments in any technology company.

Biography

Ryan Naraine

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues. He is currently security evangelist at Kaspersky Lab, an anti-malware company with operations around the globe. He is taking a leadership role in developing the company's online community initiative around secure content management technologies.

Prior to joining Kaspersky Lab, Ryan was Editor-at-Large/Security at eWEEK, leading the magazine's and Web site's coverage of Internet and computer security issues and managing the popular SecurityWatch blog, covering the daily threats, vulnerabilities and IT security technologies. He also covered IT security, hacker attacks and secure content management topics for Jupiter Media's internetnetnews.com.

Ryan can be reached at naraine SHIFT 2 gmail.com. For daily updates on Ryan's activities, follow him on Twitter.

41
Comments

Join the conversation!

Just In

There are many things
xuniL_z 23rd Jul 2007
Not in your nature. happy
0 Votes
+ -
This flaw means nothing to me .
The_Nutty_Zealot 18th Jul 2007
Do you want to know why ? Read this excerpt from the story:

Amidst unconfirmed rumors that anonymous hackers have created a worm that exploits an unpatched code execution flaw in Mac OS X (Intel), a team of researchers have come up with a way to completely disable a buggy portion of the Mac code base.


Like the excerpt says , (Intel) only . Guess what , more power to the PPC Macs . I'm beginning to wonder if all these issues that have arisen lately has to do with Intel based Macs ?
0 Votes
+ -
Means nothing to me either
tonymcs@... 18th Jul 2007
Since I don't use a warmed up 70s OS like OS X.

I think you missed the bit about the buggy legacy code. Ah well, denial is a state Mac users are used to.
0 Votes
+ -
Like usual you are an idiot .
The_Nutty_Zealot 18th Jul 2007
This only affects Intel based Macs , had you had read the story properly/thoroughly , you would not have missed it . Instead focus on the fact that Internet Explorer and Windows still have the issue of the URI that Microsoft has been sitting on since 2004 idiot . That's a worldwide problem :

Mozilla patches Firefox; tells users to avoid IE

http://blogs.zdnet.com/security/?p=387

Mozilla patches Firefox, slams door on IE zero-day bug
We fixed our end, says Mozilla, but IE is still buggy

http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9027289&intsrc=hm_list

I loved this excerpt from the story the most :

"However, I can still automatically launch a wide range of external applications from Internet Explorer and provide them with arbitrary command line arguments, [including] AcroRd32.exe (Adobe Acrobat PDF Reader), aim.exe (AOL Instant Messenger), Outlook.exe, msimn.exe (Outlook Express), netmeeting.exe, HelpCtr.exe (Windows Help Center), mirc.exe, Skype.exe, wab.exe (Windows Address Book) and wmplayer.exe (Windows Media Player), just to name a few," Larholm wrote.

What will Microsoft do once one of its own products affects the other . ROTFLMAO !!!
  • Flagged
0 Votes
+ -
Typical fruit...
fr0thy2. 19th Jul 2007
(NT)
0 Votes
+ -
At least a "fruit" has worth
MacCanuck 19th Jul 2007
What's your contribution to society, other than trolling, wasting space and oxygen?

...
0 Votes
+ -
I take that...
Spiritusindomit@... 19th Jul 2007
to be directed at all users of non-mac system.

Let's see, my contribution to society is developing fallout simulator applications for nuclear reactors and doing research in the field of retrovirology (which is what my degree is in, dual majored with biochem engineering). I also run a training and consulting firm, and have 15 years of development experience on platforms ranging from solaris to windows and even, yes, OSX.

What is your contribution? Lemme guess, a degree in graphic or liberal arts, potentially business administration. Work for a design firm making pretty pictures, maybe doing landscapes in the frigid canadian winter?

If you don't have anything productive to say, don't fan the flames of someone preaching antimac elitism. It's just as bad a promac elitism. Go read the book Code and learn something, your opinion may have merit at that point.
0 Votes
+ -
actually
Badgered 19th Jul 2007
you took that as an opportunity to discuss the many fine points of being... well... you.

Of course all that intelligence and dedication to a higher cause would be nothing without garbage men and plumbers. Because without them you'd be piled up head high in your own crap. Figuratively, you are anyway. So do try to remember that while you're on that perch looking down at the lowly graphic and liberal artists, and landscapers.

(btw, I am none of the above... elitism just bothers me a wee bit)
0 Votes
+ -
Wow!!! Think much of yourself?
MacCanuck 19th Jul 2007
Take a chill pill as you did take that the wrong way.

You're a tad too sensitive and defensive (along with having a healthy dose of megalomania) as all I was responding to was a typically mindless (bigoted?) anti-Apple/Mac (user) response.

It's the individual that is worthy of castigation, not any particular group, unless of course you claim to represent all Windows users, you have "buyers doubt & remorse" and/or feelings of inadequacy (wait, definitely not that last one for you).

You appear to be not much better than drkr2004@ in your condescending description of those you consider to be the great unwashed and unworthy of being in your esteemed presence.

You forgot to throw in we Mac users are all gay (fruit reference?), have more money than brains... along with being better looking and we don't drag our knuckles.

Now back to my double orange cr?me frappuccino light blended latte and flower arranging.

Later darling...

(sheesh)

...
0 Votes
+ -
who is sensitive?
xuniL_z 19th Jul 2007
wow. some that seemed to roll off your fingers a little to easily I might add.
0 Votes
+ -
Every time I see you do this
xuniL_z 19th Jul 2007
It's over a 5 paragraph microsoft beating. If the prior poster had been tearing OS X apart, you would have let that "fruit" statement slide w/o a doubt.

You claim you are not a troll and try to portray the "voice of reason" but it's a big farce. I've never seen you castigate someone that was putting down an Apple flamer. What did the prior post have to do with the story? What was there about it that you felt the need to "defend the poster's honor"? Did you even read it, or did you see the nic and the word and responded knee jerk. Most likely the case, but you are as much a troll as anyone on here. You are not as vulgar as some, not as mean spirited as some, not as stupid as most, but you still post with zero objectivity.
0 Votes
+ -
re:Means nothing to me either
The_Nutty_Zealot 18th Jul 2007
You meant to state that Windows users are the ones in a state of denial , including Ballmer & Gates . You bunch of blithering idiots .
  • Flagged
0 Votes
+ -
Ohhh good one!
Badgered 19th Jul 2007
You bunch of blithering idiots.

You really got 'em there kiddo! Way to get a zinger in on those useless M$ supporters! YaY for the Mac faithful, we can insult with the best of 'em.
0 Votes
+ -
At least the fix is available .
Intellihence 18th Jul 2007
Which is more than I can say for MS C.R.A.P.

Mozilla patches Firefox; tells users to avoid IE

http://blogs.zdnet.com/security/?p=387

Blocking (Internet Explorer) drive-by malware downloads

http://blogs.zdnet.com/security/?p=386

Symantec puts price tag on anti-botnet tool

http://blogs.zdnet.com/security/?p=384

Skeletons in Microsoft?s Patch Day closet

http://blogs.zdnet.com/security/?p=316

Microsoft drops 6 bulletins, fixing 11 vulnerabilities

http://blogs.zdnet.com/security/?p=364

Microsoft should block that IE-to-Firefox attack vector

http://blogs.zdnet.com/security/?p=367

On deck: Critical Microsoft Office, Excel, Windows patches

http://blogs.zdnet.com/security/?p=354

German police excuse angry computer user for outburst
The man tossed his PC out a window in the middle of the night

http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9027278&intsrc=hm_list

Are Microsoft?s patent lawyers really this dumb?

http://blogs.zdnet.com/microsoft/?p=557

Microsoft Xbox Chief Peter Moore: Did he jump or was he pushed?

http://blogs.zdnet.com/microsoft/?p=583
The last story here was really good , the X-BOX bursting in flames from casual play , Microsoft takes a 1 Billion dollar loss on that one . Microsoft take my advice , stay out of the hardware business . If the X-Box bursting into flames isn't enough , then ask yourselves , how is your Zune market doing ?!?!?!?

ROTFLMAO !!!

In a world without walls & fences , who needs windows & gates?"

Watch this video on mac vs pc , you'll love it .

http://www.youtube.com/watch?v=qHO8l-Bd1O4
0 Votes
+ -
Wow. You know how to roll out a list
YinToYourYang-22527499 18th Jul 2007
Where can I get this script? It's the NeutronBomb AppleScript of retorts.
0 Votes
+ -
...and ignorance. I feel sorry for Mac users. If you are a representitive of them then they are very bad lot. Last time I checked MS fixes holes albiet not as fast it should but it does. I do belive this was a 3rd party, kind of scary there. You can ***** and moan through all you want. The Day Apple has the guts to step and sell their OS w/o hardware, and support 100's of millions of computers, MS will not have a competitor. They f'd up their business model in the 80's and MS ate their lunch and they have to live with it to this day. Until the above day, they are no more then a boil on the computing world butt. Apple is a very good hardware vendor, their OS is OK. I think Ubuntu's is actually better if it gets more backing - Apple may have a problem and I think MS has a few secrets up there sleeves since Gates left and there is anew head of Windows Development. So through your chilish tantrums and give all Apple/Mac users a bad name - which you do.
0 Votes
+ -
Correct sociological analysis sir.
Tigertank 19th Jul 2007
His opinion certainly does reflect every single person who uses the Macintosh. That is why we elected him spokesman and representative of all Mac users at the Mac Cultist congress last February.
Very astute of you to discover our inner workings. Bravo!
0 Votes
+ -
I demand a re-count!!!!
Laff 19th Jul 2007
Pagan jim
0 Votes
+ -
moron
Spiritusindomit@... 19th Jul 2007
Do you know WHY it doesn't work? (of course you don't, 'it just works,' it's magic ; ).

This hack exists because rather than actually rewriting OSX with x86 support, they hacked in a low level processor interpreter that turns risc instructions into x86. The architecture you know as 'power pc' was originally created by Sun, and solaris still does it much much better.

I love how mac elitists are now subdividing into x86 and risc fragments.

Now please, continue with your switch commercial ranting.
0 Votes
+ -
Idiot == you
Imaginos1892 19th Jul 2007
Apple has been developing MacOS X on X86 native since 2003. Of course you never
knew it was developed from NeXTStep which ran exclusively on X86 - the PowerPC
version is a port. Or that the PowerPC was a joint project of Motorola, Apple and IBM
and had nothing to do with Sun. Obviously you believe that knowledge is dangerous,
but ignorance is not.
----------------
Nobody expects the Spanish Inquisition!!
0 Votes
+ -
Why I love these TalkBacks...
Freebird54 20th Jul 2007
You can always learn something that you never knew before - no matter how involved you were with the happenings them selves....

The architecture you know as 'power pc' was originally created by Sun, and solaris still does it much much better.

Gee, and here I thought that this was the source of the Power PC architecture!
0 Votes
+ -
Thank you Zovi
YinToYourYang-22527499 18th Jul 2007
You're definitely a good net citizen and a much appreciated ally of my favorite operating
system.
0 Votes
+ -
Indeed. Seems a bit silly doesn't it?
Badgered 19th Jul 2007
But at least the patch wasn't put out by Apple. That would just be wacky.
0 Votes
+ -
Contributr
This isn't a 'patch' in the strictest sense
Ryan Naraine 19th Jul 2007
It's not a patch that fixes a specific vulnerability. It simply disables a piece of code that's considered unsafe to protect against potential flaws (Dai Zovi believes that code should be rewritten entirely).

He told me he created this 'patch' because he simply can't trust the uPNP code running on his own Mac systems.

_ryan
does not seem to apply as a general rule on this subject....:)

Oh well yet another none story/issue....wake me when something HAPPENS.....

Pagan jim
0 Votes
+ -
WAKE UP!!!
justanitguy 19th Jul 2007
!!!!NEWS FLASH!!!!
Pagan Jim learns how to spell-Windows user explains about how to use Microsoft Word's built-in spellcheck function to proof his posts, and then copy and paste them in order to avoid embarrassing spelling errors...
Microsoft has yet to conceive of a way to prevent embarrassing yourself with 'dreck' for content, but they are working on it non-stop!...
0 Votes
+ -
and...
Spiritusindomit@... 19th Jul 2007
You're any better for flaming him?

And in case you haven't heard, windows users generally use google spellcheck in the browser. I know you're hooked on safari, but, you could look up modern technology at some point.
It's not in my nature.....

Pagan jim
0 Votes
+ -
There are many things
xuniL_z 23rd Jul 2007
Not in your nature. happy
0 Votes
+ -
Please .. get a life!
blackRiver 19th Jul 2007
What's more embarrassing is to read your rant.
0 Votes
+ -
Read deeper into the story
BroGnorik 19th Jul 2007
The worm can only affect an UNPATCHED SYSTEM!! Just like in Windows. an Unpatched system is more likely to get infected then a fully patched system.

Also using the IE example not being fixed since 1994, well it really depends what version of IE you are using, and what patches you have installed.

I bug made for IE 4.0 will not affect IE 7. Same with a Mac. A bug in OS 8 will not affect OSX.

And just to make the Linix people happy, a bug in any Linux flavor version 8 will not affect version 10.

And DOS virures and bugs will not affect XP or Vista.

Does anybody know where we can see a comparison of Viruses, malware, and apyware for each OS. I am not just looking for Windows. I want a comparison of Windows 95, 98, ME, NT, 2000, XP, and Vista.

I believe some windows bugs and viruses that have affect ed Windows 95 is still being calulated in Vista the number viruses and bugs in Windows Vista.

I would like to see a true break down.
0 Votes
+ -
Interesting...
fr0thy2. 19th Jul 2007
I would like to see that too - good question.
0 Votes
+ -
Even more to the point
Freebird54 20th Jul 2007
How vulnerable are you NOW if you use Win98SE ? It seems to me that most malware writers have moved WAYYY beyond that - and that you may well be almost as safe on OLD WinCode as on Windows alternatives! Also has the advantage of running quite well on older hardware.....
0 Votes
+ -
Windows bugs.
BroGnorik 19th Jul 2007
I wanted to clarify. Yes I want a comparison of the last 10 Linux verisions, Macs version, and Windows version.

What I do not want is see total number of bugs in Windows, Linux, Mac. I want them broken down into previous versions.

I only listed Windows, because that is what I know.
0 Votes
+ -
Meow
Spiritusindomit@... 19th Jul 2007
Disregard this, macs don't have viruses, steve jobs told me so.

Also, HAHAHAHAHAHAHAHAHAHAHA...ha. 'Security Expert.' That has to be the biggest hack I've ever heard.
0 Votes
+ -
Somebody is bored
MacGeek2121 19th Jul 2007
This is a pretty negative article about a lot of unconfirmed rumors. Sometimes
they call that jumping to conclusions to create FEAR UNCERTAINTY and DOUBT.
The "Buggy this" and Buggy "that" is very much a non-story. With the possible
exception of Solaris, OSX is the cleanest commercial operating system you can buy
today. It may not be perfect, but it beats the pants off of the alternative. If OSX is
buggy what is the word for Windows XP or Vista? I'm not going to rag on Windows
because obviously Windows has advantages for some people. I'm just a Mac Kool
Aide Drinker because Steve Jobs makes me buy Macintosh. What drives all you
anti-Mac zealots. If this article were about Windows it would never have been
written, because an unconfirmed worm and a patch that disables part of Windows
would not be news. Is this news because Macintosh has never had a confirmed
worm or virus in the wild? Could this article be propaganda created to cause fear,
uncertainty and doubt among people considering a switch to Macintosh?
0 Votes
+ -
OSX is the cleanest commercial operating system you can buy
today


Why do you and Harry have this fascination with OSs that you have to pay for? If an OS is free, it can't be considered as an alternative? Bzzzzt. Sorry! The best alternative to Windows will always be Linux. OSX isn't even a blip on the radar.
0 Votes
+ -
Wrong
vmaatta 20th Jul 2007
Sure.. linux is in many ways better than Windows. And that doesn't take much. I'm actually writing this on linux right now. But OS X beats linux distros by far. But apparently your mind is already set: "The best alternative to Windows will always be Linux."
0 Votes
+ -
Maybe..
slam5 20th Jul 2007
Maybe Linux is a better alternative in being more secure BUT its user friendliness just isn't there(from the end user's perspective). People don't have the time nowadays to learn another os. I had done tech support all of 20 years and most people are reluctant to switch to mac is because they just don't like to learn something new. mac had became much better but linux isn't quite there yet.
0 Votes
+ -
re: Wrong
joe6pack_z 21st Jul 2007
...But OS X beats linux distros by far...

I have used Linux, Windows, and Mac. There is more capability in Linux than either Windows or Mac. Many things in Linux that simply don't exist for Windows or Mac. I have never had a system freeze or lock up in Linux. Sadly, I cannot say the same for Windows or Mac. Just one persons real world experience.
0 Votes
+ -
What a bunch of crap
JoeBob_z 20th Jul 2007
There may be a problem, but we don't really know. There could be a
way to exploit it, but we're really not sure. There's the possibility someone
could create a worm, but we don't know how or if it will work.
But you should patch it.

More of the usual FUD from hackers who don't like the inherent security of
OS X.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix