Windows 10 e blocco di account di dominio

I computer Windows 10 joinati a dominio possono causare blocchi regolari degli account utente nel caso in cui Windows 10 non sia aggiornato con il Cumulative Update del 13 ottobre 2015 (KB3097617) o successivi.

Ho verificato questo comportamento in una Active Directory basata su Domain Controller WS2008 R2 con livello funzionale di Dominio Windows Server 2008 R2 con client Windows 10 Enterprise a 64 Bit, ma leggendo vari interventi su post e forum relativi a questo issue non pare correlato alla versione del sistema operativo dei Domain Controller o alla versione del livello funzionale di Dominio (per esempio accade anche con Domain Controller WS2012R2 e livello funzionale di Dominio Windows Server 2012).

L’issue si manifesta in due modi:

  1. Quando i computer si blocca dopo in periodo di inattività se l’utente lo sblocca compare una richiesta di immissione delle credenziali che se ignorato comporta spesso il blocco dell’account.
  2. Occasionalmente la richiesta di immissione delle credenziali non viene visualizzata e l’account viene bloccato e sul Domain Controller che ha eseguito il blocco viene registrata come motivazione il fallimento della Kerberos Pre-Authentication.

Il problema è correlato alla pre-autenticazione Kerberos infatti disabilitando sull’utente tale impostazione il problema non si verifica.

image

Va però precisato che la disabilitazione della pre-autenticazione Kerberos sull’utente può essere solo un workaround temporaneo per identificare la causa del problema perché espone rischi di sicurezza come descritto nel post How to find user accounts with Kerberos preauthentication disabled:

“During Kerberos authentication the Authentication Service (AS) request identifies the client to the KDC in plain text. If preauthentication is enabled, a time stamp will be encrypted using the user’s password hash as an encryption key. If the KDC reads a valid time when using the user’s password hash (stored in the Active Directory) to decrypt the time stamp, the KDC knows that request isn’t a replay of a previous request.”

“The preauthentication feature may be disabled for specific users in order to support some applications that don’t support the security feature. Access the user account from the Active Directory users and the computers will snap-in and select the account tab.”

E nel seguente Kerberos Components in Windows 2000 – Preauthentication:

“By default the KDC requires all accounts to use preauthentication. This makes offline password-guessing attacks very difficult. However, preauthentication can be disabled for individual accounts when this is necessary for compatibility with other implementations of the protocol.”

La soluzione corretta è invece assicurarsi, come ho detto all’inizio del post, di avere il sistema Windows 10 aggiornato almeno alla Cumulative Update del 13 ottobre 2015 (KB3097617) in cui come si può verificare dal file information for update 3097617 uno dei file aggiornati è appunto C:\Windows\System32\kerberos.dll.

Per maggiori informazioni si veda 4771(F): Kerberos pre-authentication failed.