Criminals who conduct phishing assaults over e-mail have ramped up their abuse of a brand new risk vector designed to bypass current anti-spam and anti-phishing safety: The usage of a graphics file format known as SVG.
The assaults, which start with e-mail messages which have .svg file attachments, began to unfold late final yr, and have ramped up considerably since mid-January.
The file format is designed as a way to attract resizable, vector-based photographs on a pc. By default, SVG recordsdata open within the default browser on Home windows computer systems. However SVG recordsdata should not simply composed of binary information, just like the extra acquainted JPEG, PNG, or BMP file codecs. SVG recordsdata comprise textual content directions in an XML format for drawing their photos in a browser window.

However as a result of SVG photographs can load and render natively inside a browser, they will additionally comprise anchor tags, scripting, and different kinds of lively internet content material. On this means, risk actors have been abusing the file format. The SVG recordsdata used within the assaults embody some directions to attract quite simple shapes, resembling rectangles, but additionally comprise an anchor tag that hyperlinks to an internet web page hosted elsewhere.

When an individual unfamiliar with the format double-clicks the attachment of their e-mail, their laptop opens the SVG file of their browser. The browser renders each the vector graphics and the anchor tags in a brand new tab.

If the goal clicks the hyperlink embedded within the SVG file, the browser will then open the hyperlink, which invariably results in a social engineering trick designed to lure the goal right into a state of affairs the place they should log in to an account.
Social engineering tips utilized in SVG phishing assaults
The topic strains and messages we’ve seen use many tropes frequent to generic phishing assaults.
One of many patterns getting used asserts that the attachment is a authorized doc that requires a signature. The message topic could use one of many following strains, or one thing related:
- Accomplished: [random characters]_Contract_and_Agreement_[numbers] REF ID [numbers]
- Time to Signal: 2025 SuperAnnuation Enrollment Settlement (January 2025).
- New Voicemail [recipient’s email username]
- You will have a brand new voicemail
- New Voicemail from [email username]
- New Vendor PO#[numbers] (Submission Ref: [random characters], Dated: [date]/Jan/2025)
- TT-[numbers] Accredited
- XeroxVersaLink_[random characters]-2025-01-[date]_Contract_[random characters].pdf
- Well being and Bonus Advantages Enrollment -Ref:-br#[numbers], Dated : [date]/Jan/2025
- Fee Recommendation – Ref: / RFQ Precedence Fee / Buyer Ref:
- KPI Evaluate and Fee Launch for [email username] (Ref: [numbers], Dated [day of week], [date]).
- Vital: Save or print your finalized doc Evaluate Doc completion—kindly affirm or ammend #BookingRef-[random characters]
- Fee Affirmation – SWIFT [random characters].pdf
- Your RemittanceReciept Fax-[date]/2025 [time] Contact – [email address]
- eSignature Required: Capital Funding Docs Through e-Docs Ref-[random characters]
- Motion: Scan Information: Distribution Settlement on your evaluate and signature. Message ID: #[random characters]
- Attn: Audio Recording REC#[numbers].wav Transcript [date] January 2025 $[random characters]
Many well-known manufacturers and on-line providers are being abused by these assaults, together with:
- DocuSign
- Microsoft SharePoint
- Dropbox
- Google Voice
- RingCentral
The physique content material of those messages is equally rudimentary, although it could comprise the e-mail username (the a part of the tackle that seems earlier than the @ signal) of the recipient/goal within the physique of the message.

How the assault works
When the goal receives an e-mail with an SVG attachment and opens it, except they’ve one other program they already use to work with SVG recordsdata, the file opens within the default browser.
The best of those malicious SVG recordsdata comprise one or a couple of strains of hyperlinked textual content that prepend the e-mail username to the phrase “Click on To Open” or “Click on the hyperlink beneath to take heed to the voicemail.”
The hyperlink results in a phishing web page behind a CloudFlare captcha gate. Examine the field to show you’re a human, and also you’re redirected to a web page operated by the phishing gang that frames an actual Office365 login dialog inside itself, so it will probably validate the e-mail and password similtaneously stealing it.


