With the increase in the frequency of cyberattacks, attackers have also started using more sophisticated strategies to find loopholes in digital systems. Cyberattacks can be defined as an exploitation of computer systems and networks with the intent to harm. Ransomware is the most significant and harmful type of malware attack.