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

General

  • Target
    bin.sh
  • Size 134KB
  • Sample260910-pmgmfsgg99
  • 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 (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.

  • 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.

  • Creates/modifies environment variables 1 TTPs 1 IoCs

    Creating/modifying environment variables is a common persistence mechanism.

  • 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 4 IoCs

    Adds/modifies system service, likely for persistence.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Write file to user bin folder 1 IoCs
  • Writes file to system bin folder 2 IoCs
  • Modifies Bash startup script 2 TTPs 1 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 22 IoCs

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

  • Writes file to tmp directory 2 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bin.sh
    /tmp/bin.sh
    1⤵
    • 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/sh
      sh -c "killall -9 telnetd utelnetd scfgmgr"
      2⤵
        PID:809
        • /usr/bin/killall
          killall -9 telnetd utelnetd scfgmgr
          3⤵
          • Reads runtime system information
          PID:812
      • /bin/sh
        sh -c "iptables -I INPUT -p tcp --destination-port 55679 -j ACCEPT"
        2⤵
          PID:852
        • /bin/sh
          sh -c "iptables -I OUTPUT -p tcp --source-port 55679 -j ACCEPT"
          2⤵
          • System Network Configuration Discovery
          PID:853
        • /bin/sh
          sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 55679 -j ACCEPT"
          2⤵
            PID:854
          • /bin/sh
            sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 55679 -j ACCEPT"
            2⤵
            • System Network Configuration Discovery
            PID:855
          • /bin/sh
            sh -c "iptables -I INPUT -p tcp --dport 55679 -j ACCEPT"
            2⤵
              PID:856
            • /bin/sh
              sh -c "iptables -I OUTPUT -p tcp --sport 55679 -j ACCEPT"
              2⤵
              • System Network Configuration Discovery
              PID:857
            • /bin/sh
              sh -c "iptables -I PREROUTING -t nat -p tcp --dport 55679 -j ACCEPT"
              2⤵
                PID:858
              • /bin/sh
                sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 55679 -j ACCEPT"
                2⤵
                • System Network Configuration Discovery
                PID:859
              • /bin/sh
                sh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"
                2⤵
                  PID:860
                • /bin/sh
                  sh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"
                  2⤵
                    PID:861
                  • /bin/sh
                    sh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"
                    2⤵
                      PID:862
                    • /bin/sh
                      sh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"
                      2⤵
                      • System Network Configuration Discovery
                      PID:863
                    • /bin/sh
                      sh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"
                      2⤵
                      • System Network Configuration Discovery
                      PID:864
                    • /bin/sh
                      sh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"
                      2⤵
                      • System Network Configuration Discovery
                      PID:865
                    • /bin/sh
                      sh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"
                      2⤵
                        PID:866
                      • /bin/sh
                        sh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"
                        2⤵
                          PID:867
                        • /bin/sh
                          sh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"
                          2⤵
                            PID:868
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"
                            2⤵
                            • System Network Configuration Discovery
                            PID:869
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 23 -j DROP"
                            2⤵
                            • System Network Configuration Discovery
                            PID:870
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 2323 -j DROP"
                            2⤵
                            • System Network Configuration Discovery
                            PID:871
                          • /bin/sh
                            sh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"
                            2⤵
                              PID:872
                            • /bin/sh
                              sh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"
                              2⤵
                              • System Network Configuration Discovery
                              PID:873
                            • /bin/sh
                              sh -c "iptables -I INPUT -p tcp --dport 58000 -j DROP"
                              2⤵
                                PID:874
                              • /bin/sh
                                sh -c "iptables -I OUTPUT -p tcp --sport 58000 -j DROP"
                                2⤵
                                • System Network Configuration Discovery
                                PID:875
                              • /bin/sh
                                sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL \"http://127.0.0.1\""
                                2⤵
                                  PID:876
                                • /bin/sh
                                  sh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword \"acsMozi\""
                                  2⤵
                                    PID:877
                                  • /bin/sh
                                    sh -c "iptables -I INPUT -p tcp --destination-port 35000 -j DROP"
                                    2⤵
                                      PID:878
                                    • /bin/sh
                                      sh -c "iptables -I INPUT -p tcp --destination-port 50023 -j DROP"
                                      2⤵
                                        PID:879
                                      • /bin/sh
                                        sh -c "iptables -I OUTPUT -p tcp --source-port 50023 -j DROP"
                                        2⤵
                                        • System Network Configuration Discovery
                                        PID:880
                                      • /bin/sh
                                        sh -c "iptables -I OUTPUT -p tcp --source-port 35000 -j DROP"
                                        2⤵
                                        • System Network Configuration Discovery
                                        PID:881
                                      • /bin/sh
                                        sh -c "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"
                                        2⤵
                                          PID:882
                                        • /bin/sh
                                          sh -c "iptables -I OUTPUT -p tcp --source-port 7547 -j DROP"
                                          2⤵
                                          • System Network Configuration Discovery
                                          PID:883
                                        • /bin/sh
                                          sh -c "iptables -I INPUT -p tcp --dport 35000 -j DROP"
                                          2⤵
                                            PID:886
                                          • /bin/sh
                                            sh -c "iptables -I INPUT -p tcp --dport 50023 -j DROP"
                                            2⤵
                                              PID:887
                                            • /bin/sh
                                              sh -c "iptables -I OUTPUT -p tcp --sport 50023 -j DROP"
                                              2⤵
                                              • System Network Configuration Discovery
                                              PID:888
                                            • /bin/sh
                                              sh -c "iptables -I OUTPUT -p tcp --sport 35000 -j DROP"
                                              2⤵
                                              • System Network Configuration Discovery
                                              PID:889
                                            • /bin/sh
                                              sh -c "iptables -I INPUT -p tcp --dport 7547 -j DROP"
                                              2⤵
                                                PID:890
                                              • /bin/sh
                                                sh -c "iptables -I OUTPUT -p tcp --sport 7547 -j DROP"
                                                2⤵
                                                • System Network Configuration Discovery
                                                PID:891
                                              • /bin/sh
                                                sh -c "iptables -I INPUT -p udp --destination-port 52242 -j ACCEPT"
                                                2⤵
                                                  PID:893
                                                • /bin/sh
                                                  sh -c "iptables -I OUTPUT -p udp --source-port 52242 -j ACCEPT"
                                                  2⤵
                                                  • System Network Configuration Discovery
                                                  PID:894
                                                • /bin/sh
                                                  sh -c "iptables -I PREROUTING -t nat -p udp --destination-port 52242 -j ACCEPT"
                                                  2⤵
                                                    PID:895
                                                  • /bin/sh
                                                    sh -c "iptables -I POSTROUTING -t nat -p udp --source-port 52242 -j ACCEPT"
                                                    2⤵
                                                    • System Network Configuration Discovery
                                                    PID:896
                                                  • /bin/sh
                                                    sh -c "iptables -I INPUT -p udp --dport 52242 -j ACCEPT"
                                                    2⤵
                                                      PID:897
                                                    • /bin/sh
                                                      sh -c "iptables -I OUTPUT -p udp --sport 52242 -j ACCEPT"
                                                      2⤵
                                                      • System Network Configuration Discovery
                                                      PID:898
                                                    • /bin/sh
                                                      sh -c "iptables -I PREROUTING -t nat -p udp --dport 52242 -j ACCEPT"
                                                      2⤵
                                                        PID:899
                                                      • /bin/sh
                                                        sh -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

                                                          Replay Monitor

                                                          Loading Replay Monitor...

                                                          Downloads

                                                          S95baby.sh

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

                                                          .config

                                                          • Path /tmp/.config
                                                          • Size 140B
                                                          • SHA256 348a557ecef7585e315fa04bea4a179b715c795993ca331fbaf3677c79e0be5e
                                                          • MD5 SHA1 SHA512 TLSH

                                                          .config

                                                          • Path /tmp/.config
                                                          • Size 150B
                                                          • SHA256 d7ceac787e9c11a355ea642a7acb2ac454df05c3c1760ffd09de90b19c0fe6f4
                                                          • MD5 SHA1 SHA512 TLSH

                                                          networks

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