Machine learning for threat detection
Explain how anomaly detection and classifiers find suspicious logins, traffic, phishing and malware, size their false positives with the base rate, and tune a detector a SOC can live with.
Intermediate 2 · RAG builderabout 3 hours5 sections
Quick answer
ML finds threats by learning normal behaviour or known-bad examples. Attacks are rare, so even accurate models raise mostly false alarms; tune for precision and retrain as attackers change.
Why it matters
Many SIEM, email and endpoint security tools now include ML detections, and analysts must judge them. Knowing why a 99 per cent accurate model can still bury a team in false alerts is a common interview question and a daily SOC reality.
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Lessons on AI Security Engineer0 of 40 done
- 1What AI, machine learning and a language model are
- 2How cyber attacks work
- 3Networking for security
- 4Linux for security
- 5Variables, loops and functions in Python
- 6The terminal and Git
- 7Web app security and the OWASP Top 10
- 8Identity and access
- 9Cryptography basics
- 10Logs and SIEM
- 11Threat detection with MITRE ATT&CK
- 12Incident response basics
- 13Phishing and social engineering
- 14Cloud security basics
- 15Audit logs
- 16How AI products work
- 17Machine learning for threat detection
- 18LLMs in the SOC
- 19AI-powered attacks and how defenders respond
- 20Deepfakes and misinformation
- 21Threats to LLM apps: the OWASP Top 10
- 22Defend against prompt injection
- 23Guardrails
- 24Data quality and personal data
- 25Permission-aware RAG
- 26Security and privacy
- 27Data poisoning, backdoors and adversarial examples
- 28Model extraction and privacy attacks
- 29Securing the AI supply chain
- 30Securing agent tools and MCP servers
- 31Permissions and sandboxing
- 32Threat model an AI system
- 33Red-team an AI system
- 34Test sets and evals
- 35Security tests in CI for AI apps
- 36Run an AI security programme
- 37AI risk frameworks
- 38AI rules in India and abroad
- 39Incident response for AI
- 40Security questionnaires
Related
On the roadmap: AI Security Engineer
SecurityIntermediate 2: RAG builderVideo lessonsAnomaly detectionFalse positivePrecision and recallConcept driftSIEM