Hack Attack

Emergency Memorandum 12/27/17, early hours

To:    USL Board (by email & @ www:UniformedServicesLeague.org/HackAttack)

From: Management Team (Executive Director, Chairman & Principle Consultant)

Ref:   Hack Attack (Near-crippling attack on USL website, Late Night Counter-attack)

Result:   Successful defense but attacks on USL website expected to be ongoing

Issue:     Uniformed Services League website came under malicious attack evening of 12/26.  The invader penetrated               USL website, infected it, threatened to infect visitors.

Solution Summary.  USL should consider purchase of (expensive) cyber security software and/or retain expert computer technicians as a result of attack which threatened to totally shut down website UniformedServicesLeague.org.  Urgent need for additional funding in order to prevent destruction of website or at least to better monitor website to report future attacks and enable USL to mount defense and counter attack.

If we fail to act, then continued internet attack on USL website could result in infection (virus attack) by a worse malicious program.  USL could be black listed on the search engines meaning that they will report that we are an unsafe site and prevent our supporters and other visitors from reaching our website and reading our message.  Worse still, search engines could simply delist USL so that it does not appear on search engine results in the future.

The virus scanner log, reported in cryptic English, not comprehensible except to a programmer, a developer or technician, passed on this message.  Not comprehensible by most, except with a translation.  Here’s the message:

Time;Scanner;Object type;Object;Threat;Action;User;Information;Hash;First seen here

12/26/2017 8:41:35 PM;HTTP filter;file;https://coinhive.com/lib/coinhive.min.js;JS/CoinMiner.D potentially unwanted application;connection terminated;Ron-Z600pc\Ron;Threat was detected upon access to web by the application: C:\Program Files (x86)\Mozilla Firefox\firefox.exe (54EADC78AA30324B87256E626A769B6BBE4E4580).;116CB0BD8425DEE9FB6E47C6FE119FA63D1B0E29;

Here’s the English translation.

  1. Don’t go to this website (UniformedServicesLeague.org).It is dangerous.  At best, this is a PUP – a “potentially unwanted program” that could infect every visitor to our website.  At worst, it is a virus which will attack and hurt the ability of every visitor to access their own computer, and the internet, or even damage or destroy our website, effectively erasing our message from the internet by hostile invading forces.

And,

  1. In the event this invasion of our website is not countered and eradicated, then at the least, visitors will be turned away from our website and our voice and message to them, silenced.At worst, visitors will find that the penalty for visiting our website is that their home computer could become infected, no longer work properly, important files on their computer could become either inaccessible or hard to access.  The visitor whose computer became so infected, might then infect others from their computer over the internet.

Consequently,

  1. The internet community would, if this hostile hacker attack were not immediately fixed by finding and destroying the virus invader, ban USL website and prevent people from visiting it.This surprise-internet-hack-attack would literally destroy our voice on the internet, if we did not find a way to kick out the internet invader and block them from sneaking onto our website again.

Solution:

  1. Hire expert, more advanced programmers to search out and destroy the invader.Make use of more advanced programs than we have had before this date, to assist in this task.  Initial counter attack successful, but the vulnerability for future attacks, remains.  Need more funding for continued vigilance by expert technicians and ongoing defense work in order to keep UniformedServicesLeague.org website accessible for visitors now that we have been subjected to ongoing attack by internet hack attack and have been warned of future attacks.

This report developed by:

  1. (Credits).USPPC Executive Director worked on this problem late evening and into the morning, along with USPPC Sec/Treasurer in his capacity as a technician and programmer and principal consultant.  All work reviewed and approved by Chairman.  Total expenses could have been $1000, $2000 or more but for tonight’s emergency did not exceed $100 as a favor to USL in this emergency.  Additional funding needed on an ongoing basis to maintain security and defense after what appears to be targeting of Uniformed Services League by malicious forces on internet determined to hurt us at best, or outright destroy our website and our voice.

 

Addendum

 

Additonal information follows, on the minimum damage done to us tonight.  Much worse is expected if this targeting of USL continued, and we have been warned.

How to remove CoinHive Miner Trojan (Virus Removal Guide)

By Stelian Pilici on September 28, 2017

The Coinhive Miner is a JavaScript library that can be used by webmasters for cryptocurrency mining as an alternative source of revenue. Unfortunately, cyber criminals have started abusing this tool by embedding this JavaScript code into browser extensions or programs, thus using the infected PC’s for mining digital currency (Monero, Dashcoin, DarkNetCoin, and others) without user permission.

The Coinhive Miner Trojan is commonly bundled with other free programs or browser extensions that you download off of the Internet. Unfortunately, some free downloads do not adequately disclose that other software will also be installed and you may find that you have installed Coinhive Miner without your knowledge.

Once this malicious program or browser extension is installed, the Coinhive Miner will inject an in-browser Monero miner from coin-hive.com/lib/coinhive.min.js, which uses more than 50% of your CPU’s power and graphics cards power. What this means, is that when the miners are running you will find that your computer is running slower and games are stuttering or freezing because the Coinhive Miner Trojan is using your computer’s resources to generate revenue for themselves.
This will cause your CPU to run at very hot temperatures for extended periods of time, which could shorten the life of the CPU.

