How Large Language Models Are Changing Cyber Defence

Large language models (LLMs) help defenders by summarising threat reports, mapping activity to MITRE ATT&CK, drafting detection rules and, in research settings, finding and fixing software bugs.

Mar 15, 2025 - 15:35
Updated: 
102k

SOC & Blue Team in Cybersecurity & Ethical Hacking · Explainer

AI in Cybersecurity, Generative AI & LLMs

How Large Language Models Are Changing Cyber Defence

Quick answer: Large language models (LLMs) help defenders by summarising threat reports, mapping activity to MITRE ATT&CK, drafting detection rules and, in research settings, finding and fixing software bugs. The strongest public evidence comes from Google’s Big Sleep agent, which found real SQLite vulnerabilities including CVE-2025-6965 in July 2025, and DARPA’s AI Cyber Challenge, whose final at DEF CON in August 2025 showed automated systems finding and patching flaws in open source code. LLMs still make confident mistakes, can be manipulated through prompt injection and need human review. Treat them as fast assistants for analysts, not as replacements.

Key takeaways

  • LLMs speed up reading, summarising and correlating threat intelligence.
  • Google Big Sleep found real SQLite bugs, including CVE-2025-6965.
  • DARPA AIxCC showed AI systems finding and patching vulnerabilities at scale in a competition.
  • Hallucinations, prompt injection and data leakage are real limits.
  • Keep a human in the loop and verify every output against primary sources.

Table of Contents

Why Do Defenders Use LLMs?

Analysts face thousands of CVE records, vendor advisories and threat reports each month. Much of that is unstructured text, which LLMs handle well. Used carefully, they cut the time from reading a report to having a usable detection or patch decision.

Which Security Tasks Suit LLMs?

TaskHow an LLM helpsHuman check needed
Threat report summariesExtracts indicators, actors and techniquesConfirm indicators against the source
ATT&CK mappingSuggests technique IDs for observed behaviourValidate on attack.mitre.org
Detection draftingDrafts Sigma or SIEM queriesTest on real logs before deployment
Alert triageExplains alerts in plain languageAnalyst decides on escalation
Code review and fuzzing supportFinds suspicious code pathsReproduce and confirm the bug

What Did Google Big Sleep Show?

Google Project Zero and DeepMind described in From Naptime to Big Sleep how an LLM agent found an exploitable memory safety bug in SQLite before release, so users were not exposed. In July 2025, Google said Big Sleep found CVE-2025-6965, a SQLite flaw fixed in version 3.50.2, which it believed threat actors knew about. Google did not share full details of how exploitation was prevented, so that claim rests on its own statement.

What Did the DARPA AI Cyber Challenge Show?

DARPA’s AI Cyber Challenge (AIxCC) asked teams to build systems that find and patch vulnerabilities in open source software automatically. At the final at DEF CON in August 2025, DARPA announced Team Atlanta first, Trail of Bits second and Theori third. Teams found most of the synthetic vulnerabilities inserted for the contest and also reported real bugs. These are competition results on prepared targets, which is promising but not the same as messy enterprise networks.

What Are the Limits and Risks?

  • Hallucination: models can invent CVE numbers, versions or indicators.
  • Prompt injection: malicious text in logs or reports can steer the model; see the OWASP Top 10 for LLM Applications.
  • Data leakage: pasting incident data into public tools can breach the DPDP Act 2023 or contracts.
  • Adversarial use: attackers use the same models; MITRE ATLAS catalogues attacks on AI systems.
  • Over-trust: fluent output looks authoritative even when wrong.

How Should a SOC Adopt LLMs Safely?

  1. Start with low-risk tasks such as report summaries.
  2. Use enterprise deployments with clear data retention terms.
  3. Require citations to source documents and verify them.
  4. Log prompts and outputs for audit.
  5. Govern use with the NIST AI Risk Management Framework and CISA AI guidance.

Any AI-assisted testing of systems still needs written authorisation under the IT Act 2000, Sections 43 and 66.

What Skills Do Analysts Need Now?

Analysts still need networking, log analysis and threat hunting basics to judge LLM output. Add prompt design, AI risk awareness and scripting. Our posts on generative AI use cases in cybersecurity and preventing prompt injection go further. For structured learning, ask about AI in cybersecurity training.

Which Guardrails Should Teams Put Around LLM Tools?

GuardrailPurpose
Human review of every finding before actionCatches false positives and invented details
No sensitive or client data in public toolsProtects confidentiality and DPDP Act duties
Log prompts and outputs used in decisionsSupports audit and incident review
Test tools against prompt injectionAttackers can plant instructions in data the model reads

The NIST AI Risk Management Framework helps govern these tools, and CISA, Artificial Intelligence publishes guidance on deploying AI securely.

References

Frequently Asked Questions

They summarise threat reports, suggest ATT&CK mappings, draft detection rules and explain alerts, saving analysts time on reading and correlation.

Big Sleep is an AI agent from Google Project Zero and DeepMind that searches software for vulnerabilities and has found real SQLite bugs.

CVE-2025-6965 is a SQLite vulnerability fixed in version 3.50.2 that Google said its Big Sleep agent discovered in July 2025.

DARPA announced Team Atlanta as the winner at DEF CON in August 2025, with Trail of Bits second and Theori third.

No. LLMs make mistakes and can be manipulated, so analysts must verify output and make the final decisions on incidents and response.

Prompt injection is when malicious text in data such as logs or emails tricks an LLM into ignoring instructions or leaking information.

Usually not. It may expose personal or confidential data and breach contracts or the DPDP Act 2023; use approved enterprise tools instead.

The NIST AI Risk Management Framework, OWASP LLM Top 10 and MITRE ATLAS together help teams manage AI risks and threats.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.