Researchers Build Framework for Browser-Based Botnets

HTML5 used to build persistent malware on victims' computers.

Dark Reading logo in a gray background | Dark Reading

Researchers have created a new framework dubbed MarioNet that allows an attacker to control a victim's browser and all of its resources.

Modern browsers have become more than simple windows into HTML documents; instead, they are "sophisticated browsing software that essentially behaves as an integrated operating system for web applications," according to new research presented today at Network and Distributed Systems Security (NDSS) Symposium 2019.

The researchers - Panagiotis Papadopoulos, Panagiotis Ilia, Michalis Polychronakis, Evangelos P. Markatos, Sotiris Ioannidis, and Giorgos Vasiliadis - devised a framework for building persistent malicious networks on a browser-based foundation, which they detailed in their paper "Master of Web Puppets: Abusing Web Browsers for Persistent and Stealthy Computation."

The power of malware that uses HTML5 and other browser-based software as an attack component stems from the fact that, by default, Web applications are understood to be trusted and can run client-side JavaScript code with no natural limitations.

MarioNet is a three-step system involving components the researchers call the distributor, servant, and puppeteer. And it is these three components and the persistence they enable that make MarioNet something new.

The distributor is the infection piece, placing the rest of the package on the victim's browser from a single visit to an infected website. The servant is the piece that becomes embedded in the victim's browser, executing the malicious payload as directed by the puppeteer. 

The puppeteer remains on the victim's system, communicating with a C2 server, directing the execution of malicious code, and controlling the code's use of computer resources in order to remain as elusive and evasive as possible.

"The immediate interest is persistence. The paper mentions that these infected sites, however they're infected, they can have the infection piece removed [and] the attack persists," says Mike Bittner, associate director of digital security and operations at The Media Trust. "That attack can take many forms, including DDoS traffic engines and cryptominers, credential skimmers, and banking remote-access Trojans."

Usman Rahim, digital threat analyst at The Media Trust, says this new threat is critical because malicious hackers have been figuring out how to weaponize HTML5's features.

"They've been using obfuscation/deobfuscation JavaScript to disguise malicious code. Now they can use service workers — scripts that offer rich online experiences, push notifications, and background syncs — to gain control of users' browsers long after users have left the compromised site and to help attacks persist despite browser reboots," Rahim says.

MarioNet is an evolution of the threat possible through HTML5. While there has been a growing trend of malware built on HTML5, Bittner says, "It's a trend to make the browser an attack surface. The ability to communicate with a third party over the browser, though, is something you don't see very often."

The research raises another issue: academic computer researchers presenting details of an attack mechanism that had not previously been seen in the wild.  "It's a double-edged sword. It's good because people like me have something to look out for and defend against, but it may be something that people didn't know about before and can now take advantage of."

"From a security professional aspect it's something I wish we could share just among ourselves, but I think the good outweighs the bad," he says.

Related Content:

 

 

 

Join Dark Reading LIVE for two cybersecurity summits at Interop 2019. Learn from the industry's most knowledgeable IT security experts. Check out the Interop agenda here.

About the Author

Curtis Franklin, Principal Analyst, Omdia

Curtis Franklin Jr. is Principal Analyst at Omdia, focusing on enterprise security management. Previously, he was senior editor of Dark Reading, editor of Light Reading's Security Now, and executive editor, technology, at InformationWeek, where he was also executive producer of InformationWeek's online radio and podcast episodes

Curtis has been writing about technologies and products in computing and networking since the early 1980s. He has been on staff and contributed to technology-industry publications including BYTE, ComputerWorld, CEO, Enterprise Efficiency, ChannelWeb, Network Computing, InfoWorld, PCWorld, Dark Reading, and ITWorld.com on subjects ranging from mobile enterprise computing to enterprise security and wireless networking.

Curtis is the author of thousands of articles, the co-author of five books, and has been a frequent speaker at computer and networking industry conferences across North America and Europe. His most recent books, Cloud Computing: Technologies and Strategies of the Ubiquitous Data Center, and Securing the Cloud: Security Strategies for the Ubiquitous Data Center, with co-author Brian Chee, are published by Taylor and Francis.

When he's not writing, Curtis is a painter, photographer, cook, and multi-instrumentalist musician. He is active in running, amateur radio (KG4GWA), the MakerFX maker space in Orlando, FL, and is a certified Florida Master Naturalist.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights