Apple is trying to identify the source of vicious malware attacks on a "limited number" of its Mac systems, a statement from the corporation said.
The corporation is to release new updated software to protect users and its systems.
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.
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.
We are working closely with law enforcement to find the source of the malware.
Since OS X Lion, Macs have shipped without Java installed, and as an added security measure OS X automatically disables Java if it has been unused for 35 days.
To protect Mac users that have installed Java, today we are releasing an updated Java malware removal tool that will check Mac systems and remove this malware if found.
More top news
A man from China has set a rather unenviable new world record - by covering himself in more than 1.1 million bees, weighing 17st.
Chinese goalkeeper Sui Weijie has been fined 50,000 yuan (£5,240) after allowing an opponent to score while he sipped on a bottle of water
A "caring and loving" teenage boy who "lit up the life" of everyone he met has died in hospital after taking what he thought was ecstasy.