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::$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::$_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::$_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::$_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::$_oembed_a7ec9f2aa1fdf946504b066686f68b8e 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
Malware mascherato da documento PDF in Windows: come può accadere

Malware mascherato da documento PDF in Windows: come può accadere

MSHTML, il vecchio motore di rendering di Internet Explorer, è stato recentemente sfruttato per lanciare attacchi informatici particolarmente efficaci. Gli aggressori hanno utilizzato due vulnerabilità zero-day per distribuire malware nascosti all'interno di file HTA, mascherati da documenti PDF. Anche se Microsoft ha rilasciato patch correttive, la soluzione presenta ancora lacune, lasciando spazio a potenziali rischi.

MSHTML, noto anche come Trident, è il vecchio motore di rendering delle pagine Web utilizzato nel vecchio Internet Explorer e nelle prime versioni di Edge, prima che Microsoft scegliesse Chromium per le fondamenta del suo browser più aggiornato. Sebbene in Windows 10 e in Windows 11, Internet Explorer sia ormai nascosto e definitivamente accantonato, resta comunque presente tra le “pieghe” del sistema operativo. Lasciare componenti software legacy all’interno di un sistema operativo è sempre un rischio perché ciò tendere ad ampliare la superficie di attacco.

Proprio di MSHTML ha approfittato un gruppo di criminali informatici per lanciare attacchi informatici mirati e persistenti verso alcuni obiettivi di elevato profilo. Hanno “confezionato” un file con estensione .HTA che in realtà, anche al doppio clic, appariva come un innocuo documento PDF.

Come funziona l’attacco che sfrutta un falso documento PDF per eseguire malware

Tutto comincia a luglio 2024 quando sia Check Point Research che Trend Micro segnalarono la scoperta di attacchi che sfruttavano una nuova vulnerabilità zero-day di Windows al fine di infettare i dispositivi con l’infostealer “Atlantida”, un malware sviluppato per rubare password, cookie di autenticazione, portafogli di criptovalute e tutta una serie di dati riservati.

Le aggressioni in questione facevano leva sulle vulnerabilità CVE-2024-38112 (risolta a luglio) e CVE-2024-43461 (corretta nel corso del Patch Tuesday Microsoft di settembre 2024).

La prima falla forzava Windows ad aprire pagine Web malevoli con Internet Explorer piuttosto che con Edge o con qualunque altro browser di terze parti. Bastava semplicemente confezionare un collegamento a un URL opportunamente modificato (estensione .url). Il file di collegamento provocava il download di un oggetto HTA e la comparsa dell’invito ad aprirlo.

Un file HTA (HTML Application) è un’applicazione scritta in HTML, JavaScript o VBScript, che utilizza il motore di rendering MSHTML di Internet Explorer per eseguire codice direttamente sul sistema operativo Windows, senza le restrizioni tipiche del browser Web. È un lascito delle vecchie versioni di Windows che, però, continua a essere supportato ancora oggi.

Una seconda falla usata per mascherare il file HTA come PDF

Abbiamo detto che CVE-2024-38112 ha permesso il caricamento del file .url con MSHTML. La seconda vulnerabilità (CVE-2024-43461) ha invece permesso di mettere in atto un ingegnoso raggiro.

Peter Girnus (Zero Day Initiative) spiega che utilizzando 26 caratteri codificati in braille (il risultato è identico alla pressione della barra spaziatrice), gli aggressori hanno potuto celare la vera estensione del file malevolo (.hta), mostrando soltanto un rassicurante .pdf. L’effetto è quello riprodotto in figura:

Attacco malware file PDF HTA Windows

Come si vede, Windows avvisa della possibilità di aprire un file (anche se la comparsa di una finestra con Internet Explorer nella barra del titolo dovrebbe sempre insospettire…) ma non mostra alcun riferimento alla vera natura dell’oggetto (l’estensione reale è .hta).

Dopo l’installazione della patch per la vulnerabilità CVE-2024-43461 di settembre 2024, Windows non cade più nel tranello e mostra anche la reale estensione .hta, seppur separata dagli spazi ottenuti con la codifica braille (%E2%A0%80).

CVE-2024-43461 Patch HTA

Una correzione di sicurezza imperfetta

Purtroppo la patch correttiva distribuita da Microsoft è ben lungi dall’essere perfetta. Come si vede nella seconda immagine, infatti, gli spazi sono comunque visualizzati.

Tanti utenti potrebbero quindi essere indotti a ritenere di aprire un file PDF, quando in realtà si tratta di un pericoloso oggetto HTA.

Importante è richiamare anche l’attenzione sul contenuto del campo From: perché aprire un file che proviene da un server remoto sconosciuto, magari con un TLD “esotico” ben diverso dal classico .it?

Un attacco che viene da lontano

L’utilizzo della doppia estensione per nascondere la reale tipologia di un file è una pratica comune che affonda le radici nel passato.

Abbiamo sempre consigliato di premere Windows+R, digitare control folders, cliccare sulla scheda Visualizzazione e infine togliere la spunta dalla casella Nascondi le estensioni per i tipi di file sconosciuti.

L’utilizzo di caratteri con una codifica speciale (in questo caso braille) serve proprio a nascondere il più possibile le informazioni che contano, ovvero la tipologia del file con cui l’utente ha davvero a che fare.

Credit immagine in apertura: iStock.com – solarseven

Ti consigliamo anche

Link copiato negli appunti