The use of the Internet has become a daily thing that a person can easily practice through several means, such as desktop and laptop computers, mobile phones, as well as many home devices. This widespread use has led to a significant increase in various electronic attacks, perhaps the most famous and dangerous of which are ransomware viruses. The danger of these viruses lies in the targets they seek to attack, as they are not limited to ordinary people, but rather they attack hospitals, private and government institutions, companies, educational institutions, and many other targets.