Skip to main navigation Skip to search Skip to main content

The Dual Role of Artificial Intelligence and LLM in Cybersecurity

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

Artificial Intelligence (AI) and Large Language Models (LLMs) are transforming the cybersecurity landscape, taking a dual role as both enablers of defense. This paper explores this duality by distinguishing between AI for Security, where intelligent models enhance threat analysis, intrusion detection, and automated mitigation, and Security for AI, which focuses on securing models themselves against adversarial manipulation, data leakage, and prompt-based exploitation. To empirically evaluate the capabilities of modern LLMs in cybersecurity, we conducted extensive experiments using the newly developed CyberMetric dataset, which assesses cybersecurity knowledge across multiple domains such as cryptography, network defense, and software vulnerabilities. Our evaluation of twenty state-of-the-art LLMs-including GPT-5 Chat, Grok 4 Fast, Qwen3 235B, Gemini 2.5 Flash, and DeepSeek V3.2-demonstrates that the 2025 generation of models achieves near-human performance, with GPT-5 Chat reaching 98.75% accuracy and several open-source models performing within a 2-3% margin. These results highlight the growing maturity of open LLM ecosystems for cybersecurity applications and confirm that modern LLMs are becoming reliable instruments for cyber defense, capable of supporting automated threat analysis, vulnerability assessment, and compliance verification, while also emphasizing the need to ensure their safety, transparency, and resilience against misuse.

Original languageEnglish
Title of host publication2025 International Conference on Artificial Intelligence Security and Governance, ICAISG 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages113-118
Number of pages6
ISBN (Electronic)9798331558857
DOIs
Publication statusPublished - 2025
Event2025 International Conference on Artificial Intelligence Security and Governance, ICAISG 2025 - Hangzhou, China
Duration: Dec 12 2025 → Dec 14 2025

Publication series

Name2025 International Conference on Artificial Intelligence Security and Governance, ICAISG 2025

Conference

Conference2025 International Conference on Artificial Intelligence Security and Governance, ICAISG 2025
Country/TerritoryChina
CityHangzhou
Period12/12/25 → 12/14/25

Keywords

  • Adversarial Machine Learning
  • Artificial Intelligence
  • Cybersecurity
  • Deep Learning
  • Explainable AI
  • LLM
  • Threat Detection

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Signal Processing
  • Information Systems

Fingerprint

Dive into the research topics of 'The Dual Role of Artificial Intelligence and LLM in Cybersecurity'. Together they form a unique fingerprint.

Cite this