How Can Generative AI Be Used in Cybersecurity? A UK SME Guide
Generative AI can summarise alerts, write queries and draft policies for defenders, and it can also make phishing and fraud more convincing. This guide covers both sides and how to start safely.
Key Takeaways
- Defenders use it mainly to save time: summarising alerts, drafting queries, explaining scripts and writing reports.
- Attackers use it too, chiefly to make phishing and impersonation more convincing and cheaper to produce.
- The main risks are data leakage, wrong answers and prompt injection, and the NCSC says prompt injection is unlikely ever to be fully prevented.
- Treat output as a draft. A qualified person should check anything that changes systems or goes to customers.
- Set rules before rollout: approved tools, data limits, human review and a named owner.
How can generative AI be used in cybersecurity? On the defensive side, it helps analysts and IT teams read, write and summarise faster. It can condense a long incident into a plain-English summary, turn a question into a database query, explain a suspicious script and draft a report or policy. On the offensive side, criminals use the same technology to write more convincing phishing messages and to imitate voices and faces.
For a UK SME the opportunity is real but narrow. These tools reduce the time spent on reading and writing around security work. They do not replace the judgement needed to decide what an alert means or what to do about it, and they introduce risks of their own that need managing.
This guide sets out the main defensive uses, the misuse to expect, the specific risks, and a short governance checklist. If you want security support that already includes sensible tooling, our managed IT support team can advise on what fits your size.
What generative AI adds to security work
Generative AI tools produce text, code or other content from a prompt, using models trained on very large data sets. Security teams spend a great deal of time on tasks that are mostly language: reading logs and alerts, writing queries, explaining findings to non-specialists and producing documents. That is where these tools fit.
They are weaker at tasks that need certainty. A model can sound confident and be wrong, so it suits first drafts and analysis support, not final decisions. Keep that distinction in mind through the rest of this article.
↑ Back to ContentsHow can generative AI be used in cybersecurity defensively?
SOC copilots
Microsoft Security Copilot is a generative AI security product that accepts natural-language prompts, with a standalone experience and embedded experiences in Microsoft security products including Defender XDR, Sentinel, Intune and Entra, plus integrations with some third-party services. Microsoft's documentation lists uses such as summarising complex alerts into actionable context, translating plain language into KQL queries, analysing suspicious scripts, drafting and checking security policies and producing audience-specific reports. As at October 2026, Microsoft notes it is not designed for US government clouds, and licensing details should be confirmed with Microsoft or a partner. See Microsoft Learn on Security Copilot.
Alert summarisation
An analyst facing an incident with dozens of related events can ask for a timeline and a summary, then verify it against the source evidence. This saves reading time, particularly out of hours.
Query generation
Writing queries in a specialist language slows down many IT generalists. A tool that drafts the query lets them search for sign-in anomalies or file activity without memorising syntax. Run the query, read the results and check the logic rather than trusting the first attempt.
Phishing analysis
Models can explain why an email looks suspicious: mismatched sender, urgent tone, unusual link structure. That helps staff learn too. Our guide to phishing types and prevention covers the underlying techniques.
Report and policy writing
First drafts of incident reports, board updates, acceptable use policies and supplier questionnaires are a sensible use. Always have a person edit them for accuracy and for your actual practice, because a policy that describes controls you do not operate creates its own risk.
↑ Back to ContentsThree everyday examples for a small IT team
The examples below show where the time saving comes from and where the checking step sits.
- A suspicious sign-in. The analyst asks for a summary of the related events and a suggested query to find other sign-ins from the same address. The tool saves reading time; the analyst confirms the evidence and decides whether to reset the account.
- A reported email. A member of staff forwards a message that looks wrong. The tool lists the features that raise suspicion. IT still checks headers and links with proper tooling before blocking anything.
- A supplier questionnaire. A customer asks 80 security questions. The tool drafts answers from your existing policies. A named person corrects anything that does not match what you actually do, because inaccurate answers can cause contractual problems.
In each case the tool shortens the preparation and a person owns the outcome. If a use case would have no human checking the result, treat that as a warning sign and redesign it.
↑ Back to ContentsOffensive misuse: what attackers do with the same tools
Generative AI lowers the effort needed to write fluent messages. Poorly worded phishing used to be a useful warning sign, and that signal is now weaker. Attackers can produce clean, well-targeted emails in any language and adapt them to a recipient's role.
- AI-written phishing and fraud emails that read naturally and reference real business context.
- Deepfake voice and video used to impersonate senior staff and push through payments or access changes.
- Faster research and scripting by lower-skilled attackers.
The defence is mostly process, not detection. Agree call-back rules for payment and bank detail changes, and require a second approver for unusual requests. Executives are the usual targets, a tactic known as whaling. Staff awareness also needs to reflect that polished writing no longer proves an email is genuine; see our guide to cybersecurity awareness training.
↑ Back to ContentsThe risks of using generative AI for security
Data leakage
Anything pasted into a public AI tool may leave your control. Logs, customer data, credentials and incident details do not belong in consumer chatbots. OWASP lists sensitive information disclosure as one of its top risks for large language model applications.
Hallucination and misinformation
Models can produce plausible but wrong answers, including invented commands or incorrect remediation steps. OWASP also lists misinformation among its top ten risks. Verify before acting.
Prompt injection
Prompt injection happens when untrusted content, such as text in an email or a web page, is treated by the model as instructions. The NCSC explains that large language models do not inherently separate instructions from data, that prompt injection will probably never be fully prevented, and that the goal is to reduce likelihood and impact. Its advice includes not giving a model that handles untrusted input access to privileged tools, using deterministic controls to constrain actions, being sceptical of products claiming to stop it outright, and logging inputs, outputs and tool calls. Read the NCSC blog on prompt injection.
Excessive agency
The OWASP Top 10 for LLM Applications 2025 also includes excessive agency, where a model is allowed to take actions beyond what is safe. In security work that means being cautious about letting an assistant change firewall rules, disable accounts or send messages without approval.
Keep a person between the model and the change
Use AI to propose. Use a qualified person to approve anything that alters systems, accounts or customer communications.
Governance checklist for SMEs
You do not need a heavy programme. A one-page standard that everyone follows is better than a long document nobody reads.
- Approved tools only. List which AI services staff may use for work and block or discourage the rest.
- Data rules. State what must never be entered: personal data, credentials, client files, unreleased financials and incident evidence.
- Check data access. Assistants that read your files and mail are only as safe as the permissions behind them. Fix over-shared files and permissions first. Tools such as Microsoft Purview help with classification and protection.
- Human review. Name who checks outputs before use, and who approves automated actions.
- Logging. Keep records of prompts and actions where the product allows, so you can investigate problems.
- Supplier checks. Ask vendors where data is processed, whether it is used to train models and how it is retained.
- Incident route. Decide what staff do if they paste something they should not have.
- Review date. Revisit the standard at least every six months because products change quickly.
How to start safely
- Begin with low-risk drafting. Policy first drafts, report summaries and awareness materials carry little operational risk.
- Tidy permissions before enabling assistants that read your mailboxes and files; a cyber security audit is a good way to find over-shared data. Our overview of Microsoft 365 Copilot explains how it works with your Microsoft 365 data.
- Pilot with a small group for a few weeks and record what saved time and what was wrong.
- Add investigation support only once the team can check outputs against source data.
- Fit it into a wider plan. Our AI roadmap for business guide shows how to sequence adoption across the organisation.
Baseline security still does most of the protective work. Patching, multi-factor authentication, endpoint protection (see our managed EDR services) and tested backups matter more than any assistant, and our cybersecurity for small business page covers them.
↑ Back to ContentsConclusion: generative AI in cybersecurity needs oversight
So, how can generative AI be used in cybersecurity? Defenders can use it to summarise alerts, write queries, explain scripts and draft documents, saving time on language-heavy work. Attackers use it to sharpen phishing and impersonation, so verification processes matter more than ever. The sensible approach is to start with low-risk tasks, protect your data, treat output as a draft and keep a person responsible for decisions. Product capabilities and guidance move quickly, so recheck vendor and NCSC material as at October 2026.
For help choosing and governing these tools, speak to NetMonkeys.
↑ Back to ContentsFrequently Asked Questions (FAQs)
How can generative AI be used in cybersecurity?
Defenders use it to summarise alerts and incidents, turn plain-language questions into queries, explain suspicious scripts, analyse phishing emails and draft reports and policies. Attackers use it to write convincing phishing and to impersonate people. It saves time on language-heavy tasks, but its output needs checking by a qualified person.
What is Microsoft Security Copilot?
Microsoft Security Copilot is a generative AI security product that takes natural-language prompts. It has a standalone experience and is embedded in products such as Defender XDR, Sentinel, Intune and Entra. Microsoft lists uses including alert summaries, query building, script analysis and policy drafting. Confirm licensing and availability with Microsoft or a partner.
Can attackers use generative AI?
Yes. It makes it easier to write fluent, targeted phishing messages in any language, and voice and video imitation can be used to impersonate senior staff. The practical defence is process: call-back checks for payment changes, second approvers for unusual requests and staff awareness that polished wording no longer proves a message is genuine.
What is prompt injection?
Prompt injection is when untrusted content, such as text in an email or on a web page, is treated by an AI model as instructions. The NCSC says models do not inherently separate instructions from data and that it will probably never be fully prevented. The aim is to reduce likelihood and impact, mainly by limiting what the model can do.
Is it safe to paste security logs into ChatGPT or similar tools?
Not into public or consumer tools. Logs can contain personal data, usernames, addresses and credentials, and you may lose control of where they go. Use an approved business tool with clear data handling terms, remove sensitive details where possible, and check your supplier's position on retention and model training.
Will generative AI replace security analysts?
It is better seen as an assistant. It speeds up reading, querying and writing, but it can produce confident wrong answers and cannot take accountability for decisions. Analysts and IT staff are still needed to verify outputs, understand your business context and approve actions that change systems.
Speak to a NetMonkeys specialist
Practical, plain-English IT advice for UK businesses, from our Manchester headquarters and our teams in London and Nottingham.
Book a conversation