Analysis
-
max time kernel
149s -
max time network
149s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240611-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
01-10-2024 08:13
Static task
static1
Behavioral task
behavioral1
Sample
xmrlinuxamd64
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
xmrlinuxamd64
-
Size
8.8MB
-
MD5
696180ee1b5a45a4897ebe78219cdbbf
-
SHA1
aba713a4b818a908ecef92600385e101323a43d8
-
SHA256
39e260ecea6351d0951be6d16f6eb3d243f22837d1f9bb47356d3a3320e30c69
-
SHA512
870989e87d2cdd99d6252558c5a93124755cfc49c58cf8cf2a34eb5583d7870415949286de7b28ec6d9d7ea34a5ab437d5d0e8aaf9e664d968ea1cabd24cd261
-
SSDEEP
49152:8zs7cjkjzBbeojVRCa11UmE8NgClMtyOt/4v0kBCYHujKkxfCyY3H95EbBuE3Z9e:asZXBi+Ucim9XMgOpc0k7AUEFj/+zd
Malware Config
Signatures
-
XMRig Miner payload 2 IoCs
Processes:
resource yara_rule /tmp/xmrig/xmrig-6.22.0/xmrig family_xmrig /tmp/xmrig/xmrig-6.22.0/xmrig xmrig -
xmrig
XMRig is a high performance, open source, cross platform CPU/GPU miner.
-
Executes dropped EXE 1 IoCs
Processes:
xmrigioc pid process /tmp/xmrig/xmrig-6.22.0/xmrig 1611 xmrig -
Modifies hosts file 1 IoCs
Adds to hosts file used for mapping hosts to IP addresses.
Processes:
xmrlinuxamd64description ioc process File opened for modification /etc/hosts xmrlinuxamd64 -
OS Credential Dumping 1 TTPs 2 IoCs
Adversaries may attempt to dump credentials to use it in password cracking.
Processes:
sudosudodescription ioc process File opened for reading /etc/shadow sudo File opened for reading /etc/shadow sudo -
Abuse Elevation Control Mechanism: Sudo and Sudo Caching 1 TTPs 2 IoCs
Abuse sudo or cached sudo credentials to execute code.
-
Checks hardware identifiers (DMI) 1 TTPs 4 IoCs
Checks DMI information which indicate if the system is a virtual machine.
Processes:
xmrigdescription ioc process File opened for reading /sys/devices/virtual/dmi/id/product_name xmrig File opened for reading /sys/devices/virtual/dmi/id/board_vendor xmrig File opened for reading /sys/devices/virtual/dmi/id/bios_vendor xmrig File opened for reading /sys/devices/virtual/dmi/id/sys_vendor xmrig -
Enumerates running processes
Discovers information about currently running processes on the system
-
Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
Processes:
flow ioc 14 raw.githubusercontent.com 15 raw.githubusercontent.com 16 raw.githubusercontent.com -
Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
Processes:
flow ioc 2 api.ipify.org 3 api.ipify.org 4 api.ipify.org -
Reads hardware information 1 TTPs 14 IoCs
Accesses system info like serial numbers, manufacturer names etc.
Processes:
xmrigdescription ioc process File opened for reading /sys/devices/virtual/dmi/id/product_uuid xmrig File opened for reading /sys/devices/virtual/dmi/id/board_serial xmrig File opened for reading /sys/devices/virtual/dmi/id/product_version xmrig File opened for reading /sys/devices/virtual/dmi/id/product_serial xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor xmrig File opened for reading /sys/devices/virtual/dmi/id/board_name xmrig File opened for reading /sys/devices/virtual/dmi/id/board_version xmrig File opened for reading /sys/devices/virtual/dmi/id/bios_version xmrig File opened for reading /sys/devices/virtual/dmi/id/bios_date xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_version xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_serial xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag xmrig File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_type xmrig -
Reads list of loaded kernel modules 1 TTPs 1 IoCs
Reads the list of currently loaded kernel modules, possibly to detect virtual environments.
Processes:
xmrlinuxamd64description ioc process File opened for reading /proc/modules xmrlinuxamd64 -
Checks CPU configuration 1 TTPs 2 IoCs
Checks CPU information which indicate if the system is a virtual machine.
Processes:
xmrlinuxamd64xmrigdescription ioc process File opened for reading /proc/cpuinfo xmrlinuxamd64 File opened for reading /proc/cpuinfo xmrig -
Reads CPU attributes 1 TTPs 46 IoCs
Processes:
xmrigxmrlinuxamd64description ioc process File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index5/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/online xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/physical_package_id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/level xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cpu_capacity xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/cluster_cpus xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/number_of_sets xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index4/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/core_id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index9/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cpufreq/base_frequency xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/package_cpus xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/type xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/physical_line_partition xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/type xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/number_of_sets xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/coherency_line_size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/coherency_line_size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/type xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/number_of_sets xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/physical_line_partition xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index6/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/type xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/physical_line_partition xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/level xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index7/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/level xmrig File opened for reading /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq xmrlinuxamd64 File opened for reading /sys/devices/system/cpu/cpu0/topology/die_cpus xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/id xmrig File opened for reading /sys/devices/system/cpu/possible xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/core_cpus xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/level xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index8/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq xmrig -
Enumerates kernel/hardware configuration 1 TTPs 29 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
Processes:
xmrigxmrlinuxamd64description ioc process File opened for reading /sys/fs/cgroup/cpuset.mems.effective xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/write_bandwidth xmrig File opened for reading /sys/kernel/mm/transparent_hugepage/hpage_pmd_size xmrlinuxamd64 File opened for reading /sys/devices/system/cpu xmrig File opened for reading /sys/bus/soc/devices xmrig File opened for reading /sys/devices/virtual/dmi/id xmrig File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages xmrig File opened for reading /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages xmrig File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/write_latency xmrig File opened for reading /sys/fs/cgroup/cgroup.controllers xmrig File opened for reading /sys/devices/system/node/online xmrig File opened for reading /sys/devices/system/node/node0/cpumap xmrig File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages xmrig File opened for reading /sys/firmware/dmi/tables/smbios_entry_point xmrig File opened for reading /sys/fs/cgroup/cpuset.cpus.effective xmrig File opened for reading /sys/devices/cpu_core/cpus xmrig File opened for reading /sys/kernel/mm/hugepages xmrig File opened for reading /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages xmrig File opened for reading /sys/devices/system/node/node0/meminfo xmrig File opened for reading /sys/devices/system/node/node0/access1/initiators xmrig File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages xmrig File opened for reading /sys/devices/cpu_atom/cpus xmrig File opened for reading /sys/devices/system/node/node0/hugepages xmrig File opened for reading /sys/bus/dax/devices xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/read_bandwidth xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/read_latency xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators xmrig File opened for reading /sys/firmware/dmi/tables/DMI xmrig -
Processes:
xmrigxmrlinuxamd64sudodescription ioc process File opened for reading /proc/mounts xmrig File opened for reading /proc/97/stat xmrlinuxamd64 File opened for reading /proc/412/stat xmrlinuxamd64 File opened for reading /proc/862/comm xmrlinuxamd64 File opened for reading /proc/23/stat xmrlinuxamd64 File opened for reading /proc/630/stat xmrlinuxamd64 File opened for reading /proc/18/comm xmrlinuxamd64 File opened for reading /proc/521/cmdline xmrlinuxamd64 File opened for reading /proc/968/cmdline xmrlinuxamd64 File opened for reading /proc/1042/status xmrlinuxamd64 File opened for reading /proc/112/cmdline xmrlinuxamd64 File opened for reading /proc/222/comm xmrlinuxamd64 File opened for reading /proc/1088/comm xmrlinuxamd64 File opened for reading /proc/408/stat xmrlinuxamd64 File opened for reading /proc/599/stat xmrlinuxamd64 File opened for reading /proc/1051/stat xmrlinuxamd64 File opened for reading /proc/6/cmdline xmrlinuxamd64 File opened for reading /proc/631/comm xmrlinuxamd64 File opened for reading /proc/744/comm xmrlinuxamd64 File opened for reading /proc/sys/kernel/ngroups_max sudo File opened for reading /proc/89/stat xmrlinuxamd64 File opened for reading /proc/259/stat xmrlinuxamd64 File opened for reading /proc/445/stat xmrlinuxamd64 File opened for reading /proc/959/cmdline xmrlinuxamd64 File opened for reading /proc/777/comm xmrlinuxamd64 File opened for reading /proc/1290/comm xmrlinuxamd64 File opened for reading /proc/21/stat xmrlinuxamd64 File opened for reading /proc/866/stat xmrlinuxamd64 File opened for reading /proc/27/comm xmrlinuxamd64 File opened for reading /proc/95/cmdline xmrlinuxamd64 File opened for reading /proc/112/comm xmrlinuxamd64 File opened for reading /proc/113/comm xmrlinuxamd64 File opened for reading /proc/1296/comm xmrlinuxamd64 File opened for reading /proc/86/stat xmrlinuxamd64 File opened for reading /proc/112/stat xmrlinuxamd64 File opened for reading /proc/73/comm xmrlinuxamd64 File opened for reading /proc/410/comm xmrlinuxamd64 File opened for reading /proc/1080/status xmrlinuxamd64 File opened for reading /proc/80/stat xmrlinuxamd64 File opened for reading /proc/762/stat xmrlinuxamd64 File opened for reading /proc/21/comm xmrlinuxamd64 File opened for reading /proc/211/cmdline xmrlinuxamd64 File opened for reading /proc/652/cmdline xmrlinuxamd64 File opened for reading /proc/1462/cmdline xmrlinuxamd64 File opened for reading /proc/1160/comm xmrlinuxamd64 File opened for reading /proc/446/stat xmrlinuxamd64 File opened for reading /proc/644/stat xmrlinuxamd64 File opened for reading /proc/1153/stat xmrlinuxamd64 File opened for reading /proc/1187/stat xmrlinuxamd64 File opened for reading /proc/1100/comm xmrlinuxamd64 File opened for reading /proc/1153/cmdline xmrlinuxamd64 File opened for reading /proc/22/stat xmrlinuxamd64 File opened for reading /proc/1138/stat xmrlinuxamd64 File opened for reading /proc/13/comm xmrlinuxamd64 File opened for reading /proc/588/cmdline xmrlinuxamd64 File opened for reading /proc/1211/cmdline xmrlinuxamd64 File opened for reading /proc/78/stat xmrlinuxamd64 File opened for reading /proc/99/stat xmrlinuxamd64 File opened for reading /proc/89/status xmrlinuxamd64 File opened for reading /proc/89/cmdline xmrlinuxamd64 File opened for reading /proc/218/stat xmrlinuxamd64 File opened for reading /proc/770/stat xmrlinuxamd64 File opened for reading /proc/1042/stat xmrlinuxamd64 File opened for reading /proc/446/status xmrlinuxamd64 -
Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
Processes:
xmrlinuxamd64description ioc process File opened for modification /tmp/xmrig/xmrig-6.22.0/xmrig xmrlinuxamd64 File opened for modification /tmp/xmrig/xmrig-6.22.0/config.json xmrlinuxamd64
Processes
-
/tmp/xmrlinuxamd64/tmp/xmrlinuxamd641⤵
- Modifies hosts file
- Reads list of loaded kernel modules
- Checks CPU configuration
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
- Writes file to tmp directory
PID:1587 -
/usr/bin/sudosudo -n true2⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
PID:1607 -
/usr/bin/truetrue3⤵PID:1608
-
-
-
/usr/bin/sudosudo -n /tmp/xmrig/xmrig-6.22.0/xmrig2⤵
- OS Credential Dumping
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
- Reads runtime system information
PID:1610 -
/tmp/xmrig/xmrig-6.22.0/xmrig/tmp/xmrig/xmrig-6.22.0/xmrig3⤵
- Executes dropped EXE
- Checks hardware identifiers (DMI)
- Reads hardware information
- Checks CPU configuration
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:1611
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
90B
MD5dbc6fcef70ddc428bd6fed92d06902d6
SHA1f5bf017e726674a6bc954552ba72615de1df1257
SHA256271572941325c5bb6af86dfd2160a2e1358f7130535f88689a4a92ba2c6309fe
SHA5120875636d796d3fb3f4a7930b041f70aec60ee2d11bddc22f5b93fb5ba045aa2bf353a8d0c8c789a7258da49ac099ffad8207344fd178aa85749eaf5504c3ad82
-
Filesize
4KB
MD55c6108e6bc4e612dd59aa1ce9ac909ff
SHA1b66515c379ee4ebaf312b1d453d147527d3a83b2
SHA256fa70f1a297f3ed7d2ef75598d4a1da3fb82d68fc14322fdcc0f29c909882a599
SHA512b69b4b6f73e03f82854f449737a9a24a489b1231681a62a3853037443489ccc52a576f85a5acd4ab21c612c8768f7b0ade6815785293926e195dc93a46d2670b
-
Filesize
4KB
MD5ad591d097f5fea14a2b6ae757c9bd1d5
SHA1aff8790f72f4bbbdc00ce8b87518573f7986ca07
SHA2560cfd1af6b4282a0f4a2341c51e0c9bb270e577558e925312edc5aa91ea80e2f1
SHA51284db1204e9cd5f1b35d7572269287788def04f41e4c256b7585a1f9c67bcf5f54f139fb68ff84f36205945413bf4b91968aa3f2b272a2d3b4a48f1ec23dce788
-
Filesize
9.0MB
MD53d1f6bd959a6bdc423d43342dde28b56
SHA179266b5cc7c3762998e87411c56b6bd1a573b91f
SHA2560d861bf1eafe3cd5d47197b2def17efb6853f2d0a5a46cafb289c013c449b33b
SHA512b660cfad542a18a82f06080a51976ab7a355080572728f814b1b927e6956918b73172ecd58c5a9dcfe1af6759dc8bf9acbaa2595e6c10e0e44e7ade903e87439