itimpresa soluzioni informatiche
  • Il Gruppo
  • Chi Siamo
  • Servizi IT
  • Software
  • Cyber Security
  • Blog
  • Contatti

Pharming: Cos’è, Tipologie e Come prevenirlo

  • Home
  • Blog
  • Concetti di sicurezza informatica
  • Pharming: Cos’è, Tipologie e Come prevenirlo
Pharming: Cos’è, Tipologie e Come prevenirlo
Data di pubblicazione: 21 Dicembre 2023Autore: Alessandro Achilli

La sicurezza e la privacy online degli utenti sono costantemente a rischio. Una delle minacce più diffuse e insidiose nell’ambito della sicurezza informatica è il pharming: una tecnica impiegata per installare malware, rubare dati personali e danneggiare reti aziendali o private.

Ma cos’è il pharming? Scopriamo la differenza tra pharming e phishing e alcuni consigli per difendersi da questi attacchi.

Indice dei contenuti

  • Definizione di Pharming in informatica
  • Tipologie
    • DNS pharming
    • Router pharming
    • Hosts file pharming
    • Pharming locale
  • Pharming vs phishing
  • Come prevenire e difendersi dal pharming
  • Esempi

Definizione di Pharming in informatica

Il pharming è una pratica fraudolenta messa in atto dai cosiddetti pharmer. Durante un attacco di pharming, l’hacker reindirizza l’utente verso un sito web fraudolento. Tali siti fasulli vengono creati e utilizzati con il preciso intento di acquisire i dati riservati dell’utente (password, nome utente, informazioni relative alla carta di credito o al conto corrente). 

Un altro obiettivo della pratica del pharming è quello di installare malware sui dispositivi utilizzati dall’utente. Infine, tra gli obiettivi principali del pharmer rientra il furto dell’identità dell’utente, acquisendone le informazioni personali (nome, cognome, indirizzo, numero di previdenza sociale e altro).

In genere, i pharmer dirottano gli utenti che navigano su siti web finanziari, costruendo finti siti bancari, destinazioni di e-commerce e piattaforme di pagamento online. 

Il pharmer ha la capacità di ingannare il computer della vittima, compromettendo il traffico Internet a livello del DNS, ovvero il server che ha il compito di tradurre l’URL dei siti in indirizzi IP numerici. Il server DNS, una sorta di rubrica nel quale viene conservato ogni URL e relativo indirizzo IP numerico, può essere modificato dal pharmer affinché il browser non sia più in grado di riconoscere l’indirizzo malevolo.

Tipologie

Sostanzialmente, il pharming può assumere due diverse forme. Da un lato l’hacker utilizza strumenti informatici malevoli per installare malware su pc e dispositivi. In questo caso, è il virus stesso a reindirizzare l’utente sul sito web fasullo, molto spesso graficamente simile al sito legittimo. 

Dall’altro lato, l’hacker può scegliere di infettare l’intero server DNS, reindirizzando tutti gli utenti che desiderano visitare quel sito legittimo verso il sito fraudolento. 

Valutiamo nel dettaglio le tipologie di attacco nei seguenti paragrafi. 

DNS pharming

Il DNS pharming si verifica nel momento in cui il pharmer riesce a compromettere il sistema DNS, associando all’URL legittimo un indirizzo IP malevolo. L’attaccante, quindi, può dirottare il traffico su siti web fasulli che incorporano un codice malevolo nei loro script. Il DNS poisoning rappresenta una tattica utilizzata dall’attaccante per contaminare le risoluzioni DNS, inserendo false informazioni nella cache del sistema. Il pharmer può manipolare il server DNS impiegando le vulnerabilità nella sicurezza del server stesso, o attraverso sofisticati attacchi di spoofing. 

Router pharming

Una seconda tipologia di attacco pharming coinvolge le impostazioni del router: tali impostazioni vengono modificate con lo scopo di indirizzare il traffico verso siti web malevoli. In questo caso, l’hacker sfrutta le vulnerabilità del firmware del router oppure le password deboli per ottenere l’accesso non autorizzato e modificare, di conseguenza, le impostazioni di rete. Questa tipologia di pharming può avere un impatto importante, poiché si ripercuote su tutti i dispositivi collegati alla rete infetta.

