Analysis
-
max time kernel
32s -
max time network
36s -
platform
ubuntu-18.04_amd64 -
resource
ubuntu1804-amd64-20240611-en -
resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system -
submitted
10-10-2024 21:28
Static task
static1
Behavioral task
behavioral1
Sample
xmr_linux_amd64 (4)
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
xmr_linux_amd64 (4)
Resource
ubuntu2004-amd64-20240611-en
Behavioral task
behavioral3
Sample
xmr_linux_amd64 (4)
Resource
ubuntu2204-amd64-20240729-en
Behavioral task
behavioral4
Sample
xmr_linux_amd64 (4)
Resource
ubuntu2404-amd64-20240523-en
General
-
Target
xmr_linux_amd64 (4)
-
Size
9.1MB
-
MD5
78a8cadaeade8826560e68057f751b82
-
SHA1
354317e180688c01d2faad7ffd6970a9afd86a94
-
SHA256
811510f00dabcd3a414015f7812c1516eb9a8471a4fec2150d7b42bdcd451bc1
-
SHA512
ec576f085d83c9dba62a13290907733235d3c65781d77c93802ca0cb2aebc1eea9d9b69ae2532b8729b8ae8ca9104e964404feda46a683488710c2fefff59fa3
-
SSDEEP
49152:6+fJxIlZGEB8SDBjuS+WzqZxg5TsRGofg1x+ThfGlEpyXFlV3BobTWHfU5E/qB/Y:6obTcljiWZeUkgYGlbbBOE/iaZH9
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 1506 xmrig -
Processes:
modprobeioc pid process /lib/modules/4.15.0-213-generic/kernel/arch/x86/kernel/msr.ko 1513 modprobe -
Modifies hosts file 1 IoCs
Adds to hosts file used for mapping hosts to IP addresses.
Processes:
xmr_linux_amd64 (4)description ioc process File opened for modification /etc/hosts xmr_linux_amd64 (4) -
Abuse Elevation Control Mechanism: Sudo and Sudo Caching 1 TTPs 1 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/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 File opened for reading /sys/devices/virtual/dmi/id/product_name 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 22 raw.githubusercontent.com 23 raw.githubusercontent.com 24 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/board_asset_tag 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/bios_date xmrig File opened for reading /sys/devices/virtual/dmi/id/board_version xmrig File opened for reading /sys/devices/virtual/dmi/id/board_serial xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag 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/board_name xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor xmrig File opened for reading /sys/devices/virtual/dmi/id/chassis_type xmrig File opened for reading /sys/devices/virtual/dmi/id/product_uuid xmrig File opened for reading /sys/devices/virtual/dmi/id/bios_version 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:
xmr_linux_amd64 (4)description ioc process File opened for reading /proc/modules xmr_linux_amd64 (4) -
Checks CPU configuration 1 TTPs 2 IoCs
Checks CPU information which indicate if the system is a virtual machine.
Processes:
xmrigxmr_linux_amd64 (4)description ioc process File opened for reading /proc/cpuinfo xmrig File opened for reading /proc/cpuinfo xmr_linux_amd64 (4) -
Reads CPU attributes 1 TTPs 46 IoCs
Processes:
xmrigxmr_linux_amd64 (4)description ioc process 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/index2/type 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/online 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/index0/physical_line_partition xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/level 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/index0/size 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/topology/core_id xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/cluster_cpus xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/die_cpus 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/possible xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/core_siblings xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/level 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/cache/index8/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cpu_capacity xmrig File opened for reading /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq xmrig File opened for reading /sys/devices/system/cpu/cpu0/topology/thread_siblings xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/type 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/index5/shared_cpu_map 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/cpufreq/cpuinfo_max_freq xmr_linux_amd64 (4) File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size 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/index3/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/index0/id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/level 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/cpufreq/base_frequency 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/index2/shared_cpu_map xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/id xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/size xmrig File opened for reading /sys/devices/system/cpu/cpu0/cache/index9/shared_cpu_map xmrig -
Enumerates kernel/hardware configuration 1 TTPs 28 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
Processes:
xmrigmodprobexmr_linux_amd64 (4)description ioc process 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/online 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/access1/initiators xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/write_latency xmrig File opened for reading /sys/fs/cgroup/unified/cgroup.controllers xmrig File opened for reading /sys/devices/system/cpu xmrig File opened for reading /sys/module/msr/initstate modprobe File opened for reading /sys/devices/virtual/dmi/id xmrig File opened for reading /sys/firmware/dmi/tables/smbios_entry_point xmrig File opened for reading /sys/fs/cgroup/cpuset/cpuset.cpus xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators xmrig File opened for reading /sys/bus/dax/devices xmrig File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages xmrig File opened for reading /sys/firmware/dmi/tables/DMI xmrig File opened for reading /sys/bus/soc/devices xmrig File opened for reading /sys/devices/system/node/node0/hugepages xmrig File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages xmrig File opened for reading /sys/kernel/mm/transparent_hugepage/hpage_pmd_size xmr_linux_amd64 (4) File opened for reading /sys/devices/system/node/node0/meminfo xmrig File opened for reading /sys/devices/system/node/node0/cpumap xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/write_bandwidth xmrig File opened for reading /sys/devices/cpu_core/cpus xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/read_bandwidth xmrig File opened for reading /sys/fs/cgroup/cpuset/cpuset.mems xmrig File opened for reading /sys/devices/cpu_atom/cpus xmrig File opened for reading /sys/devices/system/node/node0/access0/initiators/read_latency xmrig -
Processes:
xmr_linux_amd64 (4)xmrigdescription ioc process File opened for reading /proc/406/cmdline xmr_linux_amd64 (4) File opened for reading /proc/451/cmdline xmr_linux_amd64 (4) File opened for reading /proc/704/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1119/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1491/cmdline xmr_linux_amd64 (4) File opened for reading /proc/415/stat xmr_linux_amd64 (4) File opened for reading /proc/21/comm xmr_linux_amd64 (4) File opened for reading /proc/2/comm xmr_linux_amd64 (4) File opened for reading /proc/586/comm xmr_linux_amd64 (4) File opened for reading /proc/1241/status xmr_linux_amd64 (4) File opened for reading /proc/23/comm xmr_linux_amd64 (4) File opened for reading /proc/156/comm xmr_linux_amd64 (4) File opened for reading /proc/1054/comm xmr_linux_amd64 (4) File opened for reading /proc/169/stat xmr_linux_amd64 (4) File opened for reading /proc/1179/stat xmr_linux_amd64 (4) File opened for reading /proc/1483/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1031/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1275/status xmr_linux_amd64 (4) File opened for reading /proc/471/comm xmr_linux_amd64 (4) File opened for reading /proc/631/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1067/status xmr_linux_amd64 (4) File opened for reading /proc/1223/comm xmr_linux_amd64 (4) File opened for reading /proc/1484/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1115/stat xmr_linux_amd64 (4) File opened for reading /proc/436/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1165/stat xmr_linux_amd64 (4) File opened for reading /proc/1174/stat xmr_linux_amd64 (4) File opened for reading /proc/1275/cmdline xmr_linux_amd64 (4) File opened for reading /proc/700/stat xmr_linux_amd64 (4) File opened for reading /proc/1152/stat xmr_linux_amd64 (4) File opened for reading /proc/78/comm xmr_linux_amd64 (4) File opened for reading /proc/153/comm xmr_linux_amd64 (4) File opened for reading /proc/2/stat xmr_linux_amd64 (4) File opened for reading /proc/1067/stat xmr_linux_amd64 (4) File opened for reading /proc/79/cmdline xmr_linux_amd64 (4) File opened for reading /proc/443/cmdline xmr_linux_amd64 (4) File opened for reading /proc/559/status xmr_linux_amd64 (4) File opened for reading /proc/1097/cmdline xmr_linux_amd64 (4) File opened for reading /proc/18/stat xmr_linux_amd64 (4) File opened for reading /proc/32/cmdline xmr_linux_amd64 (4) File opened for reading /proc/1087/stat xmr_linux_amd64 (4) File opened for reading /proc/1145/stat xmr_linux_amd64 (4) File opened for reading /proc/1255/stat xmr_linux_amd64 (4) File opened for reading /proc/1466/stat xmr_linux_amd64 (4) File opened for reading /proc/82/cmdline xmr_linux_amd64 (4) File opened for reading /proc/115/status xmr_linux_amd64 (4) File opened for reading /proc/1/stat xmr_linux_amd64 (4) File opened for reading /proc/1074/stat xmr_linux_amd64 (4) File opened for reading /proc/451/comm xmr_linux_amd64 (4) File opened for reading /proc/1067/cmdline xmr_linux_amd64 (4) File opened for reading /proc/83/comm xmr_linux_amd64 (4) File opened for reading /proc/329/comm xmr_linux_amd64 (4) File opened for reading /proc/510/comm xmr_linux_amd64 (4) File opened for reading /proc/708/comm xmr_linux_amd64 (4) File opened for reading /proc/1119/comm xmr_linux_amd64 (4) File opened for reading /proc/6/stat xmr_linux_amd64 (4) File opened for reading /proc/406/status xmr_linux_amd64 (4) File opened for reading /proc/198/comm xmr_linux_amd64 (4) File opened for reading /proc/329/cmdline xmr_linux_amd64 (4) File opened for reading /proc/162/stat xmr_linux_amd64 (4) File opened for reading /proc/160/cmdline xmr_linux_amd64 (4) File opened for reading /proc/164/comm xmr_linux_amd64 (4) File opened for reading /proc/mounts xmrig File opened for reading /proc/9/stat xmr_linux_amd64 (4) -
Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
Processes:
xmr_linux_amd64 (4)description ioc process File opened for modification /tmp/xmrig/xmrig-6.22.0/config.json xmr_linux_amd64 (4) File opened for modification /tmp/xmrig/xmrig-6.22.0/xmrig xmr_linux_amd64 (4)
Processes
-
/tmp/xmr_linux_amd64 (4)"/tmp/xmr_linux_amd64 (4)"1⤵
- 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:1487 -
/usr/bin/sudosudo -n true2⤵
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
PID:1494 -
/tmp/xmrig/xmrig-6.22.0/xmrig/tmp/xmrig/xmrig-6.22.0/xmrig2⤵
- 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:1506 -
/bin/shsh -c "/sbin/modprobe msr allow_writes=on > /dev/null 2>&1"3⤵PID:1512
-
/sbin/modprobe/sbin/modprobe msr "allow_writes=on"4⤵
- Loads a kernel module
- Enumerates kernel/hardware configuration
PID:1513
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
MD5a0713f0517534dc9fab0c94a6d1a6486
SHA16884691135dda6ddafb89e7e5fdc01ef0ec46330
SHA256fd7e4b6b70e1c25cc9f3a0ef8826e5b93af6b80affc5e9bc63dca69518ef4d8d
SHA512c91deb8cf6bd4363b10c9e67a9a424cb7cadf53b764dddb8e5eb59fe323ae6c0d6c980a62a94d4058b75e1f2d5b926dccbc1738970e969d6943c7d3caeb1db1e
-
Filesize
9.0MB
MD53d1f6bd959a6bdc423d43342dde28b56
SHA179266b5cc7c3762998e87411c56b6bd1a573b91f
SHA2560d861bf1eafe3cd5d47197b2def17efb6853f2d0a5a46cafb289c013c449b33b
SHA512b660cfad542a18a82f06080a51976ab7a355080572728f814b1b927e6956918b73172ecd58c5a9dcfe1af6759dc8bf9acbaa2595e6c10e0e44e7ade903e87439