The majority of ransomware attacks enter networks via email. Phishing attacks and human error are also among the main causes of ransomware.