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.

Mar 11, 2025 - 11:26
Updated: 
102.3k

AI in Cybersecurity in Cybersecurity & Ethical Hacking · Explainer

SOC & Blue Team, Cyber Threats, Scams & Online Safety

Can AI Predict Cyber Attacks? The Limits of Base Rates and Alerts

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?

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.

AssumptionValue
Events per day1,000,000
Truly malicious events10
Detection rate99 percent
False positive rate1 percent
ResultCount per day
True alertsAbout 10
False alertsAbout 10,000
Share of alerts that are realAbout 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?

UseWhy it works
Patch prioritisation with FIRST EPSSEstimates exploitation probability across many CVEs, where ranking is enough
Known exploitation via CISA KEVConfirmed evidence, not a guess
Fraud scoringFast feedback on outcomes keeps models current
Exposure rankingInternet-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?

  1. Ask vendors for false positive rates on data like yours, not just detection rates.
  2. Use scores to order work, then apply firm controls: patching, MFA, segmentation.
  3. Correlate alerts across identity, endpoint and network before escalating.
  4. Measure analyst workload and alert precision every month.
  5. 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

It can estimate likelihoods and rank risks, but it cannot reliably predict the timing, target and method of a specific future attack.

Ignoring how rare attacks are. Because malicious events are so rare, even small false positive rates produce far more false alarms than real detections.

A one percent false positive rate applied to millions of normal events creates thousands of false alerts compared with a handful of real ones.

The Exploit Prediction Scoring System from FIRST, which estimates the probability that a published vulnerability will be exploited, to help prioritise patching.

KEV lists vulnerabilities with confirmed exploitation in the wild, while EPSS gives a probability estimate. Many teams use both together.

Yes. Attackers change tactics, use valid accounts and built-in tools, and can attempt evasion or poisoning attacks against models.

Ask for false positive rates on realistic data and treat its output as prioritisation, alongside patching, MFA and incident response.

Alert precision, meaning the share of alerts that are real incidents, along with analyst workload and time to respond.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.