Nonetheless, we’ve discovered extra elaborately constructed recordsdata as nicely. One model embeds a hyperlink to a distant picture within the “svg.” The pictures are hosted on a special, attacker-controlled area.

There are a number of completely different variations of the embedded picture which can be designed to appear like DocuSign or SharePoint pages. Clicking wherever on the picture hundreds the CAPTCHA-gated phishing web page. One other model hundreds the picture from a Google Doc.

Essentially the most convoluted of those malicious SVGs contained complete blocks of textual content that had been lifted, seemingly at random, from Wikipedia articles. The textual content was embedded within the supply of the SVG however commented out, so it doesn’t seem on display screen.

Additionally current inside one other SVG was an elaborate JavaScript that mechanically hundreds the phishing web page after a brief delay, even when the person doesn’t click on any of the hotlinked content material.

The phishing pages had been all hosted on attacker-controlled domains. As beforehand talked about, practically all of them had been gated with a CloudFlare CAPTCHA to forestall automated visits. The websites prefetch the content material of the Office365 login dialog from login.dwell.com and current the goal with all of the anticipated animations acquainted to an O365 person.

In some circumstances, the script pre-populated the login dialog with the goal’s e-mail tackle, which had been handed within the question string from the hyperlink embedded within the SVG file. An “EventListener” JavaScript within the iFrame captures all typed enter because the person enters it into the shape.
In exams we ran towards dwell websites, a lot of the websites instantly captured the textual content enter and exfiltrated it on to the area internet hosting the iFrame the login dialog seems in. In a couple of circumstances, we found that the credentials had been transmitted to a number of websites concurrently.

One session even handed the credentials to a Telegram bot utilizing the messaging service’s API.

Over the course of per week, we had been capable of observe the phishing pages rising extra subtle. Very sparsely designed pages started to get cleaner, resembling this “voicemail” web page.

We additionally noticed manufacturers like Google Voice rigorously mimicked in some phishing pages.

We ultimately discovered variations that focused completely different languages, primarily based on the top-level area of the recipient. For instance, each the e-mail addressed to a goal at a Japanese educational establishment, and its embedded SVG, was crafted in Japanese. This led to a really practical trying simulacrum of a Dropbox login display screen, additionally localized to Japanese.

One of many SVG recordsdata appeared to attempt to leverage a networked drive on the goal’s personal community. It contained a Microsoft community path as a substitute of a URL.
The “Shared File” hyperlink triggered a obtain of an HTML file, which when opened produced a web page that appears prefer it has a blurred PDF doc within the background.

However when examined, the browser threw an error message that indicated the positioning was attempting to open an area community path in Home windows Explorer.

The web page supply appears to wish to open a community path below “trycloudflare.com” that passes an embedded, hardcoded username and password unsuccessfully.

Lastly, one other of the SVG recordsdata we found appeared to comprise a considerable amount of information encoded as base64. After we decoded the information, we discovered that it was a Zip archive, containing two recordsdata.

Of the 2 recordsdata compressed into the Zip file, one was password-protected, the opposite was not. The password-protected file is a Home windows malware executable. The unprotected file was a plaintext doc that, oddly, contained the password for the opposite file within the archive.

It’s the primary time I’d seen a password for a password-protected Zip embedded into the Zip itself. However it did, actually, work.

The file, uncompressed, is a malware that we at the moment detect as Troj/AutoIt-DHB. It’s an AutoIt script that units up and installs a keystroke logger known as Nymeria, all by the goal double-clicking what’s ostensibly a picture file.
Critical sufferer grief
Malicious SVG recordsdata seem designed to evade detection by typical endpoint or mail safety instruments. Nonetheless, work by analysts on account of this analysis led to the event of a detection signature for the assorted sorts of weaponized recordsdata we’ve noticed. That detection, Cxmail/EmSVG-C, is now dwell in Sophos Central E-mail.
For normal people, there are a few issues that may be carried out to inoculate your laptop towards this risk. First, you’ll find an actual SVG graphic file, obtain it, after which instruct Home windows to all the time open it in Notepad (or another non-browser program) as a substitute of the default browser.
To do that, you simply obtain an actual SVG graphic, like this one to your desktop. Proper-click the file, and select “Open with -> Select one other app” – choose one thing that isn’t a browser (like Notepad) and fill within the checkbox that reads “At all times use this app to open .svg recordsdata.”


