PUA.Win64.XMRig.KBW

 Analysis by: Carlos Villegas Madrid

 ALIASES:

PUA.CoinMiner (IKARUS)

 PLATFORM:

Windows

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

  • Threat Type: Potentially Unwanted Application

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

  TECHNICAL DETAILS

File Size:

5,389,312 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

10 May 2023

Other Details

This Potentially Unwanted Application requires the following additional components to properly run:

  • {Execution directory}\config.json
  • {%User Profile%}\.xmrig.json
  • {%User Profile%}\.config\xmrig.json

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It does the following:

  • Supported algorithm options:
    • cryptonight/0
    • cryptonight
    • cryptonight/1
    • cryptonight-monerov7
    • cryptonight_v7
    • cryptonight/2
    • cryptonight-monerov8
    • cryptonight_v8
    • cryptonight/fast
    • cryptonight/msr
    • cn/msr
    • cryptonight/r
    • cryptonight_r
    • cryptonight/xao
    • cryptonight_alloy
    • cryptonight/half
    • cryptonight/rto
    • cryptonight/rwz
    • cryptonight/zls
    • cryptonight/double
    • cryptonight/ccx
    • cryptonight/conceal
    • cn/conceal
    • cryptonight-lite/0
    • cryptonight-lite
    • cryptonight-light
    • cn-lite
    • cn-light
    • cryptonight_lite
    • cryptonight-lite/1
    • cryptonight-aeonv7
    • cryptonight_lite_v7
    • cryptonight-heavy/0
    • cryptonight-heavy
    • cn-heavy
    • cryptonight_heavy
    • cryptonight-heavy/xhv
    • cryptonight_haven
    • cryptonight-heavy/tube
    • cryptonight-bittube2
    • cryptonight-pico
    • cn-pico/0
    • cryptonight-pico/trtl
    • cn-pico/trtl
    • cryptonight-turtle
    • cn-trtl
    • cryptonight-ultralite
    • cn-ultralite
    • cryptonight_turtle
    • cn_turtle
    • cryptonight-pico/tlo
    • cryptonight/ultra
    • cn/ultra
    • cryptonight-talleo
    • cn-talleo
    • cryptonight_talleo
    • cn_talleo
    • cryptonight/upx2
    • cn-extremelite/upx2
    • cryptonight-upx/2
    • randomx/0
    • randomx/test
    • rx/test
    • randomx
    • randomx/wow
    • randomwow
    • randomx/arq
    • randomarq
    • randomx/graft
    • randomgraft
    • randomx/sfx
    • randomsfx
    • randomx/keva
    • randomkeva
    • chukwa
    • chukwav2
    • argon2/wrkz
    • kawpow/rvn
    • ghostrider/rtm
    • gr
  • Supported coin options:
    • Monero
    • Sumokoin
    • ArQmA
    • Graft
    • Kevacoin
    • Ravencoin
    • Wownero

It accepts the following parameters:

  • -o, --url=URL URL of mining server
  • -a, --algo=ALGO mining algorithm https://xmrig.com/docs/algorithms
  • --coin=COIN specify coin instead of algorithm
  • -u, --user=USERNAME username for mining server
  • -p, --pass=PASSWORD password for mining server
  • -O, --userpass=U:Pusername:password pair for mining server
  • -x, --proxy=HOST:PORT connect through a SOCKS5 proxy
  • -k, --keepalive send keepalived packet for prevent timeout (needs pool support)
  • --nicehashenable nicehash.com support
  • --rig-id=ID rig identifier for pool-side statistics (needs pool support)
  • --tls enable SSL/TLS support (needs pool support)
  • --tls-fingerprint=HEX pool TLS certificate fingerprint for strict certificate pinning
  • --dns-ipv6prefer IPv6 records from DNS responses
  • --dns-ttl=N N seconds (default: 30) TTL for internal DNS cache
  • --daemonuse daemon RPC instead of pool for solo mining
  • --daemon-poll-interval=Ndaemon poll interval in milliseconds (default: 1000)
  • --self-select=URL self-select block templates from URL
  • --submit-to-originalso submit solution back to self-select URL
  • -r, --retries=N number of times to retry before switch to backup server (default: 5)
  • -R, --retry-pause=N time to pause between retries (default: 5)
  • --user-agentset custom user-agent string for pool
  • --donate-level=Ndonate level, default 1%% (1 minute in 100 minutes)
  • --donate-over-proxy=N control donate over xmrig-proxy feature
  • --no-cpudisable CPU mining backend
  • -t, --threads=N number of CPU threads, proper CPU affinity required for some optimizations.
  • --cpu-affinity=Nset process affinity to CPU core(s), mask 0x3 for cores 0 and 1
  • -v, --av=Nalgorithm variation, 0 auto select
  • --cpu-priority=Nset process priority (0 idle, 2 normal to 5 highest)
  • --cpu-max-threads-hint=Nmaximum CPU threads count (in percentage) hint for autoconfig
  • --cpu-memory-pool=N number of 2 MB pages for persistent memory pool, -1 (auto), 0 (disable)
  • --cpu-no-yieldprefer maximum hashrate rather than system response/stability
  • --no-huge-pages disable huge pages support
  • --huge-pages-jitenable huge pages support for RandomX JIT code
  • --asm=ASM ASM optimizations, possible values: auto, none, intel, ryzen, bulldozer
  • --argon2-impl=IMPLargon2 implementation: x86_64, SSE2, SSSE3, XOP, AVX2, AVX-512F
  • --randomx-init=Nthreads count to initialize RandomX dataset
  • --randomx-no-numa disable NUMA support for RandomX
  • --randomx-mode=MODE RandomX mode: auto, fast, light
  • --randomx-1gb-pages use 1GB hugepages for RandomX dataset (Linux only)
  • --randomx-wrmsr=N write custom value(s) to MSR registers or disable MSR mod (-1)
  • --randomx-no-rdmsrdisable reverting initial MSR values on exit
  • --randomx-cache-qos enable Cache QoS
  • --openclenable OpenCL mining backend
  • --opencl-devices=Ncomma separated list of OpenCL devices to use
  • --opencl-platform=N OpenCL platform index or name
  • --opencl-loader=PATHpath to OpenCL-ICD-Loader (OpenCL.dll or libOpenCL.so)
  • --opencl-no-cache disable OpenCL cache
  • --print-platforms print available OpenCL platforms and exit
  • --cudaenable CUDA mining backend
  • --cuda-loader=PATHpath to CUDA plugin (xmrig-cuda.dll or libxmrig-cuda.so)
  • --cuda-devices=Ncomma separated list of CUDA devices to use
  • --cuda-bfactor-hint=N bfactor hint for autoconfig (0-12)
  • --cuda-bsleep-hint=Nbsleep hint for autoconfig
  • --no-nvml disable NVML (NVIDIA Management Library) support
  • --api-worker-id=IDcustom worker-id for API
  • --api-id=ID custom instance ID for API
  • --http-host=HOSTbind host for HTTP API (default: 127.0.0.1)
  • --http-port=N bind port for HTTP API
  • --http-access-token=T access token for HTTP API
  • --http-no-restrictedenable full remote access to HTTP API (only if access token set)
  • --tls-gen=HOSTNAMEgenerate TLS certificate for specific hostname
  • --tls-cert=FILE load TLS certificate chain from a file in the PEM format
  • --tls-cert-key=FILE load TLS certificate private key from a file in the PEM format
  • --tls-dhparam=FILEload DH parameters for DHE ciphers from a file in the PEM format
  • --tls-protocols=N enable specified TLS protocols, example: "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3"
  • --tls-ciphers=S set list of available ciphers (TLSv1.2 and below)
  • --tls-ciphersuites=Sset list of available TLSv1.3 ciphersuites
  • -l, --log-file=FILE log all output to a file
  • --print-time=Nprint hashrate report every N seconds
  • --health-print-time=N print health report every N seconds
  • --no-colordisable colored output
  • --verbose verbose output
  • -c, --config=FILE load a JSON-format configuration file
  • -B, --backgroundrun the miner in the background
  • -V, --version output version information and exit
  • -h, --helpdisplay this help and exit
  • --dry-run test configuration and exit
  • --export-topology export hwloc topology to a XML file and exit
  • --title set custom console window title
  • --no-titledisable setting console window title
  • --pause-on-batterypause mine on battery power
  • --pause-on-active=N pause mine when the user is active (resume after N seconds of last activity)
  • --stressrun continuous stress test to check system stability
  • --bench=N run benchmark, N can be between 1M and 10M
  • --submitperform an online benchmark and submit result for sharing
  • --verify=ID verify submitted benchmark by ID
  • --seed=SEED custom RandomX seed for benchmark
  • --hash=HASH compare benchmark result with specified hash
  • --no-dmidisable DMI/SMBIOS reader

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

SSAPI PATTERN File:

2.603.00

SSAPI PATTERN Date:

04 Mar 2023

Step 1

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 2

Identify and terminate files detected as PUA.Win64.XMRig.KBW

[ 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

Scan your computer with your Trend Micro product to delete files detected as PUA.Win64.XMRig.KBW. 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.