Analysis
-
max time kernel
7s -
max time network
7s -
platform
debian-9_mips -
resource
debian9-mipsbe-20240729-en -
resource tags
arch:mipsimage:debian9-mipsbe-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem -
submitted
18/08/2024, 19:22
Behavioral task
behavioral1
Sample
bin.sh
Resource
debian9-mipsbe-20240729-en
General
-
Target
bin.sh
-
Size
132KB
-
MD5
a73ddd6ec22462db955439f665cad4e6
-
SHA1
ac6962542a4b23ac13bddff22f8df9aeb702ef12
-
SHA256
b5cf68c7cb5bb2d21d60bf6654926f61566d95bfd7c9f9e182d032f1da5b4605
-
SHA512
92a52f68a7324c4d5876e1f7e2cb87d14b8604b057ceee2e537815568faa96abf576a22111c5c976eff72ab9015f1261b2331d4b4d711f4e62c8eb403c2377aa
-
SSDEEP
3072:2glZ3FtCKXhkmHtZ9TEKzjfj/WMngyIfsJ0F7xPtoM:2IIKXhZtL7jOTyIG87Xl
Malware Config
Signatures
-
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc Process File opened for modification /dev/watchdog bin.sh File opened for modification /dev/misc/watchdog bin.sh -
Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/tcp bin.sh -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/route bin.sh -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc Process File opened for modification /sbin/watchdog bin.sh File opened for modification /bin/watchdog bin.sh -
Changes its process name 1 IoCs
description ioc pid Changes the process name, possibly in an attempt to hide itself sshd 739 -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/tcp bin.sh File opened for reading /proc/net/raw bin.sh File opened for reading /proc/net/route bin.sh -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/127/cmdline killall File opened for reading /proc/11/stat killall File opened for reading /proc/24/stat killall File opened for reading /proc/81/stat killall File opened for reading /proc/162/stat killall File opened for reading /proc/18/stat killall File opened for reading /proc/73/stat killall File opened for reading /proc/2/stat killall File opened for reading /proc/16/stat killall File opened for reading /proc/75/stat killall File opened for reading /proc/77/stat killall File opened for reading /proc/730/stat killall File opened for reading /proc/17/stat killall File opened for reading /proc/341/stat killall File opened for reading /proc/384/stat killall File opened for reading /proc/19/stat killall File opened for reading /proc/74/stat killall File opened for reading /proc/678/stat killall File opened for reading /proc/734/stat killall File opened for reading /proc/740/stat killall File opened for reading /proc/5/stat killall File opened for reading /proc/9/stat killall File opened for reading /proc/743/stat killall File opened for reading /proc/4/stat killall File opened for reading /proc/10/stat killall File opened for reading /proc/20/stat killall File opened for reading /proc/338/stat killall File opened for reading /proc/82/stat killall File opened for reading /proc/178/stat killall File opened for reading /proc/383/stat killall File opened for reading /proc/filesystems killall File opened for reading /proc/3/stat killall File opened for reading /proc/7/stat killall File opened for reading /proc/37/stat killall File opened for reading /proc/79/stat killall File opened for reading /proc/680/stat killall File opened for reading /proc/1/stat killall File opened for reading /proc/255/stat killall File opened for reading /proc/731/cmdline killall File opened for reading /proc/12/stat killall File opened for reading /proc/22/stat killall File opened for reading /proc/126/stat killall File opened for reading /proc/681/stat killall File opened for reading /proc/72/stat killall File opened for reading /proc/439/stat killall File opened for reading /proc/110/stat killall File opened for reading /proc/391/stat killall File opened for reading /proc/739/stat killall File opened for reading /proc/self/exe bin.sh File opened for reading /proc/8/stat killall File opened for reading /proc/13/stat killall File opened for reading /proc/15/stat killall File opened for reading /proc/69/stat killall File opened for reading /proc/730/cmdline killall File opened for reading /proc/21/stat killall File opened for reading /proc/127/stat killall File opened for reading /proc/153/cmdline killall File opened for reading /proc/238/stat killall File opened for reading /proc/370/stat killall File opened for reading /proc/674/stat killall File opened for reading /proc/736/stat killall File opened for reading /proc/14/stat killall File opened for reading /proc/76/stat killall File opened for reading /proc/153/stat killall -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/.ips bin.sh
Processes
-
/tmp/bin.sh/tmp/bin.sh1⤵
- Modifies Watchdog functionality
- Enumerates active TCP sockets
- Reads system routing table
- Writes file to system bin folder
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:737 -
/bin/shsh -c "killall -9 telnetd utelnetd scfgmgr"2⤵PID:740
-
/usr/bin/killallkillall -9 telnetd utelnetd scfgmgr3⤵
- Reads runtime system information
PID:742
-
-