Nowadays, quite a lot of users became victims of cyberattacks campaigns especially those that depend on holding a document to get a ransom. In other words, users tend to save their vital documents on computers or on the cloud which makes these documents exposed to adversarial attackers. Ransomware is an emerging cyberattack and one of the toughest kinds of scareware to fight against. Moreover, it’s not feasible to detect ransomware attacks with classical methods because suck attacks are evolving and reforming very quickly which makes it hard for antiviruses to detect such threats. There are three detection methods that can accurately detect this emerging attack. These detection methods are based on classifying and analyzing network traffic to extract abnormal behavior and thus detect ransomware. Moreover, it is possible to use machine learning techniques to erect a model for detecting this attack. Using honeypot to deceive the ransom ware and discover it a faster method for detecting ransomware attacks. There are effective preventing methods that can thwart this attack from happening, such as making an up-to-date backup and avoiding clicking on untrusted email links and attachments.