It looks like Macs are not quite as safe as they claim to be after all.

Apple Inc. has long claimed that its computers are more resistant to malware than PCs, but on Tuesday it revealed that several of its employees' computers were hit by malicious code, believed to be the same code that hit Facebook last month. The code infected the computers after employees visited a software development website.

As Apple's popularity has grown, hackers have begun targeting it more and more, the Wall Street Journal reports. This may be due in part to higher-level executives at companies being more likely to own Macs. Apple's response to this attack was unusual, because it revealed the details, whereas usually it just issues software updates in response to possible vulnerabilities.

Apple claims that no data seems to have been stolen, and Facebook said the same about its attack.

 

For more hacking coverage on InsideCounsel, see below:

More than half of in-house counsel say data security is their top legal concern

Defending against cyber-attacks

U.S. authorities broke up overseas cybercrime ring

U.S. sues Wyndham hotels over data breaches

LinkedIn sued over data breach

Blogger/detective sues News Corp.'s Times newspaper for hacking his email