Even for those who unintentionally click on a malicious SVG sooner or later, it’ll solely open in Notepad, throwing one other roadblock in entrance of (doubtlessly) being phished. (If, sooner or later, you discover it’s good to work with actual SVG recordsdata, comply with the identical steps once more, and select the graphics software you intend to make use of.)
The phishing pages that loaded on this assault had been additionally fairly clearly not hosted on Microsoft’s regular web sites. Merely trying on the URL within the browser tackle bar ought to be sufficient to disclose you’re not visiting SharePoint or DocuSign, while you’re loading a web page with an .ru top-level area.

There have been different clues as nicely, resembling the truth that the invoices or different messages appeared to come back from e-mail accounts that had by no means emailed the targets earlier than, and had been gentle on particulars like contact data (and even any message in any respect within the physique, in some circumstances).

So preserving a pointy, vital eye on messages that appear fishy may be the perfect phishing prevention
Indicators of compromise
Indicators of compromise for this risk have been posted to our Github repository. Detections have been added for the spam attachment subtype (CXmail/EmSVG-C) in Central E-mail, SFOS, and a few endpoint merchandise, in addition to signature-based detection for the malicious SVG attachments (Troj/XMLPh-A, Troj/XMLPh-E, Troj/XMLPh-F, Troj/XMLDrp-AJ, Troj/XML-AV, and Troj/XMLDl-Ok).
Acknowledgments
Sophos X-Ops thanks Brett Cove and Fan Ho of the mail safety group, and Krupa Gajjar, Rutvik Panchal, Khushi Punia, Gyan Ranjan, Purva Shah, Kafil Ahmed Shaikh, Devang Sharma, Simran Sharma, Aaditya Trivedi, and Amey Vijaywargiya of SophosLabs.
Criminals who conduct phishing assaults over e-mail have ramped up their abuse of a brand new risk vector designed to bypass current anti-spam and anti-phishing safety: The usage of a graphics file format known as SVG.
The assaults, which start with e-mail messages which have .svg file attachments, began to unfold late final yr, and have ramped up considerably since mid-January.
The file format is designed as a way to attract resizable, vector-based photographs on a pc. By default, SVG recordsdata open within the default browser on Home windows computer systems. However SVG recordsdata should not simply composed of binary information, just like the extra acquainted JPEG, PNG, or BMP file codecs. SVG recordsdata comprise textual content directions in an XML format for drawing their photos in a browser window.

However as a result of SVG photographs can load and render natively inside a browser, they will additionally comprise anchor tags, scripting, and different kinds of lively internet content material. On this means, risk actors have been abusing the file format. The SVG recordsdata used within the assaults embody some directions to attract quite simple shapes, resembling rectangles, but additionally comprise an anchor tag that hyperlinks to an internet web page hosted elsewhere.

When an individual unfamiliar with the format double-clicks the attachment of their e-mail, their laptop opens the SVG file of their browser. The browser renders each the vector graphics and the anchor tags in a brand new tab.

