Resubmissions
13-03-2024 17:05
240313-vl6g3sad51 9Analysis
-
max time kernel
33s -
max time network
37s -
platform
debian-9_mips -
resource
debian9-mipsbe-20240226-en -
resource tags
arch:mipsimage:debian9-mipsbe-20240226-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem -
submitted
13-03-2024 17:05
Behavioral task
behavioral1
Sample
bin.sh
Resource
debian9-mipsbe-20240226-en
General
-
Target
bin.sh
-
Size
132KB
-
MD5
59ce0baba11893f90527fc951ac69912
-
SHA1
5857a7dd621c4c3ebb0b5a3bec915d409f70d39f
-
SHA256
4293c1d8574dc87c58360d6bac3daa182f64f7785c9d41da5e0741d2b1817fc7
-
SHA512
c5b12797b477e5e5964a78766bb40b1c0d9fdfb8eef1f9aee3df451e3441a40c61d325bf400ba51048811b68e1c70a95f15e4166b7a65a4eca0c624864328647
-
SSDEEP
3072:phNlHuBafLeBtfCzpta8xlBIOdVo3/4sxLJ10xioP:p3lOYoaja8xzx/0wsxzSi2
Malware Config
Signatures
-
Contacts a large (2080) amount of remote hosts 1 TTPs
This may indicate a network scan to discover remotely running services.
-
Changes its process name 1 IoCs
description ioc pid Changes the process name, possibly in an attempt to hide itself sshd 702 -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc File opened for modification /dev/watchdog File opened for modification /dev/misc/watchdog -
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 File opened for reading /proc/net/route -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc File opened for modification /sbin/watchdog File opened for modification /bin/watchdog -
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 Process not Found -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/12/stat killall File opened for reading /proc/13/stat killall File opened for reading /proc/105/stat killall File opened for reading /proc/357/stat killall File opened for reading /proc/2/stat killall File opened for reading /proc/3/stat killall File opened for reading /proc/5/stat killall File opened for reading /proc/10/stat killall File opened for reading /proc/69/stat killall File opened for reading /proc/140/stat killall File opened for reading /proc/483/stat killall File opened for reading /proc/37/stat killall File opened for reading /proc/72/stat killall File opened for reading /proc/164/stat killall File opened for reading /proc/677/stat killall File opened for reading /proc/115/stat killall File opened for reading /proc/322/stat killall File opened for reading /proc/374/stat killall File opened for reading /proc/528/stat killall File opened for reading /proc/693/stat killall File opened for reading /proc/695/stat killall File opened for reading /proc/703/stat killall File opened for reading /proc/21/stat killall File opened for reading /proc/22/stat killall File opened for reading /proc/24/stat killall File opened for reading /proc/68/stat killall File opened for reading /proc/115/cmdline killall File opened for reading /proc/328/stat killall File opened for reading /proc/36/stat killall File opened for reading /proc/692/stat killall File opened for reading /proc/14/stat killall File opened for reading /proc/17/stat killall File opened for reading /proc/23/stat killall File opened for reading /proc/82/stat killall File opened for reading /proc/147/stat killall File opened for reading /proc/356/stat killall File opened for reading /proc/375/stat killall File opened for reading /proc/697/stat killall File opened for reading /proc/7/stat killall File opened for reading /proc/8/stat killall File opened for reading /proc/140/cmdline killall File opened for reading /proc/235/stat killall File opened for reading /proc/704/stat killall File opened for reading /proc/19/stat killall File opened for reading /proc/114/stat killall File opened for reading /proc/527/stat killall File opened for reading /proc/702/stat killall File opened for reading /proc/4/stat killall File opened for reading /proc/6/stat killall File opened for reading /proc/73/stat killall File opened for reading /proc/74/stat killall File opened for reading /proc/80/stat killall File opened for reading /proc/9/stat killall File opened for reading /proc/78/stat killall File opened for reading /proc/324/stat killall File opened for reading /proc/self/exe bin.sh File opened for reading /proc/11/stat killall File opened for reading /proc/389/stat killall File opened for reading /proc/491/stat killall File opened for reading /proc/709/stat killall File opened for reading /proc/16/stat killall File opened for reading /proc/20/stat killall File opened for reading /proc/71/stat killall File opened for reading /proc/384/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⤵
- Enumerates active TCP sockets
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:699
-
/bin/shsh -c "killall -9 telnetd utelnetd scfgmgr"1⤵PID:704
-
/usr/bin/killallkillall -9 telnetd utelnetd scfgmgr2⤵
- Reads runtime system information
PID:708
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 42141 -j ACCEPT"1⤵PID:743
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 42141 -j ACCEPT2⤵PID:744
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 42141 -j ACCEPT"1⤵PID:750
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 42141 -j ACCEPT2⤵PID:752
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 42141 -j ACCEPT"1⤵PID:753
-
/sbin/iptablesiptables -I PREROUTING -t nat -p tcp --destination-port 42141 -j ACCEPT2⤵PID:754
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 42141 -j ACCEPT"1⤵PID:763
-
/sbin/iptablesiptables -I POSTROUTING -t nat -p tcp --source-port 42141 -j ACCEPT2⤵PID:765
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 42141 -j ACCEPT"1⤵PID:767
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 42141 -j ACCEPT2⤵PID:769
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"1⤵PID:768
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 22 -j DROP2⤵PID:770
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 42141 -j ACCEPT"1⤵PID:771
-
/sbin/iptablesiptables -I OUTPUT -p tcp --sport 42141 -j ACCEPT2⤵PID:773
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"1⤵PID:772
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 23 -j DROP2⤵PID:775
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --dport 42141 -j ACCEPT"1⤵PID:776
-
/sbin/iptablesiptables -I PREROUTING -t nat -p tcp --dport 42141 -j ACCEPT2⤵PID:779
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"1⤵PID:778
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 2323 -j DROP2⤵PID:780
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --sport 42141 -j ACCEPT"1⤵PID:781
-
/sbin/iptablesiptables -I POSTROUTING -t nat -p tcp --sport 42141 -j ACCEPT2⤵PID:783
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"1⤵PID:782
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 22 -j DROP2⤵PID:784
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"1⤵PID:786
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 23 -j DROP2⤵PID:788
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"1⤵PID:789
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 2323 -j DROP2⤵PID:790
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"1⤵PID:792
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 22 -j DROP2⤵PID:793
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"1⤵PID:795
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 23 -j DROP2⤵PID:799
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"1⤵PID:800
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 2323 -j DROP2⤵PID:802
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"1⤵PID:804
-
/sbin/iptablesiptables -I OUTPUT -p tcp --sport 22 -j DROP2⤵PID:805
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 23 -j DROP"1⤵PID:806
-
/sbin/iptablesiptables -I OUTPUT -p tcp --sport 23 -j DROP2⤵PID:807
-