Concepts / Social engineering

Social engineering

Drive-by download

Also called drive-by, forced download, malicious download

A page that pushes a file to a visitor's machine with little or no consent — the delivery step of an attack, separate from whatever the file then tries to do.

Arriving is not running
Arriving is not running

The page makes the browser fetch a file nobody asked for. That is only delivery: the file is saved, and what it does when run is a separate step.

A drive-by download is a page that makes the browser fetch a file without informed consent: on load, or behind one deceptive click. The server forces it with a Content-Disposition: attachment header or a script that starts the download. That is delivery only; what the file does when run is a separate step. Without running anything, the response headers show how it arrived and the file's [[indicators-of-compromise|hash]] shows what.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab