• info@it-impresa.it

  • +39 0372 838068

  • Lavora con noi

  • Apri Ticket

itimpresa soluzioni informatiche
  • Il Gruppo
  • Chi Siamo
  • Servizi IT
  • Software
  • Cyber Security
  • Blog
    • Data Center
    • Cyber Security
    • Analytics
    • Approfondimenti
    • Casi di Successo
  • Contatti

Cos’è lo sniffing e come difendersi

  • Home
  • Blog
  • Cyber Security
  • Cos’è lo sniffing e come difendersi
Cos’è lo sniffing e come difendersi
Data di pubblicazione: 10 Marzo 2021

Lo sniffing è una pratica molto utile per aiutarci a difendere la rete, ma che può diventare pericolosa se usata con cattive intenzioni e per scopi sbagliati.

Nato infatti come sistema per garantire cyber security, nel tempo ha assunto un ruolo diverso rappresentando oggi una minaccia seria per i nostri dati.

Indice dei contenuti

  • Cosa significa sniffing
    • Sniffing attivo vs. sniffing passivo
    • Tutte le tipologie di sniffer
  • Come funziona lo sniffing
  • Come proteggersi
  • Cosa fare in caso di sniffing

Cosa significa sniffing

Lo sniffing è l’attività di intercettazione dei dati in tempo reale tramite software specifici chiamati sniffer.
Serve per monitorare il traffico di rete e per controllare che tutto funzioni correttamente.

Gli sniffer possono quindi catturare pacchetti di rete, esaminarli e registrarli per analisi future.
Nelle mani sbagliate, però, si rivelano insidiosi strumenti capaci di insinuarsi in rete altrui per rubare dati e informazioni preziose e spiare le attività di rete.
Si possono infatti installare sulla LAN senza bisogno della presenza di un host e accedere a una rete come se ne facesse parte.

Per questo è molto importante dotarsi di tutte le precauzioni per prevenire questo tipo di violazione ed evitare che informazioni riservate – come password o dati di accesso dei conti correnti – vengano carpite da estranei.

Come riescono gli hacker ad inserirsi in una rete?
Sfruttando i punti di accesso più vulnerabili e connessioni WiFi poco sicure, come quelle disponibili in luoghi pubblici come bar o negozi.

Sniffing attivo vs. sniffing passivo

Esistono due diversi tipi di sniffing, che dipendono principalmente dal tipo di rete usata.

  1. Sniffing attivo: l’hacker si introduce nella rete come se ne facesse parte, acquisendo quindi l’indirizzo IP di un utente e superando tutti i blocchi applicati dagli switch. Si agisce attivamente sui dati modificandoli oppure alterando il flusso con i quali vengono trasmessi.
    Con questo tipo di violazione il malintenzionato può fingersi un’altra persona per ottenere informazioni e privilegi, può catturare e ritrasmettere dati, modificare dei messaggi o dei dati di accesso o procedere con un attacco di tipo DDoS, bloccando o sovraccaricando la rete.

  2. Sniffing passivo: si intercettano i dati che transitano nel traffico di una rete senza agire sulle risorse. È un attacco più difficile da rilevare e punta ad osservare e assorbire tutto il traffico presente, includendo anche quello non pertinente e ignorato dal dispositivo che lo riceve. Con questo tipo di violazione l’hacker può intercettare un messaggio – come una mail, una telefonata o una cartella di documenti riservati – oppure analizzare il traffico e dati mascherati con sistemi di difesa.

Tutte le tipologie di sniffer

Lo sniffing nasce innanzitutto come attività per monitorare la rete, per questo gli sniffer sono facilmente reperibili online, sia gratuiti che a pagamento.

Possono essere software o hardware e si dividono in due categorie:

  • sniffer commerciali destinati agli amministratori di rete e a chi provvede alla manutenzione
  • sniffer più specializzati che offrono molte più funzionalità

Alcuni tool sono prettamente orientati verso la risoluzione dei problemi di rete e altri usi legittimi, come Ethereal, Wireshark e CloudShark.
Soluzioni come Sniffit, BUTTsniffer e Ettercap, invece, sono realizzati per attività di hacking e altri possibili scopi criminali.

Ci sono infine degli sniffer che si limitano a osservare le intestazioni dei pacchetti, come tcpdump e snoop.

Come funziona lo sniffing

Questo tipo di attività segue un processo ben preciso basato su un algoritmo.

Innanzitutto si sceglie, da un elenco di sistema, un’interfaccia di rete, che viene poi settata in modalità monitor.
Da qui si procede preparandosi a intercettare i pacchetti e impostando la capacità del buffer di raccolta.

Si decide a quale porzione di traffico si è interessati e si applica il filtro corretto per raccogliere solo i pacchetti desiderati e nella quantità stabilita.
Si stabiliscono le task da eseguire su ogni pacchetto scegliendo come sfruttare i dati intercettati e infine si stilano dei report: si memorizza così l’attività di analisi e si generano utili file di log.

Lo sniffing sfrutta reti poco sicure, come i WiFi pubblici, per intercettare e spiare i nsotri dati.

