Apple will warn its users of state-sponsored espionage attacks on iPhones, iPads and Macs. The notification will come via email or messages.

Zero-click attacks, such as the well publicised Pegasus spyware, are dangerous because users do not notice them and therefore cannot protect themselves. Now Apple is set to better protect its users from such attacks by informing the attacked people of them.

According to a new support document, Apple will send a threat notification warning by mail and Message to users who have been targeted. At the same time the same warning will be displayed on the user’s Apple ID page at appleid.apple.com.

According to Apple, such reports will include recommendations about how the affected users can protect themselves against attack.

Apple points out that some Apple threat notifications may be false alarms and that some attacks may not be detected. Apple also states that "We are unable to provide information about what causes us to issue threat notifications, as that may help state-sponsored attackers adapt their behaviour to evade detection in the future."

Apple warns that the attackers could abuse these new notifications of a possible attack. Apple emphasises that it will not send links, files, system profiles or apps in these emails and Messages, so if you receive such things do not click on them.

If you do receive such a notification it is wise to check it in a browser on another device by logging into your Apple ID account where the threat will also be indicated.

Read our iPhone security tips and find out how to protect your phone from hackers.

To find out more about Pegasus read: 

This article originally appeared on Macwelt. Translation by Karen Haslam.