dan nelson AvSFPw5Tp68 unsplash

Zero-Day Explained: How Zero-Day Vulnerabilities and Attacks Work

Most security tools work by recognizing something already known: a flaw with a patch, a malware sample with a signature. A zero-day breaks that model, because the defender has had no time to prepare. Understanding how these flaws are found, exploited and contained helps any organization decide where to invest before the next one appears.

What is a zero-day?

Three related terms are often used interchangeably, but they describe different things. A zero-day vulnerability is a software flaw that is not publicly known and that the vendor is unaware of. A zero-day exploit is the method an attacker uses to take advantage of that flaw, and a zero-day attack is the use of that exploit against a target before anyone knows the flaw exists. Seeing how zero day attacks work begins with this order of events: the name comes from the fact that defenders have had zero days to fix the problem.

Government definitions follow the same logic. NIST’s glossary describes a zero day attack as one that exploits a previously unknown hardware, firmware or software vulnerability, which means the weakness can sit in a device’s firmware as easily as in an application.

The zero-day lifecycle

A zero-day does not appear and vanish in a day. It moves through a sequence of stages, and the risky window sits in the middle:

  1. The flaw is introduced into the software.
  2. An attacker discovers it and releases an exploit.
  3. The vendor discovers the flaw.
  4. The flaw is publicly disclosed.
  5. Security vendors add detection signatures.
  6. The vendor releases a patch.
  7. Organizations deploy the patch.

Attacks are possible from the moment the exploit exists until disclosure, and exposure continues until each organization applies the fix. Breaches that start this way are often found only days, months or even years later.

How zero-day attacks work

An attack usually follows a simple path. A researcher or criminal finds a flaw, builds an exploit and delivers it through whatever route reaches the vulnerable code: a malicious attachment, a crafted web request or a compromised website. Because no patch exists, the activity looks legitimate to tools that only know yesterday’s threats. Successful attacks can lead to identity theft or information theft, and the intrusion may run for a long time before anyone notices.

This is why zero-days are hard to measure and hard to stop. NIST’s National Cybersecurity Center of Excellence notes in its data integrity project description that a solution built around analyzing known vulnerabilities is inherently exposed to zero-day attacks, because these exploits rely on weaknesses that have not been detected yet.

Who is targeted

No organization is exempt. Any company running software can be exposed, and businesses without defenses designed for unknown threats face the highest risk. Three well-known cases show the range of impact:

  • Operation Aurora (2009): Attacks on more than 20 major organizations aimed at intellectual property and source code.
  • RSA (2011): A Flash flaw hidden in an Excel attachment led to the theft of data tied to the company’s SecurID authentication products.
  • Sony Pictures (2014): A network takeover that leaked internal data.

The lesson from these cases is that attackers pick the weakest path to valuable assets, whether that is source code, authentication secrets or internal communications.

How to reduce zero-day risk

No single control stops every zero-day, so the goal is layers that shrink the window of exposure and limit the damage when something gets through.

  • Vulnerability scanning: Scans and code reviews find many flaws, but they cannot catch every zero-day exploit, so findings need fast action.
  • Patch management: Quick patching lowers risk once a fix exists. CISA’s guidance on a recent critical flaw advises applying the patch immediately while prioritizing internet-facing systems, and notes that a web application firewall may offer some protection until systems are updated.
  • Input validation: Filtering malformed data blocks many exploit attempts, and a web application firewall at the network edge helps screen incoming traffic.
  • Next-generation firewalls and behavior analysis: Traditional antivirus relies on known signatures, so deeper inspection and anomaly detection that can flag unknown malware add coverage.
  • Network segmentation: Dividing the network limits how far an attacker can move after the first foothold.
  • Bug bounty and disclosure programs: Rewarding researchers for reporting flaws gives them a reason not to sell them.
  • Automatic updates and current software: Keeping systems up to date closes the gap between a patch release and deployment.

None of these replaces the others. Together they make a successful exploit harder to deliver, quicker to detect and easier to contain.

Conclusion

A zero-day is dangerous because it arrives before anyone has a fix, a signature or a warning. Knowing the difference between the vulnerability, the exploit and the attack, and where each sits in the lifecycle, shows where defenders can act. Combine fast patching, traffic inspection, anomaly detection and segmentation, and review them regularly so the next unknown flaw meets a network that is ready for it.