Hosts file pharming

Tale approccio coinvolge i file hosts del sistema operativo. Trattasi di una tipologia più locale di pharming, in quanto gli attaccanti modificano il file di configurazione per reindirizzare l’utente verso il server malevolo. Una tipologia di pharming particolarmente insidiosa, in quanto agisce a livello di sistema operativo, aggirando le impostazioni DNS tradizionali. 

Pharming locale

Questo genere di attacco a livello locale viene condotto mediante la compromissione di un dispositivo interno alla rete. Possono ritrovarsi sotto attacco numerosi dispositivi collegati: smart TV, stampanti o strumenti IoT. 

Pharming vs phishing

Nonostante gli scopi siano i medesimi, ovvero trafugare dati e informazioni personali, il pharming e il phishing si differenziano nel metodo. 

Il phishing si serve prettamente di e-mail o comunicazioni di altro genere, apparentemente ufficiali, impiegate per spingere la vittima a visitare un sito web fraudolento. Il phishing coinvolge, generalmente, sofisticate tecniche di social engineering, impiegando un’esca (il termine phishing, infatti, ricorda esattamente l’atto di “pescare” quando la vittima abbocca all’amo).

Nel pharming, invece, non esiste nessuna esca: la vittima designata viene indirizzata direttamente sul sito web fasullo, senza il suo consenso e senza che essa ne sia a conoscenza. 

Come prevenire e difendersi dal pharming

Pharming: prevenirlo controllando l'url

Il pharming è una tecnica particolarmente subdola e infima: come fare, quindi, a prevenire un attacco pharming o a difendersi adeguatamente? È fondamentale seguire le seguenti best practice:

  • scegliere un provider di servizi Internet estremamente affidabile, in grado di filtrare in automatico i reindirizzamenti sospetti;
  • analizzare gli URL e assicurarsi che non contengano errori grammaticali. I pharmer, infatti, spesso introducono minimi errori ortografici per mascherare i siti malevoli;
  • accedere sempre e solo a URL che iniziano con HTTPS. HTTPS, infatti, rappresenta il traffico criptato, in grado di garantire massima protezione ai dati degli utenti;
  • navigare in Internet usando buon senso, evitando di accedere a siti web palesemente sospetti;
  • valutare l’aspetto del sito prima di inserire dati o effettuare transazioni. Analizzare il sito è essenziale per comprendere se si tratta di una versione creata da un pharmer o di un sito legittimo. Un metodo utile è quello di controllare l’alberatura del sito e la presenza dell’informativa sulla privacy e dei termini di servizio;
  • evitare di scaricare file provenienti da mittenti sconosciuti, ed evitare di aprire collegamenti sospetti. Il pharmer, infatti, spesso tenta di inviare e installare un malware sul dispositivo per effettuare la truffa più facilmente;
  • installare un buon software antivirus e ascoltarne i consigli, soprattutto quando suggerisce di non navigare su un determinato sito web;
  • evitare di effettuare acquisti quando le offerte sono troppo allettanti. Non è tutto oro quel che luccica: è bene controllare i prezzi dei prodotti su altri siti prima di procedere, evitando così di incappare in un probabile attacco pharming.

Esempi

