Cyber Defense Reinvented: Large Language Models as Threat Intelligence Copilots

Xiaoqun Liu, Jiacheng Liang, Qiben Yan, Muchao Ye, Jinyuan Jia, Zhaohan Xi

Abstract

The exponential growth of cyber threat knowledge, exemplified by the expansion of databases such as MITRE-CVE and NVD, poses significant challenges for cyber threat analysis. Security professionals are increasingly burdened by the sheer volume and complexity of information, creating an urgent need for effective tools to navigate, synthesize, and act on large-scale data to counter evolving threats proactively. In this work, we introduce CyLens, a cyber threat intelligence (CTI) copilot powered by large language models (LLMs). CyLens is designed to assist security professionals throughout the entire threat management lifecycle, supporting threat attribution, contextualization, detection, correlation, prioritization, and remediation. To ensure domain expertise, CyLens integrates knowledge from 271,570 threat reports into its model parameters and incorporates six specialized NLP modules to enhance reasoning capabilities. Through extensive evaluations, we demonstrate that CyLens consistently outperforms industry-leading LLMs and state-of-the-art cybersecurity agents.

Introduction

The cybersecurity landscape is currently facing a "data explosion." With the exponential growth of vulnerability databases like MITRE-CVE and NVD, security professionals are overwhelmed by the sheer volume and complexity of threat reports. Conventional CTI solutions struggle with two main hurdles: scalability and adaptability. Human analysts cannot keep pace with the influx of data, and existing automated tools are often too rigid for specific organizational needs.

While general-purpose LLMs show promise, they often lack the deep domain expertise and structured reasoning required for high-stakes security analysis. CyLens bridges this gap, transforming LLMs from simple chatbots into "agentic" security analysts capable of handling the full CTI lifecycle.

CyLens acts as an agentic copilot, assisting security analysts with complex threat attribution queries.

Methodology

The development of CyLens follows a three-pronged strategy designed to ensure both deep domain knowledge and rigorous logical reasoning.

Curriculum-Based Training

Rather than training on data at random, CyLens employs a "curriculum" approach for knowledge infusion. The model was trained on a massive corpus of 271,570 threat reports—aggregated from sources like MITRE-CVE, NVD, Exploit-DB, and vendor-specific mailing lists—ordered chronologically and by complexity. This allows the model to build a foundational understanding of historical threats before tackling modern, complex attack patterns.

Instruction Tuning via Cascading Reasoning

The model is fine-tuned to follow the logical dependencies inherent in the CTI lifecycle. This "cascading reasoning" ensures the model understands that effective remediation requires first identifying relevant CVEs and attributing the threat correctly.

The CyLens training pipeline consists of three stages: Generic Pre-Training, Knowledge Infusion, and Instruction Tuning.

Modularized Inference Architecture

At runtime, CyLens coordinates six specialized NLP modules to process queries: Topic Modeling, Named Entity Recognition (NER), Relation Extraction, Retrieval-Augmented Generation (RAG), Reasoning, and Summarization. This modularity allows the system to fetch real-time data for "Zero-Day" threats while maintaining logical consistency in its final reports.

Evaluation and Key Insights

CyLens was evaluated against real-world reports from 2015 through early 2025, categorized into historical and "Zero-Day" threats.

Performance Benchmarks

  • Attribution: CyLens-8B achieved 83.74% accuracy in threat actor identification, significantly outperforming GPT-4o’s 40.31%.
  • Prioritization: The model maintained >85% accuracy across eight CVSS severity metrics, showing much higher reliability than general-purpose baselines.
  • Remediation: CyLens-70B reached 97.62% accuracy in suggesting correct mitigation tools and advisories.

Key Findings

The research yielded several critical insights into the application of LLMs in cybersecurity:

  • Domain Specialization vs. Model Size: CyLens-8B consistently outperformed much larger general-purpose models like GPT-4o, proving that targeted training is more effective than sheer parameter count for specialized fields.
  • The Verbosity Trap: Larger models (e.g., 70B) often use sentiment-heavy language that can obscure factual security data. Smaller, focused models tend to be more succinct and aligned with professional standards.
  • The Necessity of RAG: Static training data is insufficient for predicting trends like shifts in EPSS scores. Real-time contextual awareness via RAG is mandatory for accurate threat intelligence.

Conclusion

CyLens demonstrates that specialized, agentic LLMs can significantly enhance the capabilities of security analysts. While challenges remain regarding latency and data scarcity for niche vendors, the framework provides a blueprint for building expert-level AI agents in high-stakes, data-intensive domains.

Summary updated

Abstract

The exponential growth of cyber threat knowledge, exemplified by the expansion of databases such as MITRE-CVE and NVD, poses significant challenges for cyber threat analysis. Security professionals are increasingly burdened by the sheer volume and complexity of information, creating an urgent need for effective tools to navigate, synthesize, and act on large-scale data to counter evolving threats proactively. However, conventional threat intelligence tools often fail to scale with the dynamic nature of this data and lack the adaptability to support diverse threat intelligence tasks. In this work, we introduce CYLENS, a cyber threat intelligence copilot powered by large language models (LLMs). CYLENS is designed to assist security professionals throughout the entire threat management lifecycle, supporting threat attribution, contextualization, detection, correlation, prioritization, and remediation. To ensure domain expertise, CYLENS integrates knowledge from 271,570 threat reports into its model parameters and incorporates six specialized NLP modules to enhance reasoning capabilities. Furthermore, CYLENS can be customized to meet the unique needs of different or ganizations, underscoring its adaptability. Through extensive evaluations, we demonstrate that CYLENS consistently outperforms industry-leading LLMs and state-of-the-art cybersecurity agents. By detailing its design, development, and evaluation, this work provides a blueprint for leveraging LLMs to address complex, data-intensive cybersecurity challenges.
BibTeX
@misc{liu2025cyber,
  author = {Xiaoqun Liu and Jiacheng Liang and Qiben Yan and Muchao Ye and Jinyuan Jia and Zhaohan Xi},
  title = {{Cyber Defense Reinvented: Large Language Models as Threat Intelligence Copilots}},
  year = {2025},
  eprint = {2502.20791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.20791},
}
Figure