January 31, 2017 By Larry Loeb 2 min read

This year, Google has been implementing many previously announced security policies, one of which involves the scalable vector graphics (SVG) image format.

In addition to becoming its own root certificate authority to bypass issuance problems, Google plans to ban all JavaScript (JS) attachments in its Gmail email service as of Feb. 13, The Inquirer reported. The technology giant will cease to blindly trust .zip attachments that resolve into JS files, since cybercriminals have long disseminated malware this way.

Cybercriminals Respond With SVG Image Attacks

Malware authors will surely find new ways to attach harmful JS files to emails. In fact, they may have already zeroed in on a delivery method that first appeared in a spam campaign last November targeting Facebook users in France, according to Bleeping Computer.

An SVG image file usually contains graphical data, but it can also run any embedded JS present in the file. The poisoned SVG file used in the Facebook attack redirected victims’ browsers to a fake website designed to steal login credentials.

SVG images work by default with Internet Explorer (IE). IE has proven to be wide open to JS-based exploitation, so it is no surprise that the browser can be easily directed to a malware-controlled site.

SVG Image Attacks Surge

Another Bleeping Computer article reported that security firms have detected an uptick in SVG image attacks in the past few weeks. In a recent campaign, for example, Japanese targets received legitimate-looking, seemingly business-oriented emails that contained .zip attachments.

These attachments opened malicious SVG files designed to launch a page that prompted victims to download an .exe file. If downloaded and opened, the file installed the Ursnif Trojan. While the SVG file did not specifically conduct the attack, it explicitly facilitated one.

Consider Following Google’s Lead

As a data structure, an SVG file is general enough to allow for additional features beyond its core graphical functions. This flexibility, however, comes at the expense of security.

Unless there is a definite, demonstrable need, security professionals should consider banning SVG files in routine cases. When Google’s JS ban takes effect, malware authors will likely turn to SVG image-based attacks.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today