Analysis
-
max time kernel
27s -
max time network
29s -
platform
linux_mips -
resource
debian9-mipsbe-en-20211208 -
resource tags
arch:mipsimage:debian9-mipsbe-en-20211208kernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem -
submitted
30/08/2023, 23:54
Behavioral task
behavioral1
Sample
Mozi.m
Resource
debian9-mipsbe-en-20211208
General
-
Target
Mozi.m
-
Size
132KB
-
MD5
a73ddd6ec22462db955439f665cad4e6
-
SHA1
ac6962542a4b23ac13bddff22f8df9aeb702ef12
-
SHA256
b5cf68c7cb5bb2d21d60bf6654926f61566d95bfd7c9f9e182d032f1da5b4605
-
SHA512
92a52f68a7324c4d5876e1f7e2cb87d14b8604b057ceee2e537815568faa96abf576a22111c5c976eff72ab9015f1261b2331d4b4d711f4e62c8eb403c2377aa
-
SSDEEP
3072:2glZ3FtCKXhkmHtZ9TEKzjfj/WMngyIfsJ0F7xPtoM:2IIKXhZtL7jOTyIG87Xl
Malware Config
Signatures
-
Contacts a large (1555) amount of remote hosts 1 TTPs
This may indicate a network scan to discover remotely running services.
-
Changes its process name 1 IoCs
description ioc pid Changes the process name, possibly in an attempt to hide itself dropbear 330 -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc File opened for modification /dev/watchdog File opened for modification /dev/misc/watchdog -
Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/tcp Mozi.m -
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc File opened for reading /proc/net/route -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc File opened for modification /sbin/watchdog File opened for modification /bin/watchdog -
Reads system network configuration 1 TTPs 3 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/tcp Mozi.m File opened for reading /proc/net/raw Mozi.m File opened for reading /proc/net/route Process not Found -
Reads runtime system information 1 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/self/exe Mozi.m -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/.ips Mozi.m
Processes
-
/tmp/Mozi.m/tmp/Mozi.m1⤵
- Enumerates active TCP sockets
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:328
-
/bin/shsh -c "killall -9 telnetd utelnetd scfgmgr"1⤵PID:331
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 45955 -j ACCEPT"1⤵PID:342
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 45955 -j ACCEPT2⤵PID:343
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 45955 -j ACCEPT"1⤵PID:348
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 45955 -j ACCEPT2⤵PID:349
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 45955 -j ACCEPT"1⤵PID:350
-
/sbin/iptablesiptables -I PREROUTING -t nat -p tcp --destination-port 45955 -j ACCEPT2⤵PID:351
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 45955 -j ACCEPT"1⤵PID:360
-
/sbin/iptablesiptables -I POSTROUTING -t nat -p tcp --source-port 45955 -j ACCEPT2⤵PID:361
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 45955 -j ACCEPT"1⤵PID:362
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 45955 -j ACCEPT2⤵PID:363
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 45955 -j ACCEPT"1⤵PID:364
-
/sbin/iptablesiptables -I OUTPUT -p tcp --sport 45955 -j ACCEPT2⤵PID:365
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --dport 45955 -j ACCEPT"1⤵PID:366
-
/sbin/iptablesiptables -I PREROUTING -t nat -p tcp --dport 45955 -j ACCEPT2⤵PID:367
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"1⤵PID:368
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 22 -j DROP2⤵PID:369
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --sport 45955 -j ACCEPT"1⤵PID:370
-
/sbin/iptablesiptables -I POSTROUTING -t nat -p tcp --sport 45955 -j ACCEPT2⤵PID:371
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"1⤵PID:372
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 23 -j DROP2⤵PID:373
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"1⤵PID:374
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 2323 -j DROP2⤵PID:375
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"1⤵PID:376
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 22 -j DROP2⤵PID:377
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"1⤵PID:378
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 23 -j DROP2⤵PID:379
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"1⤵PID:380
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 2323 -j DROP2⤵PID:381
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"1⤵PID:382
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 22 -j DROP2⤵PID:383
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"1⤵PID:384
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 23 -j DROP2⤵PID:385
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"1⤵PID:386
-
/sbin/iptablesiptables -I INPUT -p tcp --dport 2323 -j DROP2⤵PID:387
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"1⤵PID:388
-
/sbin/iptablesiptables -I OUTPUT -p tcp --sport 22 -j DROP2⤵PID:389
-