All this happens without you receiving suspicious emails or misleading links.
Welcome to the world of pharming, a silent and dangerous cyber attack that is threatening digital security.
In this article, we will explain what pharming is, how it works, why you should be concerned and, most importantly, how you can protect yourself from it.
What is pharming?
Pharming is a type of cyber attack designed to redirect you to a fake website even when you type the address correctly in the browser.
It is an evolution of phishing, more sophisticated, because it does not require you to click on a fake link sent by mail.
The attacker manipulates the domain name resolution (DNS) process or infects your device so that you are automatically redirected to the fraudulent site.
The term "pharming" comes from the combination of the words phishing and farming, referring to a massive "seeding" of victims through technological manipulation.
How does pharming work?
Pharming can be carried out in two ways:
- Manipulation of the hosts file on your device:
Your device has an internal file called "hosts" that acts as a mapping between web addresses and IP addresses.
Attackers can infect your computer with malware and modify this file, so that when you type the correct address of a site (for example, http://www.bancoseguro.com), your browser will take you to a different IP: the one of the fake site.
- DNS cache poisoning:
This attack is more dangerous because it affects DNS servers, which act as a telephone directory for the Internet, translating web addresses to their respective IPs. If an attacker manages to compromise a DNS server, all users trying to visit a legitimate site from that server will be redirected to the fraudulent version.
Once on the fake site, attackers can steal your credentials, banking data or even install malware on your device.
Why is pharming so dangerous?
Pharming is particularly dangerous for several reasons:
- Difficult to detect: There are no visible warning signs. You can type in the correct address and still end up on the fake site.
- Massive impact: A single attack on a DNS server can affect thousands or even millions of users at the same time.
- Financial riskThe main targets are usually banks, payment platforms and e-commerce sites. Losing access to your financial accounts is one of the most common consequences.
- Exploitation of trust: Since the fake site is often identical to the original, many people do not suspect anything until it is too late.
How can you protect yourself from pharming?
Although pharming is a sophisticated attack, there are several steps you can take to protect yourself:
Keep your operating system and software up to date: The updates include security patches that close vulnerabilities exploited by attackers.
Use a reliable antivirus: A good antivirus can detect and block attempts to manipulate the hosts file and other suspicious behavior.
Configure secure DNS servers: Change your Internet provider's default DNS servers to more secure options, such as Google DNS (8.8.8.8.8) or Cloudflare (1.1.1.1.1), which have additional protection.
Verify SSL certificates: Before entering sensitive information, make sure that the site has a padlock and an address that begins with "https://”. You can also click on the padlock to verify the certificate.
Avoid unprotected public Wi-Fi networks: These networks may be vulnerable to DNS poisoning attacks.
Enables two-step authentication: Although it does not prevent pharming, it is an extra layer that protects your accounts if your credentials are stolen.
Difference between phishing and pharming
| Appearance | Phishing | Pharming |
| Method of attack | Sends false emails or messages to deceive. | It automatically redirects the user to fake sites. |
| User interaction | Requires the user to click on a link. | It does not require direct action by the user. |
| Difficulty of detection | It can be detected if suspicious links are identified. | Difficult to detect because it manipulates navigation. |
| Scale of the attack | Individual or for small groups. | Massive, it can affect thousands or millions at a time. |
Real cases of pharming vulnerabilities
Bank in Brazil (2016): A massive pharming attack redirected thousands of bank customers to a fake site, stealing login credentials and financial data. The financial impact was enormous, affecting both users and the bank's reputation.
Pharmaceuticals in the U.S. (2018): A DNS poisoning attack allowed hackers to redirect medication orders to a fraudulent website, compromising patient health information and causing financial loss.
European University (2021): The attackers redirected students and staff to a replica of the portal to access their academic services, resulting in the massive theft of personal data.
Pharming protection success stories
Fintech company (2020): It implemented private DNS servers and strengthened two-step authentication, preventing a targeted attack on its portal from affecting more than 50,000 customers.
Global E-commerce (2019): After suffering a pharming attempt, they implemented constant DNS monitoring and advanced SSL certificates. Since then, no incidents have been reported.
Asian Bank (2022): They strengthened their DNS servers and trained users to detect irregularities on websites. The result was a significant reduction in successful pharming attempts.
Final summary
Pharming is a dangerous and sophisticated attack that can affect you even if you take basic precautions. Understanding how it works, why it is so dangerous and how you can protect yourself is key to avoiding becoming a victim.
Whether you're a home user or work in a business, adopting proper cybersecurity practices can make all the difference. From keeping your devices up to date to always verifying SSL certificates, every action counts.




