• On TechRepublic: 10 cool USB flash drive tricks
advertisement
November 6, 2006 12:15 PM PST

OS.X Macarena 'virus' (#2): No viable threat posed; Not exploiting a Mac OS X bug; not a 'warning' of more viruses to come

by CNET staff
  • Font size
  • Print
  • 9 comments

Intego is the latest publisher of Mac OS X antivirus software to document and claim protection against the largely innocuous OS.X Macarena virus -- a simple C program, not found in the wild (outside the proof of concept stage) that is capable of infecting files on Intel-based Macs in its same directory.

The statement from Intego reads:

"The virus can only infect Intel-based OS X computers. It consists of a C source file, an Assembler 'dropper' file, and documentation that explains how to create a virus that can infect Macintosh OS X binary files. Compiling the source code creates two binaries, the OS X virus file itself, and the dropper. The dropper is intended to infect Mac OS X binary files from a Windows installation on the current machine. This can be either via Apple?s Boot Camp, or via a virtualization application such as Parallels Desktop for Mac.

"The virus only infects mach-o binary files, not Universal or PowerPC binaries. [Ed- We assume that Intego means to say that the virus infects only Intel Mach-O binaries]

"Mach-o (Mach object file format) is the native file format used for executables by Mac OS X's Mach kernel. The virus does not carry a payload. When run it infects other executables in the current directory, regardless of their name or extension."

Again, OS.X Macarena poses no viable threat as currently conceived. Although we don't have our hands on the virus source code, according to Symantec (who initially publicized the virus last week) OSX.Macarena can infect neither PowerPC-exclusive binaries, nor Universal binaries. It can only affect binaries that are Intel-specific. That would include various system files, but since OSX.Macarena can only infect files in its own directory and has no means of gaining the privileges necessary to escalate into directories where most system files are stored, the the threat level is mitigated.

Further, it can be reasonably said that this "virus" is no more than a basic exploitation of the way in which UNIX permissions are designed to operate. By default, applications have permission to modify files that reside in their same directory. It's somewhat akin to writing a shell script that deletes one or more (or all) files in the home user directory then distributing that script as a download: Running the script has a malicious outcome, but there would be no way to prevent its operation without changing the granularity of permissions in Mac OS X (assigning some applications tigher restrictions than the default user-level permissions allow) -- something Apple may or may not enact in Mac OS X 10.5 (Leopard).

Symantec acknowledged to MacFixIt:

"I think the phrase 'proof of concept' which is used in the write-up may have caused some confusion.  This is not a threat which is exploiting some bug, rather the concept that is being proven is that Mach-O files can be infected, and that Mac OSX file infecting viruses are therefore possible."

Also, as has been the case with virtually all purported Mac OS X viruses documented by anti-virus firms thus far, there is no reliable vector for the spread of OSX.Macarena, meaning that a user would have to locate the source file, download it, compile the source and run the virus in order for any effect to occur.

As a result of these considerations, the OSX.Macarena has served less as a "warning shot" across the bow of Mac OS X than as a re-iteration of just how difficult it is to write an effective virus for the operating system.

Feedback? Late-breakers@macfixit.com.

Resources

  • Late-breakers@macfixit.com
  • More from Late-Breakers
  • Recent posts from MacFixIt
    Address Book: Search not working properly
    iTunes 9.0.3 breaks AirTunes connection for some
    Apple releases Aperture 3.0
    Manage iCal's automatic e-mail generation for invitations
    CNET TV Apple Byte: Apple faces critics
    Weekly Utilities Update: Net Monitor, MiniUsage, TimeMachineEditor, more...
    Odds and Ends: Essential video codec packs for OS X
    Address Book: Unable to add, view contacts
    Add a Comment (Log in or register) (9 Comments)
    • prev
    • next
    by eieioblr November 6, 2006 1:31 PM PST
    Oh, my God!

    The virus is available on a major virus site.
    But not on that name, as Antivirus Vendors don't use the original hacker names.

    Google may be your ennemy.

    Why is it possible that 3 days after the alert, a site continues to deliver the virus?

    I can't understand that.
    Reply to this comment
    by eieioblr November 6, 2006 2:06 PM PST
    a simple search:

    Infecting Mach-O Files

    Who is working at google or yahoo here?

    Please eradicate the threat as soon as possible!
    Reply to this comment
    by MacFixItUser November 6, 2006 3:57 PM PST
    The more stable and virus-free becomes Mac OS X, the more nervous anti-virus companies get. Who writes these concepts of viruses? Perhaps someone at work?
    Reply to this comment
    by Mark Douma November 6, 2006 6:35 PM PST
    "The virus only infects mach-o binary files, not Universal or PowerPC binaries."

    What the hell is that supposed to mean? Or perhaps they forgot the word "Intel"?

    "... only infects Intel Mach-O binary files, not Universal or PowerPC..."?
    Reply to this comment
    by Man Cubus November 7, 2006 12:52 AM PST
    Oh my God.
    The program that can edit files if you launch it - they call that a virus!
    Come on, bring on something that does this without a user consent or knowledge!
    Otherwise I call my TextEdit a virus!
    Reply to this comment
    by nuheatuk November 7, 2006 2:43 AM PST
    hi there can someone help,I have a mac user where I work who cannot do a search on her hard drive and is generally not happy, she said it started when she looked at images on google, could she have this virus ?? I have updated symantec and am running a full scan, please help !!!

    thanks

    jamie
    Reply to this comment
    by bengstra November 7, 2006 2:43 AM PST
    >
    This is a reply to a previous comment by nuheatuk


    NO. No. NO.

    It's NOT a virus, it doesn't exist in the real world and can't be run without a programmer attached to it. This is why I hate the anti-virus panic companies.

    It's probably either a drive directory issue or a corrupted spotlight plist or such. Run Disk Utility.
    Reply to this comment
    by nuheatuk November 7, 2006 2:43 AM PST
    >>
    This is a reply to a previous comment by bengstra


    thanks very much for clarifying this!!! will this utility remove anything or do any damage to the mac as such ?? thanks for your advice.
    Reply to this comment
    by Mark Douma November 7, 2006 4:41 AM PST
    Thanks for adding the clarification regarding "Intel-only Mach-O binaries".

    Given the fact that probably only 0.5% of the Mach-O objects that Apple provides are Intel-only (the rest are Universal) that's yet another reason that this would have virtually no effect.
    Reply to this comment
    (9 Comments)
    • prev
    • next
    advertisement

    About MacFixIt

    MacFixIt is CNET's troubleshooting resource for all things Mac. The information here helps you navigate the ins-and-outs of Mac ownership with how-tos, troubleshooting information, news, reviews, and more.

    Add this feed to your online news reader