Analysis

  • max time kernel
    124s
  • max time network
    157s
  • 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
    25/09/2026, 18:30

General

  • Target
    bin.sh
  • Size 134KB
  • Sample260925-w5zz3stdqf
  • SHA256 f6c97b1e2ed02578ca1066c8235ba4f991e645f89012406c639dbccc6582eec8
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • Family: Mozi, Mozi Botnet

    Mozi aka MoziBotnet is a multi-platform linux botnet targeting IoT devices.

  • Detects Mozi Payload 1 IoCs
  • Contacts a large (10404) 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.

  • Modifies Watchdog functionality 1 TTPs 2 IoCs

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Creates a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Modifies init.d 2 TTPs 1 IoCs

    Adds/modifies system service, likely for persistence.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Writes file to system bin folder 2 IoCs
  • UPX packed file 1 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Changes its process name 1 IoCs
  • Reads system network configuration 1 TTPs 3 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 16 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bin.sh
    /tmp/bin.sh
    1⤵
    • Modifies Watchdog functionality
    • Enumerates active TCP sockets
    • Modifies init.d
    • Reads system routing table
    • Writes file to system bin folder
    • Changes its process name
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:802
    • /bin/sh
      sh -c "killall -9 telnetd utelnetd scfgmgr"
      2⤵
        PID:807
        • /usr/bin/killall
          killall -9 telnetd utelnetd scfgmgr
          3⤵
          • Reads runtime system information
          PID:810
      • /bin/sh
        sh -c "iptables -I INPUT -p tcp --destination-port 56927 -j ACCEPT"
        2⤵
          PID:848
        • /bin/sh
          sh -c "iptables -I OUTPUT -p tcp --source-port 56927 -j ACCEPT"
          2⤵
          • System Network Configuration Discovery
          PID:850
        • /bin/sh
          sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 56927 -j ACCEPT"
          2⤵
            PID:852
          • /bin/sh
            sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 56927 -j ACCEPT"
            2⤵
            • System Network Configuration Discovery
            PID:854
          • /bin/sh
            sh -c "iptables -I INPUT -p tcp --dport 56927 -j ACCEPT"
            2⤵
              PID:856
            • /bin/sh
              sh -c "iptables -I OUTPUT -p tcp --sport 56927 -j ACCEPT"
              2⤵
              • System Network Configuration Discovery
              PID:858
            • /bin/sh
              sh -c "iptables -I PREROUTING -t nat -p tcp --dport 56927 -j ACCEPT"
              2⤵
                PID:860
              • /bin/sh
                sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 56927 -j ACCEPT"
                2⤵
                • System Network Configuration Discovery
                PID:862
              • /bin/sh
                sh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"
                2⤵
                  PID:908
                • /bin/sh
                  sh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"
                  2⤵
                    PID:910
                  • /bin/sh
                    sh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"
                    2⤵
                      PID:913
                    • /bin/sh
                      sh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"
                      2⤵
                      • System Network Configuration Discovery
                      PID:915
                    • /bin/sh
                      sh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"
                      2⤵
                      • System Network Configuration Discovery
                      PID:917
                    • /bin/sh
                      sh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"
                      2⤵
                      • System Network Configuration Discovery
                      PID:921
                    • /bin/sh
                      sh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"
                      2⤵
                        PID:924
                      • /bin/sh
                        sh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"
                        2⤵
                          PID:927
                        • /bin/sh
                          sh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"
                          2⤵
                            PID:932
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"
                            2⤵
                            • System Network Configuration Discovery
                            PID:935
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 23 -j DROP"
                            2⤵
                            • System Network Configuration Discovery
                            PID:938
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 2323 -j DROP"
                            2⤵
                            • System Network Configuration Discovery
                            PID:941
                          • /bin/sh
                            sh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"
                            2⤵
                              PID:945
                            • /bin/sh
                              sh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"
                              2⤵
                              • System Network Configuration Discovery
                              PID:947
                            • /bin/sh
                              sh -c "iptables -I INPUT -p tcp --dport 58000 -j DROP"
                              2⤵
                                PID:950
                              • /bin/sh
                                sh -c "iptables -I OUTPUT -p tcp --sport 58000 -j DROP"
                                2⤵
                                • System Network Configuration Discovery
                                PID:952
                              • /bin/sh
                                sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL \"http://127.0.0.1\""
                                2⤵
                                  PID:955
                                • /bin/sh
                                  sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword \"acsMozi\""
                                  2⤵
                                    PID:958
                                  • /bin/sh
                                    sh -c "iptables -I INPUT -p tcp --destination-port 35000 -j DROP"
                                    2⤵
                                      PID:962
                                    • /bin/sh
                                      sh -c "iptables -I INPUT -p tcp --destination-port 50023 -j DROP"
                                      2⤵
                                        PID:965
                                      • /bin/sh
                                        sh -c "iptables -I OUTPUT -p tcp --source-port 50023 -j DROP"
                                        2⤵
                                        • System Network Configuration Discovery
                                        PID:967
                                      • /bin/sh
                                        sh -c "iptables -I OUTPUT -p tcp --source-port 35000 -j DROP"
                                        2⤵
                                        • System Network Configuration Discovery
                                        PID:969
                                      • /bin/sh
                                        sh -c "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"
                                        2⤵
                                          PID:971
                                        • /bin/sh
                                          sh -c "iptables -I OUTPUT -p tcp --source-port 7547 -j DROP"
                                          2⤵
                                          • System Network Configuration Discovery
                                          PID:973
                                        • /bin/sh
                                          sh -c "iptables -I INPUT -p tcp --dport 35000 -j DROP"
                                          2⤵
                                            PID:976
                                          • /bin/sh
                                            sh -c "iptables -I INPUT -p tcp --dport 50023 -j DROP"
                                            2⤵
                                              PID:981
                                            • /bin/sh
                                              sh -c "iptables -I OUTPUT -p tcp --sport 50023 -j DROP"
                                              2⤵
                                              • System Network Configuration Discovery
                                              PID:983

                                          Network

                                                MITRE ATT&CK Enterprise v16

                                                Replay Monitor

                                                Loading Replay Monitor...

                                                Downloads

                                                S95baby.sh

                                                • Path /etc/rcS.d/S95baby.sh
                                                • Size 25B
                                                • SHA256 01ba1fb41632594997a41d0c3a911ae5b3034d566ebb991ef76ad76e6f9e283a
                                                • MD5 SHA1 SHA512

                                                networks

                                                • Path /usr/networks
                                                • Size 134KB
                                                • SHA256 f6c97b1e2ed02578ca1066c8235ba4f991e645f89012406c639dbccc6582eec8
                                                • MD5 SHA1 SHA512 SSDEEP TLSH