What is a drive-by download? The infection that needs no click (2026)

A drive-by download installs malware through a vulnerable browser with no click. How the attack works and the patching, plugin and training controls that stop it in 2026.

A drive-by download is malware that installs itself the moment you load a web page — no download button, no attachment, no prompt to approve. You visit a site that has been quietly compromised, a hidden script in the page probes your browser and plugins for a known vulnerability, and if one is unpatched the payload lands without any visible action from you. It is the attack that punishes late patching rather than careless clicking, which is why it defeats teams whose only rule is 'don't click things'.

TL;DR

What a drive-by download means in plain terms

Two things get bundled under the name:

The classic infrastructure behind the first type is the exploit kit: a criminal toolkit rented by the hour, hosted on compromised sites, that fingerprints each visitor's browser and serves the exploit matching the weakest unpatched component it finds. If everything is patched, the kit shows an ad and moves on — silently, with no trace beyond a page view.

Why drive-by downloads work even on careful teams

  1. Trust is borrowed, not stolen. The site infected is one your team already visits — an industry news portal, a supplier, a local news site — via a compromised CMS or plugin. Nothing about the visit looks wrong.
  2. Browsers are the biggest attack surface in the business. Every laptop carries one, they run third-party code all day, and an out-of-date browser or extension re-opens exploits patched months earlier.
  3. The invisible payload needs no mistake. A fully patched, sandboxed browser usually blocks the exploit outright; the failure is a process failure (updates disabled, plugin abandoned, admin rights too broad), not a person's error — and process failures don't show up in click-rate reports.

The Australian context for the surrounding threat: the Australian Signals Directorate logged more than 84,700 cybercrime reports in 2024-25 — one every six minutes — with small business averaging $56,600 per self-reported incident (ASD Annual Cyber Threat Report 2024-25). A drive-by infection on one finance laptop is the quiet first stage of exactly that kind of incident.

How a drive-by download attack runs

  1. The staging. Attackers compromise a high-traffic site (or buy ad space on it) and plant a hidden script — often an iframe a pixel tall that loads the exploit kit.
  2. The fingerprint. The script profiles every visitor: browser version, plugins, screen, installed software.
  3. The match. The kit picks an exploit for the visitor's weakest unpatched component. Fully patched visitors get nothing — which is why these campaigns run for weeks unnoticed.
  4. The payload. The exploit runs code in the browser or escapes the sandbox, and a downloader installs the real payload: an infostealer, a keylogger, banking malware or a loader for something bigger.
  5. The quiet exit. The data leaves over encrypted channels that look like normal HTTPS browsing.

Drive-by download vs phishing vs watering hole

Drive-by downloadPhishingWatering hole
DeliveryVulnerable browser on a compromised or ad-funded pageEmail, SMS or chat lure the user clicksTrusted site the target group visits, infected
User action neededNone (exploit variant) or a deceived click (fake update)A click on the lureNone beyond a normal visit
Weakness exploitedUnpatched softwareTrust in a messageTrust in a website
Primary defencePatching, sandboxing, least privilegeTrained staff who reportPatching, network segmentation

The rows matter because the defences differ: phishing is stopped at the person, drive-bys at the software layer — and watering holes need both.

How to prevent drive-by downloads

Signs of a drive-by infection

Any one of these on a machine that visited only normal sites during the day is reason to pull the device and scan it offline.

FAQ

What is a drive-by download in simple terms? Malware that installs through your browser just by visiting an infected web page — no download button, no attachment, nothing you approve.

Do drive-by downloads still work in 2026? Against fully patched, sandboxed browsers, far less than in the 2010s — modern browsers block most exploit kits by design. The remaining victims are out-of-date browsers, abandoned extensions and users who click the fake-update variants, which is why patch discipline still decides the outcome.

How is a drive-by download different from phishing? Phishing arrives as a message and needs a click on the lure; a drive-by rides a web page the user would have visited anyway. Phishing is stopped by training the person; drive-bys are stopped by patching the software.

Can a drive-by download infect a phone? Yes — mobile browsers carry their own vulnerabilities, and fake 'your browser is outdated' pages on mobile are one of the most common deceptive-download lures in 2026.

What should I do if I suspect a drive-by infection? Disconnect the machine, scan it from outside the OS (rescue USB or another computer), rotate every credential used on it from a different device, and check mailbox rules and connected apps before returning it to service.

Does an ad blocker help? It cuts one of the main delivery channels — malicious ad networks — and blocks many of the fake-update banners too. It is a useful layer, not a substitute for patching.

One last thing

Check one thing this week: whether every work machine's browser actually has automatic updates on — including meeting-room PCs and any staff laptops that have been offline for months. Drive-by campaigns are built to wait exactly for that gap.

Related guides

Ready to deploy

Same playbook.
Your brand.

Cyber Aware's Human Risk Score works the same way for every MSP partner - under your brand, on your cadence.