Resubmissions
30-06-2022 15:33
220630-szk27aeaf6 930-06-2022 15:30
220630-sxw2nscbhp 930-06-2022 15:21
220630-srsgascbdl 9Analysis
-
max time kernel
17619s -
max time network
145s -
platform
linux_mips -
resource
debian9-mipsbe-en-20211208 -
submitted
30-06-2022 15:30
Static task
static1
Behavioral task
behavioral1
Sample
4
Resource
debian9-mipsbe-en-20211208
General
-
Target
4
-
Size
83KB
-
MD5
5377e8f2ebdb280216c37a6195da9d6c
-
SHA1
b54c705193b7963a0d40699a91cdb34fedecbe88
-
SHA256
020f1fa6072108c79ed6f553f4f8b08e157bf17f9c260a76353300230fed09f0
-
SHA512
65e5aec56ddde56f245a20f88553d2f76bd7dd8e1940e9d49637d51a868fe73003b8a95fffeb9481110579f6ee4790fc9af1668d435930d4c01b116490908eed
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:
description ioc /proc/net/route /proc/net/route -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
description ioc /proc/net/route /proc/net/route /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/78/cmdline /proc/78/cmdline /proc/21/cmdline /proc/21/cmdline /proc/20/cmdline /proc/20/cmdline /proc/19/cmdline /proc/19/cmdline /proc/15/cmdline /proc/15/cmdline /proc/290/cmdline /proc/290/cmdline /proc/243/cmdline /proc/243/cmdline /proc/114/cmdline /proc/114/cmdline /proc/7/cmdline /proc/7/cmdline /proc/1/fd /proc/1/fd /proc/36/cmdline /proc/36/cmdline /proc/280/cmdline /proc/280/cmdline /proc/83/cmdline /proc/83/cmdline /proc/81/cmdline /proc/81/cmdline /proc/11/cmdline /proc/11/cmdline /proc/10/cmdline /proc/10/cmdline /proc/9/cmdline /proc/9/cmdline /proc/155/cmdline /proc/155/cmdline /proc/155/fd /proc/155/fd /proc/13/cmdline /proc/13/cmdline /proc/16/cmdline /proc/16/cmdline /proc/217/fd /proc/217/fd /proc/216/cmdline /proc/216/cmdline /proc/72/cmdline /proc/72/cmdline /proc/6/cmdline /proc/6/cmdline /proc/214/cmdline /proc/214/cmdline /proc/138/cmdline /proc/138/cmdline /proc/8/cmdline /proc/8/cmdline /proc/249/fd /proc/249/fd /proc/3/cmdline /proc/3/cmdline /proc/144/cmdline /proc/144/cmdline /proc/138/fd /proc/138/fd /proc/70/cmdline /proc/70/cmdline /proc/242/cmdline /proc/242/cmdline /proc/204/fd /proc/204/fd /proc/103/cmdline /proc/103/cmdline /proc/75/cmdline /proc/75/cmdline /proc/281/cmdline /proc/281/cmdline /proc/249/cmdline /proc/249/cmdline /proc/204/cmdline /proc/204/cmdline /proc/290/fd /proc/290/fd /proc/23/cmdline /proc/23/cmdline /proc/4/cmdline /proc/4/cmdline /proc/214/fd /proc/214/fd /proc/212/fd /proc/212/fd /proc/5/cmdline /proc/5/cmdline /proc/2/cmdline /proc/2/cmdline /proc/323/cmdline /proc/323/cmdline /proc/291/cmdline /proc/291/cmdline /proc/216/fd /proc/216/fd /proc/217/cmdline /proc/217/cmdline /proc/74/cmdline /proc/74/cmdline /proc/73/cmdline /proc/73/cmdline /proc/17/cmdline /proc/17/cmdline /proc/1/cmdline /proc/1/cmdline /proc/319/cmdline /proc/319/cmdline /proc/280/fd /proc/280/fd /proc/242/fd /proc/242/fd /proc/281/fd /proc/281/fd /proc/24/cmdline /proc/24/cmdline /proc/12/cmdline /proc/12/cmdline /proc/323/fd /proc/323/fd /proc/291/fd /proc/291/fd /proc/212/cmdline /proc/212/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
-
./4./41⤵PID:321
-
/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:329
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 7547 -j DROP"1⤵PID:334
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 7547 -j DROP2⤵PID:335
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 5555 -j DROP"1⤵PID:336
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5555 -j DROP2⤵PID:337
-
-
/bin/shsh -c "iptables -A INPUT -p tcp --destination-port 5358 -j DROP"1⤵PID:338
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5358 -j DROP2⤵PID:339
-
-
/bin/shsh -c "iptables -D INPUT -j CWMP_CR"1⤵PID:340
-
/sbin/iptablesiptables -D INPUT -j CWMP_CR2⤵PID:341
-
-
/bin/shsh -c "iptables -X CWMP_CR"1⤵PID:342
-
/sbin/iptablesiptables -X CWMP_CR2⤵PID:343
-
-
/bin/shsh -c "iptables -I INPUT -p udp --dport 59461 -j ACCEPT"1⤵PID:344
-
/sbin/iptablesiptables -I INPUT -p udp --dport 59461 -j ACCEPT2⤵PID:345
-