This report provides an in-depth analysis of two significant ransomware attacks: WannaCry and NotPetya. It begins with an introduction to ransomware, defining its malicious nature and increasing global impact. The discussion section delves into the specifics of each attack, detailing WannaCry's exploitation of the EternalBlue vulnerability in Microsoft Windows systems, its propagation through a network worm, and its demand for Bitcoin ransom. The report also covers the NotPetya attack, which targeted Windows systems, encrypting the master boot record and preventing system boot, with the malware spreading through third-party software updates. The report examines the attack processes, including the use of EternalBlue and the impact on various organizations. The conclusion summarizes the impact of ransomware on businesses and individuals, emphasizing the importance of system updates, firewalls, and other security measures to mitigate these threats. The report references several sources to support its findings, providing a comprehensive overview of the attacks and their implications.