Analysis
-
max time kernel
149s -
max time network
150s -
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
08-11-2024 09:23
Behavioral task
behavioral1
Sample
linux_amd64.elf
Resource
ubuntu2204-amd64-20240729-en
General
-
Target
linux_amd64.elf
-
Size
5.2MB
-
MD5
4cd555a733590bc0c010d8b0501d9dc3
-
SHA1
8947c3630cac9deb2d308c4e6091730cc565847c
-
SHA256
594593f96be084f84fa223088079ff5fc4ddfcb457cd52f972c844259bddb95a
-
SHA512
8932c140fe37fbe2114cac0f990a18b92a9e7b756febbbd37a1f092880b6bdead9a7710abd834cfe7cb39c33f9dc5f467f984be325b653ade6a43ea0b05cdd63
-
SSDEEP
49152:7Xa6xzZWhrb/T4vO90dL3BmAFd4A64nsfJPJ6TdXnT9aqeJaz2xNkapDnYRQoj1p:b2ONLBzSxtST9ElHz
Malware Config
Extracted
kaiji
154.201.84.237:7850
Signatures
-
Kaiji 1 IoCs
Kaiji payload
Processes:
resource yara_rule /boot/System.img.config Kaiji -
Kaiji family
-
kaiji_chaosbot 1 IoCs
Chaos-variant payload
Processes:
resource yara_rule /boot/System.img.config kaiji_chaosbot -
Executes dropped EXE 1 IoCs
Processes:
32678ioc pid process /etc/32678 1571 32678 -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
Processes:
linux_amd64.elfdescription ioc process File opened for modification /dev/watchdog linux_amd64.elf File opened for modification /dev/misc/watchdog linux_amd64.elf -
Creates/modifies Cron job 1 TTPs 1 IoCs
Cron allows running tasks on a schedule, and is commonly used for malware persistence.
-
Creates/modifies environment variables 1 TTPs 3 IoCs
Creating/modifying environment variables is a common persistence mechanism.
Processes:
linux_amd64.elfdescription ioc process File opened for modification /etc/profile.d/bash_config.sh linux_amd64.elf File opened for modification /etc/profile.d/bash_config linux_amd64.elf File opened for modification /etc/profile.d/linux.sh linux_amd64.elf -
Enumerates running processes
Discovers information about currently running processes on the system
-
Processes:
linux_amd64.elfdescription ioc process File opened for modification /etc/init.d/linux_kill linux_amd64.elf File opened for modification /etc/init.d/ssh linux_amd64.elf -
Modifies systemd 2 TTPs 1 IoCs
Adds/ modifies systemd service files. Likely to achieve persistence.
Processes:
linux_amd64.elfdescription ioc process File opened for modification /usr/lib/systemd/system/linux.service linux_amd64.elf -
Write file to user bin folder 6 IoCs
Processes:
linux_amd64.elfdescription ioc process File opened for modification /usr/bin/dir linux_amd64.elf File opened for modification /usr/bin/find linux_amd64.elf File opened for modification /usr/bin/lsof linux_amd64.elf File opened for modification /usr/bin/ps linux_amd64.elf File opened for modification /usr/bin/ss linux_amd64.elf File opened for modification /usr/bin/ls linux_amd64.elf -
Modifies Bash startup script 2 TTPs 3 IoCs
Processes:
linux_amd64.elfdescription ioc process File opened for modification /etc/profile.d/bash_config.sh linux_amd64.elf File opened for modification /etc/profile.d/bash_config linux_amd64.elf File opened for modification /etc/profile.d/linux.sh linux_amd64.elf -
Changes its process name 1 IoCs
Processes:
linux_amd64.elfdescription ioc pid process Changes the process name, possibly in an attempt to hide itself ksoftirqd/0 1584 linux_amd64.elf -
Enumerates kernel/hardware configuration 1 TTPs 2 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
Processes:
linux_amd64.elflinux_amd64.elfdescription ioc process File opened for reading /sys/kernel/mm/transparent_hugepage/hpage_pmd_size linux_amd64.elf File opened for reading /sys/kernel/mm/transparent_hugepage/hpage_pmd_size linux_amd64.elf -
Processes:
linux_amd64.elfsystemctlsedmountdescription ioc process File opened for reading /proc/218/stat linux_amd64.elf File opened for reading /proc/417/stat linux_amd64.elf File opened for reading /proc/520/stat linux_amd64.elf File opened for reading /proc/799/stat linux_amd64.elf File opened for reading /proc/1097/stat linux_amd64.elf File opened for reading /proc/1166/stat linux_amd64.elf File opened for reading /proc/1282/stat linux_amd64.elf File opened for reading /proc/418/stat linux_amd64.elf File opened for reading /proc/774/stat linux_amd64.elf File opened for reading /proc/1157/stat linux_amd64.elf File opened for reading /proc/636/stat linux_amd64.elf File opened for reading /proc/901/stat linux_amd64.elf File opened for reading /proc/907/stat linux_amd64.elf File opened for reading /proc/949/stat linux_amd64.elf File opened for reading /proc/1084/stat linux_amd64.elf File opened for reading /proc/1574/stat linux_amd64.elf File opened for reading /proc/filesystems systemctl File opened for reading /proc/1717/stat linux_amd64.elf File opened for reading /proc/1740/stat linux_amd64.elf File opened for reading /proc/filesystems sed File opened for reading /proc/1032/stat linux_amd64.elf File opened for reading /proc/1303/stat linux_amd64.elf File opened for reading /proc/1419/stat linux_amd64.elf File opened for reading /proc/1579/stat linux_amd64.elf File opened for reading /proc/1588/stat linux_amd64.elf File opened for reading /proc/204/stat linux_amd64.elf File opened for reading /proc/732/stat linux_amd64.elf File opened for reading /proc/788/stat linux_amd64.elf File opened for reading /proc/1144/stat linux_amd64.elf File opened for reading /proc/1210/stat linux_amd64.elf File opened for reading /proc/1707/stat linux_amd64.elf File opened for reading /proc/1744/stat linux_amd64.elf File opened for reading /proc/414/stat linux_amd64.elf File opened for reading /proc/588/stat linux_amd64.elf File opened for reading /proc/1156/stat linux_amd64.elf File opened for reading /proc/1718/stat linux_amd64.elf File opened for reading /proc/764/stat linux_amd64.elf File opened for reading /proc/970/stat linux_amd64.elf File opened for reading /proc/1234/stat linux_amd64.elf File opened for reading /proc/1316/stat linux_amd64.elf File opened for reading /proc/filesystems mount File opened for reading /proc/377/stat linux_amd64.elf File opened for reading /proc/406/stat linux_amd64.elf File opened for reading /proc/499/stat linux_amd64.elf File opened for reading /proc/589/stat linux_amd64.elf File opened for reading /proc/594/stat linux_amd64.elf File opened for reading /proc/762/stat linux_amd64.elf File opened for reading /proc/1341/stat linux_amd64.elf File opened for reading /proc/1361/stat linux_amd64.elf File opened for reading /proc/1449/stat linux_amd64.elf File opened for reading /proc/736/stat linux_amd64.elf File opened for reading /proc/1164/stat linux_amd64.elf File opened for reading /proc/1169/stat linux_amd64.elf File opened for reading /proc/1247/stat linux_amd64.elf File opened for reading /proc/1572/stat linux_amd64.elf File opened for reading /proc/225/stat linux_amd64.elf File opened for reading /proc/427/stat linux_amd64.elf File opened for reading /proc/452/stat linux_amd64.elf File opened for reading /proc/963/stat linux_amd64.elf File opened for reading /proc/1160/stat linux_amd64.elf File opened for reading /proc/1165/stat linux_amd64.elf File opened for reading /proc/1436/stat linux_amd64.elf File opened for reading /proc/1576/stat linux_amd64.elf File opened for reading /proc/1073/stat linux_amd64.elf
Processes
-
/tmp/linux_amd64.elf/tmp/linux_amd64.elf1⤵
- Enumerates kernel/hardware configuration
PID:1565 -
/usr/bin/shsh -c "/etc/32678&"2⤵PID:1569
-
-
/usr/sbin/serviceservice crond start2⤵PID:1570
-
/usr/bin/basenamebasename /usr/sbin/service3⤵PID:1573
-
-
/usr/bin/basenamebasename /usr/sbin/service3⤵PID:1575
-
-
/usr/bin/sedsed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"3⤵
- Reads runtime system information
PID:1580
-
-
/usr/bin/systemctlsystemctl list-unit-files --full "--type=socket"3⤵PID:1579
-
-
-
/tmp/linux_amd64.elf/tmp/linux_amd64.elf " "2⤵
- Modifies Watchdog functionality
- Creates/modifies environment variables
- Modifies init.d
- Modifies systemd
- Write file to user bin folder
- Modifies Bash startup script
- Changes its process name
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:1572 -
/usr/sbin/update-rc.dupdate-rc.d linux_kill defaults3⤵PID:1586
-
/usr/local/sbin/systemctlsystemctl daemon-reload4⤵PID:1587
-
-
/usr/local/bin/systemctlsystemctl daemon-reload4⤵PID:1587
-
-
/usr/sbin/systemctlsystemctl daemon-reload4⤵PID:1587
-
-
/usr/bin/systemctlsystemctl daemon-reload4⤵PID:1587
-
-
-
/usr/bin/shsh -c "cd /boot;systemctl daemon-reload;systemctl enable linux.service;systemctl start linux.service;journalctl -xe --no-pager"3⤵PID:1632
-
/usr/bin/systemctlsystemctl daemon-reload4⤵PID:1633
-
-
/usr/bin/systemctlsystemctl enable linux.service4⤵PID:1667
-
-
/usr/bin/systemctlsystemctl start linux.service4⤵PID:1701
-
-
/usr/bin/journalctljournalctl -xe --no-pager4⤵PID:1712
-
-
-
/usr/bin/shsh -c "cd /boot;ausearch -c 'System.img.conf' --raw | audit2allow -M my-Systemimgconf;semodule -X 300 -i my-Systemimgconf.pp"3⤵PID:1720
-
-
/usr/bin/bashbash -c "echo \"*/1 * * * * root /.img \" >> /etc/crontab"3⤵
- Creates/modifies Cron job
PID:1723
-
-
/usr/bin/renicerenice -20 15723⤵PID:1724
-
-
/usr/bin/mountmount -o bind /tmp/ /proc/15723⤵
- Reads runtime system information
PID:1725
-
-
/usr/sbin/serviceservice cron start3⤵PID:1727
-
/usr/bin/basenamebasename /usr/sbin/service4⤵PID:1728
-
-
/usr/bin/basenamebasename /usr/sbin/service4⤵PID:1729
-
-
/usr/bin/sedsed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"4⤵PID:1732
-
-
/usr/bin/systemctlsystemctl list-unit-files --full "--type=socket"4⤵PID:1731
-
-
-
/usr/local/sbin/systemctlsystemctl start cron.service3⤵PID:1727
-
-
/usr/local/bin/systemctlsystemctl start cron.service3⤵PID:1727
-
-
/usr/sbin/systemctlsystemctl start cron.service3⤵PID:1727
-
-
/usr/bin/systemctlsystemctl start cron.service3⤵PID:1727
-
-
/usr/bin/systemctlsystemctl start crond.service3⤵PID:1733
-
-
-
/etc/32678/etc/326781⤵
- Executes dropped EXE
PID:1571 -
/usr/bin/sleepsleep 602⤵PID:1574
-
-
/usr/local/sbin/systemctlsystemctl start crond.service1⤵PID:1570
-
/usr/local/bin/systemctlsystemctl start crond.service1⤵PID:1570
-
/usr/sbin/systemctlsystemctl start crond.service1⤵PID:1570
-
/usr/bin/systemctlsystemctl start crond.service1⤵
- Reads runtime system information
PID:1570
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
3XDG Autostart Entries
1Boot or Logon Initialization Scripts
1RC Scripts
1Create or Modify System Process
1Systemd Service
1Event Triggered Execution
1Unix Shell Configuration Modification
1Hijack Execution Flow
1Path Interception by PATH Environment Variable
1Scheduled Task/Job
1Cron
1Privilege Escalation
Boot or Logon Autostart Execution
3XDG Autostart Entries
1Boot or Logon Initialization Scripts
1RC Scripts
1Create or Modify System Process
1Systemd Service
1Event Triggered Execution
1Unix Shell Configuration Modification
1Hijack Execution Flow
1Path Interception by PATH Environment Variable
1Scheduled Task/Job
1Cron
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
33B
MD5d73d3376908ea075a939e3871ad0fabe
SHA1320ff65831247ba199515f1b94df26cc8a3e5f76
SHA256edbdabe30d8236a2c0a4eb89dfd597552130e4c1a4e93f8fe1568920442ad73a
SHA51257b83fef88620598beb5d65626bf757d0abef242d2d6a01796a61474dedc5095a4a9d0f292b6abb450cad3d4410ab8456253600f58ddb66cfe6d79e1c8415536
-
Filesize
5.2MB
MD54cd555a733590bc0c010d8b0501d9dc3
SHA18947c3630cac9deb2d308c4e6091730cc565847c
SHA256594593f96be084f84fa223088079ff5fc4ddfcb457cd52f972c844259bddb95a
SHA5128932c140fe37fbe2114cac0f990a18b92a9e7b756febbbd37a1f092880b6bdead9a7710abd834cfe7cb39c33f9dc5f467f984be325b653ade6a43ea0b05cdd63
-
Filesize
61B
MD5768eaf287796da19e1cf5e0b2fb1b161
SHA16a1ce2ee5ccc86d1f33806feb14547b35290df2a
SHA2561d22620dfb2a6715e5d745aed5cf841ede0e75e1747f12b9b925a2d346bc7ecb
SHA512e6af30c9df4f7f47696069511e64ecbc8e841629d692ee4056503df3533fb7a7a74960698826260355e1dba7b6c562482a27a39bb51a4237473ce4b68472d620
-
Filesize
189B
MD53909975f7cc0d1121c1819b800069f31
SHA13e68de708c2e6c40fab6794afdee3104e5590189
SHA2566876dac71f13a068afb863d257134275f2edba43b2acaf4924fabf97c079070b
SHA51250600cceeb03b05f45ae61d890caee9f51ff390b6776930866e527e071d65d08241fc66673fd9b99d62fbc77d3c00fc3de4d7378cbc42f5daba5d83072b0906e
-
Filesize
37B
MD5cfb4e51061485fe91169381fbdc1538e
SHA19a85b9b766a15b01737a41d680e4593b7a9bde87
SHA256897f37267d0ceaa2fbdaa09847f5d08e6f8b01a0348a0d666264b0f10acd0c90
SHA512fb154ec711d2090a7461da4db8ddad2b522649a27e74162ecb203f539b1729430288bc02d78d2071bde9c4bbc005693403a57612ef50277d52f816cb94524216