Analysis
-
max time kernel
7001s -
max time network
127s -
platform
debian-9_armhf -
resource
debian9-armhf-20221111-en -
resource tags
arch:armhfimage:debian9-armhf-20221111-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem -
submitted
31-01-2023 18:26
Static task
static1
Behavioral task
behavioral1
Sample
a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3
Resource
debian9-armhf-20221111-en
General
-
Target
a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3
-
Size
78KB
-
MD5
9b6c3518a91d23ed77504b5416bfb5b3
-
SHA1
0a2d170abbf5031566377b01431e3b82d342630a
-
SHA256
a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3
-
SHA512
b2b08d5d5e6c6708d88b793e9340a780d47b5dce61e0a3026b4cdea8a9e4cbf9824037255e4ea4a40fee5bce956485232376d4677ce72ccb6c7f00badd09956e
-
SSDEEP
1536:87vbq1lGAXSEYQjbChaAU2yU23M51DjZgSQAvcYkFtZTjzBht5:8D+CAXFYQChaAUk5ljnQssL
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.
description ioc /etc/hosts /etc/hosts -
Writes DNS configuration 1 TTPs 1 IoCs
Writes data to DNS resolver config file.
description ioc /etc/resolv.conf /etc/resolv.conf -
Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
description ioc /proc/net/tcp /proc/net/tcp -
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process /proc/net/route /proc/net/route a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3 -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process /proc/net/route /proc/net/route a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3 /proc/net/tcp /proc/net/tcp Process not Found /proc/net/tcp6 /proc/net/tcp6 Process not Found -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
description ioc /proc/42/cmdline /proc/42/cmdline /proc/11/cmdline /proc/11/cmdline /proc/1/fd /proc/1/fd /proc/307/fd /proc/307/fd /proc/136/cmdline /proc/136/cmdline /proc/107/cmdline /proc/107/cmdline /proc/95/cmdline /proc/95/cmdline /proc/26/cmdline /proc/26/cmdline /proc/25/cmdline /proc/25/cmdline /proc/13/cmdline /proc/13/cmdline /proc/5/cmdline /proc/5/cmdline /proc/351/fd /proc/351/fd /proc/305/cmdline /proc/305/cmdline /proc/106/cmdline /proc/106/cmdline /proc/146/cmdline /proc/146/cmdline /proc/24/cmdline /proc/24/cmdline /proc/14/cmdline /proc/14/cmdline /proc/351/cmdline /proc/351/cmdline /proc/350/cmdline /proc/350/cmdline /proc/277/fd /proc/277/fd /proc/305/fd /proc/305/fd /proc/21/cmdline /proc/21/cmdline /proc/20/cmdline /proc/20/cmdline /proc/16/cmdline /proc/16/cmdline /proc/8/cmdline /proc/8/cmdline /proc/346/cmdline /proc/346/cmdline /proc/212/fd /proc/212/fd /proc/22/cmdline /proc/22/cmdline /proc/4/cmdline /proc/4/cmdline /proc/347/cmdline /proc/347/cmdline /proc/41/cmdline /proc/41/cmdline /proc/12/cmdline /proc/12/cmdline /proc/23/cmdline /proc/23/cmdline /proc/15/cmdline /proc/15/cmdline /proc/1/cmdline /proc/1/cmdline /proc/308/fd /proc/308/fd /proc/235/fd /proc/235/fd /proc/164/cmdline /proc/164/cmdline /proc/74/cmdline /proc/74/cmdline /proc/43/cmdline /proc/43/cmdline /proc/308/cmdline /proc/308/cmdline /proc/228/cmdline /proc/228/cmdline /proc/104/cmdline /proc/104/cmdline /proc/18/cmdline /proc/18/cmdline /proc/164/fd /proc/164/fd /proc/134/cmdline /proc/134/cmdline /proc/28/cmdline /proc/28/cmdline /proc/350/fd /proc/350/fd /proc/307/cmdline /proc/307/cmdline /proc/286/cmdline /proc/286/cmdline /proc/27/cmdline /proc/27/cmdline /proc/346/fd /proc/346/fd /proc/278/fd /proc/278/fd /proc/231/cmdline /proc/231/cmdline /proc/228/fd /proc/228/fd /proc/138/cmdline /proc/138/cmdline /proc/3/cmdline /proc/3/cmdline /proc/303/cmdline /proc/303/cmdline /proc/286/fd /proc/286/fd /proc/278/cmdline /proc/278/cmdline /proc/7/cmdline /proc/7/cmdline /proc/303/fd /proc/303/fd /proc/273/cmdline /proc/273/cmdline /proc/134/fd /proc/134/fd -
Writes file to tmp directory 3 IoCs
Malware often drops required files in the /tmp directory.
description ioc /tmp/a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3 /tmp/a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3 /tmp/ftpupdate.sh /tmp/ftpupdate.sh /tmp/ftpupload.sh /tmp/ftpupload.sh
Processes
-
/tmp/a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3/tmp/a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de31⤵
- Reads system routing table
- Reads system network configuration
PID:349
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 23 -j DROP"1⤵PID:355
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 23 -j DROP2⤵PID:356
-
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 7547 -j DROP"1⤵PID:361
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 7547 -j DROP2⤵PID:362
-
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 5555 -j DROP"1⤵PID:363
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5555 -j DROP2⤵PID:364
-
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 5358 -j DROP"1⤵PID:365
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5358 -j DROP2⤵PID:366
-
-
/bin/sh/bin/sh -c "iptables -D INPUT -j CWMP_CR"1⤵PID:367
-
/sbin/iptablesiptables -D INPUT -j CWMP_CR2⤵PID:368
-
-
/bin/sh/bin/sh -c "iptables -X CWMP_CR"1⤵PID:369
-
/sbin/iptablesiptables -X CWMP_CR2⤵PID:370
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p udp --dport 20458 -j ACCEPT"1⤵PID:371
-
/sbin/iptablesiptables -I INPUT -p udp --dport 20458 -j ACCEPT2⤵PID:372
-