Cybersecurity has become critical to overall security in the modern digital landscape. With the surge in cyberattacks, organizations increasingly rely on security analysts to ensure their systems' integrity and confidentiality. These professionals face numerous challenges, including protecting sensitive government data and the security of private organization servers. Today's cyber threats are particularly concerning due to the widespread use of hands-on or "interactive intrusion" techniques. Unlike traditional malware attacks that rely on automated scripts and tools, interactive intrusions involve adversaries actively engaging with the host systems to achieve their objectives. These attackers mimic legitimate user and administrator behavior, posing a significant challenge for defenders to distinguish between normal activity and malicious actions. Machine learning (ML) is emerging as a crucial technology in the fight against the increasing number and complexity of cyber attacks. Its capacity to analyze vast amounts of data and identify patterns makes it exceptionally suited for detecting attacks at their earliest stages, exposing network vulnerabilities, and predicting the timing and nature of future cyber threats. Earlier, infection detection focused on identifying the presence of infections on user machines. The detection mechanisms were primarily based on signature detection and were intended to detect v******, worms, and malware. However, the threat landscape has changed significantly in the past few years, and it is necessary to revisit the detection strategy in place. ML algorithms can analyze network traffic, system logs, and online activity data to identify aberrant behaviors or patterns. This can indicate possible activities for cyberattacks such as malware, ransomware, or phishing. Such proactive detection helps prevent breaches.