(Reuters) - Apple Inc was recently attacked by hackers who infected Macintosh computers of some employees, the company said Tuesday in an unprecedented disclosure describing the widest known cyber attacks targeting Apple computers used by corporations.
Unknown hackers infected the computers of some Apple workers when they visited a website for software developers that had been infected with malicious software. The malware had been designed to attack Mac computers.
The same software, which infected Macs by exploiting a flaw in a version of Oracle Corp's Java software used as a plug-in on Web browsers, was used to launch attacks against Facebook, which the social network disclosed on Friday.
The malware was also employed in attacks against Mac computers used by "other companies," Apple said, without elaborating on the scale of the assault.
Twitter, which disclosed that it had been breached February 1 and that hackers might gave accessed some information on about 250,000 users, was hit in the same campaign, according to a person close to the investigation.
Another person briefed on the case said that hundreds of companies, including defense contractors, had been infected with the same malicious software. Though this person said that the malware could have originated from China, there was no proof.
"This is a new campaign. It's not like the other ones you read about where everyone can tell it's China," the first person said.
Investigations into the breaches are ongoing. It was not immediately clear when the attacks had begun, the extent to which the hackers had succeeded in stealing data from targeted systems, or whether all infected machines have been identified.
The malware was distributed at least in part through a site aimed at iPhone developers, which might still be infecting visitors who haven't disabled Java in their browser, the person close to the case said. There is a version that infects computers running Microsoft Windows as well.
Security firm F-Secure wrote that the attackers might have been trying to get access to the code for apps on smartphones, seeking a way to infect millions of end-users. It urged developers to check their source code for unintended changes.
Apple disclosed the breach as tensions are heating up over U.S. allegations that the Chinese military engages in cyber espionage on U.S. companies.
U.S. cyber security firm Mandiant reported over the weekend that it has uncovered evidence that the Chinese military is behind a slew of cyber attacks on U.S. businesses. The White House said it has repeatedly raised concerns about Chinese cyber theft with Beijing.
The breaches described by Apple mark the highest-profile cyber attacks to date on businesses running Mac computers. Hackers have traditionally focused on attacking machines running the Windows operating system, though they have gradually turned their attention to Apple products over the past couple of years as the company gained market share over Microsoft Corp.
"This is the first really big attack on Macs," said the source, who declined to be identified because the person was not authorized to discuss the matter publicly. "Apple has more on its hands than the attack on itself."
Charlie Miller, a prominent expert on Apple security who is co-author of the Mac Hacker's Handbook, said the attacks show that criminal hackers are investing more time studying the Mac OS X operating system so they can attack Apple computers.
For example, he noted, hackers recently figured out a fairly sophisticated way to attack Macs by exploiting a flaw in Adobe Systems Inc's Flash software.
"The only thing that was making it safe before is that nobody bothered to attack it. That goes away if somebody bothers to attack it," Miller said.
Cyber security attacks have been on the rise. In last week's State of the Union address, U.S. President Barack Obama issued an executive order seeking better protection of the country's critical infrastructure from cyber attacks.
White House spokesman Jay Carney told reporters on Tuesday that the Obama administration has repeatedly taken up its concerns about Chinese cyber theft with Beijing, including the country's military. There was no indication as to whether the group described by Mandiant was involved in the attacks described by Apple and Facebook.
An Apple spokesman declined to specify how many companies had been breached in the campaign targeting Macs, saying he could not elaborate further on the statement it provided.
"Apple has identified malware which infected a limited number of Mac systems through a vulnerability in the Java plug-in for browsers. The malware was employed in an attack against Apple and other companies, and was spread through a website for software developers," the statement said.
"We identified a small number of systems within Apple that were infected and isolated them from our network. There is no evidence that any data left Apple," it continued.
The statement said Apple was working closely with law enforcement to find the culprits, but the spokesman would not elaborate. The Federal Bureau of Investigation declined to comment.
Apple said it plans to release a piece of software on Tuesday that customers can use to identify and repair Macs infected with the malware used in the attacks.
(Editing by Andre Grenon, Edwin Chan and Richard Chang)
1. Apple I (1976)
Apple's first product was a computer for hobbyists and engineers, made in small numbers. Steve Wozniak designed it, while Jobs orchestrated the funding and handled the marketing.
2. Apple II (1977)
One of the first successful personal computers, the Apple II was designed as a mass-market product rather than something for engineers or enthusiasts. It was still largely Wozniak's design. Several upgrades for the model followed, and the product line continued until 1993.
3. Lisa (1983)
Jobs' visit to Xerox Corp.'s research center in Palo Alto inspired him to start work on the first commercial computer with a graphical user interface, with icons, windows and a cursor controlled by a mouse. It was the foundation for today's computer interfaces, but the Lisa was too expensive to be a commercial success.
4. Macintosh (1984)
Like the Lisa, the Macintosh had a graphical user interface. It was also cheaper and faster and had the backing of a large advertising campaign behind it. People soon realized how useful the graphical interface was for design. That led "desktop publishing," accomplished with a Mac coupled to a laser printer, to soon become a sales driver.
5. NeXT Computer (1989)
After being forced out of Apple, Jobs started a company that built a powerful workstation computer. The company was never able to sell large numbers, but the computer was influential: The world's first Web browser was created on one. Its software also lives on as the basis for today's Macintosh and iPhone operating system.
6. iMac (1998)
When Jobs returned to Apple in 1996, the company was foundering, with an ever shrinking share of the PC market. The radical iMac was the first step in reversing the slide. It was strikingly designed as a bubble of blue plastic that enclosed both the monitor and the computer. Easy to set up, it captured the imagination just as people across the world were having their eyes opened to the benefits of the Internet and considering getting their first home computer.
7. iPod (2001)
It wasn't the first digital music player with a hard drive, but it was the first successful one. Apple's expansion into portable electronics has had vast ramifications. The iPod's success prepared the way for the iTunes music store and the iPhone.
8. iTunes Store (2003)
Before the iTunes store, buying digital music was a hassle, making piracy the more popular option. The store simplified the process and brought together tracks from all the major labels. The store became the largest music retailer in the U.S. in 2008.
9. iPhone (2007)
The iPhone did for the phone experience what the Macintosh did for personal computing - it made the power of a smartphone easy to harness. Apple is now the world's most profitable maker of phones, and the influence of the iPhone is evident in all smartphones.
10. iPad (2010)
Dozens of companies, including Apple, had created tablet computers before the iPad, but none caught on. The iPad finally cracked the code, creating a whole new category of computer practically by itself.