Phishing & scams

Pharming vs Phishing: Key Differences, Examples and Protection

Phishing needs your click. Pharming does not — it rewrites where your browser goes, even when you type the address yourself.

Cysoro Security TeamPublished · 9 min read
PHISHING & SCAMSPharming vsPhishingOne needs your click. The otherdoes not. Learn to spot both.PHISHINGFake message → you click→ fake sitePHARMINGDNS is corrupted→ correct address, fake site
Quick answer

Phishing tricks you into clicking a link or opening an attachment in a fake message, while pharming redirects your browser to a fake website through technical means such as DNS poisoning or malware that changes your hosts file — even when you type the real address yourself. Both aim to steal passwords and payment details, and both are stopped by the same defenses: DNS security, updated software, and verifying sensitive actions out of band.

Key takeaways

  • Phishing needs a click on a fake message; pharming redirects you without one, by corrupting DNS or your device.
  • Pharming is harder to spot because you typed the correct address and the fake site can look identical.
  • DNSSEC, trusted DNS, patched software and checking for HTTPS and the real domain stop most pharming.

You type your bank's address correctly, letter by letter, and still land on a fake copy of the site. No suspicious email, no link you clicked — just the wrong website, wearing the right name.

That is pharming, and it is the quieter cousin of phishing. Both scams end the same way — with your passwords or payment details in a criminal's hands — but they get you there by different routes. Understanding the difference matters, because the defense against each one is different too.

What is pharming?

Pharming is the practice of redirecting internet domain name requests to false websites in order to capture personal information, as the FDIC defined it in its guidance to financial institutions.

When you type a web address, your browser asks a DNS server to translate that name into an IP address — the numeric address of the real server. Pharming corrupts that translation. The DNS answer points to the attacker's server instead, so your browser loads a fake copy of the site you wanted.

The fake site is usually a close copy of a bank, email provider or shopping site. It asks for your login, card number or one-time code, and everything you type goes to the attacker. Because you typed the address yourself, you have no reason to suspect the page.

What is phishing?

Phishing is a scam message — usually an email, text or social media message — that pretends to come from someone you trust and tricks you into clicking a link, opening an attachment or handing over information.

The message creates urgency or fear: an account will be locked, a payment failed, a package is waiting. The link leads to a fake login page, or the attachment installs malware. Phishing was the most-reported internet crime in the United States in 2025, with 191,561 complaints to the FBI's Internet Crime Complaint Center.

Phishing needs your participation. You have to open the message, trust it, and click. That is its weakness: a careful reader can spot the wrong sender address, the odd phrasing or the mismatched link. Our guide to spear phishing explains the targeted version, where the message is researched and personalized for one victim.

Pharming vs phishing: the key differences

The core difference is the route to the fake site. Phishing sends you a lure and waits for you to bite. Pharming moves the destination itself, so you arrive at the fake site without doing anything wrong.

PhishingPharming
How you reach the fake siteYou click a link in a fake messageYour traffic is redirected, even when you type the address
Needs your click?YesNo
Main techniqueSocial engineering, fake messagesDNS poisoning, hosts-file malware, router compromise
Who is targetedIndividuals, one message at a timeMany people at once, via a shared DNS server or router
How easy to spotOften visible: wrong sender, odd linkVery hard: correct address, familiar-looking site
Malware needed?Not always; a link is enoughSometimes on your device, sometimes on the DNS server
Typical goalPasswords, card numbers, malware installPasswords, card numbers, account takeover

The two attacks often combine. A phishing email can install the malware that sets up pharming, and a pharming redirect can lead to the same fake login page a phishing email would have linked to. Defending against one helps against the other, which is why the protection sections below cover both.

Phishing vs pharming: two routes to the same fake sitePHISHINGFake email or text arrivesYou click the link inside itPHARMINGDNS answer is corruptedYou type the correct addressFake bank sitesteals your login and card detailsPhishing needs your click. Pharming does not.
Phishing lures you with a message; pharming moves the destination. Illustration by Cysoro.

How does pharming work?

Pharming works by corrupting the name-to-address lookup your browser depends on. The FDIC's guidance describes four ways it can happen, and all four are still in use.

DNS poisoning

DNS cache poisoning corrupts a DNS server so it returns the attacker's IP address for a real domain. Every user of that server who asks for the bank's site is sent to the fake one. This is the most dangerous form of pharming, because it needs no malware on the victim's device and can affect thousands of people at once.

Malware that changes the hosts file

Malware on your computer can edit the local hosts file, which your system checks before asking a DNS server. A single added line can send your bank's domain to the attacker's server permanently, until the file is cleaned. This is the most common form of pharming against individuals.

