Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$_edit_lock is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_last is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_meta_box_present is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_send_notification is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_modify_title_and_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_heading is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskw is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_linkdex is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_content_score is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_estimated-reading-time-minutes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_wordproof_timestamp is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_category is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_content_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_speciali is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$response_body is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
Windows 11 utilizza SMB signing: cos'è e come funziona

Windows 11 utilizza SMB signing: cos'è e come funziona

Microsoft spiega che è importante abilitare SMB signing per migliorare la sicurezza e scongiurare attacchi NTLM relay.

Tra gli ingegneri software Microsoft che si occupano dell’implementazione del protocollo SMB (Server Message Block) sia in Windows che in Windows Server c’è Ned Pyle. In passato si è occupato di ridurre la banda impegnata nei trasferimenti di dati in rete locale intervenendo anche sui problemi prestazionali durante la copia dei file. Pyle ha anche deciso per il blocco delle condivisioni Windows senza password e, in generale, ha introdotto importanti novità per proteggere le risorse condivise da attacchi brute force. Adesso è la volta di introdurre SMB signing per tutti gli utenti di Windows 11.

SMB compie un ulteriore passo in avanti. Pyle ha infatti svelato che per tutte le connessioni SMB, d’ora in avanti Windows 11 richiederà l’utilizzo di SMB signing. A far propria la novità è l’edizione Enterprise di Windows 11, nella più recente release di anteprima, ma in breve tempo l’innovazione sarà portata su tutte le edizioni del sistema operativo. Inoltre, riguarderà presto anche le versioni stabili di Windows 11 e Windows Server.

Cos’è SMB signing e come funziona

SMB signing è una funzionalità di sicurezza implementata nel protocollo di rete SMB, utilizzato per la condivisione di file, stampanti e altre risorse in un ambiente di rete. È progettata per garantire l’integrità e l’autenticità delle comunicazioni SMB tra un client e un server. Ogni pacchetto SMB inviato è firmato digitalmente dal mittente e verificato dal destinatario. Ciò impedisce la manipolazione o l’alterazione dei dati SMB durante la trasmissione.

L’utilizzo di SMB signing offre diversi vantaggi in termini di sicurezza: la firma digitale, ad esempio, consente di verificare che i dati non siano stati modificati o compromessi durante la trasmissione. C’è poi l’autenticazione che garantisce l’identità del mittente dei pacchetti SMB. Con SMB signing è inoltre possibile prevenire attacchi MITM (man-in-the-middle).

La funzionalità richiede un’attivazione sia sul client che sul server. In questo senso, l’iniziativa presentata da Pyle mira ad estenderne l’adozione su vasta scala in tempi relativamente brevi.

Il client inserisce un hash dell’intero messaggio nel campo della firma nell’intestazione SMB. Se qualcuno modifica il messaggio in transito sulla rete, l’hash non corrisponderà e SMB saprà che qualcuno ha manomesso i dati. La conferma dell’identità di mittente e destinatario evita la fattibilità degli attacchi NTLM relay.

Cosa sono gli attacchi NTLM relay

Gli NTLM relay attack sono piuttosto noti e comuni: avevamo spiegato con possono essere utilizzati per diventare amministratori di dominio senza averne titolo. Gli attacchi sfruttano la mancanza di autenticazione lato server nel protocollo NTLM (NT LAN Manager), introdotto da Microsoft negli anni ’90. Gli attacchi NTLM relay possono essere particolarmente pericolosi perché consentono agli attaccanti di sfruttare le debolezze del protocollo e l’assenza di autenticazione per compromettere le credenziali degli utenti senza nemmeno dover rompere direttamente le password. Questo tipo di attacco è spesso utilizzato per ottenere accesso non autorizzato alle risorse di rete, come server di file o applicazioni, o per ottenere ulteriori informazioni utili per ulteriori attacchi.

Per mitigare gli attacchi NTLM relay si possono adottare diverse contromisure. Oltre al passaggio all’autenticazione basata su Kerberos, comunque non immune a vulnerabilità di sicurezza, risolvibili mediante l’installazione di apposite patch, l’abilitazione della funzionalità SMB signing risulta cruciale.

SMB signing attivato per impostazione predefinita

Pyle ha confermato che SMB signing sarà abilitato per default in tutte le edizioni di Windows 11 e di Windows Server nel corso dei prossimi mesi.

Ovviamente c’è un po’ il rovescio della medaglia. Sebbene il meccanismo di SMB signing sia stato ottimizzato nel corso degli anni, la sua abilitazione tende a ridurre le performance durante le operazioni di copia dei dati. Questo comportamento si avverte di meno utilizzando processori moderni e veloci. Inoltre, è meno evidente all’aumentare del numero di core della CPU. “La sicurezza non può essere lasciata al caso“, osserva Pyle.

È comunque bene tenere presente che sui sistemi dove SMB signing è disabilitato, vengono mostrati messaggi di errore come “La firma crittografica non è valida“, STATUS_INVALID_SIGNATURE, 0xc000a000 o -1073700864. Ciò avviene nel momento in cui si tenta di accedere alla risorsa condivisa via SMB.

Chi volesse disattivare SMB signing e tornare alla configurazione storicamente utilizzata (insicura), può usare un paio di cmdlet PowerShell. Basta premere Windows+X, selezionare la voce Terminale (Admin) quindi impartire i due comandi che seguono:

Set-SmbClientConfiguration -RequireSecuritySignature $false
Set-SmbServerConfiguration -RequireSecuritySignature $false

L’ingegnere software di Microsoft conferma inoltre che prossimamente saranno introdotte ulteriori modifiche sul comportamento di SMB. L’obiettivo è quello di migliorare la sicurezza e le prestazioni durante il trasferimento dati tra un sistema e l’altro.

Ti consigliamo anche

Link copiato negli appunti