Can AI Predict Cyber Attacks? The Limits of Base Rates and Alerts
AI can estimate which vulnerabilities are likely to be exploited, which assets are most exposed and which activity looks unusual, but it cannot reliably predict a specific attack before it happens. The main obstacle is the base rate: real attacks are rare compared with normal events, so even an accurate model produces many more false alarms than true detections.
Topic: AI in Cybersecurity in Cybersecurity & Ethical Hacking · Explainer
Also covers: SOC & Blue Team, Cyber Threats, Scams & Online Safety
Quick answer: AI can estimate which vulnerabilities are likely to be exploited, which assets are most exposed and which activity looks unusual, but it cannot reliably predict a specific attack before it happens. The main obstacle is the base rate: real attacks are rare compared with normal events, so even an accurate model produces many more false alarms than true detections. Attackers also adapt to avoid models, and past data does not always describe future tactics. Prediction works best as prioritisation, for example using FIRST EPSS scores and the CISA KEV catalogue to decide what to patch first, combined with prevention and fast response.
Key takeaways
- Rare events make accurate prediction statistically hard.
- A 99 percent accurate detector can still be wrong most of the time it alerts.
- Attackers change behaviour to evade models.
- Probability scores are useful for prioritising, not for certainty.
- Prevention and response still carry most of the load.
Table of Contents
- What Can AI Actually Predict in Cybersecurity?
- What Is the Base-Rate Problem?
- How Does the Maths Work in Practice?
- Why Do Attackers Make Prediction Harder?
- Where Is Prediction Genuinely Useful?
- How Should Teams Use Predictive Tools?
- References
What Can AI Actually Predict in Cybersecurity?
Models can estimate likelihoods: the chance a vulnerability will be exploited, the chance a login is fraudulent, or how unusual a process tree looks. They cannot name the date, target and method of a future attack. A broader introduction is in our sibling article can AI detect cyber attacks before they happen.
What Is the Base-Rate Problem?
Stefan Axelsson's paper The base-rate fallacy and the difficulty of intrusion detection showed that because intrusions are a tiny fraction of all events, the false alarm rate, not the detection rate, decides whether an intrusion detection system is usable. Even small false positive rates multiply across millions of events.
How Does the Maths Work in Practice?
The numbers below are illustrative round figures, not measurements of any product.
| Assumption | Value |
|---|---|
| Events per day | 1,000,000 |
| Truly malicious events | 10 |
| Detection rate | 99 percent |
| False positive rate | 1 percent |
| Result | Count per day |
|---|---|
| True alerts | About 10 |
| False alerts | About 10,000 |
| Share of alerts that are real | About 0.1 percent |
The model looks excellent on paper, yet analysts would face roughly a thousand false alarms for every real one. This is why tuning, context enrichment and correlation across several signals matter more than a headline accuracy number.
Why Do Attackers Make Prediction Harder?
Weather does not change its behaviour to fool a forecast; attackers do. NIST AI 100-2 describes evasion attacks, where inputs are changed to avoid detection, and poisoning, where training data is corrupted. Attackers also use valid accounts and built-in tools, techniques documented in MITRE ATT&CK, which look like normal administration. Models trained on last year's attacks can miss this year's methods.
Where Is Prediction Genuinely Useful?
| Use | Why it works |
|---|---|
| Patch prioritisation with FIRST EPSS | Estimates exploitation probability across many CVEs, where ranking is enough |
| Known exploitation via CISA KEV | Confirmed evidence, not a guess |
| Fraud scoring | Fast feedback on outcomes keeps models current |
| Exposure ranking | Internet-facing, unpatched assets are measurably riskier |
In each case, the model ranks options for humans rather than promising to stop a specific attack.
How Should Teams Use Predictive Tools?
- Ask vendors for false positive rates on data like yours, not just detection rates.
- Use scores to order work, then apply firm controls: patching, MFA, segmentation.
- Correlate alerts across identity, endpoint and network before escalating.
- Measure analyst workload and alert precision every month.
- Prepare response playbooks, following NIST SP 800-61 Rev. 3, for when prediction fails.
The NIST AI RMF encourages exactly this kind of measurement. For how detection models work day to day, see AI in modern threat detection. To practise alert triage and tuning, ask about SOC analyst training.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0