Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Endpoint Security //

Windows

5/11/2018
08:05 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Microsoft's JavaScript Update for Excel Is a Gift to Cryptominers

At Build 2018, Microsoft revealed a new JavaScript features that is supposed to add new functionality into Excel. However, it's also a gift for those who want to indulge in cryptomining schemes.

Microsoft announced at its Build 2018 conference this week -- and in a blog post -- that it was going to add custom functionality locally in Excel spreadsheets through JavaScript.

The idea here, according to Redmond, is that it will be used for functions such as calculating math operations (like whether a number is prime), bringing information from the web (like a bank account balance) or streaming live data (like a stock price).

That might be true, but a merry band of pranksters out in the wild haa already figured out how to make this pay off for them through cryptomining scheme. (See Cryptocurrency Crime: The Internet's New Wild West.)

Security expert Charles Dardaman wrote in his blog that he figured out a way to do exactly that.

Of course, Microsoft made it sort of easy to come up with JavaScript functions for Excel by publishing most of the steps to activate it.

Not only that, the company published several files on GitHub that are essential to it.

Dardaman outlines the simple edits that are necessary to glue everything together.

The Coinhive script is pathed as a "script src" in HTML as the first step. A wrapper is then specified as a function, and finally a JSON file for the actual miner function used inside Excel is outlined.

All three files need to be hosted on an accessible server -- a local server will do just fine.

An XML file that serves as a manifest for these hosted files must also be specified.

If all is done in this manner, the mining function will show up when Excel is opened. It can then be inserted into a cell, and then start running.

The function has persistence, so if the XLSX document with the inserted miner is reopened then the mining will activate.

While the Excel JavaScript custom functions feature is currently available in the Developer Preview edition of Office 365 for subscribers enrolled in the Office Insiders program, it can be assumed that it will be rolled out to all users over time.


The fundamentals of network security are being redefined -- don't get left in the dark by a DDoS attack! Join us in Austin from May 14-16 at the fifth-annual Big Communications Event. There's still time to register and communications service providers get in free!

It seems reasonable to also assume that the setup for this sort of function will be much simpler as the general release date approaches. Some of the manual editing that now goes into establishing the JavaScript functionality will no doubt be unnecessary.

That means Joe User will be able to do this sort of thing on his own.

That worries Dardaman. As a matter of fact, his opinion is that JavaScript should be blocked from Excel in its entirety once this new version hits general release.

His fears are understandable, but there may be use cases for a JavaScript-enabled spreadsheet in the organization that would stop this kind of Draconian solution.

Unfortunately, we will need to take another look at the entire situation as the release date grows nearer, in order to come up with something that protects both the organization, as well as the user.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 7/2/2020
Ripple20 Threatens Increasingly Connected Medical Devices
Kelly Sheridan, Staff Editor, Dark Reading,  6/30/2020
DDoS Attacks Jump 542% from Q4 2019 to Q1 2020
Dark Reading Staff 6/30/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
How Cybersecurity Incident Response Programs Work (and Why Some Don't)
This Tech Digest takes a look at the vital role cybersecurity incident response (IR) plays in managing cyber-risk within organizations. Download the Tech Digest today to find out how well-planned IR programs can detect intrusions, contain breaches, and help an organization restore normal operations.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-9498
PUBLISHED: 2020-07-02
Apache Guacamole 1.1.0 and older may mishandle pointers involved inprocessing data received via RDP static virtual channels. If a userconnects to a malicious or compromised RDP server, a series ofspecially-crafted PDUs could result in memory corruption, possiblyallowing arbitrary code to be executed...
CVE-2020-3282
PUBLISHED: 2020-07-02
A vulnerability in the web-based management interface of Cisco Unified Communications Manager, Cisco Unified Communications Manager Session Management Edition, Cisco Unified Communications Manager IM & Presence Service, and Cisco Unity Connection could allow an unauthenticated, remote attack...
CVE-2020-5909
PUBLISHED: 2020-07-02
In versions 3.0.0-3.5.0, 2.0.0-2.9.0, and 1.0.1, when users run the command displayed in NGINX Controller user interface (UI) to fetch the agent installer, the server TLS certificate is not verified.
CVE-2020-5910
PUBLISHED: 2020-07-02
In versions 3.0.0-3.5.0, 2.0.0-2.9.0, and 1.0.1, the Neural Autonomic Transport System (NATS) messaging services in use by the NGINX Controller do not require any form of authentication, so any successful connection would be authorized.
CVE-2020-5911
PUBLISHED: 2020-07-02
In versions 3.0.0-3.5.0, 2.0.0-2.9.0, and 1.0.1, the NGINX Controller installer starts the download of Kubernetes packages from an HTTP URL On Debian/Ubuntu system.