If the goal clicks the hyperlink embedded within the SVG file, the browser will then open the hyperlink, which invariably results in a social engineering trick designed to lure the goal right into a state of affairs the place they should log in to an account.
Social engineering tips utilized in SVG phishing assaults
The topic strains and messages we’ve seen use many tropes frequent to generic phishing assaults.
One of many patterns getting used asserts that the attachment is a authorized doc that requires a signature. The message topic could use one of many following strains, or one thing related:
- Accomplished: [random characters]_Contract_and_Agreement_[numbers] REF ID [numbers]
- Time to Signal: 2025 SuperAnnuation Enrollment Settlement (January 2025).
- New Voicemail [recipient’s email username]
- You will have a brand new voicemail
- New Voicemail from [email username]
- New Vendor PO#[numbers] (Submission Ref: [random characters], Dated: [date]/Jan/2025)
- TT-[numbers] Accredited
- XeroxVersaLink_[random characters]-2025-01-[date]_Contract_[random characters].pdf
- Well being and Bonus Advantages Enrollment -Ref:-br#[numbers], Dated : [date]/Jan/2025
- Fee Recommendation – Ref: / RFQ Precedence Fee / Buyer Ref:
- KPI Evaluate and Fee Launch for [email username] (Ref: [numbers], Dated [day of week], [date]).
- Vital: Save or print your finalized doc Evaluate Doc completion—kindly affirm or ammend #BookingRef-[random characters]
- Fee Affirmation – SWIFT [random characters].pdf
- Your RemittanceReciept Fax-[date]/2025 [time] Contact – [email address]
- eSignature Required: Capital Funding Docs Through e-Docs Ref-[random characters]
- Motion: Scan Information: Distribution Settlement on your evaluate and signature. Message ID: #[random characters]
- Attn: Audio Recording REC#[numbers].wav Transcript [date] January 2025 $[random characters]
Many well-known manufacturers and on-line providers are being abused by these assaults, together with:
- DocuSign
- Microsoft SharePoint
- Dropbox
- Google Voice
- RingCentral
The physique content material of those messages is equally rudimentary, although it could comprise the e-mail username (the a part of the tackle that seems earlier than the @ signal) of the recipient/goal within the physique of the message.

How the assault works
When the goal receives an e-mail with an SVG attachment and opens it, except they’ve one other program they already use to work with SVG recordsdata, the file opens within the default browser.
The best of those malicious SVG recordsdata comprise one or a couple of strains of hyperlinked textual content that prepend the e-mail username to the phrase “Click on To Open” or “Click on the hyperlink beneath to take heed to the voicemail.”
The hyperlink results in a phishing web page behind a CloudFlare captcha gate. Examine the field to show you’re a human, and also you’re redirected to a web page operated by the phishing gang that frames an actual Office365 login dialog inside itself, so it will probably validate the e-mail and password similtaneously stealing it.


Nonetheless, we’ve discovered extra elaborately constructed recordsdata as nicely. One model embeds a hyperlink to a distant picture within the “svg.” The pictures are hosted on a special, attacker-controlled area.

There are a number of completely different variations of the embedded picture which can be designed to appear like DocuSign or SharePoint pages. Clicking wherever on the picture hundreds the CAPTCHA-gated phishing web page. One other model hundreds the picture from a Google Doc.

Essentially the most convoluted of those malicious SVGs contained complete blocks of textual content that had been lifted, seemingly at random, from Wikipedia articles. The textual content was embedded within the supply of the SVG however commented out, so it doesn’t seem on display screen.

Additionally current inside one other SVG was an elaborate JavaScript that mechanically hundreds the phishing web page after a brief delay, even when the person doesn’t click on any of the hotlinked content material.

The phishing pages had been all hosted on attacker-controlled domains. As beforehand talked about, practically all of them had been gated with a CloudFlare CAPTCHA to forestall automated visits. The websites prefetch the content material of the Office365 login dialog from login.dwell.com and current the goal with all of the anticipated animations acquainted to an O365 person.

In some circumstances, the script pre-populated the login dialog with the goal’s e-mail tackle, which had been handed within the question string from the hyperlink embedded within the SVG file. An “EventListener” JavaScript within the iFrame captures all typed enter because the person enters it into the shape.
In exams we ran towards dwell websites, a lot of the websites instantly captured the textual content enter and exfiltrated it on to the area internet hosting the iFrame the login dialog seems in. In a couple of circumstances, we found that the credentials had been transmitted to a number of websites concurrently.

One session even handed the credentials to a Telegram bot utilizing the messaging service’s API.

Over the course of per week, we had been capable of observe the phishing pages rising extra subtle. Very sparsely designed pages started to get cleaner, resembling this “voicemail” web page.

We additionally noticed manufacturers like Google Voice rigorously mimicked in some phishing pages.