Router compromise

An attacker who compromises your home or office router can change its DNS settings to point at a malicious resolver. Every device on that network is then redirected. Routers with default passwords or unpatched firmware are the usual entry point.

Domain hijacking

In domain hijacking, the attacker takes control of a legitimate domain's registration or DNS records, often by stealing the registrar account. All traffic to that domain then goes to the attacker's server. This is rarer but devastating, because even the site owner cannot fix it quickly.

How does phishing work?

Phishing works by abusing trust rather than technology. The attacker sends a message that looks like it comes from a bank, a delivery company, a colleague or a government agency, and asks you to act quickly.

The message usually contains a link to a fake site, an attachment carrying malware, or a direct request for information such as a password or a one-time code. Modern phishing kits relay your password and MFA code to the real site in real time, so one-time codes alone do not protect you. MITRE ATT&CK lists phishing by link, by attachment, by voice and through third-party services as separate techniques under T1566: Phishing.

Spear phishing, the targeted form, researches the victim first and uses real names, projects and suppliers. Business email compromise, the money-focused form, caused about $3 billion in reported US losses in 2025, according to the FBI IC3 report.

Real examples of pharming and phishing

Pharming is rarely reported as a named crime in the same way phishing is, because victims often do not know how they reached the fake site. The cases that are documented show the pattern clearly.

In the best-known DNS pharming incidents, attackers poisoned DNS servers or compromised routers to redirect users of banking sites to near-identical copies, harvesting logins at scale before the redirection was noticed. Because the victims typed the correct address, many only discovered the fraud when money was already gone.

Phishing examples are far more visible. In 2013–2015, a Lithuanian man impersonated the supplier Quanta Computer and used look-alike email accounts and forged invoices to take about $99 million from Facebook and $23 million from Google. He pleaded guilty in 2019. The lesson applies to pharming too: a familiar name and a routine-looking request are not proof of legitimacy.

Both attacks exploit the same gap — the assumption that a familiar-looking page is the real one. The defenses below close that gap from several directions at once.

How can you spot pharming and phishing?

Phishing gives you clues; pharming gives you almost none. Use a checklist for both, and treat any single warning sign as a reason to stop and verify.

Spot the fake: a four-point check1. Read the domain, character by characteryourbank.com is not your-bank-secure.com or yourbank.co2. Check the certificate, not just the padlockclick the padlock and confirm the certificate names the real company3. Question unexpected login promptsa familiar site asking for details it never asked for is a red flag4. Verify out of band before paying or logging inuse a bookmark, or call the company on a number you already know
Four checks that catch most pharming and phishing pages. Illustration by Cysoro.
  • The domain is almost right. An extra letter, a hyphen, or .co instead of .com. Check the address bar, not the page design.
  • The certificate is wrong or missing. A pharming site usually cannot get a valid certificate for the real domain, so the browser warns you. Never click through a certificate warning to log in.
  • The site asks for something unusual. Your bank suddenly wants your full card number and PIN, or your email provider wants a one-time code on a page you reached from a search result.
  • Your password manager does not autofill. A password manager only fills credentials on the exact domain they were saved for. If it refuses, the site is not the real one — believe the manager, not the page.
  • The message creates urgency. That is a phishing sign: an account will be locked, a payment failed, act now. Slow down and verify through a channel you trust.

How do you protect against pharming?

Pharming is a technical attack, so most of its defenses are technical. They are also mostly one-time setup, which makes them good value.

  • Keep everything updated. Patch your operating system, browser and router firmware. The malware that enables hosts-file pharming usually arrives through an unpatched flaw or a malicious download.
  • Use a trusted DNS resolver. Use your ISP's resolver or a reputable public resolver with DNS-over-HTTPS, and avoid unknown or free resolvers. You can check what your DNS is doing with our free DNS lookup tool.
  • Change your router's default password. Routers with default admin passwords are the easiest pharming target of all. Our guide to securing your Wi-Fi walks through router hardening step by step.
  • Enable DNSSEC where available. DNSSEC adds cryptographic signatures to DNS answers, so a poisoned answer can be detected and rejected. Ask your DNS provider whether it validates DNSSEC.
  • Use a password manager and passkeys. A password manager will not autofill on a fake domain, which turns it into a pharming detector. Passkeys go further: they are bound to the real website, so a fake site cannot use them at all.
  • Run antivirus and keep it on. A full scan can find and remove the malware that edits your hosts file. Check that real-time protection is enabled, not just installed.

How do you protect against phishing?

