Analysis
-
max time kernel
0s -
max time network
57s -
platform
linux_mips -
resource
debian9-mipsbe-en-20211208 -
submitted
25-04-2022 23:01
Static task
static1
Behavioral task
behavioral1
Sample
Mozi.mgzrjnsnf
Resource
debian9-mipsbe-en-20211208
General
-
Target
Mozi.mgzrjnsnf
-
Size
106KB
-
MD5
4dde761681684d7edad4e5e1ffdb940b
-
SHA1
2327be693bc11a618c380d7d3abc2382d870d48b
-
SHA256
d546509ab6670f9ff31783ed72875dfc0f37fa2b666bd5870eecaaed2ebea4a8
-
SHA512
91a61c719128f263f9f95736d55895954cc468c74ff469ee061d35ec382c50b9165e9a5427dc46a835dac6ae0e6e1f9819632475f68b98a907b53196bd4eb02a
Malware Config
Signatures
-
Modifies the Watchdog daemon 1 TTPs
Malware like Mirai modify the Watchdog to prevent it restarting an infected system.
-
Writes file to system bin folder 1 TTPs 2 IoCs
Processes:
description ioc /sbin/watchdog /sbin/watchdog /bin/watchdog /bin/watchdog -
Modifies hosts file 1 IoCs
Adds to hosts file used for mapping hosts to IP addresses.
Processes:
description ioc /etc/hosts /etc/hosts -
Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
-
Reads system network configuration 1 TTPs 2 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
description ioc /proc/net/raw /proc/net/raw /proc/net/tcp /proc/net/tcp -
Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
Processes:
description ioc /tmp/Mozi.mgzrjnsnf /tmp/Mozi.mgzrjnsnf /tmp/config /tmp/config
Processes
-
./Mozi.mgzrjnsnf./Mozi.mgzrjnsnf1⤵
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"1⤵
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 22 -j DROP2⤵
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 60907 -j ACCEPT"1⤵
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 60907 -j ACCEPT2⤵
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"1⤵
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 23 -j DROP2⤵
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"1⤵
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 2323 -j DROP2⤵
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"1⤵
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 22 -j DROP2⤵
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 60907 -j ACCEPT"1⤵
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 60907 -j ACCEPT2⤵
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"1⤵
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 23 -j DROP2⤵
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 60907 -j ACCEPT"1⤵
-
/sbin/iptablesiptables -I PREROUTING -t nat -p tcp --destination-port 60907 -j ACCEPT2⤵
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"1⤵
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 2323 -j DROP2⤵