In the current technological era, cyber-crime has increased significantly. In recent past, many incidences have been observed in the globe in instances where denial of service attack (Ddos) and ramsomware have been used by criminals. Ransomware is a malicious software that threatens to publish the victim’s information or block access unless a ransom is paid. On the other hand, Ddos is a cyber-attack in which the perpetrator makes a network or machine resource unavailable to the intended user by overloading the system. These are some of the most malicious attacks used by hackers or system intruders with the intensions of causing ham or extorting the user or particularly the system user. The two have been used to cause chaos and fear to the public and organizations.