Cyber risks, including the risk of ransomware attacks, are proving to be a direct threat to company officers and directors.