Il pharming, a differenza del phishing attack, si declina in scenari estremamente concreti, sofisticati e complessi. Scopriamo alcuni esempi di attacchi pharming per comprenderne meglio le dinamiche e le possibili conseguenze:

  • attacco su banche online. Il pharmer dirotta gli utenti su falsi siti web, i quali imitano i siti legittimi delle banche online. L’utente, inserendo le proprie credenziali bancarie, inconsapevolmente cede queste informazioni al pharmer, che può raccogliere tali dati e accedere al conto della vittima;
  • attacco su un e-commerce. In questo caso, il pharmer reindirizza l’utente da una piattaforma e-commerce a un sito web contraffatto. Quando l’utente effettua una transazione finanziaria, cede involontariamente le informazioni di pagamento e può essere soggetto a una truffa o una frode finanziaria;
  • raccolta di dati personali. Il cyber criminale, reindirizzando l’utente su siti malevoli, raccoglie i dati sensibili della vittima designata (nome, cognome, indirizzo, numero di telefono) e li utilizza per creare account falsi, vendere le informazioni nel dark web oppure per effettuare altre truffe;
  • falsi siti di servizi online. In questo caso il pharmer crea siti falsi di servizi come la posta elettronica o i social media. L’utente che finisce su tali siti, senza saperlo svelerà i propri dati personali, le password e le credenziali d’accesso al criminale.
  • Tipi di attacchi di ingegneria sociale
Ultime News Concetti di sicurezza informatica
  • Come proteggere la tua rete aziendale da attacchi ransomware nel 2025
    Come proteggere la tua rete aziendale da attacchi ransomware nel 2025
    5 Aprile 2025
  • Il futuro della cybersecurity aziendale: la sicurezza Zero Trust
    Il futuro della cybersecurity aziendale: la sicurezza Zero Trust
    14 Marzo 2025
  • Cos’è e come funziona il cross site scripting: definizione ed esempi
    Cos’è e come funziona il cross site scripting: definizione ed esempi
    21 Gennaio 2025
  • Offensive security: definizione e approfondimenti sulla sicurezza offensiva
    Offensive security: definizione e approfondimenti sulla sicurezza offensiva
    17 Dicembre 2024
  • Cosa sapere per affrontare gli attacchi da SQL Injection
    Cosa sapere per affrontare gli attacchi da SQL Injection
    2 Dicembre 2024
  • Cos’è e come difendersi dallo sneaky phishing
    Cos’è e come difendersi dallo sneaky phishing
    20 Novembre 2024
  • Cos’è l’SSO, il Single Sign-On per accedere alle risorse aziendali
    Cos’è l’SSO, il Single Sign-On per accedere alle risorse aziendali
    15 Ottobre 2024
  • Come prevenire gli attacchi ransomware
    Come prevenire gli attacchi ransomware
    25 Maggio 2024
  • Ransomware: gestione avanzata, tendenze e futuro
    Ransomware: gestione avanzata, tendenze e futuro
    16 Maggio 2024
  • Strategie avanzate contro il malware
    Strategie avanzate contro il malware
    2 Maggio 2024
Tipi di attacchi di ingegneria sociale
  • Phishing: cos’è e come prevenirlo
    Phishing: cos’è e come prevenirlo
    23 Ottobre 2023
  • Differenza tra phishing, smishing e vishing
    Differenza tra phishing, smishing e vishing
    10 Agosto 2023
  • Spear phishing: cos’è, come funziona l’attacco e come proteggersi
    Spear phishing: cos’è, come funziona l’attacco e come proteggersi
    20 Aprile 2023
  • Smishing: cos’è e come difendersi da questi attacchi informatici
    Smishing: cos’è e come difendersi da questi attacchi informatici
    20 Gennaio 2023
  • Vishing: la truffa che ti chiama al telefono
    Vishing: la truffa che ti chiama al telefono
    15 Luglio 2021

Parla con un Nostro Esperto

Siamo disponibili per ogni chiarimento e problema, non esitare a contattarci
Contattaci

Hanno scelto IT Impresa

clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
clienti
itimpresa soluzioni informatiche
itimpresa soluzioni informatiche itimpresa soluzioni informatiche

IT Impresa progetta, realizza e gestisce soluzioni informatiche per aziende, offrendo consulenza IT, servizi IT, Cyber Security e consulenza software con eccellenza, innovazione e affidabilità.

Contatti
  • Cremona Via Gazzoletto 4C

    Monza Via Amati 76

    Torino Via Ventimiglia 16/1

    Fidenza Via San Michele 25/A

  • info@it-impresa.it

  • +39 0372 838068

  • Lavora con noi

  • Apri Ticket

  • Scarica TeamViewer
