• 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

One-time password o OTP: la password attenta alla sicurezza

  • Home
  • Blog
  • Cyber Security
  • One-time password o OTP: la password attenta alla sicurezza
One-time password o OTP: la password attenta alla sicurezza
Data di pubblicazione: 23 Novembre 2021

Le one-time password sono strumenti molto efficaci per aumentare il livello di sicurezza in rete, utili per contrastare gli attacchi e le intrusioni ormai sempre più frequenti.

Vediamo quindi in questo articolo cosa sono e come funzionano.

Indice dei contenuti

  • Cos’è una one-time password
  • Come funzionano le OTP?
    • Tutte le tipologie di one-time password
  • Quali sono i principali vantaggi?

Cos’è una one-time password

Il termine OTP, o one-time password, significa letteralmente password usa e getta e indica infatti delle password utilizzabili una volta sola per effettuare un accesso.

Perché dare vita a password utilizzabili una volta sola?
Le password usate regolarmente hanno molte più probabilità di essere decodificate e di finire nelle mani sbagliate, mentre con questo tipo di password, volutamente più effimere, i rischi si abbassano notevolmente.

Affidandosi a una OTP, quindi, ogni volta che si vuole eseguire una accesso, si ottiene un codice alfanumerico generato da zero che perde la propria validità già a partire dall’accesso successivo.
Per rendere la procedura ancora più sicura, le one-time password sono spesso utilizzate in un’autenticazione a due fattori, dove nel primo passaggio è necessario inserire i propri dati e la propria password, mentre in quello successivo si inserisce un codice dinamico generato in maniera automatica.

Queste password sono quindi uno strumento utilissimo, nonché molto facile da usare, con cui proteggere i propri dati sensibili, salvaguardare la privacy e navigare in rete senza temere rischi.

Come funzionano le OTP?

Perché una one-time password funzioni, è necessario che sia l’utente che ne fa uso sia il sistema in cui viene inserita conoscano questa password.

I modi in cui questo avviene sono due:

  1. Elenco di password: in questo caso le password usa e getta vengono selezionate da un elenco prestabilito contenente numerose password. Tutte le combinazioni presenti nella lista sono conosciute sia dall’utente che dal sistema e se l’elenco va perso c’è il rischio concreto che un malintenzionato o un utente non autorizzato abbia accesso alle OTP.
    Quando si seleziona una password da un elenco, questa va cancellata, poiché non più riutilizzabile per accessi futuri.
    Questa modalità di one-time password è forse la meno sicura e per questo è utilizzata sempre meno da fornitori e utenti.
  2. Password generate dinamicamente: in questa modalità le password vengono create in maniera automatica da appositi strumenti hardware che possono presentarsi sotto diverse forme. La più comune è forse il piccolo dispositivo a portachiavi consegnato dalle banche agli utenti che vogliono accedere ai propri servizi online.
    Questi apparecchi sono spessi chiamati token OTP e sono dotati di un pulsante che, se premuto, genera una one-time password che appare sul display apposito.
    La password ottenuta deve poi essere inserita associata ad altri dati, PIN specifici o ID utente.
    Le OTP così generate sono le più sicure e oggi più utilizzate nei settori più delicati e a rischio.

Una one-time password dinamica è solitamente generata da un token dotato di pulsante e display.

Tutte le tipologie di one-time password

Approfondendo ancora meglio le diverse tipologie di one-time password, è utile sapere che le password generate dinamicamente sono a loro volta suddivise in altre categorie.
I sottogruppi sono nello specifico tre e dipendono da come si comporta lo speciale algoritmo che genera l’OTP.

Nella prima categoria troviamo le password basate sul tempo, create da un client – ossia un generatore di password – e da un server.
Client e server usano, in maniera abbinata, lo stesso algoritmo e l’OTP è quindi conosciuta da entrambi.
Questa particolare password si chiama time-base one-time password, o TOTP, ed è valida solo per un periodo di tempo limitato che va di solito da uno a quindici minuti.

Nel secondo gruppo ci sono invece le password basate su un evento, ottenute in seguito al compiersi di un’azione: l’esempio più classico è premere il pulsante di un token.
Anche in questo caso l’algoritmo usato da client e server è lo stesso e la password è calcolata a partire dell’ultima password utilizzata e poi sincronizzata con il server.

Infine ci sono le password generate su richiesta del server, ottenute da una richiesta – o challenge – inviata dal server al client.
Il client che riceve l’input deve esaminarne il contenuto, calcolare una OTP e rispondere inviando una response.
Dato che il server è a conoscenza dell’algoritmo e del valore prestabilito, potrà verificare la password così generata.

Quali sono i principali vantaggi?

Perché è un vantaggio usare una one-time password al posto di una regolare password?

Innanzitutto bisogna considerare quanto siano pericolose e frequenti oggi le minacce online: gli attacchi informatici sono ormai all’ordine del giorno e a diventarne vittima non sono solo i grandi nomi del business, ma anche piccole aziende e privati.

Per questo è importante ridurre al minimo i rischi ed è fondamentale partire proprio dalla password: quante volte capita di dimenticarla? Quante volte capita di scriverla su un post-it o un bigliettino lasciato poi incustodito?
Ogni piccola dimenticanza è una pericolosa opportunità per i malintenzionati che possono così facilmente accedere a informazioni personali e dati sensibili.
Ma con le OTP il rischio che una password venga sottratta si riduce drasticamente, rendendo sicure le operazioni eseguite online.

L’alternativa sarebbe modificare con frequenza la propria password creando però dei disagi e rischiando che l’utente finisca per dimenticarsene.

Una one-time password è quindi una soluzione efficace e soprattutto pratica, oltre a essere quasi indecifrabile e impossibile da trafugare.

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