In order to prevent yourself from the Cerber or any ransomware attack: Always keep your system and antivirus up-to-date. Regularly backup your files in an external hard-drive. Disable Macros in your MS Office programs. Always beware of phishing emails, spams, and clicking the malicious attachment. You can also use an Intrusion detection system (IDS), for which you can try AlienVault Unified Security Management (USM) that includes an inbuilt IDS with SIEM and real-time threat intelligence to help you quickly detect malware and other threats in your network. Thank you :)