Flashback: The Mac Malware That Ended the "Macs Don't Get Viruses" Myth

From the archive: this article was written in 2012 and reflects the technology and threats of that time. For current advice, see our latest articles or ask us directly.

For years, one of the selling points of a Mac was that you did not have to worry about viruses. Plenty of people bought one for exactly that reason, and plenty of offices, especially design shops, real estate teams, and medical practices with a few Macs at the front desk, never gave security on those machines a second thought.

This month, that comfortable belief took a serious hit. A piece of malware called Flashback was found on more than 600,000 Macs worldwide, according to the Russian security firm Doctor Web, which first reported the numbers in early April. It is by far the largest Mac infection anyone has seen, and it spread in a way that should get every Mac owner's attention.

What happened

Flashback has been around in various forms since last year. Early versions pretended to be an Adobe Flash Player installer (hence the name) and relied on people clicking "install." The version that exploded this spring did not need anyone to click anything.

It took advantage of a security flaw in Java, the software that lets certain interactive programs run inside a web browser. Oracle, which makes Java, fixed that flaw for Windows back in February. But on the Mac, Apple distributes its own version of Java, and Apple's fix did not arrive until early April. In the weeks between, simply visiting a booby-trapped or hacked website with Java enabled was enough to get infected. No password prompt, no warning, nothing to click.

Once installed, Flashback connected the Mac to a network of other infected computers controlled by the attackers. Researchers reported it was designed to tamper with web traffic, including injecting ads and interfering with search results, and it had the ability to download more malicious software later.

Why Macs were a target this time

Macs were never magically immune. They were simply less interesting to criminals. When the vast majority of business computers ran Windows, that is where attackers spent their effort. As Macs have become more popular in homes and offices, the math has changed.

Flashback also shows that the weak spot is often not the operating system itself but the extra software running on top of it: Java, Flash, browser plug-ins, and the like. Those programs run on every platform, and a flaw in one of them can open the door regardless of what logo is on the computer.

Macs are well-built and generally secure. That is not the same thing as "does not need to be maintained."

What Apple has done about it

Apple has now released Java updates that close the hole and, as of last week, a tool that detects and removes the most common Flashback variants. Apple's latest Java update also turns the Java browser plug-in off automatically if it has not been used for a while, which is a sensible change. These updates are delivered through Software Update, which brings us to the most important point.

Keeping the Macs in your office healthy

Run Software Update, and actually install what it offers

The Macs that got infected were, by definition, Macs that had not received the fix. Updates on a Mac are easy to postpone, and "Later" is a very tempting button. Make updates a habit, not an afterthought. If you have Macs running older versions of OS X that no longer receive security updates, it is time to plan an upgrade.

Decide whether you need Java at all

Many people have Java installed and have no idea why. If nobody in your office uses a website or program that requires it, turn it off in the browser, or ask your IT provider to. If a specific tool does need Java (some banking portals and older business applications still do), consider leaving it enabled in only one browser used just for that site.

Consider antivirus on your Macs

A year ago this would have sounded like overkill. Today, reputable security companies offer Mac antivirus products, several free for home use, and Apple's own operating system includes some basic built-in malware checking. For a business Mac that handles customer information, a managed antivirus product is a reasonable, inexpensive layer of protection.

Do not work as an administrator all day

Using a standard account for everyday work, and an administrator account only when installing software, limits how much damage malicious software can do.

What to do now

  • Open Software Update on every Mac in the office and install everything it offers, including the Java updates.
  • Check each Mac for Flashback. On Lion and Snow Leopard, Apple's latest Java update includes the removal tool. Macs running anything older need extra attention, so ask for help.
  • Turn off Java in the browser on any Mac that does not need it.
  • Keep Flash and other plug-ins updated too; they are the next obvious target.
  • Include Macs in your security plan, whatever that plan is for your Windows PCs.

The bottom line

Flashback does not mean Macs are suddenly dangerous. It means they are ordinary computers that need ordinary care: updates, sensible settings, and someone keeping an eye on them. Many small offices here in Pinellas and Pasco have a mix of PCs and Macs, and it is easy for the Macs to fall through the cracks. Our desktop support covers both, and if you would like us to check your office's Macs for Flashback and get them up to date, drop us a line at info@pinellasit.com.

Need help with this?

Talk to a local IT team that has supported businesses across Pinellas & Pasco County since 2010.

Get a Free Consultation Free Security Assessment