Analysis
-
max time kernel
0s -
max time network
3s -
platform
debian-9_mipsel -
resource
debian9-mipsel-20221111-en -
resource tags
arch:mipselimage:debian9-mipsel-20221111-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem -
submitted
01-02-2023 04:02
Static task
static1
Behavioral task
behavioral1
Sample
index.i
Resource
debian9-mipsel-20221111-en
General
-
Target
index.i
-
Size
83KB
-
MD5
b8ed2cb3e9fedec5b164ce84ad5a08d0
-
SHA1
b45ef9ad0a29b0a402d1613b10c3f6e95686230c
-
SHA256
d5601202dff3017db238145ff21857415f663031aca9b3d534bec8991b12179a
-
SHA512
98aa6abf6bc6b27ea2833122c468e436c267ef40c5ecbbd6446174d0859920e7b7bbcec617e12d7aa9e89e0492e5dcf4cf49a6208e7252fd0619047818454a31
-
SSDEEP
1536:m3LqE6rUQWzVQR7iAGEcUT5PIi7pLqBNs4LOjcwf4nB6XuzGNy+iSc7tNUZM:mOE6PWo1T5bz4LVMXuzVNScWM
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:
index.idescription ioc process /proc/net/route /proc/net/route index.i -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
index.idescription ioc process /proc/net/route /proc/net/route index.i /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/1/cmdline /proc/1/cmdline /proc/295/cmdline /proc/295/cmdline /proc/115/cmdline /proc/115/cmdline /proc/105/cmdline /proc/105/cmdline /proc/82/cmdline /proc/82/cmdline /proc/24/cmdline /proc/24/cmdline /proc/19/cmdline /proc/19/cmdline /proc/17/cmdline /proc/17/cmdline /proc/1/fd /proc/1/fd /proc/287/cmdline /proc/287/cmdline /proc/229/fd /proc/229/fd /proc/228/cmdline /proc/228/cmdline /proc/206/cmdline /proc/206/cmdline /proc/206/fd /proc/206/fd /proc/20/cmdline /proc/20/cmdline /proc/287/fd /proc/287/fd /proc/74/cmdline /proc/74/cmdline /proc/72/cmdline /proc/72/cmdline /proc/37/cmdline /proc/37/cmdline /proc/3/cmdline /proc/3/cmdline /proc/250/fd /proc/250/fd /proc/141/fd /proc/141/fd /proc/116/cmdline /proc/116/cmdline /proc/79/cmdline /proc/79/cmdline /proc/77/cmdline /proc/77/cmdline /proc/15/cmdline /proc/15/cmdline /proc/324/cmdline /proc/324/cmdline /proc/249/cmdline /proc/249/cmdline /proc/229/cmdline /proc/229/cmdline /proc/21/cmdline /proc/21/cmdline /proc/16/cmdline /proc/16/cmdline /proc/324/fd /proc/324/fd /proc/321/cmdline /proc/321/cmdline /proc/294/fd /proc/294/fd /proc/255/cmdline /proc/255/cmdline /proc/255/fd /proc/255/fd /proc/68/cmdline /proc/68/cmdline /proc/14/cmdline /proc/14/cmdline /proc/10/cmdline /proc/10/cmdline /proc/156/fd /proc/156/fd /proc/71/cmdline /proc/71/cmdline /proc/217/cmdline /proc/217/cmdline /proc/217/fd /proc/217/fd /proc/146/cmdline /proc/146/cmdline /proc/36/cmdline /proc/36/cmdline /proc/22/cmdline /proc/22/cmdline /proc/12/cmdline /proc/12/cmdline /proc/281/fd /proc/281/fd /proc/278/cmdline /proc/278/cmdline /proc/249/fd /proc/249/fd /proc/81/cmdline /proc/81/cmdline /proc/5/cmdline /proc/5/cmdline /proc/295/fd /proc/295/fd /proc/278/fd /proc/278/fd /proc/228/fd /proc/228/fd /proc/156/cmdline /proc/156/cmdline /proc/18/cmdline /proc/18/cmdline /proc/13/cmdline /proc/13/cmdline /proc/256/cmdline /proc/256/cmdline /proc/23/cmdline /proc/23/cmdline /proc/73/cmdline /proc/73/cmdline /proc/11/cmdline /proc/11/cmdline /proc/4/cmdline /proc/4/cmdline /proc/76/cmdline /proc/76/cmdline -
Writes file to tmp directory 3 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 /tmp/index.i /tmp/index.i
Processes
-
/tmp/index.i/tmp/index.i1⤵
- Reads system routing table
- Reads system network configuration
PID:323
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 23 -j DROP"1⤵PID:325
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 23 -j DROP2⤵PID:326
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 7547 -j DROP"1⤵PID:335
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 7547 -j DROP2⤵PID:336
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 5555 -j DROP"1⤵PID:337
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5555 -j DROP2⤵PID:338
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 5358 -j DROP"1⤵PID:339
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5358 -j DROP2⤵PID:340
-
-
/bin/shsh -c "iptables -D INPUT -j CWMP_CR"1⤵PID:341
-
/sbin/iptablesiptables -D INPUT -j CWMP_CR2⤵PID:342
-
-
/bin/shsh -c "iptables -X CWMP_CR"1⤵PID:343
-
/sbin/iptablesiptables -X CWMP_CR2⤵PID:344
-
-
/bin/shsh -c "iptables -I INPUT -p udp --dport 8019 -j ACCEPT"1⤵PID:345
-
/sbin/iptablesiptables -I INPUT -p udp --dport 8019 -j ACCEPT2⤵PID:346
-