Analysis
- max time kernel
149s - max time network
153s - platform
debian-12_armhf - resource
debian12-armhf-20260513-en - resource tags
arch:armhfimage:debian12-armhf-20260513-enkernel:6.1.0-17-armmp-lpaelocale:en-usos:debian-12-armhfsystem - submitted
12/08/2026, 00:24
Behavioral task
behavioral1
Sample
bin.sh
Resource
debian12-armhf-20260513-en
General
- Target bin.sh
- Size 300KB
- Sample260812-ap6a9shf39
- SHA256 12013662c71da69de977c04cd7021f13a70cf7bed4ca6c82acbc100464d4b0ef
- MD5 eec5c6c219535fba3a0492ea8118b397
- SHA1 292559e94f1c04b7d0c65d4a01bbbc5dc1ff6f21
- SHA512 3482c8324a18302f0f37b6e23ed85f24fff9f50bb568d8fd7461bf57f077a7c592f7a88bb2e1c398699958946d87bb93ab744d13a0003f9b879c15e6471f7400
- SSDEEP 6144:T2s/gAWuboqsJ9xcJxspJBqQgTuaJZRhVabE5wKSDP99zBa77oNsKqqfPqOJ:T2s/bW+UmJqBxAuaPRhVabEDSDP99zBT
- TLSH T113643A8AFD81AE25D5C126BBFE2F4289331317B8D2EB71029D145F2876CA94F0F7A541
- MD5 SHA1 SHA512 SSDEEP TLSH
Malware Config
Signatures
- Detects Mozi Payload 1 IoCs
resource yara_rule behavioral1/files/fstream-2.dat family_mozi - Contacts a large (23876) amount of remote hosts 1 TTPs
This may indicate a network scan to discover remotely running services.
- Creates a large amount of network flows 1 TTPs
This may indicate a network scan to discover remotely running services.
- 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/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/console-setup.sh bin.sh File opened for modification /etc/init.d/hwclock.sh bin.sh File opened for modification /etc/init.d/S95baby.sh bin.sh File opened for modification /etc/init.d/keyboard-setup.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 /sbin/watchdog bin.sh File opened for modification /bin/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 - Changes its process name 1 IoCs
description ioc pid Process Changes the process name, possibly in an attempt to hide itself dropbear 796 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/raw bin.sh File opened for reading /proc/net/route bin.sh File opened for reading /proc/net/tcp bin.sh - Command and Scripting Interpreter: Unix Shell 1 TTPs 19 IoCs
Execute scripts via Unix Shell.
pid Process 798 sh 842 sh 845 sh 826 sh 828 sh 834 sh 840 sh 856 sh 858 sh 824 sh 832 sh 839 sh 848 sh 852 sh 854 sh 830 sh 835 sh 836 sh 846 sh -
description ioc Process File opened for reading /proc/18 killall File opened for reading /proc/31 killall File opened for reading /proc/334 killall File opened for reading /proc/789/stat killall File opened for reading /proc/24 killall File opened for reading /proc/3 killall File opened for reading /proc/7 killall File opened for reading /proc/10 killall File opened for reading /proc/44/stat killall File opened for reading /proc/257/stat killall File opened for reading /proc/30 killall File opened for reading /proc/31/stat killall File opened for reading /proc/387/stat killall File opened for reading /proc/641 killall File opened for reading /proc/743/stat killall File opened for reading /proc/26/stat killall File opened for reading /proc/27 killall File opened for reading /proc/34/stat killall File opened for reading /proc/366/stat killall File opened for reading /proc/676 killall File opened for reading /proc/6 killall File opened for reading /proc/11/stat killall File opened for reading /proc/25 killall File opened for reading /proc/34 killall File opened for reading /proc/46 killall File opened for reading /proc/208 killall File opened for reading /proc/354/stat killall File opened for reading /proc/28 killall File opened for reading /proc/73 killall File opened for reading /proc/208/stat killall File opened for reading /proc/mounts bin.sh File opened for reading /proc/33 killall File opened for reading /proc/320 killall File opened for reading /proc/332/stat killall File opened for reading /proc/798/stat killall File opened for reading /proc/35 killall File opened for reading /proc/51 killall File opened for reading /proc/51/stat killall File opened for reading /proc/732/cmdline killall File opened for reading /proc/19 killall File opened for reading /proc/13/stat killall File opened for reading /proc/143/stat killall File opened for reading /proc/7/stat killall File opened for reading /proc/323/stat killall File opened for reading /proc/642 killall File opened for reading /proc/2 killall File opened for reading /proc/36/stat killall File opened for reading /proc/56 killall File opened for reading /proc/193/stat killall File opened for reading /proc/6/stat killall File opened for reading /proc/22 killall File opened for reading /proc/45 killall File opened for reading /proc/45/stat killall File opened for reading /proc/257 killall File opened for reading /proc/642/stat killall File opened for reading /proc/783 killall File opened for reading /proc/4 killall File opened for reading /proc/42/stat killall File opened for reading /proc/142/stat killall File opened for reading /proc/143/cmdline killall File opened for reading /proc/198/stat killall File opened for reading /proc/783/stat killall File opened for reading /proc/16/stat killall File opened for reading /proc/212 killall - System Network Configuration Discovery 1 TTPs 16 IoCs
Adversaries may gather information about the network configuration of a system.
pid Process 824 sh 826 sh 828 sh 852 sh 854 sh 858 sh 834 sh 840 sh 846 sh 848 sh 856 sh 839 sh 842 sh 845 sh 830 sh 832 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:788 -
/bin/sh/bin/sh -c "killall -9 telnetd utelnetd scfgmgr"2⤵
- Command and Scripting Interpreter: Unix Shell
PID:798 -
/usr/bin/killallkillall -9 telnetd utelnetd scfgmgr3⤵
- Reads runtime system information
PID:804
-
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --destination-port 36541 -j ACCEPT"2⤵PID:823
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --source-port 36541 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:824
-
-
/bin/sh/bin/sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 36541 -j ACCEPT"2⤵PID:825
-
-
/bin/sh/bin/sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 36541 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:826
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --dport 36541 -j ACCEPT"2⤵PID:827
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --sport 36541 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:828
-
-
/bin/sh/bin/sh -c "iptables -I PREROUTING -t nat -p tcp --dport 36541 -j ACCEPT"2⤵PID:829
-
-
/bin/sh/bin/sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 36541 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:830
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"2⤵PID:831
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:832
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --dport 58000 -j DROP"2⤵PID:833
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --sport 58000 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:834
-
-
/bin/sh/bin/sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL \"http://127.0.0.1\""2⤵
- Command and Scripting Interpreter: Unix Shell
PID:835
-
-
/bin/sh/bin/sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword \"acsMozi\""2⤵
- Command and Scripting Interpreter: Unix Shell
PID:836
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --destination-port 35000 -j DROP"2⤵PID:837
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --destination-port 50023 -j DROP"2⤵PID:838
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --source-port 50023 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:839
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --source-port 35000 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:840
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"2⤵PID:841
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --source-port 7547 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:842
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --dport 35000 -j DROP"2⤵PID:843
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --dport 50023 -j DROP"2⤵PID:844
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --sport 50023 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:845
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --sport 35000 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:846
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p tcp --dport 7547 -j DROP"2⤵PID:847
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p tcp --sport 7547 -j DROP"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:848
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p udp --destination-port 8081 -j ACCEPT"2⤵PID:851
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p udp --source-port 8081 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:852
-
-
/bin/sh/bin/sh -c "iptables -I PREROUTING -t nat -p udp --destination-port 8081 -j ACCEPT"2⤵PID:853
-
-
/bin/sh/bin/sh -c "iptables -I POSTROUTING -t nat -p udp --source-port 8081 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:854
-
-
/bin/sh/bin/sh -c "iptables -I INPUT -p udp --dport 8081 -j ACCEPT"2⤵PID:855
-
-
/bin/sh/bin/sh -c "iptables -I OUTPUT -p udp --sport 8081 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:856
-
-
/bin/sh/bin/sh -c "iptables -I PREROUTING -t nat -p udp --dport 8081 -j ACCEPT"2⤵PID:857
-
-
/bin/sh/bin/sh -c "iptables -I POSTROUTING -t nat -p udp --sport 8081 -j ACCEPT"2⤵
- Command and Scripting Interpreter: Unix Shell
- System Network Configuration Discovery
PID:858
-
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 /usr/networks
- Size 300KB
- SHA256 12013662c71da69de977c04cd7021f13a70cf7bed4ca6c82acbc100464d4b0ef
- MD5 eec5c6c219535fba3a0492ea8118b397
- SHA1 292559e94f1c04b7d0c65d4a01bbbc5dc1ff6f21
- SHA512 3482c8324a18302f0f37b6e23ed85f24fff9f50bb568d8fd7461bf57f077a7c592f7a88bb2e1c398699958946d87bb93ab744d13a0003f9b879c15e6471f7400
- SSDEEP 6144:T2s/gAWuboqsJ9xcJxspJBqQgTuaJZRhVabE5wKSDP99zBa77oNsKqqfPqOJ:T2s/bW+UmJqBxAuaPRhVabEDSDP99zBT
- TLSH T113643A8AFD81AE25D5C126BBFE2F4289331317B8D2EB71029D145F2876CA94F0F7A541
- MD5 SHA1 SHA512 SSDEEP TLSH