Analysis
- max time kernel
151s - max time network
158s - platform
debian-12_mipsel - resource
debian12-mipsel-20260513-en - resource tags
arch:mipselimage:debian12-mipsel-20260513-enkernel:6.1.0-17-4kc-maltalocale:en-usos:debian-12-mipselsystem - submitted
10/09/2026, 12:26
Behavioral task
behavioral1
Sample
bin.sh
Resource
debian12-mipsel-20260513-en
General
- Target bin.sh
- Size 134KB
- Sample260910-pmgmfsgg99
- SHA256 f6c97b1e2ed02578ca1066c8235ba4f991e645f89012406c639dbccc6582eec8
- MD5 3849f30b51a5c49e8d1546960cc206c7
- SHA1 61c74136534b826059c63221a2373dc0613a47b7
- SHA512 43d79293d1fbf716111c27e50df95a0860a0d706079625fa2b8a6b57c5ee06fa7b5b6b8c0acae33714a2181686426728513c990534e44b6f03a05dde0629ab86
- SSDEEP 3072:biMYFJvw6Yh0b1gKobtCGCmCRlrisfrYm:fYFJvwe1gKCYVl2szN
- TLSH T159D31322D3130C4FC02579FA7A2BE62A39873E6A24CE449C45F5D66A2FB7084ED71753
- MD5 SHA1 SHA512 SSDEEP TLSH
Malware Config
Signatures
- Detects Mozi Payload 1 IoCs
resource yara_rule behavioral1/memory/803-1-0x00400000-0x004c2f18-memory.dmp family_mozi - Contacts a large (13077) amount of remote hosts 1 TTPs
This may indicate a network scan to discover remotely running services.
- Patched UPX-packed file 1 IoCs
Sample is packed with UPX but required header fields are zeroed out to prevent unpacking with the default UPX tool.
resource yara_rule behavioral1/files/fstream-2.dat patched_upx - Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc Process File opened for modification /dev/watchdog bin.sh File opened for modification /dev/misc/watchdog bin.sh - Creates a large amount of network flows 1 TTPs
This may indicate a network scan to discover remotely running services.
- Creates/modifies environment variables 1 TTPs 1 IoCs
Creating/modifying environment variables is a common persistence mechanism.
description ioc Process File opened for modification /etc/profile.d/gawk.sh bin.sh - 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 bin.sh - Enumerates running processes
Discovers information about currently running processes on the system
-
description ioc Process File opened for modification /etc/init.d/S95baby.sh bin.sh File opened for modification /etc/init.d/console-setup.sh bin.sh File opened for modification /etc/init.d/keyboard-setup.sh bin.sh File opened for modification /etc/init.d/hwclock.sh bin.sh - Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/route bin.sh - Write file to user bin folder 1 IoCs
description ioc Process File opened for modification /usr/bin/gvmap.sh bin.sh - Writes file to system bin folder 2 IoCs
description ioc Process File opened for modification /bin/watchdog bin.sh File opened for modification /sbin/watchdog bin.sh - Modifies Bash startup script 2 TTPs 1 IoCs
description ioc Process File opened for modification /etc/profile.d/gawk.sh bin.sh -
resource yara_rule behavioral1/files/fstream-2.dat upx - Changes its process name 1 IoCs
description ioc pid Process Changes the process name, possibly in an attempt to hide itself dropbear 808 bin.sh - 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 bin.sh File opened for reading /proc/net/raw bin.sh File opened for reading /proc/net/route bin.sh -
description ioc Process File opened for reading /proc/113 killall File opened for reading /proc/118 killall File opened for reading /proc/137/cmdline killall File opened for reading /proc/770 killall File opened for reading /proc/21/stat killall File opened for reading /proc/22/stat killall File opened for reading /proc/58/stat killall File opened for reading /proc/808/stat killall File opened for reading /proc/813 killall File opened for reading /proc/11 killall File opened for reading /proc/53/stat killall File opened for reading /proc/321 killall File opened for reading /proc/677 killall File opened for reading /proc/700/stat killall File opened for reading /proc/765/stat killall File opened for reading /proc/800 killall File opened for reading /proc/10 killall File opened for reading /proc/10/stat killall File opened for reading /proc/22 killall File opened for reading /proc/409 killall File opened for reading /proc/412 killall File opened for reading /proc/663/stat killall File opened for reading /proc/700 killall File opened for reading /proc/2 killall File opened for reading /proc/7 killall File opened for reading /proc/9/stat killall File opened for reading /proc/15 killall File opened for reading /proc/32/stat killall File opened for reading /proc/321/stat killall File opened for reading /proc/390 killall File opened for reading /proc/409/stat killall File opened for reading /proc/self/exe bin.sh File opened for reading /proc/28/stat killall File opened for reading /proc/30/stat killall File opened for reading /proc/44/stat killall File opened for reading /proc/47 killall File opened for reading /proc/201/stat killall File opened for reading /proc/226 killall File opened for reading /proc/758/stat killall File opened for reading /proc/1 killall File opened for reading /proc/35 killall File opened for reading /proc/44 killall File opened for reading /proc/114 killall File opened for reading /proc/379/stat killall File opened for reading /proc/380 killall File opened for reading /proc/1/stat killall File opened for reading /proc/3 killall File opened for reading /proc/112 killall File opened for reading /proc/136/stat killall File opened for reading /proc/781 killall File opened for reading /proc/813/stat killall File opened for reading /proc/8/stat killall File opened for reading /proc/16/stat killall File opened for reading /proc/24/stat killall File opened for reading /proc/47/stat killall File opened for reading /proc/111/stat killall File opened for reading /proc/394/stat killall File opened for reading /proc/758 killall File opened for reading /proc/3/stat killall File opened for reading /proc/19 killall File opened for reading /proc/29 killall File opened for reading /proc/34/stat killall File opened for reading /proc/663 killall File opened for reading /proc/mounts bin.sh - System Network Configuration Discovery 1 TTPs 22 IoCs
Adversaries may gather information about the network configuration of a system.
pid Process 855 sh 859 sh 865 sh 880 sh 883 sh 888 sh 896 sh 863 sh 864 sh 869 sh 871 sh 873 sh 881 sh 889 sh 853 sh 857 sh 875 sh 891 sh 870 sh 894 sh 898 sh 900 sh - Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/.ips bin.sh File opened for modification /tmp/.config bin.sh
Processes
-
/tmp/bin.sh/tmp/bin.sh1⤵
- Modifies Watchdog functionality
- Creates/modifies environment variables
- Enumerates active TCP sockets
- Modifies init.d
- Reads system routing table
- Write file to user bin folder
- Writes file to system bin folder
- Modifies Bash startup script
- Changes its process name
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:803 -
/bin/shsh -c "killall -9 telnetd utelnetd scfgmgr"2⤵PID:809
-
/usr/bin/killallkillall -9 telnetd utelnetd scfgmgr3⤵
- Reads runtime system information
PID:812
-
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 55679 -j ACCEPT"2⤵PID:852
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 55679 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:853
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 55679 -j ACCEPT"2⤵PID:854
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 55679 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:855
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 55679 -j ACCEPT"2⤵PID:856
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 55679 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:857
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --dport 55679 -j ACCEPT"2⤵PID:858
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --sport 55679 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:859
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"2⤵PID:860
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"2⤵PID:861
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"2⤵PID:862
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"2⤵
- System Network Configuration Discovery
PID:863
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"2⤵
- System Network Configuration Discovery
PID:864
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"2⤵
- System Network Configuration Discovery
PID:865
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"2⤵PID:866
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"2⤵PID:867
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"2⤵PID:868
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"2⤵
- System Network Configuration Discovery
PID:869
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 23 -j DROP"2⤵
- System Network Configuration Discovery
PID:870
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 2323 -j DROP"2⤵
- System Network Configuration Discovery
PID:871
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"2⤵PID:872
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"2⤵
- System Network Configuration Discovery
PID:873
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 58000 -j DROP"2⤵PID:874
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 58000 -j DROP"2⤵
- System Network Configuration Discovery
PID:875
-
-
/bin/shsh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL \"http://127.0.0.1\""2⤵PID:876
-
-
/bin/shsh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword \"acsMozi\""2⤵PID:877
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 35000 -j DROP"2⤵PID:878
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 50023 -j DROP"2⤵PID:879
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 50023 -j DROP"2⤵
- System Network Configuration Discovery
PID:880
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 35000 -j DROP"2⤵
- System Network Configuration Discovery
PID:881
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"2⤵PID:882
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 7547 -j DROP"2⤵
- System Network Configuration Discovery
PID:883
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 35000 -j DROP"2⤵PID:886
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 50023 -j DROP"2⤵PID:887
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 50023 -j DROP"2⤵
- System Network Configuration Discovery
PID:888
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 35000 -j DROP"2⤵
- System Network Configuration Discovery
PID:889
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --dport 7547 -j DROP"2⤵PID:890
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --sport 7547 -j DROP"2⤵
- System Network Configuration Discovery
PID:891
-
-
/bin/shsh -c "iptables -I INPUT -p udp --destination-port 52242 -j ACCEPT"2⤵PID:893
-
-
/bin/shsh -c "iptables -I OUTPUT -p udp --source-port 52242 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:894
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p udp --destination-port 52242 -j ACCEPT"2⤵PID:895
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p udp --source-port 52242 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:896
-
-
/bin/shsh -c "iptables -I INPUT -p udp --dport 52242 -j ACCEPT"2⤵PID:897
-
-
/bin/shsh -c "iptables -I OUTPUT -p udp --sport 52242 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:898
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p udp --dport 52242 -j ACCEPT"2⤵PID:899
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p udp --sport 52242 -j ACCEPT"2⤵
- System Network Configuration Discovery
PID:900
-
Network
MITRE ATT&CK Enterprise v16
Persistence
Boot or Logon Autostart Execution
2Boot or Logon Initialization Scripts
1RC Scripts
1Event Triggered Execution
1Unix Shell Configuration Modification
1Hijack Execution Flow
1Path Interception by PATH Environment Variable
1Privilege Escalation
Boot or Logon Autostart Execution
2Boot or Logon Initialization Scripts
1RC Scripts
1Event Triggered Execution
1Unix Shell Configuration Modification
1Hijack Execution Flow
1Path Interception by PATH Environment Variable
1Defense Evasion
Hijack Execution Flow
1Path Interception by PATH Environment Variable
1Impair Defenses
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path /etc/rcS.d/S95baby.sh
- Size 25B
- SHA256 01ba1fb41632594997a41d0c3a911ae5b3034d566ebb991ef76ad76e6f9e283a
- MD5 1b3235ba10fc04836c941d3d27301956
- SHA1 8909655763143702430b8c58b3ae3b04cfd3a29c
- SHA512 98bdb5c266222ccbd63b6f80c87e501c8033dc53b0513d300b8da50e39a207a0b69f8cd3ecc4a128dec340a1186779fedd1049c9b0a70e90d2cb3ae6ebfa4c4d
- MD5 SHA1 SHA512
- Path /tmp/.config
- Size 140B
- SHA256 348a557ecef7585e315fa04bea4a179b715c795993ca331fbaf3677c79e0be5e
- MD5 457412db2275c971a2f32aef0c05f0ef
- SHA1 81634d651b7bd25434966cb91dd5f1f1683ae363
- SHA512 4bf11f480c43a51666b8ddb335c59159c142299995ef5aad0cabe266e9652482f3032759150d6c467494ac10e7210976a935b61642cb214a438be016a7244a2c
- TLSH T19FC08CD4ACA001608CAC684228A0370CC0808B3308135C00A7898C640248997A620A11
- MD5 SHA1 SHA512 TLSH
- Path /tmp/.config
- Size 150B
- SHA256 d7ceac787e9c11a355ea642a7acb2ac454df05c3c1760ffd09de90b19c0fe6f4
- MD5 570584d9b4a7f23949ec47149314f2f9
- SHA1 20f2a709d255550c4b27c9b479a742bf4ca3c752
- SHA512 c89516b29711c7513b05f16798281b97aaf14ea6b8dfeceb6edc0a112d05cd5b7af0a01624dd207e8c5221a79837ca32e4d3cc9ef69f6e88d6081f40db752289
- TLSH T18BC08CD5ACA001A08CAC684238A0770CD480CB730813AC00E78A8C6502C89ABA660A12
- MD5 SHA1 SHA512 TLSH
- Path /usr/networks
- Size 134KB
- SHA256 f6c97b1e2ed02578ca1066c8235ba4f991e645f89012406c639dbccc6582eec8
- MD5 3849f30b51a5c49e8d1546960cc206c7
- SHA1 61c74136534b826059c63221a2373dc0613a47b7
- SHA512 43d79293d1fbf716111c27e50df95a0860a0d706079625fa2b8a6b57c5ee06fa7b5b6b8c0acae33714a2181686426728513c990534e44b6f03a05dde0629ab86
- SSDEEP 3072:biMYFJvw6Yh0b1gKobtCGCmCRlrisfrYm:fYFJvwe1gKCYVl2szN
- TLSH T159D31322D3130C4FC02579FA7A2BE62A39873E6A24CE449C45F5D66A2FB7084ED71753
- MD5 SHA1 SHA512 SSDEEP TLSH