Links

Servizi IT

Infrastrutture Iperconvergenti

Gestione Database

Cyber Security

Gestione Cloud

Azienda Informatica Cremona

Azienda Informatica Monza

Azienda Informatica Parma

Azienda Informatica Torino

Restiamo in contatto

Iscriviti alla nostra newsletter e rimani informato.



    Risorse
    • Cloud Computing: tutto quello che c’è da sapere
      Cloud Computing: tutto quello che c’è da sapere
    • NIS2, cosa significa e come inserire la direttiva in azienda
      NIS2, cosa significa e come inserire la direttiva in azienda
    • Guida SQL Server, tutto quello che devi sapere
      Guida SQL Server, tutto quello che devi sapere
    • Cos’è l’Iperconvergenza, come funziona e differenze
      Cos’è l’Iperconvergenza, come funziona e differenze
    • Cos’è un Ransomware? Ecco come attacca e come puoi proteggerti
      Cos’è un Ransomware? Ecco come attacca e come puoi proteggerti
    • Cos’è un server, come funziona, tipologie
      Cos’è un server, come funziona, tipologie
    • Penetration Test: Cos’è, Tipologie e perchè è così importante
      Penetration Test: Cos’è, Tipologie e perchè è così importante
    • Firewall: Cos’è, come funziona e perché è indispensabile per l’azienda
      Firewall: Cos’è, come funziona e perché è indispensabile per l’azienda
    • SIEM: ecco cos’è il Security Information and Event Management
      SIEM: ecco cos’è il Security Information and Event Management
    • Intelligenza Artificiale (AI): Cos’è, Come funziona, Esempi e Futuro
      Intelligenza Artificiale (AI): Cos’è, Come funziona, Esempi e Futuro
    • Phishing: cos’è e come prevenirlo
      Phishing: cos’è e come prevenirlo
    • Security Operation Center (SOC): come gestire con efficacia la sicurezza IT
      Security Operation Center (SOC): come gestire con efficacia la sicurezza IT
    • Disaster Recovery: Cos’è, Come funziona, Tipologie, Vantaggi
      Disaster Recovery: Cos’è, Come funziona, Tipologie, Vantaggi
    • Il futuro della cybersecurity aziendale: la sicurezza Zero Trust
      Il futuro della cybersecurity aziendale: la sicurezza Zero Trust
    • Sviluppo software personalizzato: quali sono i vantaggi
      Sviluppo software personalizzato: quali sono i vantaggi
    • GDPR: cosa prevede e come adeguarsi alla normativa sulla privacy
      GDPR: cosa prevede e come adeguarsi alla normativa sulla privacy

    © Copyright 2025 IT Impresa | P.IVA 01515690194 | Capitale sociale € 190.000,00 i.v. | REA CR 178399 | pec: itimpresa@legalmail.it | note legali | privacy policy

    Utilizziamo i cookie per garantire la migliore esperienza sul nostro sito. Puoi accettare tutti i cookie oppure personalizzarli. Leggi tutto
    Personalizza CookieAccetta Tutti
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Sempre abilitato
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurataDescrizione
    _GRECAPTCHA5 months 27 daysThis cookie is set by the Google recaptcha service to identify bots to protect the website against malicious spam attacks.
    _GRECAPTCHA5 months 27 daysThis cookie is set by the Google recaptcha service to identify bots to protect the website against malicious spam attacks.
    cookielawinfo-checkbox-advertisement1 yearSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
    cookielawinfo-checkbox-advertisement1 yearSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    CookieLawInfoConsent1 yearRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
    CookieLawInfoConsent1 yearRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    CookieDurataDescrizione
    bcookie2 yearsLinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser ID.
    bscookie2 yearsLinkedIn sets this cookie to store performed actions on the website.
    langsessionLinkedIn sets this cookie to remember a user's language setting.
    lidc1 dayLinkedIn sets the lidc cookie to facilitate data center selection.
    UserMatchHistory1 monthLinkedIn sets this cookie for LinkedIn Ads ID syncing.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    CookieDurataDescrizione
    __kla_id2 yearsCookie set to track when someone clicks through a Klaviyo email to a website.
    SRM_B1 year 24 daysUsed by Microsoft Advertising as a unique ID for visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    CookieDurataDescrizione
    _ga2 yearsThe _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
    _ga2 yearsThe _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
    _gat_UA-137720848-11 minuteA variation of the _gat cookie set by Google Analytics and Google Tag Manager to allow website owners to track visitor behaviour and measure site performance. The pattern element in the name contains the unique identity number of the account or website it relates to.
    _gat_UA-35242002-11 minuteA variation of the _gat cookie set by Google Analytics and Google Tag Manager to allow website owners to track visitor behaviour and measure site performance. The pattern element in the name contains the unique identity number of the account or website it relates to.
    _gcl_au3 monthsProvided by Google Tag Manager to experiment advertisement efficiency of websites using their services.
    _gid1 dayInstalled by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
    _gid1 dayInstalled by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
    _hjAbsoluteSessionInProgress30 minutesHotjar sets this cookie to detect the first pageview session of a user. This is a True/False flag set by the cookie.
    _hjFirstSeen30 minutesHotjar sets this cookie to identify a new user’s first session. It stores a true/false value, indicating whether it was the first time Hotjar saw this user.
    _hjIncludedInPageviewSample2 minutesHotjar sets this cookie to know whether a user is included in the data sampling defined by the site's pageview limit.
    _hjIncludedInSessionSample2 minutesHotjar sets this cookie to know whether a user is included in the data sampling defined by the site's daily session limit.
    _hjTLDTestsessionTo determine the most generic cookie path that has to be used instead of the page hostname, Hotjar sets the _hjTLDTest cookie to store different URL substring alternatives until it fails.
    ajs_anonymous_id1 yearThis cookie is set by Segment to count the number of people who visit a certain site by tracking if they have visited before.
    CONSENT2 yearsYouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    CookieDurataDescrizione
    _fbp3 monthsThis cookie is set by Facebook to display advertisements when either on Facebook or on a digital platform powered by Facebook advertising, after visiting the website.
    _fbp3 monthsThis cookie is set by Facebook to display advertisements when either on Facebook or on a digital platform powered by Facebook advertising, after visiting the website.
    ANONCHK10 minutesThe ANONCHK cookie, set by Bing, is used to store a user's session ID and also verify the clicks from ads on the Bing search engine. The cookie helps in reporting and personalization as well.
    fr3 monthsFacebook sets this cookie to show relevant advertisements to users by tracking user behaviour across the web, on sites that have Facebook pixel or Facebook social plugin.
    fr3 monthsFacebook sets this cookie to show relevant advertisements to users by tracking user behaviour across the web, on sites that have Facebook pixel or Facebook social plugin.
    MUID1 year 24 daysBing sets this cookie to recognize unique web browsers visiting Microsoft sites. This cookie is used for advertising, site analytics, and other operations.
    test_cookie15 minutesThe test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
    VISITOR_INFO1_LIVE5 months 27 daysA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
    YSCsessionYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
    yt-remote-connected-devicesneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
    yt-remote-device-idneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
    yt.innertube::nextIdneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
    yt.innertube::requestsneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    CookieDurataDescrizione
    __awc_tld_test__sessionNo description
    _clck1 yearNo description
    _clsk1 dayNo description
    _hjSession_195624030 minutesNo description
    _hjSessionUser_19562401 yearNo description
    AnalyticsSyncHistory1 monthNo description
    CLID1 yearNo description
    last_pys_landing_page7 daysNo description
    last_pysTrafficSource7 daysNo description
    li_gc2 yearsNo description
    pys_first_visit7 daysNo description
    pys_landing_page7 daysNo description
    pys_session_limit1 hourNo description
    pys_start_sessionsessionNo description
    pysTrafficSource7 daysNo description
    SMsessionNo description available.
    ACCETTA E SALVA
    Powered by CookieYes Logo