nerdexam
EC-Council

312-50V12 · Question #325

Which of the following tactics uses malicious code to redirect users' web traffic?

The correct answer is D. Pharming. Pharming uses malicious code (such as DNS poisoning or host file modification) to redirect users' web traffic from legitimate websites to fraudulent ones without the users' knowledge.

Submitted by chen.hong· Mar 4, 2026Information Security and Ethical Hacking Overview

Question

Which of the following tactics uses malicious code to redirect users' web traffic?

Options

  • ASpear-phishing
  • BPhishing
  • CSpimming
  • DPharming

How the community answered

(33 responses)
  • A
    6% (2)
  • C
    3% (1)
  • D
    91% (30)

Why each option

Pharming uses malicious code (such as DNS poisoning or host file modification) to redirect users' web traffic from legitimate websites to fraudulent ones without the users' knowledge.

ASpear-phishing

Spear-phishing is a targeted social engineering attack directed at specific individuals or organizations using personalized emails, not malicious code that redirects web traffic.

BPhishing

Phishing uses fraudulent emails or messages to trick users into voluntarily visiting malicious websites or providing credentials, rather than using malicious code to redirect web traffic automatically.

CSpimming

Spimming (spam over instant messaging) is the practice of sending unsolicited messages over instant messaging platforms, not a technique that uses malicious code to redirect web traffic.

DPharmingCorrect

Pharming is an attack that uses malicious code to modify DNS settings, host files, or DNS servers to silently redirect users' web traffic to fraudulent websites. Unlike phishing, which relies on tricking users into clicking links, pharming operates at the infrastructure level by corrupting the name resolution process, so users are redirected even when they type the correct URL. This makes it particularly dangerous because it requires no user interaction beyond normal web browsing.

Concept tested: Pharming attacks and DNS-based traffic redirection

Source: https://learn.microsoft.com/en-us/microsoft-365/security/intelligence/phishing-trends?view=o365-worldwide

Topics

#pharming#web traffic redirection#social engineering

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice