Analysis
-
max time kernel
58s -
max time network
155s -
platform
ubuntu-18.04_amd64 -
resource
ubuntu1804-amd64-20231215-en -
resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20231215-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system -
submitted
20-12-2023 05:14
Static task
static1
Behavioral task
behavioral1
Sample
ai.sh
Resource
ubuntu1804-amd64-20231215-en
Behavioral task
behavioral2
Sample
ai.sh
Resource
debian9-armhf-20231215-en
Behavioral task
behavioral3
Sample
ai.sh
Resource
debian9-mipsbe-20231215-en
Behavioral task
behavioral4
Sample
ai.sh
Resource
debian9-mipsel-20231215-en
General
-
Target
ai.sh
-
Size
831B
-
MD5
b1a64a7afeda8fc66076eae49bdb6267
-
SHA1
0d840e800c0dac1d51f8a243056e94ed385c3a98
-
SHA256
9d5036d204e6598fd4c4ac93688c9acdec3d6a1e4d14018ec16db955f3ee8b24
-
SHA512
619c55b6f6d222c8a831a441205b75359976d9d80ba01734640d81b96a32e2b263448e16be8d3dad9afb1c78ebcd717cbc8dbefe134fc593f079a931140c67fa
Malware Config
Signatures
-
Executes dropped EXE 9 IoCs
ioc pid Process /var/tmp/.22/start 1579 start /var/tmp/.22/hide 1582 hide /var/tmp/.22/create 1583 create /var/tmp/.22/auto 1590 auto /var/tmp/.22/init 1593 init /var/tmp/.22/mining 1597 mining /var/tmp/.22/init 1599 init /var/tmp/.22/hide 1602 hide /var/tmp/.22/mine 1602 mine -
Checks CPU configuration 1 TTPs 1 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo mine -
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 mine File opened for reading /sys/devices/virtual/dmi/id/board_vendor mine File opened for reading /sys/devices/virtual/dmi/id/bios_vendor mine File opened for reading /sys/devices/virtual/dmi/id/sys_vendor mine -
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.bKSM6j crontab -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads CPU attributes 1 TTPs 47 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/possible mine File opened for reading /sys/devices/system/cpu/cpu0/topology/cluster_cpus mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/coherency_line_size mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/number_of_sets mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index6/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/id mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index5/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/level mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/type mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/physical_line_partition mine File opened for reading /sys/devices/system/cpu/cpu0/cpu_capacity mine File opened for reading /sys/devices/system/cpu/cpu0/topology/core_id mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/id mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/id mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/size mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/coherency_line_size mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/number_of_sets mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index4/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/online mine File opened for reading /sys/devices/system/cpu/cpu0/topology/core_siblings mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/type mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/id mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index8/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cpufreq/base_frequency mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/size mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/level mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/type mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/size mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/type mine File opened for reading /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq mine File opened for reading /sys/devices/system/cpu/online pkill File opened for reading /sys/devices/system/cpu/cpu0/topology/thread_siblings mine File opened for reading /sys/devices/system/cpu/cpu0/topology/die_cpus mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index1/level mine File opened for reading /sys/devices/system/cpu/cpu0/topology/physical_package_id mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index3/level mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index7/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index9/shared_cpu_map mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/number_of_sets mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index0/physical_line_partition mine File opened for reading /sys/devices/system/cpu/cpu0/cache/index2/physical_line_partition mine -
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/product_version mine File opened for reading /sys/devices/virtual/dmi/id/board_version mine File opened for reading /sys/devices/virtual/dmi/id/bios_date mine File opened for reading /sys/devices/virtual/dmi/id/board_name mine File opened for reading /sys/devices/virtual/dmi/id/chassis_asset_tag mine File opened for reading /sys/devices/virtual/dmi/id/product_serial mine File opened for reading /sys/devices/virtual/dmi/id/chassis_vendor mine File opened for reading /sys/devices/virtual/dmi/id/chassis_serial mine File opened for reading /sys/devices/virtual/dmi/id/product_uuid mine File opened for reading /sys/devices/virtual/dmi/id/board_serial mine File opened for reading /sys/devices/virtual/dmi/id/board_asset_tag mine File opened for reading /sys/devices/virtual/dmi/id/chassis_type mine File opened for reading /sys/devices/virtual/dmi/id/chassis_version mine File opened for reading /sys/devices/virtual/dmi/id/bios_version mine -
Enumerates kernel/hardware configuration 1 TTPs 21 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
description ioc Process File opened for reading /sys/kernel/mm/hugepages mine File opened for reading /sys/devices/system/node/online mine File opened for reading /sys/devices/system/node/node0/cpumap mine File opened for reading /sys/devices/system/node/node0/access1/initiators mine File opened for reading /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages mine File opened for reading /sys/devices/system/node/node0/access0/initiators/write_latency mine File opened for reading /sys/firmware/dmi/tables/smbios_entry_point Process not Found File opened for reading /sys/fs/cgroup/cpuset/cpuset.mems mine File opened for reading /sys/devices/system/cpu mine File opened for reading /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages mine File opened for reading /sys/devices/system/node/node0/hugepages mine File opened for reading /sys/fs/cgroup/unified/cgroup.controllers mine File opened for reading /sys/devices/system/node/node0/access0/initiators/read_bandwidth mine File opened for reading /sys/devices/virtual/dmi/id mine File opened for reading /sys/firmware/dmi/tables/DMI Process not Found File opened for reading /sys/devices/system/node/node0/access0/initiators/write_bandwidth mine File opened for reading /sys/devices/system/node/node0/access0/initiators/read_latency mine File opened for reading /sys/fs/cgroup/cpuset/cpuset.cpus mine File opened for reading /sys/devices/system/node/node0/meminfo mine File opened for reading /sys/bus/dax/devices mine File opened for reading /sys/devices/system/node/node0/access0/initiators mine -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/461/cmdline pkill File opened for reading /proc/1150/status ps File opened for reading /proc/1557/stat ps File opened for reading /proc/1157/cmdline pkill File opened for reading /proc/158/status ps File opened for reading /proc/171/cmdline ps File opened for reading /proc/587/cmdline ps File opened for reading /proc/8/cmdline pkill File opened for reading /proc/16/status pkill File opened for reading /proc/32/cmdline pkill File opened for reading /proc/6/status pkill File opened for reading /proc/16/status ps File opened for reading /proc/1556/stat ps File opened for reading /proc/961/cmdline ps File opened for reading /proc/1181/stat ps File opened for reading /proc/28/status pkill File opened for reading /proc/315/status pkill File opened for reading /proc/115/status ps File opened for reading /proc/961/status pkill File opened for reading /proc/460/status ps File opened for reading /proc/1299/status ps File opened for reading /proc/159/status ps File opened for reading /proc/1068/status ps File opened for reading /proc/25/status pkill File opened for reading /proc/5/cmdline ps File opened for reading /proc/20/status ps File opened for reading /proc/315/cmdline pkill File opened for reading /proc/508/stat ps File opened for reading /proc/588/cmdline ps File opened for reading /proc/1160/status pkill File opened for reading /proc/22/cmdline ps File opened for reading /proc/315/cmdline ps File opened for reading /proc/1149/cmdline ps File opened for reading /proc/11/cmdline pkill File opened for reading /proc/29/cmdline pkill File opened for reading /proc/23/cmdline ps File opened for reading /proc/36/cmdline ps File opened for reading /proc/89/stat ps File opened for reading /proc/310/cmdline ps File opened for reading /proc/1068/cmdline pkill File opened for reading /proc/1556/cmdline pkill File opened for reading /proc/23/status ps File opened for reading /proc/427/status pkill File opened for reading /proc/1187/cmdline ps File opened for reading /proc/21/cmdline ps File opened for reading /proc/160/cmdline pkill File opened for reading /proc/162/cmdline pkill File opened for reading /proc/160/status ps File opened for reading /proc/458/status ps File opened for reading /proc/1063/stat ps File opened for reading /proc/1605/status ps File opened for reading /proc/20/status pkill File opened for reading /proc/196/status pkill File opened for reading /proc/508/status pkill File opened for reading /proc/82/stat ps File opened for reading /proc/1285/cmdline ps File opened for reading /proc/6/cmdline pkill File opened for reading /proc/702/cmdline pkill File opened for reading /proc/1005/status pkill File opened for reading /proc/437/cmdline pkill File opened for reading /proc/542/cmdline pkill File opened for reading /proc/1603/cmdline ps File opened for reading /proc/171/status ps File opened for reading /proc/430/stat ps -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/sh-thd.SbPsNX ai.sh
Processes
-
/tmp/ai.sh/tmp/ai.sh1⤵
- Writes file to tmp directory
PID:1562 -
/bin/grepgrep EST2⤵PID:1567
-
-
/bin/grepgrep 94.241.140.1772⤵PID:1568
-
-
/bin/grepgrep 802⤵PID:1569
-
-
/bin/mkdirmkdir -p /var/tmp/.222⤵PID:1570
-
-
/bin/tartar -xf xm.jpg2⤵PID:1576
-
/usr/local/sbin/gzipgzip -d3⤵PID:1577
-
-
/usr/local/bin/gzipgzip -d3⤵PID:1577
-
-
/usr/sbin/gzipgzip -d3⤵PID:1577
-
-
/usr/bin/gzipgzip -d3⤵PID:1577
-
-
/sbin/gzipgzip -d3⤵PID:1577
-
-
/bin/gzipgzip -d3⤵PID:1577
-
-
-
/bin/chmodchmod +x start2⤵PID:1578
-
-
/var/tmp/.22/start./start2⤵
- Executes dropped EXE
PID:1579 -
/bin/unameuname -m3⤵PID:1580
-
-
/bin/cpcp x86_64 mine3⤵PID:1581
-
-
/var/tmp/.22/hide./hide3⤵
- Executes dropped EXE
PID:1582
-
-
-
/usr/bin/base64base64 -d1⤵PID:1565
-
/bin/catcat1⤵PID:1575
-
/var/tmp/.22/create./create1⤵
- Executes dropped EXE
PID:1583 -
/bin/catcat auto2⤵PID:1584
-
-
/usr/bin/crontabcrontab cronjobs2⤵
- Creates/modifies Cron job
PID:1585
-
-
/bin/rmrm -f cronjobs2⤵PID:1586
-
-
/usr/bin/crontabcrontab -l2⤵PID:1587
-
-
/bin/chmodchmod u+x auto init.d2⤵PID:1588
-
-
/bin/shsh -c "./auto > /dev/null 2>&1 &"2⤵PID:1589
-
-
/bin/rmrm -f aarch64 x86_64 hide.c init.c start create2⤵PID:1591
-
-
/var/tmp/.22/auto./auto1⤵
- Executes dropped EXE
PID:1590 -
/var/tmp/.22/init.d/var/tmp/.22/init.d2⤵PID:1592
-
-
/bin/chmodchmod 755 auto hide init init.d logs mine mining mkcfg xm.jpg2⤵PID:1594
-
-
/usr/bin/pkillpkill -9 init2⤵
- Reads CPU attributes
- Reads runtime system information
PID:1596
-
-
/var/tmp/.22/init./init1⤵
- Executes dropped EXE
PID:1593
-
/var/tmp/.22/mining./mining1⤵
- Executes dropped EXE
PID:1597 -
/var/tmp/.22/init/var/tmp/.22/init2⤵
- Executes dropped EXE
PID:1599
-
-
/bin/unameuname -m2⤵PID:1601
-
-
/var/tmp/.22/hide./hide -s "sendmail: accepting connections" ./mine2⤵
- Executes dropped EXE
PID:1602
-
-
/var/tmp/.22/mine"sendmail: accepting connections"2⤵
- Executes dropped EXE
- Checks CPU configuration
- Checks hardware identifiers (DMI)
- Reads CPU attributes
- Reads hardware information
- Enumerates kernel/hardware configuration
PID:1602
-
-
/bin/psps -ef2⤵
- Reads CPU attributes
- Reads runtime system information
PID:1603
-
-
/bin/grepgrep "sendmail: accepting connections"2⤵PID:1604
-
-
/bin/grepgrep -v grep2⤵PID:1605
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:1606
-
-
/usr/bin/headhead -12⤵PID:1608
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
34B
MD5d73b6cacb30d623ccbb82cb8b3489476
SHA183a9395088a8885f45dfb4de5dc509aa74bb5164
SHA2561a6177c310e4ddd1526252e4fcecfa3c78a440760f4adae90e4b2d60ad3000c5
SHA51294e1949188ff086eec6dbc72dc01967f5c952928399db92656d65dc30f767e188f1a43f9558ffcf0fffaf38a522b335e6509228330780a97f09432c1b50f5941
-
Filesize
5B
MD584c6777e57669bed8d3118a556db3d89
SHA121d26253e5f6c29db14d8f58861507640e74ef55
SHA256345ebe25f0ac3f1104a2029fdf8f0885ccd9800e3ebcdbd03da014dad101a0b1
SHA5121854cf3b740aa52969fed7dab64618eadd5f9a5b81a6b7b637274febcec5c409305c33fdb1f2290a8d90adb4fc997c16f428b22d914ac01f6e7320b95b88267e
-
Filesize
3.8MB
MD52b2e9861dd605cbe0d45194144b62f84
SHA110ba9a8f356c4a05a6f280a2a567478c63104302
SHA25660bd7464df3181da18b03edb2273f4c4f85d711c1978c5a26c7a19164f13f08a
SHA512c3e61fabf3102c4df068f0a50feca9c5f85528e56f1ac99384531fbead93fc2ce39e72658b6ed52eb28b620f00ab09747a11aaca0f98ba42b975e4ce595e51e5
-
Filesize
5B
MD5497e3a7f6966b6167b7619c9b3c1049f
SHA1843042004279112dadcc8c6e613c52b5c62df773
SHA256d1506f9b33d16a9d93f8b6aa03d6b12739f1b4a2fcb7403546b53e8c03fcff26
SHA512d044a590de65465b3b884c70a19450d2577114772ef92a514ba57256b6daa0f1a5ccae49916ff6d0eeb5496c2f0031d4991a66997f4cf275c1cf688612d2848b