Analysis by: Byron Jon Gelera
 Modified by: Michael Jay Villanueva

ALIASES:

Trojan:HTML/Brocoiner!rfn (Microsoft)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Hacking Tool

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet

This Hacking Tool arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites. It may be hosted on a website and run when a user accesses the said website.

It does not have any propagation routine.

It does not have any backdoor routine.

  TECHNICAL DETAILS

File Size: 141,194 bytes
File Type: JS
Memory Resident: Yes
Initial Samples Received Date: 13 Dec 2017
Payload: Connects to URLs/IPs

Arrival Details

This Hacking Tool arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It may be hosted on a website and run when a user accesses the said website.

Propagation

This Hacking Tool does not have any propagation routine.

Backdoor Routine

This Hacking Tool does not have any backdoor routine.

NOTES:
This JavaScript is embedded into websites to run miner for Monero cryptocurrency miner.

Checks the either of the following before it runs its coinminer:

  • WebAssembly
  • asm.js

The script accepts following relevant parameters:

  • Target number of mining threads per tab
  • Throttle rate
  • execution / start - mode
  • Target number of hashes to solve

It can have the following start mode:

    IF_EXCLUSIVE_TAB - The miner will only start if no other tabs are already mining.

    FORCE_EXCLUSIVE_TAB - The miner will always start and immediately kill all miners in other tabs that have not specified CoinHive.FORCE_MULTI_TAB.

    FORCE_MULTI_TAB - The miner will always start.

Has the capability to monitor the following events:

  • open
  • authed
  • close
  • error
  • job
  • found
  • accepted
  • optin

Sends events and other data to the following URLs / Websocket Shards:

  • wss://{BLOCKED}1.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}2.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}3.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}4.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}5.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}6.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}7.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}8.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}9.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}0.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}1.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}2.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}3.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}4.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}5.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}6.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}7.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}8.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}9.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}0.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}1.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}2.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}3.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}4.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}5.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}6.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}7.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}8.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}9.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}0.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}1.{BLOCKED}ve.com/proxy
  • wss://{BLOCKED}2.{BLOCKED}ve.com/proxy

It accesses the following libraries:

  • https://{BLOCKED}mine.com/authenticate.html
  • https://{BLOCKED}ve.com/captcha/
  • https://{BLOCKED}ve.com/lib/
  • https://{BLOCKED}ve.com/media/miner.html

  SOLUTION

Minimum Scan Engine: 9.850
SSAPI PATTERN File: 1.901.00
SSAPI PATTERN Date: 14 Dec 2017

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Identify and terminate files detected as HKTL_COINMINE.GL

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 3

Close all opened browser windows

Step 4

Scan your computer with your Trend Micro product to delete files detected as HKTL_COINMINE.GL. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.