What Is a Drive-by Download Attack?

Investigating Web Attacks Malware Forensics
Answer Correct answer: A — A drive-by download installs malware through a browser flaw simply when the user visits a malicious or compromised website.

Which of the following attacks refers to unintentional download of malicious software via the Internet? Here, an attacker exploits flaws in browser software to install malware merely by the user visiting the malicious website.

  1. Drive-by downloads Correct Answer
  2. Phishing
  3. Internet relay chats
  4. Malvertising

Community Votes

A
100%

100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The exam tests the definition of a drive-by download versus other web-borne threats, and the common trap is choosing malvertising even though the stem describes silent installation through a browser flaw during a site visit.

A drive-by download is the unintentional installation of malware triggered simply by visiting a malicious or compromised website that exploits browser or plugin flaws. This page confirms option A and explains why phishing, Internet relay chats, and malvertising do not match the scenario described.

Candidates often pick malvertising because malicious ads can deliver malware, but malvertising is an ad-based distribution channel; the described attack—silent installation via a browser vulnerability just by visiting a website—is a drive-by download.

Community Discussion (3 comments)

aqeel1506 👍 1
A. Drive-by downloads Drive-by downloads occur when malicious software is unintentionally downloaded onto a user's computer just by visiting a compromised or malicious website. The attacker exploits vulnerabilities in the browser or its plugins to silently download and install malware.
Elb 👍 2 Selected: A
Viruses exploiting flaws in a browser software to install malware just by visiting a web page
Elb 👍 1
A < https://www.mcafee.com/learn/drive-by-download/#:~:text=A%20drive%2Dby%20download%20refers,and%20has%20a%20security%20flaw.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

A drive-by download occurs when malicious code is downloaded and executed without the user's knowledge, usually because the browser or a plugin has an unpatched vulnerability. The stem matches this definition point for point: the download is unintentional, the attacker exploits flaws in browser software, and infection happens merely by visiting the malicious site. No email lure, credential theft, or ad click is required, which is the defining characteristic of this attack. That is why option A is the only choice that fully describes the scenario.

Why the Other Options Are Wrong

Phishing is a social-engineering technique that depends on user interaction such as clicking a link, opening an attachment, or entering credentials on a fake page; it does not describe exploit-driven silent installation. Internet relay chat is a communication protocol and botnet command-and-control channel, not an attack that installs malware just because a user browses a website. Malvertising is closer because malicious advertisements can lead to malware, but the term describes the advertising delivery vector rather than the browser-flaw exploitation itself. The question emphasizes unintentional download through a browser flaw during a visit, which is the textbook drive-by download.

Community Comment Notes

Elb summarized the mechanism as malware exploiting browser flaws and installing itself when a user visits a web page. aqeel1506 expanded on this, noting that malicious software is "unintentionally downloaded onto a user's computer just by visiting" a compromised or malicious site and that the attacker "exploits vulnerabilities in the browser or its plugins." Elb also cited the McAfee definition of drive-by downloads, reinforcing that the community consensus aligns with option A. All recorded votes point to A, and no commenter argued for phishing, Internet relay chats, or malvertising.

Official Reference

Exam Strategy

Classify web threats by their delivery mechanism: drive-by downloads require only a site visit plus a browser or plugin vulnerability, while phishing and malvertising depend on user interaction or an ad network. When a stem mentions unintentional installation through browser flaws, look immediately for drive-by download rather than a broader malware-distribution term.

Frequently Asked Questions

Why is malvertising not the answer if malicious ads can install malware?

Malvertising is the ad-delivery vector; the question describes silent installation via a browser flaw during a site visit, which is the drive-by download itself.

Why does phishing not fit the described attack?

Phishing relies on user interaction with a deceptive message or page, while a drive-by download needs only the visit and a browser or plugin vulnerability.

More 312-49v10 FAQ →

Related Analysis

← Back to 312-49v10 Study Guide