Roadmaps Security roadmaps AI and machine learning security

AI for Security Operations

Use machine learning and AI assistants to detect attacks, triage alerts, hunt, investigate and analyse threats, and know when not to trust them.

Estimated time: 13–24 months · At about 10 hours a week.

Learning path

Click a topic to see what to learn and where. Mark topics as you go; your progress is saved in this browser only.

  • Core topic
  • Optional
  1. Beginner · 1–2 months Where AI helps defenders
  2. Intermediate · 3–4 months Building and evaluating detection models
  3. Advanced · 3–6 months AI in investigations and automation
  4. Expert · 6–12 months Strategy and research

All topics in detail

BeginnerTime: 1–2 months

Where AI helps defenders

Skills

  • Name the SOC tasks where AI helps and where it is risky.
  • Load, clean and explore security logs in a notebook.
  • Use an AI assistant for queries and summaries, and catch its errors.

Hands-on projects and labs

  • Load a Security Datasets scenario into pandas and find the attack by hand.
  • Ask an AI assistant to write five detection queries, test each against real data, and record how many were wrong.

Done when you can…

  • Explain to a SOC manager where AI should and should not be used in triage.
  • Show an example where an AI assistant was confidently wrong, and how you caught it.

Beginner

AI in the SOC: what works today

ML is proven for spam, malware classification and anomaly spotting. LLMs are good at summarising, translating and drafting queries. Neither replaces an analyst's judgement.

Resources

Beginner

Security data for ML

Logs are messy, labels are rare and attacks are a tiny fraction of events. Learn to clean, join and label security data before you model it.

Resources

Beginner

Using AI assistants safely

Use assistants to explain a log line, write a KQL or SPL query or summarise an alert. Check every answer, and never paste data your organisation does not allow into a tool.

Resources

Beginner

New AI-powered threats

Attackers use AI for convincing phishing, voice and video deepfakes, faster reconnaissance and malware help. Know what has really been seen, not just what is feared.

Resources

Beginner

Notebooks for security analysis

Jupyter notebooks with pandas let you explore logs, test ideas and share reproducible investigations. Many hunting and ML tools start here.

Resources

IntermediateTime: 3–4 months

Building and evaluating detection models

Skills

  • Build and evaluate an anomaly detection model on real logs.
  • Train a malware or phishing classifier and measure it honestly.
  • Evaluate an LLM triage assistant against analyst decisions.
  • Extract and verify intelligence from reports with an LLM.

Hands-on projects and labs

  • Build an anomaly detector for logins from Security Datasets and tune it to fewer than five alerts a day.
  • Train a classifier on EMBER, test it on a later time period and report the drop in performance.
  • Build an LLM triage helper for 50 labelled alerts and compare its verdicts with the labels.

Done when you can…

  • Show a model that adds real value beyond the existing rules, with numbers.
  • Explain why a detection model's accuracy on old data does not prove it works today.

Intermediate

Anomaly detection

Find unusual logins, data transfers or processes compared with normal behaviour. Unusual is not the same as malicious, so tune for useful alerts, not just strange ones.

Resources

Intermediate

Malware classification

Classify files from features such as imports, sections and strings. Learn the EMBER dataset and why models must be retrained as malware changes.

Resources

Intermediate

Phishing and malicious URL detection

Combine sender reputation, URL features, page content and language signals. AI-written phishing removes the old spelling-mistake clues, so other signals matter more.

Resources

Intermediate

Measuring detections

With rare attacks, accuracy is meaningless. Use precision, recall and false positives per day, and test on data from after the training period.

Resources

Intermediate

LLM-assisted triage

Give an LLM the alert, the related events and a checklist, and ask for a summary and a suggested verdict. Measure its accuracy against analysts before trusting it.

Resources

Intermediate

AI for threat intelligence

LLMs can extract indicators and ATT&CK techniques from reports, translate sources and cluster activity. Check extractions against the source, since models make up indicators.

Resources

Intermediate

Attackers versus detection models

Attackers test their tools against defences and change them until they pass. Red team your own models and keep rules as a backstop.

Resources

AdvancedTime: 3–6 months

AI in investigations and automation

Skills

  • Use AI in an investigation while keeping every claim tied to evidence.
  • Build a SOC agent with read-only access, approvals and full logging.
  • Test AI security tools for prompt injection.
  • Measure whether an AI tool really improves SOC outcomes.

Hands-on projects and labs

  • Investigate a CyberDefenders or Security Datasets scenario with an AI assistant, and mark which of its claims you could verify.
  • Plant a prompt injection in a test email and see whether an AI triage tool you built is fooled.
  • Run a before-and-after trial of an AI triage helper on a set of labelled alerts.

Done when you can…

  • Deliver an investigation report that used AI, with every finding traced to evidence.
  • Recommend, with data, whether a SOC should adopt a given AI tool.

Advanced

AI-assisted forensics

LLMs can summarise timelines, explain artefacts and draft reports. Keep the evidence chain intact: every AI claim must point back to an original artefact you checked.

Resources

Advanced

AI-assisted threat hunting

Use AI to suggest hypotheses, write hunt queries and cluster results. The analyst still decides what is worth chasing and what counts as evidence.

Resources

Advanced

SOC automation agents

Agents can gather context, enrich alerts and draft responses. Give them read-only access first, require approval for actions, and log every step.

Resources

Advanced

Prompt injection against security tools

Attackers can plant text in emails, files or logs that an AI triage tool will read. Treat all analysed content as untrusted input to the model.

Resources

ExpertTime: 6–12 months

Strategy and research

Skills

  • Set the strategy for AI across a security operations programme.
  • Publish research or datasets in AI for security.

Hands-on projects and labs

  • Write a three-year security AI roadmap for a fictional SOC, with measures for each step.
  • Publish a dataset, detection model or evaluation with documentation others can reuse.

Done when you can…

  • Lead the adoption of AI in a security operations team, with measured results.
  • Have your research, tools or datasets used by others.

Expert

Security AI strategy

Decide which SOC tasks to automate, which to assist and which to keep human, and how each is measured, governed and secured.

Resources

ExpertOptional

Sharing tools and datasets

Good labelled security data is scarce. Sharing datasets, detections and evaluation results moves the whole field forward.

Resources

Overview

Security teams drown in alerts, logs and reports. Machine learning has been used for years to spot spam, malware and unusual logins; large language models now help analysts summarise alerts, write queries, read threat reports and draft incident notes.

This roadmap is about using AI well in defence: choosing the right technique, building and evaluating detection models, putting assistants into analyst workflows safely, and understanding that attackers adapt and that AI makes confident mistakes. It also covers new threats that need AI to detect, such as AI-written phishing and deepfakes.

Why it matters

Every major security vendor now ships AI features, and SOC teams are expected to use them. Analysts who can tell where AI helps, measure it and catch its errors are more valuable than those who either ignore it or trust it blindly.

Typical job roles

  • EntrySOC analyst using AI tools Uses AI assistants for triage and queries, and checks their work.
  • Mid-levelSecurity data scientist Builds and evaluates ML models for detection, classification and anomaly spotting.
  • Mid-levelDetection engineer (AI) Combines rules and models into detections, and automates workflows with AI.
  • SeniorAI security automation engineer Builds AI agents and pipelines that do parts of SOC work, with guardrails.
  • LeadHead of security AI Decides where AI is used in the security programme and how it is measured.

Prerequisites

  • Security Operations beginner and intermediate stages: logs, SIEM, alerts and triage.
  • Python with pandas, and basic statistics.
  • Machine learning basics: classification, training, evaluation.
  • Prompt injection basics from the LLM and Generative AI Security roadmap.

AI and machine learning Data analysis and engineering Cybersecurity

Tools and technologies

  • MSTICPy Open source Python tools for threat hunting and investigation in notebooks.
  • Jupyter Open source Notebooks for analysis and reproducible investigations.
  • scikit-learn Open source Classic ML: classification, clustering and anomaly detection.
  • Security Datasets Open source Recorded attack data for practice and research.
  • EMBER Open source Benchmark dataset for malware classification.
  • MISP Open source Threat intelligence sharing platform.
  • Timesketch Open source Collaborative forensic timelines.
  • Ollama Open source Run open models locally, so sensitive data stays in your lab.

Certifications

Take them in roughly this order. Costs and details for the ones marked with a link are on the Certifications page.

  1. Intermediate GIAC Machine Learning Engineer (GMLE) GIACApplied machine learning for security teams.
  2. Intermediate Security Operations Analyst Associate (SC-200) MicrosoftMicrosoft's security operations analyst certification, which covers its AI features.Cost and exam details
  3. Intermediate CySA+ (Cybersecurity Analyst) CompTIAA broad security analyst baseline.Cost and exam details

Resources

Frameworks and standards

  • MITRE ATT&CK A knowledge base of real attacker tactics and techniques, used to plan detections, hunts and red team work.
  • MITRE ATLAS ATT&CK-style knowledge base of attacks on AI and machine learning systems, with real case studies.
  • NIST AI Risk Management Framework (AI RMF) A voluntary framework to map, measure, manage and govern the risks of AI systems.
  • NIST Cybersecurity Framework (CSF) 2.0 A common way to describe and improve an organisation's security, organised as Govern, Identify, Protect, Detect, Respond and Recover.
  • OWASP GenAI Security Project Home of the OWASP Top 10 for LLM Applications and guidance on securing generative and agentic AI.

All frameworks and standards

Career path

A common progression. Titles vary between companies.

  1. SOC analyst or data analyst0–2 years
  2. SOC analyst using AI tools, or junior security data scientist2–4 years
  3. Security data scientist or AI detection engineer4–7 years
  4. Head of security AI8+ years

Related domains to move into

All security roadmaps Back to top

Last reviewed: . Found a mistake, or want a roadmap written sooner? Contact