Cyberattacks and Cybercrimes are rising at an alarming rate worldwide. The devices we handle today face failure at one point or another. This makes them vulnerable to hacking and other possible threats. The process of identifying the source of the attack becomes impossible due to complex networks. This is the point where AI comes into the picture, as analyzing the network requires a certain set of algorithms. These algorithms play a pivotal role in keeping us safe from attackers.