Use it responsibly · Guide 8 of 10

AI in cyber security

Use AI to learn and defend, and only test what you have permission to test.

What it is great for

Make sense of logs and alerts

People doing IT admin tasks in a Microsoft lab trial were 34.53% more accurate with Security Copilot. It was a vendor test of its own product. 1

Show prompt

Try this

Here is a log with private details removed: [paste]. Explain it in plain English, say what looks unusual, and what I should check next. Mark anything you are guessing.

Draft a detection idea

AI can get you to a first rule quickly. You still need to test it against normal activity on sample data.

Show prompt

Try this

Write a Sigma rule to detect [behaviour] in [log source]. List likely false positives and how I could test it on sample data.

Learn how attacks work, to defend

Ask how a technique shows up in logs and how to stop it, so you practise thinking like a defender.

Show prompt

Try this

Explain password spraying to a beginner. How does it appear in logs, how would a defender spot it, and what stops it?

Write up what you found

A clear report is part of the job, and a good first task to hand to AI.

Show prompt

Try this

Turn these notes into a short incident summary: [notes with private details removed]. Cover what happened, the impact and next steps. List anything I did not confirm.

How to do it

  1. Get permission first

    Only test systems you own or have written permission to test. Use a lab or sample data to practise.

  2. Remove private details

    Logs can hold names, addresses and internal hostnames, so strip them before pasting.

  3. Treat the answer as a lead

    Confirm every finding in the data yourself.

  4. Keep humans on the response

    A person should approve anything that blocks, deletes or changes a system. 2

Where to be careful

  • Attackers use these tools too

    Anthropic reports a group it assesses as state-sponsored used Claude Code against roughly thirty targets. This is a vendor self-report, not independently verified. 3

  • AI tools are targets as well

    The NCSC and OWASP both treat prompt injection as unsolved, so limit what your security tools can do automatically. 4

Behind this guide

Notes, evidence and sources

Why we say this

3 sources, each with its catch.

Bono and Xu, Microsoft · October 2024

Copilot made IT admin tasks more accurate

181 people doing IT admin tasks in a simulated lab were 34.53% more accurate with Security Copilot and took 29.79% less time overall. 1

Microsoft staff testing a Microsoft product, in a lab. Multiple-choice questions took longer with it.

Source page read
  • Vendor or interested-party source
Full detail

In a randomised lab trial (Bono and Xu, Microsoft, October 2024), 181 participants recruited through Upwork completed IT admin tasks in a simulated environment, with half given Security Copilot. "Copilot subjects experienced a 34.53% improvement in overall accuracy and a 29.79% reduction in task completion time." Multiple-choice questions took 25.13% longer with it.

Written by Microsoft staff about a Microsoft product, in a simulated lab rather than live work. The discussion section was not read in full.

Strength: Moderate, vendor-run

Anthropic · 13 November 2025

Anthropic reports AI-driven espionage

Anthropic reports that a group it assesses as Chinese state-sponsored used Claude Code against roughly thirty targets and succeeded in a small number of cases. 3

A vendor self-report, not independently verified.

Source page read
  • Vendor or interested-party source
Full detail

Anthropic reported (13 November 2025) that a group it assesses "with high confidence" as Chinese state-sponsored used Claude Code against roughly thirty targets and "succeeded in a small number of cases". Anthropic says the AI did "80-90% of the campaign", with humans at about four to six decision points, and that Claude "occasionally hallucinated credentials", "an obstacle to fully autonomous cyberattacks".

Vendor self-report, not independently verified. Words such as "first" and the 80-90% figure are Anthropic's framing, and Anthropic says it only sees its own product's usage. No independent rebuttal was retrieved.

Strength: Weak to moderate

NCSC and OWASP

Prompt injection remains unsolved

Both the NCSC and OWASP treat prompt injection as an unsolved problem. 4

Source page read
Full detail

Prompt injection is treated as an unsolved problem by both the NCSC and OWASP (LLM01). EchoLeak is a reported real-world example.

Strength: Strong consensus

What is missing

No independent evaluation of AI in security operations centre (SOC) work was found. The sources located were vendor-heavy or vendor-sponsored, so this guide gives no SOC effectiveness figures. The one SOC forecast found is listed on Sources.

Terms used in this guide
Prompt injection
Hidden or malicious text that tricks an AI tool into following instructions it should ignore.
SOC
A security operations centre: the team that watches for and responds to attacks.
Self-report
A company describing its own findings, without an outside check.
All 4 sources for this guide
  1. 1. Bono and Xu, Security Copilot trial · October 2024

    randomised lab trial

    Source page readStrength: Moderate, vendor-run
    • Vendor or interested-party source
  2. 2. UK Government AI Playbook · 10 February 2025

    UK Government AI Playbook

    Source page readStrength: Strong as official guidance
  3. 3. Anthropic's report of an AI-driven espionage campaign · 13 November 2025

    reported

    Source page readStrength: Weak to moderate
    • Vendor or interested-party source
  4. 4. Prompt injection as an unsolved problem

    NCSC · OWASP

    Source page readStrength: Strong consensus