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::$has_disclaimer 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_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::$_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::$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::$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::$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::$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_blz_affiliation_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_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::$_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_focuskeywords 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_keywordsynonyms 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::$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::$_yoast_indexnow_last_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::$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
BadSuccessor, grave vulnerabilità in Windows Server 2025. Microsoft getta acqua sul fuoco

BadSuccessor, grave vulnerabilità in Windows Server 2025. Microsoft getta acqua sul fuoco

Microsoft ha introdotto i delegated Managed Service Account (dMSA) in Windows Server 2025 per facilitare la migrazione sicura degli account di servizio legacy in Active Directory. Una ricerca di Akamai evidenzia una grave vulnerabilità: un utente con permessi minimi può sfruttare dMSA per ottenere privilegi di amministratore di dominio.

Con l’introduzione dei delegated Managed Service Account (dMSA) in Windows Server 2025, Microsoft ha voluto facilitare la gestione e la migrazione degli account di servizio in Active Directory (AD). Tuttavia, una recente analisi di Akamai mette in evidenza come questa nuova funzionalità, se non adeguatamente protetta, possa essere sfruttata da un aggressore per ottenere privilegi elevati, fino a guadagnare il completo controllo del dominio.

Cos’è dMSA e come funziona

Microsoft ha introdotto dMSA per sostituire i service account legacy, consentendo una transizione trasparente e sicura. La migrazione avviene tramite un processo che collega strettamente la nuova dMSA all’account di servizio originale, sfruttando attributi LDAP specifici e nuovi cmdlet PowerShell come Start-ADServiceAccountMigration.

Un aspetto chiave è la gestione del Privilege Attribute Certificate (PAC) durante l’autenticazione Kerberos: quando un account dMSA si autentica, il PAC generato include non solo il SID (Security IDentifier o Identificatore di sicurezza) dell’account dMSA, ma anche quello dell’account originale e di tutti i gruppi a cui apparteneva. Questo comportamento, pensato per una migrazione trasparente, introduce però un rischio significativo.

La vulnerabilità in Windows Server 2025: abuso degli attributi dMSA

La ricerca di Akamai ha dimostrato che manipolando direttamente gli attributi LDAP di un account dMSA è possibile simulare una migrazione e ottenere tutti i privilegi di qualsiasi altro account di dominio, inclusi i Domain Admins!

Un utente con privilegi minimi ma con la possibilità di creare oggetti dMSA in una Organizational Unit (OU) può avviare l’attacco denominato BadSuccessor. Modificando alcuni attributi chiave e richiedendo un ticket di autenticazione Kerberos, il malintenzionato può acquisire ampi privilegi senza alcun accesso o modifica all’account originale.

Impatto e conseguenze

Come spiegano i tecnici di Akamai, l’attaccante ottiene i privilegi dell’account target senza modificarne la membership o generare log anomali sull’account stesso.

Non vi è inoltre nessuna necessità di usare account dMSA preesistenti. L’attacco è possibile in qualsiasi dominio con almeno un Domain Controller Windows Server 2025, anche se le dMSA non sono mai state utilizzate in precedenza.

Perché Microsoft non è d’accordo e qual è la sua risposta?

Se, da un lato, Akamai ha segnalato privatamente il problema il 1° aprile 2025 esortando Microsoft a rilasciare una patch di emergenza, considerata l’estrema gravità della problematica, dall’altro lato l’azienda di Redmond ha gettato acqua sul fuoco.

Microsoft ha riconosciuto la validità tecnica del problema ma ha classificato la falla come di gravità moderata, ritenendo che non giustifichi un rilascio immediato di patch correttive.

La motivazione principale di Microsoft è che per sfruttare l’attacco è necessario possedere già permessi specifici di scrittura sull’oggetto dMSA, in particolare il permesso CreateChild su un’OU, che implica un livello di privilegi di per sé già elevato. Quindi, secondo Microsoft, l’attaccante deve possedere già un ventaglio di diritti importante per poter abusare della vulnerabilità: ciò ridurrebbe la criticità dell’exploit.

Microsoft ha inoltre fatto riferimento alla propria documentazione (KB5008383) che discute i rischi legati al permesso CreateChild, sottolineando che la gestione di tali permessi è una pratica nota e che la responsabilità di limitarli spetta agli amministratori di dominio.

Akamai ai ferri corti con Microsoft

Dal canto suo, Akamai ha espresso un netto disaccordo con la valutazione di Microsoft evidenziando alcuni punti meritevoli di attenzione:

  • La vulnerabilità introduce un nuovo e potente vettore di attacco che consente a un utente con permessi di creazione oggetti in un’OU (permesso spesso sottovalutato e poco monitorato) di compromettere qualsiasi utente del dominio, inclusi gli amministratori.
  • Il permesso CreateChild per le dMSA non è attualmente considerato critico dagli strumenti di sicurezza e dalle best practice, rendendo l’attacco “silenzioso” e molto pericoloso.
  • L’impatto è simile a quello del privilegio Replicating Directory Changes usato per attacchi DCSync, con potenziali conseguenze devastanti per la sicurezza del dominio.

Microsoft ha comunque dichiarato di essere al lavoro su una patch correttiva da rilasciare in futuro, invitando nel frattempo gli amministratori a prendere precauzioni per limitare i permessi di scrittura sulle dMSA e monitorare attentamente le attività sospette.

Raccomandazioni finali

Fino al rilascio di una patch ufficiale da parte di Microsoft, chiudiamo con alcuni consigli rivolti alle aziende che amministrano anche sistemi Windows Server 2025:

  • Eseguire audit degli OU per individuare utenti non privilegiati con diritti CreateChild.
  • Rivedere le policy di delega e considerare la disattivazione temporanea del supporto dMSA.
  • Monitorare i log per identificare pattern anomali nella creazione di account di servizio.
  • Usare gli script di rilevamento predisposti da Akamai per individuare potenziali vettori d’attacco.

Ti consigliamo anche

Link copiato negli appunti