How to spot a cybersecurity attack