Phishing is a human attack, so its defenses are part technical and part habit. CISA's joint phishing guidance recommends phishing-resistant MFA, email authentication and a verification rule for sensitive requests.

  • Use phishing-resistant MFA. Passkeys and security keys are bound to the real site. One-time codes and push approvals can be relayed by modern phishing kits.
  • Verify payment and login requests out of band. If a message asks for money or a password, contact the person or company through a number or channel you already know — never the one in the message.
  • Slow down on urgency. Pressure to act now is the single biggest warning sign in phishing. A real bank or supplier will wait while you verify.
  • Check the sender, not the display name. The display name can say anything; the actual address is what matters. Hit reply and look where your answer would go.
  • Report it. Use the report button in your email app, forward phishing emails to [email protected], and report financial losses to the FBI's IC3. Reporting protects the next victim.

For practice, try our free phishing quiz to test whether you can spot the fakes.

You can also read our phishing email examples to see the patterns in real messages.

What should you do if you fell for pharming or phishing?

Act within minutes: the faster you respond, the better the chance of stopping the loss. Speed matters more than embarrassment, and attackers count on victims staying quiet.

  1. If you entered a password: change it from a trusted device, sign out of all sessions, and check for new mail-forwarding rules and unknown MFA devices.
  2. If you entered card details: call your bank's fraud line immediately, ask for the card to be frozen, and watch statements for the next month.
  3. If you sent money: call your bank and ask for a recall, then file a report at ic3.gov.
  4. If your device may be infected: disconnect it from the network, run a full malware scan, and check the hosts file and DNS settings before trusting the device again.
  5. If your router may be compromised: reset it to factory settings, update its firmware, change the admin password, and set DNS to a trusted resolver.
  6. Tell the real company. Banks and large brands have abuse addresses on their websites, and your report helps them warn other customers.

The bottom line

Phishing tricks you into clicking; pharming redirects you without a click. Pharming is harder to spot, but phishing is far more common — so defend against both. Patch your software, secure your router, use trusted DNS, and let a password manager or passkey do the domain-checking for you.

When a site asks for something sensitive, pause and verify through a channel you already trust. That one habit stops most phishing and most pharming alike. You can check whether your own site's DNS and certificates are set up correctly with our free DNS lookup tool.

Frequently asked questions

What is pharming in simple terms?

Pharming is a scam that sends you to a fake website even when you type the real address. The attacker corrupts the system that translates domain names into IP addresses, or infects your device, so your browser lands on their copy of the site and steals the details you enter.

What is the main difference between pharming and phishing?

Phishing needs you to click something in a fake message. Pharming does not need a click at all: it redirects your traffic at the DNS level or through malware, so you can be sent to a fake site while typing the correct address yourself.

Is pharming more dangerous than phishing?

Pharming is harder to spot and can affect many people at once, which makes it dangerous, but phishing is far more common and causes far more reported losses. Both deserve the same defenses: patched software, trusted DNS, and verifying payment and login requests out of band.

Can pharming happen without malware on my computer?

Yes. DNS pharming corrupts a DNS server or router, so no malware on your own device is needed. That is why pharming can hit many people at once, and why securing your router and using a trusted DNS resolver matters.

How do I know if a website has been pharming-redirected?

Check the address bar carefully, look for a valid HTTPS padlock and certificate for the real domain, and be suspicious if a familiar site asks for details it never asked for, looks slightly different, or loads slowly. If in doubt, close the tab and open the site from a bookmark.

Does HTTPS protect against pharming?

Partly. A pharming site usually cannot present a valid certificate for the real domain, so your browser should warn you. But attackers can register look-alike domains with valid certificates, so HTTPS alone is not proof — always check the exact domain name.

How do I protect myself from pharming?

Keep your operating system, browser and router firmware updated, use a trusted DNS resolver, enable DNSSEC where available, use a password manager that will not autofill on a fake domain, and never enter payment details on a site that looks even slightly wrong.

What should I do if I think I was pharming-redirected?

Stop entering details, close the tab, run a full antivirus and malware scan, change the passwords you entered from a trusted device, check your bank statements, and report the fake site to the real company and, if money was lost, to the FBI's IC3 at ic3.gov.

Sources

  1. FDIC — Guidance on How Financial Institutions Can Protect Against Pharming Attacks
  2. FBI Internet Crime Complaint Center — 2025 IC3 Annual Report
  3. CISA — Phishing Guidance: Stopping the Attack Cycle at Phase One
  4. MITRE ATT&CK — Technique T1566: Phishing
  5. Norton — What is a pharming attack?
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against FDIC pharming guidance, the FBI IC3 2025 report, CISA phishing guidance and MITRE ATT&CK T1566.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free