When infected with the Coinhive Miner, other common symptoms include:

  • Very high CPU and graphics cards usage
  • Web browser is using more than 50% of the CPU power
  • PC connects to coin-hive.com/lib/coinhive.min.js
  • Windows minimize and maximize slowly, and programs run slower
  • Programs don’t launch as quickly
  • General slowness when using the PC or Web Browser

Hacked Websites Mine Cryptocurrencies

September 22, 2017Denis SinegubkoEspanolPortugues

Cryptocurrencies are all the rage now. Bitcoin, altcoins, blockchain, ICO, mining farms, skyrocketing exchange rates – you see or hear this every day in the news now. Everyone seems to be trying to jump on this bandwagon.

This trend resulted in the emergence of online platforms that allow webmasters to install coin miners into their websites as an alternative means of monetization. The most notable platforms that provide JavaScript cryptocurrency miners for websites are JSE Coin and Coinhive.

Controversy Around JavaScript Miners

Both of these platforms allow webmasters to register and obtain a snippet of JavaScript code that they can install on their sites. This code will work in the background of visitors’ browsers, mining coins by utilizing excess CPU power of their computer.

In this blog post we will not discuss whether it’s a good alternative for banner ads, nor whether your computer has “excess CPU power” that allows websites you visit to drain – this is what happens when you visit a site with CoinHive JavaScript Miner.

Visitor’s computer CPU load

For example, many visitors of PirateBay immediately noticed that it began testing such an online miner. It’s a no-brainer that ad blockers will soon begin blocking JavaScript miners too.

Like with any other type of website monetization, this one is prone to abuse, especially in its early stages. It didn’t take long for us to encounter the CoinHive miner installed on hacked sites. It’s a natural move for bad actors who similarly abuse other legitimate means of website monetization, for example, installing their own ad or affiliate codes to third-party sites.

Malicious Injection with CoinHive Miner

In this case, a webmaster contacted us and said that some of their site visitors noticed high processor load while visiting the site. Some of them even identified the CoinHive cryptominer there. Indeed, the HTML code of web pages contained this code in the footer section:

Injected code

That security.fblaster[.]com script loaded the CoinHive Miner script

CoinHive miner on security.fblaster[.]comIt’s not the official way to use the CoinHive Miner  (which is supposed to be loaded from lib/coinhive.min.js on their own site) but if you check the first long line of the “security.fblaster[.]com” script you’ll see that it’s identical to the CoinHive’s own coinhive.min.js. The rest of the lines are the part that initializes the miner using the site’s unique key and starts it on page load.

Security.fblaster[.]com Malware

We searched for security.fblaster[.]com and found very similar injections on a few other sites.

  • hxxp://security.fblaster[.]com/sidebar.js?id=1
  • hxxp://security.fblaster[.]com/slider.js?id=1
  • hxxp://security.fblaster[.]com/widgets.js?id=1

The names of the scripts are made to appear legitimate so that the webmaster doesn’t get alarmed when seeing them. Moreover, a couple of sites we investigated referenced the domain names of the infected sites within the malicious script – making them look even more as if they belong on the sites.

Those scripts have been already removed from most of the infected sites, but one site still had that live script and it loaded the same crypto-miner with another site key: XMzUIs3Jx7qkRuPPfxG4I5k4AdXfQV6D.

Cryptominer Re-uses Old Infection

We checked the infected sites on the Wayback Machine and tracked down that injection to the end of 2016. We also noticed that the IP address of the “security.fblaster[.]com” server (178.62.224.14 – Digitalocean Amsterdam) was mentioned in a tweet about an attacks that tried to exploit RevSlider vulnerability:

#RevSlider #soaksoak #malware attempts from 178.62.224.14 (NL) ../wp-config.php

That was strange considering CoinHive didn’t even exist back then. According to WHOIS, coin-hive.com (the domain that is hard-coded inside the JavaScript miner) was registered just a month ago on August 24th, 2017.

Moreover, on the site whose webmaster contacted us, the script was only injected on September 19th, 2017 (which was confirmed by Google cache). We also noticed that the script had a long number in the ?id= parameter that changed on every page load, while in scripts on other sites it was always ?id=1.

It appears as if this is not a new infection, but since the attackers already control the “security.fblaster[.]com” server, they can easily modify the malicious script without having to change anything on sites that they had infected previously.

Once the hackers learned about CoinHive, they registered for the service (it only asks for a valid email address) and ported their JavaScript Miner to work off of their own domain – effectively re-using the scripts they already injected to compromised sites.

Since the cryptocurrency miner only produces meaningful results on sites with lots of visitors (or on a large number of less popular sites), they began to inject the miner to new sites just a few days ago. At this point the security.fblaster[.]com infection is not massive (although there are other similar attacks as you’ll read below) as we don’t see it on many other sites so probably the attackers are still testing this approach.

Infected Files on WordPress

Now let’s see how this infection works on the server. A quick scan revealed modified core WordPress files.

The first modification was discovered at the top of the wp-admin/admin-header.php