What Is a Zero-day Attack?
A zero-day attack occurs when hackers exploit a vulnerability in hardware or software that is unknown to the vendor. An attacker discovers the vulnerability, swiftly creates an exploit, and uses it to launch an attack. Zero-day attacks are severe security threats with high success rates as businesses do not have defenses in place to detect or prevent them.
A zero-day target attack typically goes after vulnerabilities in web browsers or Wi-Fi networks. It can also be launched via email by attaching files that exploit software vulnerabilities, such as Microsoft 365 applications and Adobe Flash Player. An attack will commonly target major enterprises, government departments, senior executives, hardware, and connected devices, as well as home users that operate a vulnerable system to compromise machines and build botnets.
Where Does the Term "Zero Day" Come From?
A zero-day attack is so-called because it occurs before the target is aware that the vulnerability exists. The attacker releases malware before the developer or vendor has had the opportunity to create a patch to fix the vulnerability.
However, the term "zero day" comes from the world of pirated digital media. A pirated version of a movie, music, or software is referred to as "zero day" when it becomes available at the same time or before the official release. In other words, the pirated version is published zero days after the official version.
Therefore, a zero-day vulnerability is a security risk in a piece of software that is not publicly known about and the vendor is not aware of. A zero-day exploit is the method an attacker uses to access the vulnerable system.
What is the Timeline After Exploitation?
A zero-day attack begins with a software developer releasing vulnerable code that is spotted and exploited by a malicious actor. The attack is then either successful, which likely results in the attacker committing identity or information theft, or the developer creates a patch to limit its spread. As soon as a patch has been written and applied, the exploit is no longer referred to as a zero-day exploit.
The timeline of zero-day exploitation has been split into seven separate stages by security researchers Leyla Bilge and Tudor Dumitras from vulnerability introduction to security patch. They are as follows:
Vulnerability introduced: A developer creates software that, without them realizing, contains vulnerable code.
Exploit released: A malicious actor discovers the vulnerability before the developer realizes it exists or before they have been able to fix or patch it. The hacker then writes and deploys an exploit code while the vulnerability is still open.
Vulnerability discovered: The vendor becomes aware of the vulnerability but does not have a patch available.
Vulnerability disclosed: The vendor and/or security researchers announce the vulnerability publicly, which advises users and attackers of its existence.
Antivirus signatures released: If attackers have created zero-day malware targeting the vulnerability, then antivirus vendors can quickly identify its signature and provide protection against it. However, systems may remain exposed if there are other ways of exploiting the vulnerability.
Security patch released: The vendor releases a public fix to close the vulnerability. How long this takes to arrive depends on the complexity and how much of a priority it takes in their development process.
Security patch deployment completed: Releasing a security patch does not provide an instant fix as it can take time for users to deploy it. For this reason, organizations and individual users should switch on automatic software updates and take notice of update notifications.
Systems are vulnerable to attack through the entire process from stages 1 to 7, but a zero-day attack can only occur between stages 2 and 4. Further attacks can occur if the vulnerability remains unprotected. Zero-day attacks are rarely discovered quickly enough to prevent substantial damage. It can typically take days, months, and even years before a developer realizes the vulnerability existed and led to an attack and data breach.
Examples of Famous Zero-Day Attacks
A zero-day attack can happen to any company at any time, often without them realizing. High-profile examples of zero-day attacks include:
- Sony Pictures: Potentially the most famous zero-day attack took down the Sony network and led to the release of its sensitive data on file-sharing sites. The attack, in late 2014, saw the leak of information around upcoming movies, the company’s business plans, and personal email addresses of senior executives.
- RSA: Another highly public zero-day attack saw hackers use an unpatched vulnerability in Adobe Flash Player to gain access to the network of security firm RSA in 2011. The attackers sent emails attached with Excel spreadsheets, which contained an embedded Flash file that exploited the zero-day vulnerability, to RSA employees. When employees opened the spreadsheet, it gave the attacker remote control of the user’s computer, which they used to search for and steal data. That information turned out to be related to its SecurID two-factor authentication products that employees use to access sensitive data and devices.
- Operation Aurora: In 2009, a zero-day exploit targeted the intellectual property of more than 20 major global organizations, including Adobe Systems, Blackberry, Dow Chemical, Google, Morgan Stanley, and Yahoo. It exploited vulnerabilities in Internet Explorer, various other Windows software versions, and Perforce, which Google used to manage its source code. The attack aimed to gain access to and modify source code repositories at high-tech organizations.
How to Protect Against Zero-Day Attacks
Fortinet protects businesses against zero-day attacks by helping them prevent known threats, then detect and mitigate potential unknown malicious activity.
Our products provide advanced threat detection technologies that examine network traffic, users, and content to identify unknown threats. For example, sandboxing enables the observation of potentially malicious software without affecting the network, while botnet detection flags patterns that could suggest command-and-control activity.
While a zero-day attack, by its very definition, is impossible to patch, there are methods that allow organizations to defend against them.
- Vulnerability scanning: Solutions that scan for vulnerabilities can simulate attacks on software code, review code for errors, and attempt to find new issues that have been introduced in a software update. However, this approach will not detect all zero-day exploits, and scanning alone is not enough. Businesses need to act quickly on the results of a scan and review code to prevent an exploit.
- Patch management: Deploying software patches as soon as possible after discovering a software vulnerability can reduce the risk of an attack. However, it cannot prevent an attack if the hacker creates their exploit quicker than the patch is deployed. The longer the patch process takes, the higher the risk of a zero-day attack occurring.
- Input validation: Input validation, or data validation, is the proper testing of any input supplied by an application or user to prevent improperly formed data from entering a system. It protects organizations through the vulnerability scanning and patch management process and enables them to respond to new threats in real time. One of the best ways to prevent zero-day attacks is to deploy a web application firewall (WAF) on the network edge to review incoming traffic and filter out malicious inputs that could target security vulnerabilities.
- Zero-day initiative: The zero-day initiative is a program that rewards security researchers for disclosing vulnerabilities rather than selling them on the black market. Its aim is to create a community of vulnerability researchers who discover software problems before hackers do. In addition, organizations also offer bug bounty programs that compensate individuals for reporting vulnerabilities to them.
Types of Strategies
To remain vigilant against the threat of zero-day attacks, businesses must have a strategy in place. The key elements of this strategy need to be:
- Stay informed: Being proactive and staying informed on the latest risks in the threat landscape is a vital first step in preventing zero-day attacks. This includes deploying comprehensive security software that will block known and unknown threats. It also includes employees practicing safe and secure online habits and configuring security settings for their browsers and systems.
- System updates: Ensuring systems are up to date is crucial to protecting a business from the risk of zero-day attacks. This includes having the latest features installed, removing outdated or defunct features, updating drivers, fixing bugs, and filling potential holes in security.
- Fortinet next-generation firewall (NGFW) product: Traditional antivirus software cannot effectively protect businesses from zero-day threats. Instead, businesses need to look for solutions that block unknown zero-day malware. The Fortinet NGFW does this by combining deeper inspection capabilities that identify advanced attacks, malware, and threats. It not only blocks malware but also provides the flexibility to evolve with the threat landscape and keep organizations’ networks secure as new threats emerge.
How Fortinet can Protect Against Vulnerabilities
Fortinet helps businesses remain secure against the unknown of zero-day attacks in the modern threat landscape. It provides an integrated security solution that spans the entire distributed network environment and offers deep integration required to automatically respond to new threats.
The Fortinet FortiWeb product enables businesses to defend against zero-day risks with input validation and sanitization and prevent attacks at the Hypertext Transfer Protocol (HTTP) level. The Fortinet FortiGuard Labs team is committed to discovering new and emerging threats and delivering instant protection to Fortinet solutions before such threats pose a security problem for organizations.
Fortinet products can be configured to receive automatic updates every time our team identifies a new threat. This applies across businesses’ FortiGate firewalls as well as every product deployed on their network.