Zero-Day Attacks Explained: How Hackers Strike Before a Patch Exists

Editorial cybersecurity scene for Zero-Day Attacks Explained: How Hackers Strike Before a Patch Exists

The Dangerous Interval Between Exploitation and a Fix

A zero-day attack uses a software vulnerability before defenders have an effective opportunity to fix it through the normal update process. An attacker may exploit the weakness before the vendor knows about it or while a repair is still being developed. The attack is an event, not simply the existence of a flaw: someone uses the weakness to gain access, obtain information or cause another unwanted effect. Following a real incident from its first suspicious activity through disclosure, mitigation and recovery shows why a missing patch is serious, why other defenses still matter and why installing the eventual update may not finish the response.

A Vulnerability, an Exploit and an Attack Are Different Things

A vulnerability is the underlying weakness, such as software incorrectly accepting an untrusted request. An exploit is the method that takes advantage of it. An attack is the use of that method against a target. These distinctions matter when reading an alarming headline: a researcher demonstrating a weakness in a controlled test is not the same as confirmed exploitation of a business. For the terminology in greater depth, see our zero-day exploit primer. Here, the focus is what changes as an attack unfolds.

The First Advantage Is Unequal Knowledge

Software can contain an exploitable weakness for a long time before anyone recognizes it. A researcher may report it privately so the vendor can investigate and prepare a repair. An attacker who discovers the same weakness has a different incentive: keep it useful. The uncertainty is not just whether a flaw exists. Defenders may not yet know which product behavior to investigate, which versions are affected or which traffic pattern distinguishes exploitation from ordinary use.

That does not make the attacker all-powerful. Exploitation still depends on prerequisites such as reaching the vulnerable component, satisfying a configuration condition or obtaining an initial account. A flaw in a feature you do not run may not create the same exposure as an internet-facing service handling untrusted requests. Understanding those conditions helps a team choose a meaningful restriction while the vendor works. It also prevents the opposite error: assuming strong passwords fix a vulnerability that bypasses the normal login process.

A Historical Case: Exchange Servers in Early 2021

On March 2, 2021, Microsoft disclosed attacks involving previously unknown vulnerabilities in on-premises Exchange Server and released security updates. Its initial HAFNIUM report described access to email and the installation of additional malware. Microsoft stated that Exchange Online was not affected by those vulnerabilities. That product boundary matters: an organization needed to identify its actual deployment rather than assume every service with the Exchange name had the same exposure.

Volexity’s firsthand investigation describes how unusual data transfers from customer servers led to closer examination. Investigators combined network observations, server logs and acquired system evidence. The suspicious behavior became a path to identifying a previously unknown attack, rather than waiting for a scanner to recognize a named vulnerability. Its subsequently updated timeline places observed exploitation in January 2021, before the March public disclosure.

The case illustrates a useful distinction between a fully updated system and a fully understood risk. A device can have all updates available at a particular moment and still contain a weakness that has not been fixed. This is why “we patch regularly” should not end an investigation into credible suspicious activity. Patching is essential maintenance; monitoring asks a different question about what the system is doing now.

How a Small Opening Can Become Persistent Access

An attack can involve several weaknesses rather than one magical action. One weakness may let an attacker cross an initial trust boundary, while another enables a more powerful action after that access exists. In the Exchange case, Microsoft described web shells placed on compromised servers. A web shell is malicious server-side code that can provide a continuing remote-control path. Its presence changes the recovery problem: the organization must address the foothold, not merely the original weakness that allowed entry. Different victims may experience different stages, so evidence from one environment should not be treated as proof that every target suffered the same outcome.

Detection Often Starts With Behavior, Not a CVE Number

A newly exploited vulnerability may not yet have a public identifier or a signature that every product recognizes. Analysts can still investigate unexpected outbound transfers, unusual child processes, unexplained administrator changes or suspicious access to sensitive data. None of those observations proves a zero-day by itself. Their value is that they give investigators a specific behavior to validate against normal activity. A backup job and an unauthorized data transfer may both move substantial data; context distinguishes them.

Useful investigation connects events across time. Which request reached the service before the unexpected file appeared? Which account performed the next action? Did that account normally manage the affected machine? Answers can reveal an intrusion even when the precise vulnerability remains unknown. This is also why central, protected logs matter: if all evidence lives on the compromised server and is quickly overwritten, defenders may lose the ability to reconstruct the sequence that first raised concern.

Disclosure Changes the Situation for Both Sides

Public disclosure gives defenders a product name, affected versions and a source for remediation guidance. It can also draw additional attackers toward systems that remain vulnerable. Microsoft updated its March 2021 report to describe exploitation by multiple actors beyond the initially reported group. A zero-day story therefore does not end when a patch appears. For organizations that have not installed it, the same weakness can remain dangerous after it becomes publicly known. The label changes; the vulnerable service and the potential consequences do not automatically disappear.

The First Response Is to Establish Exposure

When a credible advisory arrives, determine whether the affected product actually exists in your environment. Include less visible instances: a disaster-recovery system, an old appliance, a management server or software operated by a supplier. Match versions and configurations with the vendor’s advisory. An inventory entry that says only “email system” is insufficient if the advisory distinguishes a hosted service from an on-premises server. Ask a managed provider for a concrete answer about its deployment and remediation responsibility. For example, a business might have moved employee mail to a hosted service while retaining a local server for a separate administrative purpose. The correct exposure answer comes from checking that remaining component, not from the statement that “our email is in the cloud.” This is an inventory problem before it is a patch-deployment problem.

Next, identify reachability. An internet-facing vulnerable service may need urgent restriction, but an internal instance is not automatically irrelevant: an attacker with another foothold may reach it. Do not improvise a workaround solely because it sounds restrictive. Follow the vendor’s instructions and record which attack condition the change addresses. A firewall rule aimed at the initial connection can leave later stages possible through another access path.

Keep the exposure decision separate from the compromise decision. “We run an affected version” means a weakness may be present. “We found attacker activity” means incident response is needed. An exposed server can require both urgent remediation and investigation without waiting for one effort to finish before the other begins. Microsoft’s March 2021 resource center explicitly addressed updating and investigation together. The exact order and containment choices depend on the incident and official guidance.

Temporary Mitigations Need an Expiration Plan

A mitigation reduces an attack opportunity without necessarily repairing the underlying defect. Disabling a vulnerable feature, restricting access or taking a service offline can sometimes create breathing room. Each choice has a business cost and a technical limit. If a restriction blocks one route but not another, describe that limit plainly. Calling a partial measure “fixed” makes it easier for an exposed system to remain in service after attention moves elsewhere.

Assign temporary measures a review point tied to the vendor’s next guidance or the availability of a supported update. Test that the intended restriction works and that essential operations have an approved alternative. For example, if a customer portal must be unavailable, tell support teams how customers can complete urgent tasks. This is practical incident coordination, not a reason to keep a dangerously exposed service running. It makes the safer choice sustainable while remediation proceeds.

Why Patching and Evicting an Intruder Are Separate Jobs

A patch changes vulnerable software so the original exploitation route no longer works as described. It does not necessarily remove a backdoor, reverse stolen data or invalidate credentials taken earlier. Microsoft’s Exchange response guidance specifically warned that applying updates or mitigations would not evict an already established adversary. For any incident, responders must investigate persistence and related access according to the evidence. A successful update installation is a milestone in vulnerability remediation, not a general certificate that the environment is clean.

Recovery Has to Follow the Intrusion’s Reach

Suppose investigators find a malicious file on an exposed application server. They then discover that an administrative credential was used from that server against another system. Deleting the file would address one artifact while leaving the second access path unresolved. A recovery plan needs to consider affected hosts, identities and applications together. The team may need trusted rebuilds, credential changes, session invalidation and validation of related systems, with the sequence chosen to avoid handing replacement credentials to an active intruder.

Communications can also be part of that scope. If the affected service is email, discussing sensitive response actions through it may expose the plan to the attacker. Microsoft’s historical resource center recommends isolated communication resources until confidentiality is established. The general decision is straightforward: use a communication path the response team has reason to trust. Do not assume that ordinary collaboration remains private simply because users can still send messages.

Read Threat Intelligence Without Losing the Product Context

An advisory may contain a severity score, a vulnerability identifier and evidence of exploitation. Each conveys something different. Severity describes potential technical impact under defined conditions; exploitation reporting says attackers have used the flaw. Neither alone tells you whether your own instance is exposed. Combine that information with product presence, reachability, business function and the availability of vendor-approved protection. An inaccessible test component and a public identity service should not receive identical operational treatment merely because both appear in a scanner report.

CISA’s Known Exploited Vulnerabilities Catalog is a useful source for exploitation-informed prioritization. Its absence should not be interpreted as proof that a vulnerability is safe or unused. Evidence takes time to emerge, and a newly reported incident may still be under investigation. Similarly, a dramatic social-media claim is not a substitute for the product vendor’s affected-version and remediation information. Use trusted sources, preserve uncertainty and revisit the decision when those sources change.

Historical incident reports are valuable for understanding the sequence, but they are not current maintenance instructions. The Exchange example explains what happened in 2021; its old update packages and interim workarounds should not guide a modern deployment without current vendor support information. The enduring lesson is the separation of tasks: establish exposure, reduce the attack path, apply the supported repair and investigate whether an attacker established access before that protection took effect.

Prepare for the Next Unknown Without Predicting It

You cannot inventory a vulnerability that no one has identified, but you can inventory the software and services that may eventually need action. Maintain useful logs, supported products, tested recovery options and a way to restrict exposed services under urgent conditions. Practice a scenario in which the fix is not immediately available and the affected system supports an important business function. That preparation does not promise prevention of every zero-day attack. It makes the interval between a credible warning and a defensible action shorter, while preserving the ability to investigate what happened.