Glossary
Drive-by download
Definition
A drive-by download delivers unwanted or malicious software when someone visits a website, sometimes without a deliberate download or installation.
Some attacks exploit browser weaknesses; others prompt a person to approve an apparent update. The next steps depend on what actually ran.
A customer may include “Drive-by download” in a supplier security questionnaire or spreadsheet. They want to understand whether this topic affects the service you provide and what safeguards or evidence support your answer.
A drive-by download occurs when a website visit causes unwanted or malicious software to be downloaded. In some attacks, a weakness in the browser or another component allows code to run without a deliberate installation. In others, a deceptive prompt persuades the visitor to take an additional step.
The harmful content may be on a malicious site, a compromised legitimate site or an advertising service. The phrase is sometimes used loosely, so an incident report should distinguish a file arriving on the device from that file being executed and the device being compromised.
Hypothetical example: an employee researching stock suppliers reaches a page that displays a supposed browser update. They download the file but contact IT before opening it. The team can investigate the download and exposure rather than assume either that nothing happened or that every account was stolen.
Use supported, updated browsers and obtain software updates through approved routes. If a suspicious download occurs, report the page and actions taken without opening the file to inspect it. A provider should explain what was downloaded, whether code executed and which further checks are needed. Blocking the page later does not establish what happened during the earlier visit.
Sources: MITRE drive-by compromise; FBI guidance on malicious website redirects.