Analysis
-
max time kernel
11967s -
max time network
189s -
platform
linux_armhf -
resource
debian9-armhf-en-20211208 -
submitted
25-04-2022 22:31
Static task
static1
Behavioral task
behavioral1
Sample
Mozi.afmpoflvr
Resource
debian9-armhf-en-20211208
General
-
Target
Mozi.afmpoflvr
-
Size
78KB
-
MD5
9b6c3518a91d23ed77504b5416bfb5b3
-
SHA1
0a2d170abbf5031566377b01431e3b82d342630a
-
SHA256
a04ac6d98ad989312783d4fe3456c53730b212c79a426fb215708b6c6daa3de3
-
SHA512
b2b08d5d5e6c6708d88b793e9340a780d47b5dce61e0a3026b4cdea8a9e4cbf9824037255e4ea4a40fee5bce956485232376d4677ce72ccb6c7f00badd09956e
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:
Mozi.afmpoflvrdescription ioc process /proc/net/route /proc/net/route Mozi.afmpoflvr -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
Mozi.afmpoflvrdescription ioc /proc/net/tcp /proc/net/tcp /proc/net/tcp6 /proc/net/tcp6 /proc/net/route /proc/net/route Mozi.afmpoflvr -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
Processes:
description ioc /proc/349/cmdline /proc/349/cmdline /proc/131/fd /proc/131/fd /proc/18/cmdline /proc/18/cmdline /proc/285/cmdline /proc/285/cmdline /proc/106/cmdline /proc/106/cmdline /proc/105/cmdline /proc/105/cmdline /proc/6/cmdline /proc/6/cmdline /proc/276/fd /proc/276/fd /proc/16/cmdline /proc/16/cmdline /proc/10/cmdline /proc/10/cmdline /proc/230/fd /proc/230/fd /proc/41/cmdline /proc/41/cmdline /proc/12/cmdline /proc/12/cmdline /proc/3/cmdline /proc/3/cmdline /proc/307/cmdline /proc/307/cmdline /proc/233/cmdline /proc/233/cmdline /proc/233/fd /proc/233/fd /proc/26/cmdline /proc/26/cmdline /proc/14/cmdline /proc/14/cmdline /proc/13/cmdline /proc/13/cmdline /proc/225/cmdline /proc/225/cmdline /proc/207/fd /proc/207/fd /proc/74/cmdline /proc/74/cmdline /proc/225/fd /proc/225/fd /proc/95/cmdline /proc/95/cmdline /proc/29/cmdline /proc/29/cmdline /proc/353/cmdline /proc/353/cmdline /proc/307/fd /proc/307/fd /proc/228/fd /proc/228/fd /proc/164/fd /proc/164/fd /proc/132/cmdline /proc/132/cmdline /proc/9/cmdline /proc/9/cmdline /proc/228/cmdline /proc/228/cmdline /proc/164/cmdline /proc/164/cmdline /proc/28/cmdline /proc/28/cmdline /proc/24/cmdline /proc/24/cmdline /proc/20/cmdline /proc/20/cmdline /proc/285/fd /proc/285/fd /proc/275/cmdline /proc/275/cmdline /proc/230/cmdline /proc/230/cmdline /proc/4/cmdline /proc/4/cmdline /proc/353/fd /proc/353/fd /proc/301/cmdline /proc/301/cmdline /proc/42/cmdline /proc/42/cmdline /proc/306/cmdline /proc/306/cmdline /proc/21/cmdline /proc/21/cmdline /proc/19/cmdline /proc/19/cmdline /proc/301/fd /proc/301/fd /proc/131/cmdline /proc/131/cmdline /proc/306/fd /proc/306/fd /proc/304/cmdline /proc/304/cmdline /proc/304/fd /proc/304/fd /proc/5/cmdline /proc/5/cmdline /proc/2/cmdline /proc/2/cmdline /proc/355/cmdline /proc/355/cmdline /proc/154/cmdline /proc/154/cmdline /proc/27/cmdline /proc/27/cmdline /proc/1/cmdline /proc/1/cmdline /proc/354/cmdline /proc/354/cmdline /proc/43/cmdline /proc/43/cmdline /proc/15/cmdline /proc/15/cmdline /proc/22/cmdline /proc/22/cmdline /proc/276/cmdline /proc/276/cmdline /proc/271/cmdline /proc/271/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
-
./Mozi.afmpoflvr./Mozi.afmpoflvr1⤵
- Reads system routing table
- Reads system network configuration
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 23 -j DROP"1⤵
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 23 -j DROP2⤵
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 7547 -j DROP"1⤵
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 7547 -j DROP2⤵
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 5555 -j DROP"1⤵
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5555 -j DROP2⤵
-
/bin/sh/bin/sh -c "iptables -A INPUT -p tcp --destination-port 5358 -j DROP"1⤵
-
/sbin/iptablesiptables -A INPUT -p tcp --destination-port 5358 -j DROP2⤵
-
/bin/sh/bin/sh -c "iptables -D INPUT -j CWMP_CR"1⤵
-
/sbin/iptablesiptables -D INPUT -j CWMP_CR2⤵
-
/bin/sh/bin/sh -c "iptables -X CWMP_CR"1⤵
-
/sbin/iptablesiptables -X CWMP_CR2⤵
-
/bin/sh/bin/sh -c "iptables -I INPUT -p udp --dport 60018 -j ACCEPT"1⤵
-
/sbin/iptablesiptables -I INPUT -p udp --dport 60018 -j ACCEPT2⤵