July 17, 2015 By Shane Schick 2 min read

As one of the Internet’s core markup languages, HTML5 is all about making Web content clear and presentable. But security researchers found it may also be a great way for cybercriminals to effectively hide malware from software detection.

In a peer-reviewed paper from scholars at the University of Salerno and the Sapienza University of Rome, titled “Using HTML5 to Prevent Detection of Drive-By-Download Web Malware,” the authors outlined a series of techniques that could be used to fool antivirus tools, preventing them from identifying malware using the Web standard’s APIs.

There are different approaches to how malware could be prepared, distributed and executed in drive-by download attacks by unsuspecting users. But essentially, APIs such as Websocket, Canvas, Web Workers, IndexedDB and others can break malware into chunks and then reassemble it once the victim visits a website.

As Softpedia pointed out, the ideas in the research were carefully tested over a two-year period. Given that there are often bugs in commonly used browsers such as Microsoft’s Internet Explorer and Mozilla’s Firefox, there was no shortage of opportunities to see if the scheme worked. As in any scientific experiment, there was a control group of tests that used HTML5 obfuscation and a set that didn’t. Each time, malware analysis tools were only successful in picking up on the threat in the latter group.

One of the Italian researchers told SecurityWeek that the team not only used VirusTotal to see if it could be outsmarted by HTML5 obfuscation, but two well-known antivirus products, as well. Dynamic analysis of the tests was done using the Wepawet, a free tool that looks for threats in Flash, JavaScript and other files.

With the wave of recent attacks exploiting holes in browser plugins such as Adobe Flash, the research paper should be a wake-up call to makers of malware detection software to take a closer look at HTML5. Help Net Security noted that while in theory cybercriminals could use the results of the experiments for nefarious purposes, the researchers also outlined recommendations that could help mitigate the effectiveness of hiding malware through each of their techniques.

In other words, if malicious actors succeed in carrying out a set of malware attacks that leverage Web standards, the IT security industry can’t say it wasn’t warned.

More from

How to calculate your AI-powered cybersecurity’s ROI

4 min read - Imagine this scenario: A sophisticated, malicious phishing campaign targets a large financial institution. The attackers use emails generated by artificial intelligence (AI) that closely mimic the company's internal communications. The emails contain malicious links designed to steal employee credentials, which the attackers could use to gain access to company assets and data for unknown purposes.The organization's AI-powered cybersecurity solution, which continuously monitors network traffic and user behavior, detects several anomalies associated with the attack, blocks access to the suspicious domains…

Being a good CLR host – Modernizing offensive .NET tradecraft

14 min read - The modern red team is defined by its ability to compromise endpoints and take actions to complete objectives. To achieve the former, many teams implement their own custom command-and-control (C2) or use an open-source option. For the latter, there is a constant stream of post-exploitation tooling being released that takes advantage of various features in Windows, Active Directory and third-party applications. The execution mechanism for this tooling has, for the last several years, relied heavily on executing .NET assemblies in…

The current state of ransomware: Weaponizing disclosure rules and more

4 min read - As we near the end of 2024, ransomware remains a dominant and evolving threat against any organization. Cyber criminals are more sophisticated and creative than ever. They integrate new technologies, leverage geopolitical tensions and even use legal regulations to their advantage.What once seemed like a disruptive but relatively straightforward crime has evolved into a multi-layered, global challenge that continues to threaten businesses and governments alike.Let’s take a look at the state of ransomware today. We’ll focus on how cyber criminals…

Topic updates

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