Apple has confirmed it is the latest victim of hacking.

The company says it was attacked by the same group that targeted Facebook- but that no data appears to have been stolen.

Apple is releasing software to protect consumers against the malicious software used in the attacks.

It comes as cyber-security attacks have been on the rise. Mandiant, a cyber-security firm - says a secretive Chinese military unit is behind hundreds of attacks.

This is how it generally works:

The common way is to send emails with a link. When the unsuspecting victim clicks on the link, the software gives the hacker access to keystrokes, passwords, screen shots, and other data in hopes of finding information to access even more important data.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.