COINMINER_CRYPTONIGHT.SM-JS

 Analysis by: Johnlery Triunfante

 ALIASES:

Trojan.JS.Miner.m (Kaspersky); Trojan:HTML/Brocoiner (Microsoft); Application.BitCoinMiner.SX (BitDefender)

 PLATFORM:

Windows

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

  • Threat Type: Coinminer

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet

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

It uses the system's central processing unit (CPU) and/or graphical processing unit (GPU) resources to mine cryptocurrency.

  TECHNICAL DETAILS

File Size:

243,862 bytes

File Type:

JS

Memory Resident:

Yes

Initial Samples Received Date:

27 Feb 2018

Payload:

Connects to URLs/IPs

Arrival Details

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

Other Details

This Coinminer does the following:

  • This JavaScript is embedded into websites to run a coinminer for Monero cryptocurrency miner.
  • It has the capability to monitor the following events:
    • optin
    • open
    • authed
    • close
    • error
    • job
    • found
    • accepted
  • It can have the following start modes:
    • 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.
  • It sends events and other data to the following URLs:
    • 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

It uses the system's central processing unit (CPU) and/or graphical processing unit (GPU) resources to mine cryptocurrency. This behavior makes the system run abnormally slow.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.158.08

FIRST VSAPI PATTERN DATE:

29 Mar 2018

VSAPI OPR PATTERN File:

14.159.00

VSAPI OPR PATTERN Date:

30 Mar 2018

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

Close all opened browser windows

Step 3

Scan your computer with your Trend Micro product to delete files detected as COINMINER_CRYPTONIGHT.SM-JS. 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.