Analysis
-
max time kernel
5444s -
max time network
140s -
platform
linux_mipsel -
resource
debian9-mipsel-en-20211208 -
submitted
09-02-2022 17:33
Static task
static1
Behavioral task
behavioral1
Sample
sample
Resource
debian9-mipsel-en-20211208
General
-
Target
sample
-
Size
83KB
-
MD5
b8ed2cb3e9fedec5b164ce84ad5a08d0
-
SHA1
b45ef9ad0a29b0a402d1613b10c3f6e95686230c
-
SHA256
d5601202dff3017db238145ff21857415f663031aca9b3d534bec8991b12179a
-
SHA512
98aa6abf6bc6b27ea2833122c468e436c267ef40c5ecbbd6446174d0859920e7b7bbcec617e12d7aa9e89e0492e5dcf4cf49a6208e7252fd0619047818454a31
Malware Config
Signatures
-
Modifies the Watchdog daemon 1 TTPs
Malware like Mirai modify the Watchdog to prevent it restarting an infected system.
-
Modifies hosts file 1 IoCs
Adds to hosts file used for mapping hosts to IP addresses.
Processes:
description ioc /etc/hosts /etc/hosts -
Writes DNS configuration 1 TTPs 1 IoCs
Writes data to DNS resolver config file.
-
Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
-
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
Processes:
sampledescription ioc process /proc/net/route /proc/net/route sample -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
sampledescription ioc process /proc/net/route /proc/net/route sample /proc/net/tcp /proc/net/tcp /proc/net/tcp6 /proc/net/tcp6 -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
Processes:
description ioc /proc/301/fd /proc/301/fd /proc/251/fd /proc/251/fd /proc/81/cmdline /proc/81/cmdline /proc/291/cmdline /proc/291/cmdline /proc/224/fd /proc/224/fd /proc/115/cmdline /proc/115/cmdline /proc/77/cmdline /proc/77/cmdline /proc/13/cmdline /proc/13/cmdline /proc/209/cmdline /proc/209/cmdline /proc/156/cmdline /proc/156/cmdline /proc/19/cmdline /proc/19/cmdline /proc/10/cmdline /proc/10/cmdline /proc/282/fd /proc/282/fd /proc/72/cmdline /proc/72/cmdline /proc/17/cmdline /proc/17/cmdline /proc/4/cmdline /proc/4/cmdline /proc/18/cmdline /proc/18/cmdline /proc/325/cmdline /proc/325/cmdline /proc/156/fd /proc/156/fd /proc/145/cmdline /proc/145/cmdline /proc/37/cmdline /proc/37/cmdline /proc/23/cmdline /proc/23/cmdline /proc/258/cmdline /proc/258/cmdline /proc/209/fd /proc/209/fd /proc/9/cmdline /proc/9/cmdline /proc/6/cmdline /proc/6/cmdline /proc/1/fd /proc/1/fd /proc/301/cmdline /proc/301/cmdline /proc/224/cmdline /proc/224/cmdline /proc/5/cmdline /proc/5/cmdline /proc/228/cmdline /proc/228/cmdline /proc/76/cmdline /proc/76/cmdline /proc/284/cmdline /proc/284/cmdline /proc/251/cmdline /proc/251/cmdline /proc/250/fd /proc/250/fd /proc/69/cmdline /proc/69/cmdline /proc/228/fd /proc/228/fd /proc/225/fd /proc/225/fd /proc/141/cmdline /proc/141/cmdline /proc/16/cmdline /proc/16/cmdline /proc/15/cmdline /proc/15/cmdline /proc/36/cmdline /proc/36/cmdline /proc/22/cmdline /proc/22/cmdline /proc/14/cmdline /proc/14/cmdline /proc/329/cmdline /proc/329/cmdline /proc/327/cmdline /proc/327/cmdline /proc/291/fd /proc/291/fd /proc/105/cmdline /proc/105/cmdline /proc/75/cmdline /proc/75/cmdline /proc/329/fd /proc/329/fd /proc/12/cmdline /proc/12/cmdline /proc/2/cmdline /proc/2/cmdline /proc/20/cmdline /proc/20/cmdline /proc/284/fd /proc/284/fd /proc/229/cmdline /proc/229/cmdline /proc/229/fd /proc/229/fd /proc/141/fd /proc/141/fd /proc/83/cmdline /proc/83/cmdline /proc/282/cmdline /proc/282/cmdline /proc/258/fd /proc/258/fd /proc/78/cmdline /proc/78/cmdline /proc/71/cmdline /proc/71/cmdline /proc/1/cmdline /proc/1/cmdline /proc/24/cmdline /proc/24/cmdline -
Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
Processes:
description ioc /tmp/ftpupdate.sh /tmp/ftpupdate.sh /tmp/ftpupload.sh /tmp/ftpupload.sh
Processes
-
./sample./sample1⤵
- Reads system routing table
- Reads system network configuration
PID:327
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 23 -j DROP"1⤵PID:330
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 23 -j DROP2⤵PID:331
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 7547 -j DROP"1⤵PID:340
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 7547 -j DROP2⤵PID:341
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 5555 -j DROP"1⤵PID:342
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5555 -j DROP2⤵PID:343
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 5358 -j DROP"1⤵PID:344
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5358 -j DROP2⤵PID:345
-
-
/bin/shsh -c "iptables -D INPUT -j CWMP_CR"1⤵PID:346
-
/sbin/iptablesiptables -D INPUT -j CWMP_CR2⤵PID:347
-
-
/bin/shsh -c "iptables -X CWMP_CR"1⤵PID:348
-
/sbin/iptablesiptables -X CWMP_CR2⤵PID:349
-
-
/bin/shsh -c "iptables -I INPUT -p udp --dport 37714 -j ACCEPT"1⤵PID:350
-
/sbin/iptablesiptables -I INPUT -p udp --dport 37714 -j ACCEPT2⤵PID:351
-