We ultimately discovered variations that focused completely different languages, primarily based on the top-level area of the recipient. For instance, each the e-mail addressed to a goal at a Japanese educational establishment, and its embedded SVG, was crafted in Japanese. This led to a really practical trying simulacrum of a Dropbox login display screen, additionally localized to Japanese.

One of many SVG recordsdata appeared to attempt to leverage a networked drive on the goal’s personal community. It contained a Microsoft community path as a substitute of a URL.
The “Shared File” hyperlink triggered a obtain of an HTML file, which when opened produced a web page that appears prefer it has a blurred PDF doc within the background.

However when examined, the browser threw an error message that indicated the positioning was attempting to open an area community path in Home windows Explorer.

The web page supply appears to wish to open a community path below “trycloudflare.com” that passes an embedded, hardcoded username and password unsuccessfully.

Lastly, one other of the SVG recordsdata we found appeared to comprise a considerable amount of information encoded as base64. After we decoded the information, we discovered that it was a Zip archive, containing two recordsdata.

Of the 2 recordsdata compressed into the Zip file, one was password-protected, the opposite was not. The password-protected file is a Home windows malware executable. The unprotected file was a plaintext doc that, oddly, contained the password for the opposite file within the archive.

It’s the primary time I’d seen a password for a password-protected Zip embedded into the Zip itself. However it did, actually, work.

The file, uncompressed, is a malware that we at the moment detect as Troj/AutoIt-DHB. It’s an AutoIt script that units up and installs a keystroke logger known as Nymeria, all by the goal double-clicking what’s ostensibly a picture file.
Critical sufferer grief
Malicious SVG recordsdata seem designed to evade detection by typical endpoint or mail safety instruments. Nonetheless, work by analysts on account of this analysis led to the event of a detection signature for the assorted sorts of weaponized recordsdata we’ve noticed. That detection, Cxmail/EmSVG-C, is now dwell in Sophos Central E-mail.
For normal people, there are a few issues that may be carried out to inoculate your laptop towards this risk. First, you’ll find an actual SVG graphic file, obtain it, after which instruct Home windows to all the time open it in Notepad (or another non-browser program) as a substitute of the default browser.
To do that, you simply obtain an actual SVG graphic, like this one to your desktop. Proper-click the file, and select “Open with -> Select one other app” – choose one thing that isn’t a browser (like Notepad) and fill within the checkbox that reads “At all times use this app to open .svg recordsdata.”


Even for those who unintentionally click on a malicious SVG sooner or later, it’ll solely open in Notepad, throwing one other roadblock in entrance of (doubtlessly) being phished. (If, sooner or later, you discover it’s good to work with actual SVG recordsdata, comply with the identical steps once more, and select the graphics software you intend to make use of.)
The phishing pages that loaded on this assault had been additionally fairly clearly not hosted on Microsoft’s regular web sites. Merely trying on the URL within the browser tackle bar ought to be sufficient to disclose you’re not visiting SharePoint or DocuSign, while you’re loading a web page with an .ru top-level area.

There have been different clues as nicely, resembling the truth that the invoices or different messages appeared to come back from e-mail accounts that had by no means emailed the targets earlier than, and had been gentle on particulars like contact data (and even any message in any respect within the physique, in some circumstances).

So preserving a pointy, vital eye on messages that appear fishy may be the perfect phishing prevention
Indicators of compromise
Indicators of compromise for this risk have been posted to our Github repository. Detections have been added for the spam attachment subtype (CXmail/EmSVG-C) in Central E-mail, SFOS, and a few endpoint merchandise, in addition to signature-based detection for the malicious SVG attachments (Troj/XMLPh-A, Troj/XMLPh-E, Troj/XMLPh-F, Troj/XMLDrp-AJ, Troj/XML-AV, and Troj/XMLDl-Ok).
Acknowledgments
Sophos X-Ops thanks Brett Cove and Fan Ho of the mail safety group, and Krupa Gajjar, Rutvik Panchal, Khushi Punia, Gyan Ranjan, Purva Shah, Kafil Ahmed Shaikh, Devang Sharma, Simran Sharma, Aaditya Trivedi, and Amey Vijaywargiya of SophosLabs.