Keywords: Artificial Intelligence, Cyber Threat Detection, Cybersecurity, Machine Learning, Deep Learning, Intrusion Detection, Malware Detection, Phishing Detection, Threat Intelligence, Explainable AI, Generative AI, Adversarial Machine Learning, Incident Response
Cybersecurity threats have grown in volume, sophistication, and speed to a degree that traditional signature-based and rule-based defenses can no longer reliably match. Malware variants are increasingly polymorphic, phishing campaigns are personalised using scraped personal data, and advanced persistent threats (APTs) are engineered to evade static detection for months at a time. Against this backdrop, Artificial Intelligence has moved from a research curiosity to a core operational capability across intrusion detection, malware analysis, phishing defense, threat intelligence, and incident response. This review synthesises the contemporary literature on AI-driven cyber threat detection, tracing developments across Machine Learning, Deep Learning, Explainable AI, Generative AI, and adversarial machine learning, and evaluates the security domains in which these techniques are applied. It further examines the challenges that persist despite this progress — from adversarial exploitation of AI models themselves to the practical constraints of data quality, interpretability, and governance — before outlining the research directions the literature converges on for building resilient, trustworthy, human-AI collaborative defense systems.
Intrusion Detection Systems (IDS) remain the most extensively studied application of AI in cybersecurity. A comprehensive survey synthesising recent advances in ML- and DL-based IDS documents the field's shift from signature-based detection toward adaptive models capable of identifying novel attack patterns, while cataloguing emerging challenges around scalability and evolving threat diversity (Hozouri et al., 2025) [1]. Complementary systematic reviews confirm that deep architectures — including graph neural networks, autoencoders, and hybrid CNN-LSTM models — now routinely outperform classical machine learning baselines on large-scale network traffic datasets, though spatiotemporal feature extraction and severe class imbalance between benign and malicious traffic remain persistent technical obstacles (a review focused specifically on these two challenges, 2025) [2]. Domain-specific IDS research has extended this progress to cloud and IoT environments: a survey of ML-based IDS for cloud security documents supervised, unsupervised, and deep learning approaches while flagging adversarial robustness and privacy as open concerns (Mahendar et al., 2025) [3], and a parallel review of IoT-focused network intrusion detection catalogues deployment strategies and validation methods across constrained-device environments (Walling et al., 2025) [4]. Applied studies reinforce these findings at scale: a hybrid anomaly-based NIDS combining XGBoost, Random Forest, graph neural networks, LSTM, and autoencoders, trained on more than 5.6 million network traffic records, demonstrates that ensemble and deep architectures can materially improve detection accuracy on realistic, large-scale traffic (Almuhanna et al., 2025) [5]. Recent architectural innovations continue to push accuracy and efficiency further, including self-supervised temporal contrastive graph neural networks for encrypted malicious traffic detection and generative adversarial network-augmented classifiers designed to counter catastrophic forgetting in continual learning settings (as catalogued in recent IDS surveys, 2025).
AI-based malware detection has increasingly moved toward representing executable binaries as images or sequences that deep learning models can classify directly, bypassing the need for hand-crafted signatures. Convolutional neural networks applied to malware binaries converted into grayscale or color images have repeatedly demonstrated strong classification accuracy, including on malicious code variants designed specifically to evade traditional detection (detecting malicious code variants using CNN with transfer learning, 2025) [6]. A broad review of deep learning applications in malware detection spanning 2011 to 2025 confirms CNN-based approaches achieve high accuracy but highlights runtime and scalability limitations on very large datasets, motivating continued architectural innovation (Journal of Big Data review, 2025) [7]. Comparative studies applying CNNs, LSTMs, and transformer architectures to malware variant classification report that transformer-based models can detect meaningfully more malware variants than CNN or LSTM baselines, reflecting the same architectural shift observed in demand forecasting and other sequence-modelling domains (Deep Learning Models to Identify and Classify Malware Variants, 2025) [8]. Beyond binary classification, transformer-based approaches are increasingly applied to source-code and software vulnerability detection directly, using attention-driven mechanisms and graph-transformer hybrids to identify vulnerable code patterns pre-deployment (systematic review of transformer-based software vulnerability detection, 2025) [9].
Phishing detection research has evolved from purely URL-lexical feature classifiers toward hybrid systems that combine URL structure, webpage content, domain characteristics, and natural language analysis of message content. A comprehensive survey of phishing URL detection via machine learning documents the field's progression toward greater accuracy and adaptability, while identifying gaps in dataset diversity and reproducibility across studies (Islam et al., 2025) [10]. A systematic review spanning 2017 to 2024 similarly finds that neural network and ensemble approaches have substantially improved detection of evolving phishing tactics, tracking these gains against real-world phishing volume data from the Anti-Phishing Working Group (Electronics journal systematic review, 2025) [11]. Natural language processing has become central to email-based phishing defense specifically: linguistic analysis of tone, urgency, and manipulative intent — rather than surface-level keyword matching — allows models to catch socially engineered phishing content that bypasses rule-based filters, with reported precision rates exceeding 96 percent in recent hybrid NLP-based systems (AI phishing detection review, 2025) [12]. Explainability has also reached phishing detection specifically: SHAP-based feature attribution applied across heterogeneous phishing datasets has been shown to preserve detection accuracy while making individual classification decisions auditable for security analysts (explainable ML for phishing detection with MCP-enabled deployment, 2025) [13].
Generative AI — including Large Language Models (LLMs) and deep generative models such as GANs, VAEs, and diffusion models — has emerged as a dual-use force in cybersecurity, simultaneously strengthening defensive threat intelligence and expanding the offensive capabilities available to attackers. A comprehensive survey of GenAI for cyber threat intelligence documents applications spanning malware detection, network traffic analysis, threat actor attribution, and social engineering defense, drawing on security reports, dark-web data, and threat intelligence platforms as source material (Generative AI for cyber threat intelligence, 2025) [14]. On the defensive side, LLMs are increasingly used to synthesise unstructured threat reports into structured intelligence, automate DevSecOps vulnerability triage, and support zero-day detection workflows (LLMs and Generative AI in Cybersecurity and Privacy survey, 2025) [15]. The same body of research documents a troubling offensive trend: LLM-generated or LLM-assisted malware is estimated to have grown from roughly 2 percent of detected threats in 2021 to approximately 50 percent by 2025, as attackers use LLMs to generate polymorphic code that mutates on each iteration to evade signature-based detection (LLM-generated malware growth analysis, 2025) [15]. A large-scale PRISMA-guided systematic review synthesising 167 peer-reviewed studies formalises this dual-use dynamic into a unified threat–defence–evaluation taxonomy, cataloguing AI-generated-content threats such as automated personalised phishing, polymorphic exploit generation, prompt-injection attacks, and large-scale disinformation alongside the defensive capabilities being developed to counter them (LLMs for cybersecurity intelligence systematic review, 2026). Organisational adoption research indicates that finance and critical-infrastructure sectors are leading GenAI adoption in security operations, driven by regulatory oversight and elevated risk exposure rather than by technology readiness alone (organisational adaptation to GenAI in cybersecurity, 2025).
As deep learning and ensemble models have become standard in threat detection pipelines, the resulting loss of interpretability has become a documented barrier to analyst trust and regulatory compliance. A systematic review of XAI integration in intrusion detection systems finds that uninterpretable IDS models are associated with higher false-positive rates and reduced analyst confidence, and catalogues SHAP, LIME, and rule-based explanation methods as the dominant techniques applied to close this gap (Frontiers systematic review on XAI in IDS, 2025) [16]. A related study examining XAI's role in cybersecurity more broadly finds that SHAP and attention-based explanations measurably improve analyst trust and decision-making while helping organisations meet regulatory obligations such as the GDPR's 'right to explanation' for automated decisions (Improving cybersecurity through explainable AI, 2025) [17]. Applied work extends these methods to specific high-stakes detection tasks: SHAP-based reclassification frameworks for insider threat detection combine baseline machine learning classifiers with human-in-the-loop explanation review, demonstrating that unified multi-perspective SHAP-LIME frameworks can outperform baseline detection without explainability (SHAP for insider threat detection, 2026) [18]. A more recent review identifies an important complication in this progress, however: because explanations expose information about model reasoning, XAI outputs themselves can become an adversarial attack surface, introducing a trade-off between transparency and security that current XAI frameworks do not yet adequately address (next-generation lightweight XAI for cybersecurity review, 2025).
The same AI models that improve threat detection are themselves vulnerable to adversarial manipulation, a concern that has matured into a dedicated research area within cybersecurity. A systematic review of adversarial attacks and defenses spanning 2018 to 2025 categorises attacks into four principal types — evasion, poisoning, model inversion, and backdoor attacks — and concludes that no single defense mechanism provides complete protection, with adversarial training, robust optimisation, input sanitisation, and ensemble methods each addressing only part of the threat surface (systematic review of adversarial attacks and defense in AI systems, 2025) [19]. Focused reviews of adversarial machine learning defenses in AI-enabled cybersecurity systems similarly identify adversarial training as the most widely adopted foundational defense, while noting that gradient-based and query-based attacks continue to evolve faster than corresponding defenses can be standardised (AML defenses review, 2025). Generative Adversarial Networks occupy an unusual dual role in this literature: a PRISMA-compliant systematic review of 185 studies finds that GANs are used both to generate adversarial examples that degrade detection models and, more constructively, as defensive tools that improve detection robustness and data utility across network intrusion detection, malware analysis, and IoT security (GAN-based adversarial defense systematic review, 2025) [20]. Newer unified frameworks attempt to address adversarial robustness, interpretability, and privacy simultaneously — one proposed architecture combines adversarial training, federated learning with differential privacy, and Shapley-value-based explainability into a single deployable system for real-time security analytics (FALCA framework, 2026) [21].
The literature is notably consistent in concluding that fully autonomous cybersecurity systems remain impractical, and that the most viable operational model combines AI automation with human oversight. Zero Trust architecture has emerged as the organising security principle for this combination: applying zero-trust verification specifically to AI models and autonomous agents — rather than only to human users and network segments — is proposed as a way to limit the blast radius of a compromised or manipulated model while preserving the speed advantages of automation (adversarial machine learning and zero-trust AI systems, 2025; zero-trust foundation models for IoT, 2025). Industry-facing analyses of the 2025–2026 threat landscape describe a bidirectional dynamic in which AI simultaneously scales attacker capability — through deepfake-enabled social engineering and adaptive, self-mutating malware — and scales defender capability through anomaly detection and automated response operating at machine speed, reinforcing that human judgment remains necessary to interpret ambiguous or high-stakes model outputs (cybersecurity threat landscape analysis, 2026) [22]. Applied security platforms reflect this human-AI division of labour directly, pairing automated detection and remediation with human-supervised escalation paths for cases requiring contextual judgment that current models cannot reliably provide (industry AI-cybersecurity analysis, 2026).
Read together, this literature shows AI-driven cyber threat detection has matured substantially across intrusion detection, malware analysis, phishing defense, and threat intelligence, with deep learning, transformer, and graph-based architectures now standard tools for identifying previously unknown attack patterns in real time. Explainable AI has narrowed — but not closed — the trust gap created by this shift toward more complex models, and Generative AI has proven to be a genuine dual-use technology: the same LLM capabilities that accelerate threat intelligence synthesis and analyst assistance are simultaneously being weaponised to generate polymorphic malware and highly personalised phishing content at a scale and growth rate the literature describes as alarming. Several challenges recur across nearly every domain reviewed. First, adversarial vulnerability is systemic rather than domain-specific: evasion, poisoning, model inversion, and backdoor attacks affect intrusion detection, malware classifiers, and phishing detectors alike, and no single defense mechanism eliminates this exposure. Second, explainability and security are shown to be in tension rather than purely complementary — explanations that build analyst trust can themselves leak information that helps adversaries craft more effective evasion strategies. Third, data quality, computational cost, and privacy constraints continue to limit how readily state-of-the-art models can be deployed in resource-constrained or highly regulated environments. Finally, and most consistently, the literature concludes that full autonomy remains impractical: every domain reviewed — from IDS to incident response — points toward human-AI collaboration, governed by Zero Trust principles applied to AI systems themselves, as the necessary operating model rather than a temporary transitional state.
Building on the gaps identified above, the synthesised literature converges on several priority research directions. First, hybrid AI models that combine the pattern-recognition strength of deep learning with the interpretability and lower data requirements of classical methods, rather than treating architectural sophistication as an unqualified goal. Second, explainable and trustworthy AI that treats interpretability as a security-aware design constraint rather than a purely usability feature — future XAI frameworks for cybersecurity need to account for the possibility that explanations themselves can be adversarially exploited. Third, secure Generative AI applications that capture GenAI's demonstrated value for threat simulation, security automation, and analyst assistance while incorporating safeguards such as watermarking, output filtering, and misuse monitoring to limit dual-use risk. Fourth, adversarially robust learning that moves beyond single-technique defenses toward layered, continuously updated defense stacks capable of keeping pace with adversarial attack innovation. Fifth, Zero Trust security architectures extended explicitly to AI models and autonomous agents, not only to network users and devices. Sixth, and cutting across all of the above, human-AI collaborative defense strategies that formalise where automation should act independently, where it should escalate to human analysts, and how that handoff is audited — since the literature is unambiguous that neither fully automated nor fully manual defense is sufficient against the current threat landscape.
This review has traced the application of Machine Learning, Deep Learning, Explainable AI, Generative AI, and adversarial machine learning across intrusion detection, malware analysis, phishing detection, cyber threat intelligence, and incident response, finding consistent evidence that AI meaningfully improves detection accuracy, response speed, and the identification of previously unknown attacks. At the same time, the literature is equally consistent in documenting that these gains come with new categories of risk: adversarial exploitation of the models themselves, a widening dual-use gap opened by Generative AI, and persistent challenges around interpretability, data quality, privacy, and governance. The evidence reviewed here does not support fully autonomous cybersecurity as a near-term goal. Instead, it points toward an operating model in which intelligent automation and human expertise are deliberately integrated — through explainable, adversarially robust, Zero Trust-governed AI systems that keep human analysts in the loop for judgment-intensive decisions. Building resilient, adaptive, and trustworthy cybersecurity for an evolving threat landscape depends on treating this human-AI integration as a core design requirement rather than an interim compromise.