Analysis by: Bren Matthew Ebriega

ALIASES:

HEUR:RiskTool.Win32.BitCoinMiner.gen (KASPERSKY); Riskware/CoinMiner (FORTINET)

 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, Dropped by other malware

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

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

  TECHNICAL DETAILS

File Size: 3,823,616 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 24 Mar 2021

Arrival Details

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

Other Details

This Coinminer requires the following additional components to properly run:

  • {Malware Path}\libwinpthread-1.dll
  • {Malware Path}\libstdc++-6.dll
  • {Malware Path}\libgcc_s_seh-1.dll
  • {Malware Path}\libeay32.dll
  • {Malware Path}\libcurl-4.dll

It does the following:

  • It supports the following algorithm options:
    • allium
    • anime
    • argon2
    • argon2d250
    • argon2d500
    • argon2d4096
    • axiom
    • bastion
    • blake
    • blakecoin
    • blake2s
    • bmw
    • bmw512
    • c11
    • decred
    • deep
    • dmd-gr
    • drop
    • fresh
    • groestl
    • gr
    • heavy
    • hex
    • hmq1725
    • hodl
    • jha
    • keccak
    • keccakc
    • lbry
    • luffa
    • lyra2h
    • lyra2re
    • lyra2rev2
    • lyra2rev3
    • lyra2z
    • lyra2z330
    • m7m
    • myr-gr
    • neoscrypt
    • nist5
    • pentablake
    • phi1612
    • phi2
    • pluck
    • polytimos
    • quark
    • qubit
    • scrypt
    • scrypt:N
    • scryptjane:
    • sha256d
    • sha256q
    • sha256t
    • shavite3
    • skein
    • skein2
    • skunk
    • sonoa
    • timetravel
    • timetravel1
    • tribus
    • vanilla
    • veltor
    • whirlpool
    • whirlpoolx
    • x11
    • x11evo
    • x11gost
    • x12
    • x13
    • x13bcd
    • x13sm3
    • x14
    • x15
    • x16r
    • x16rt
    • x16rt-veil
    • x16s
    • x17
    • x21s
    • xevan
    • yescrypt
    • yescryptr8
    • yescryptr16
    • yescryptr32
    • yespower
    • yespowerr16
    • zr5

It accepts the following parameters:

  • -a or --algo=ALGO → specify the algorithm to use
  • -o or --url=URL → URL of mining server
  • -O or --userpass=U:P → username:password pair for mining server
  • -u or --user=USERNAME → username for mining server
  • -p or --pass=PASSWORD → password for mining server
  • -x or --proxy=[PROTOCOL://]HOST[:PORT] → connect through a proxy
  • -t or --threads=N → number of miner threads (default: number of processors)
  • -r or --retries=N → number of times to retry if a network call fails (default: retry indefinitely)
  • -R or --retry-pause=N → time to pause between retries, in seconds (default: 30)
  • -T or --timeout=N → timeout for long poll and stratum (default: 300 seconds)
  • -s or --scantime=N → upper bound on time spent scanning current work when long polling is unavailable, in seconds (default: 5)
  • -f or --diff-factor → Divide req. difficulty by this factor (std is 1.0)
  • -m or --diff-multiplier Multiply difficulty by this factor (std is 1.0)
  • -q or --quiet → disable per-thread hashmeter output
  • -D or --debug → enable debug output
  • -P or --protocol-dump → verbose dump of protocol-level activities
  • -B or --background → run the miner in the background
  • -b or --api-bind → IP/Port for the miner API (default: 127.0.0.1:4048)
  • -c or --config=FILE → load a JSON-format configuration file
  • -V or --version → display version information and exit
  • -h or --help → display this help text and exit
  • --cert=FILE → certificate for mining server using SSL
  • --time-limit=N → maximum time [s] to mine before exiting the program.
  • --randomize → Randomize scan range start to reduce duplicates
  • --hash-meter → Display thread hash rates
  • --hide-diff → Do not display changes in difficulty
  • --coinbase-addr=ADDR → payout address for solo mining
  • --coinbase-sig=TEXT → data to insert in the coinbase when possible
  • --no-longpoll → disable long polling support
  • --no-getwork → disable getwork support
  • --no-gbt → disable getblocktemplate support
  • --no-stratum → disable X-Stratum support
  • --no-extranonce → disable Stratum extranonce support
  • --no-redirect → ignore requests to change the URL of the mining server
  • --no-color → disable colored output
  • --benchmark → run in offline benchmark mode
  • --cputest → debug hashes from cpu algorithms
  • --cpu-affinity → set process affinity to cpu core(s), mask 0x3 for cores 0 and 1
  • --cpu-priority → set process priority (default: 0 idle, 2 normal to 5 highest)
  • --api-remote → Allow remote control
  • --max-temp=N → Only mine if cpu temp is less than specified value (linux)
  • --max-rate=N[KMG] → Only mine if net hashrate is less than specified value
  • --max-diff=N → Only mine if net difficulty is less than specified value

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.800
FIRST VSAPI PATTERN FILE: 16.612.05
FIRST VSAPI PATTERN DATE: 23 Mar 2021
VSAPI OPR PATTERN File: 16.613.00
VSAPI OPR PATTERN Date: 24 Mar 2021

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

     
    • Troj.Win32.TRX.XXPE50FFF042

Step 2

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

Step 3

Identify and terminate files detected as Coinminer.Win64.MALBTC.ANB

[ 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 4

Scan your computer with your Trend Micro product to delete files detected as Coinminer.Win64.MALBTC.ANB. 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.