Cybercriminals have repurposed Scalable Vector Graphics (SVG) files to deliver malware, a technique that has evolved significantly with the advent of the AutoSmuggle tool.
Introduced in May 2022, AutoSmuggle facilitates embedding malicious files within HTML or SVG content, making it easier for attackers to bypass security measures.
The misuse of SVG files for malware distribution dates back to 2015, with ransomware being one of the first to be delivered through this vector.
In January 2017, SVG files were used to download the Ursnif malware via URLs. A significant leap occurred in 2022 when SVGs delivered malware like QakBot through embedded .zip archives, showcasing a shift from external downloads to HTML smuggling techniques.
AutoSmuggle’s release on GitHub in 2022 marked a turning point. The tool embeds executable files or archives into SVG/HTML files, which are then decrypted and executed upon opening by the victim.
This method cleverly evades Secure Email Gateways (SEGs) that would typically detect and quarantine direct email attachments.
Two notable AutoSmuggle campaigns began in December 2023 and January 2024, delivering XWorm RAT and Agent Tesla Keylogger, respectively.
According to CoFense report, SVG files can deliver malware in two primary ways:
The Agent Tesla Keylogger campaign was characterized by emails with attached SVG files that led to an embedded .zip archive containing a JavaScript file, which then initiated a series of downloads culminating in the execution of the keylogger.
The XWorm RAT campaign differed in its approach, with three distinct infection chains involving PDFs, embedded links, and direct SVG attachments, ultimately leading to the delivery of XWorm RAT via various scripting files.
Upon analysis, the SVG files used in these campaigns showed slight modifications from the standard AutoSmuggle-generated files.
For instance, the Agent Tesla campaign SVGs included redirecting to a legitimate-looking Maersk webpage, enhancing the deception.
The XWorm RAT campaign SVGs, on the other hand, displayed a blank page instead of an image, a less sophisticated approach compared to the Agent Tesla campaign.
The use of SVG files in malware delivery, particularly with tools like AutoSmuggle, represents an evolving threat landscape where attackers continuously adapt to circumvent security defenses.
Understanding these techniques is crucial for developing more effective countermeasures against such sophisticated cyber threats.
Are you from SOC and DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free.
In today’s dynamic threat landscape, security leaders are under constant pressure to make informed choices…
The xattr command in Unix-like systems allows for the embedding of hidden metadata within files,…
ProjectSend, an open-source file-sharing web application, has become a target of active exploitation following the…
NVIDIA has released a critical security update addressing a significant vulnerability in its Unified Fabric…
Fukui Prefectural Police have indicted a 15-year-old junior high school student from Saitama Prefecture for…
GitLab, a widely used platform for DevOps lifecycle management, has released critical security updates for…