Technology Review - Published By MIT
Advertisement

Stealthier Mac Attacks

A new technique lets hackers targeting Apple's OS X cover their tracks more effectively.

By Erica Naone

Wednesday, February 18, 2009

smaller text tool iconmedium text tool iconlarger text tool icon

Fans of Apple computers often boast about superior security. But as Macs have gained in popularity over the past few years, this has brought much more attention from hackers. At a presentation scheduled to take place today at the Black Hat DC computer-security conference in Washington, DC, one security expert will reveal a technique for attacking the Mac operating system--OS X--without leaving a trace.

Credit: Technology Review

Similar techniques have targeted both Windows and Linux machines for several years. They allow an attacker to cover her tracks, eliminating vital evidence that an investigator might normally use to prove that a machine has been compromised; they might also allow the investigator to put together details of the incident. Bringing the technique to the Mac, however, required a significantly more sophisticated approach.

The technique that will be outlined at Black Hat DC allows an attacker to remove virtually all trace of an attack against OS X, after compromising the system using another exploit.

Vincenzo Iozzo, a student at the Politecnico di Milano, in Italy, explains that the technique allows an attacker to break into a machine without leaving a trace in its permanent memory, which means that evidence of the attack will disappear as soon as the victim's computer is turned off. Such a technique could be used, for example, in combination with another software flaw to covertly replace a legitimate version of Apple's Safari Web browser with a malicious one that logs the user's keystrokes and sends them to the attacker.

Story continues below

Normally, when a user runs an application, the code runs in various parts of the computer's memory. In OS X, a file format called Mach-O is used to specify where in the computer's memory the application's processes should run. Iozzo studied the Mach-O file format in order to predict in advance where these processes could be found. The technique identifies an active process (such as that for Safari) and injects malicious code into the space in memory where it is running. When the system reads from the expected location, it executes the attacker's code instead of the legitimate program. Since the technique leaves no trace, Iozzo says that it can only be detected using software that watches for intrusions on a network.

Predicting where to inject the malicious code is made more difficult by a security feature in OS X that stores the variables needed to keep the attack untraceable in random locations within memory. However, Iozzo discovered a way to anticipate where the variables would be stored based on pieces of information that remain unchanged.

Comments

  • [no subject]
    The missing piece of information is "How does the attacker gain access to the machine"?
    Rate this comment: 12345

    Just Some Hu...
    02/18/2009
    Posts:1
    Avg Rating:
    5/5
    • Re:
      Agreed.

      This appears to be an article without substance . . . from one of my favorite sites.
      Rate this comment: 12345

      kstar
      02/19/2009
      Posts:4
      Avg Rating:
      5/5
    • Re:
      Well, the only way a hacker can run an exploit is by having the user run a compromised application. Basically, as long as one knows exactly what he's installing, he should be fine.
      Rate this comment: 12345

      californian
      02/20/2009
      Posts:1
      • Re:
        Right.

        The "attack" mentioned in this article is a trojan, AFAIK.

        I guess the meat of the story is the "covering path" element, not the "attack."  Of course, running a story about OS X "attacks" brings a bunch of folks out from the shadows, like us. LOL.

        Best,

        Kurt
        Rate this comment: 12345

        kstar
        02/21/2009
        Posts:4
        Avg Rating:
        5/5
  • Whose tracks?
    "They allow an attacker to cover her tracks"
    Rate this comment: 12345

    BuckyOHare
    02/20/2009
    Posts:4
  • Quick Solution are necessary
    No assumptions can be made on this sophisticated hacking technique, as there is not enough evidence to support how many mac OS have been affected by it yet. As long as hackers dont get their dirty hands on this technique, apple pc users can still expect to be safe as ever.

    However, it would be appreciable if security researchers are pro-active and find a solution to this as soon as possible, especially before the process of the technique is widely spread out for hackers to feast on.
    Rate this comment: 12345

    nishant kuma...
    02/21/2009
    Posts:12
    Avg Rating:
    3/5
    • Re: Quick Solution are necessary
      AFAIK, the "sophisticated hacking technique" of infection is getting the user to run a program, i.e a trojan.

      While the method of minimizing or eliminating evidence of the machine being hacked may be sophisticated, infection via trojan is not so sophisticated, IMO.

      Best,

      Kurt
      Rate this comment: 12345

      kstar
      02/21/2009
      Posts:4
      Avg Rating:
      5/5

Log In

Forgot your password?     Register »
Advertisement

Videos

Making 3D Maps on the Move
Technology Review November/December 2009

Current Issue

Natural Gas Changes the Energy Map
The United States has vast supplies of this cleaner fossil fuel. But how should we use it?
Featured Content
Sponsored by:
White Papers

Twelve ways to reduce costs with SQL Server 2008
Find out how to reduce costs and get more efficient

Download

Total Economic Impact of SQL Server 2008 Upgrade
Forrester reports on increasing productivity and management capabilities

Download 

Achieving Cost and Resource Savings with UC
How Office Communications Server R2 and Exchange Server can make your business smarter and more efficient

Download 

The Compelling Case for Conferencing
Read how you can improve workload support and find IT efficiencies

Download

How Windows Server 2008 R2 Helps Optimize IT and Save you Money
Read how you can improve workload support and find IT efficiencies

Download

Windows Server 2008 R2 Hyper-V Live Migration
See how Windows Server 2008 R2 and Hyper-V enable virtualization and Live Migration

Download
Advertisement
Subscribe to Technology Review's daily e-mail update. Enter your e-mail address

TECHNOLOGY RESOURCES
Advertisement
MIT Massachusetts Institute of Technology © 2009 Technology Review. All Rights Reserved.