AI's Role in Cyber Attacks: Malware to Deepfakes