Come proteggersi

Come abbiamo già anticipato, evitare le reti WiFi poco protette è il primo passo per non rischiare di diventare bersaglio di sniffing.
È molto importante anche dotarsi di reti private virtuali (VPN) che criptano la connessione nascondendo agli hacker tutti i dati inviati.

Poi bisogna navigare sul Web in sicurezza e verificare che le pagine esplorate, soprattutto quando si fanno acquisti online o si inseriscono informazioni riservate, siano sempre HTTPS o contrassegnate dal simbolo del lucchetto.

Si deve stare attenti anche al social engineering e mantenersi vigili per riconoscere tentativi di phishing o truffa.

Dal punto di vista tecnico, invece, ci sono diversi accorgimenti che aiutano a prevenire gli sniffing e altri tipi di violazioni:

  • Dotarsi di un antivirus efficace che rilevi ogni potenziale minaccia presente nel sistema.
  • Affidarsi ai Firewall, capaci di filtrare tutto il traffico in entrata e in uscita da una rete, analizzando tutti i pacchetti di dati in transito.
  • Eseguire regolarmente dei Vulnerability Assessment per verificare che le soluzioni adottate siano adeguate e funzionino.
  • Compiere dei Penetration Test per valutare se ci sono falle nel sistema e quanto possono danneggiare l’attività

Cosa fare in caso di sniffing

Accorgersi di essere vittima di sniffing è sempre molto difficile, perché è un tipo di attacco che, per natura, rimane nell’ombra senza rivelarsi.

Ci sono però degli strumenti a cui si può ricorrere: per i meno esperti sono disponibili dei software anti-sniffer specifici, per chi invece ha più competenze specifiche ci sono soluzioni piuttosto efficaci.
Una tecnica utile per capire se si sta subendo una violazione – per esempio – è utilizzare uno sniffer in prima persona e monitorare il traffico DNS: in questo modo si può esaminare e rilevare ogni attività ambigua.

Se effettivamente si individua uno sniffer, bisogna procedere eliminando il software dannoso.
Il modo migliore per farlo è controllando manualmente le app presenti nel dispositivo ed eliminando tutti i file – e le cartelle associate – che non si ricorda di avere installato.
Nel caso fossero impossibili da disinstallare, si possono utilizzare antimalware specifici.

Anche i software per la protezione di rete possono servire per individuare attività di sniffing e altri problemi.

Contattaci

    Ultime News Cyber Security
    • Attack Surface: cos’è e come ridurre la superficie di attacco
      Attack Surface: cos’è e come ridurre la superficie di attacco
      25 Settembre 2023
    • Crittografia simmetrica e asimmetrica: significato e differenze
      Crittografia simmetrica e asimmetrica: significato e differenze
      18 Settembre 2023
    • Dark web: cos’è, come accedere e cosa si trova
      Dark web: cos’è, come accedere e cosa si trova
      1 Settembre 2023
    • Differenza tra phishing, smishing e vishing
      Differenza tra phishing, smishing e vishing
      10 Agosto 2023
    • Social engineering: cos’è, tipi di attacchi e come proteggersi
      Social engineering: cos’è, tipi di attacchi e come proteggersi
      7 Agosto 2023
    • Phishing attack: cos’è e come prevenire gli attacchi di phishing
      Phishing attack: cos’è e come prevenire gli attacchi di phishing
      23 Giugno 2023
    • Ethical hacker: chi è, competenze e come diventarlo
      Ethical hacker: chi è, competenze e come diventarlo
      4 Giugno 2023
    • Incident Response: 7 fasi per minimizzare i danni più velocemente
      Incident Response: 7 fasi per minimizzare i danni più velocemente
      31 Maggio 2023
    • Deep web: cos’è, come entrarci e i suoi pericoli
      Deep web: cos’è, come entrarci e i suoi pericoli
      30 Maggio 2023
    • Insider Threats: identifica e contrasta le minacce interne
      Insider Threats: identifica e contrasta le minacce interne
      29 Maggio 2023

    Hanno scelto IT Impresa

    clienti
    clienti
    clienti
    clienti
    clienti
    clienti
    itimpresa soluzioni informatiche

    IT Impresa è una PMI Innovativa.
    IT Impresa progetta, realizza e gestisce soluzioni informatiche per le aziende che vogliono mettere la tecnologia al servizio del loro successo. Consulenza informatica, servizi IT, Cyber Security, consulenza software, abbinate a eccellenza, innovazione e affidabilità.

    Contatti
    • Cremona Via Gazzoletto 4C, 26100

      Monza Via Amati 76, 20900

      Torino Via Ventimiglia 16/1, 10126

      Fidenza Via San Michele 25/A, 43036

    • info@it-impresa.it

    • +39 0372 838068

    • Lavora con noi

    • Apri Ticket

    • Scarica TeamViewer
    Links

    Servizi IT

    Iperconvergenza

    Gestione Database

    Cyber Security

    Gestione Cloud

    © Copyright 2023 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