The incident follows a similar attack on the Northern Lincolnshire and Goole Foundation Trust in October, when malware was used to encrypt files on the trust's system and demand a ransom in order to access them again.