Analysis

  • max time kernel
    69s
  • max time network
    153s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20260126-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20260126-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    21/04/2026, 06:18

General

  • Target
    bin.sh
  • Size 132KB
  • Sample260421-g2w2pacy2t
  • SHA256 4293c1d8574dc87c58360d6bac3daa182f64f7785c9d41da5e0741d2b1817fc7
  • 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 (2942) 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.

  • 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 11 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
    • Writes file to tmp directory
    PID:702
    • /bin/sh
      sh -c "killall -9 telnetd utelnetd scfgmgr"
      2⤵
        PID:707
        • /usr/bin/killall
          killall -9 telnetd utelnetd scfgmgr
          3⤵
          • Reads runtime system information
          PID:709
      • /bin/sh
        sh -c "iptables -I INPUT -p tcp --destination-port 41365 -j ACCEPT"
        2⤵
          PID:784
          • /sbin/iptables
            iptables -I INPUT -p tcp --destination-port 41365 -j ACCEPT
            3⤵
              PID:785
          • /bin/sh
            sh -c "iptables -I OUTPUT -p tcp --source-port 41365 -j ACCEPT"
            2⤵
            • System Network Configuration Discovery
            PID:788
            • /sbin/iptables
              iptables -I OUTPUT -p tcp --source-port 41365 -j ACCEPT
              3⤵
                PID:791
            • /bin/sh
              sh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"
              2⤵
                PID:793
                • /sbin/iptables
                  iptables -I INPUT -p tcp --destination-port 22 -j DROP
                  3⤵
                    PID:795
                • /bin/sh
                  sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 41365 -j ACCEPT"
                  2⤵
                    PID:796
                    • /sbin/iptables
                      iptables -I PREROUTING -t nat -p tcp --destination-port 41365 -j ACCEPT
                      3⤵
                        PID:797
                    • /bin/sh
                      sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 41365 -j ACCEPT"
                      2⤵
                      • System Network Configuration Discovery
                      PID:805
                      • /sbin/iptables
                        iptables -I POSTROUTING -t nat -p tcp --source-port 41365 -j ACCEPT
                        3⤵
                          PID:806
                      • /bin/sh
                        sh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"
                        2⤵
                          PID:807
                          • /sbin/iptables
                            iptables -I INPUT -p tcp --destination-port 2323 -j DROP
                            3⤵
                              PID:809
                          • /bin/sh
                            sh -c "iptables -I INPUT -p tcp --dport 41365 -j ACCEPT"
                            2⤵
                              PID:810
                              • /sbin/iptables
                                iptables -I INPUT -p tcp --dport 41365 -j ACCEPT
                                3⤵
                                  PID:811
                              • /bin/sh
                                sh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"
                                2⤵
                                • System Network Configuration Discovery
                                PID:813
                                • /sbin/iptables
                                  iptables -I OUTPUT -p tcp --source-port 22 -j DROP
                                  3⤵
                                    PID:814
                                • /bin/sh
                                  sh -c "iptables -I OUTPUT -p tcp --sport 41365 -j ACCEPT"
                                  2⤵
                                  • System Network Configuration Discovery
                                  PID:815
                                  • /sbin/iptables
                                    iptables -I OUTPUT -p tcp --sport 41365 -j ACCEPT
                                    3⤵
                                      PID:816
                                  • /bin/sh
                                    sh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"
                                    2⤵
                                    • System Network Configuration Discovery
                                    PID:817
                                    • /sbin/iptables
                                      iptables -I OUTPUT -p tcp --source-port 23 -j DROP
                                      3⤵
                                        PID:818
                                    • /bin/sh
                                      sh -c "iptables -I PREROUTING -t nat -p tcp --dport 41365 -j ACCEPT"
                                      2⤵
                                        PID:820
                                        • /sbin/iptables
                                          iptables -I PREROUTING -t nat -p tcp --dport 41365 -j ACCEPT
                                          3⤵
                                            PID:821
                                        • /bin/sh
                                          sh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"
                                          2⤵
                                          • System Network Configuration Discovery
                                          PID:822
                                          • /sbin/iptables
                                            iptables -I OUTPUT -p tcp --source-port 2323 -j DROP
                                            3⤵
                                              PID:824
                                          • /bin/sh
                                            sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 41365 -j ACCEPT"
                                            2⤵
                                            • System Network Configuration Discovery
                                            PID:825
                                            • /sbin/iptables
                                              iptables -I POSTROUTING -t nat -p tcp --sport 41365 -j ACCEPT
                                              3⤵
                                                PID:826
                                            • /bin/sh
                                              sh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"
                                              2⤵
                                                PID:827
                                                • /sbin/iptables
                                                  iptables -I INPUT -p tcp --dport 22 -j DROP
                                                  3⤵
                                                    PID:828
                                                • /bin/sh
                                                  sh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"
                                                  2⤵
                                                    PID:830
                                                    • /sbin/iptables
                                                      iptables -I INPUT -p tcp --dport 23 -j DROP
                                                      3⤵
                                                        PID:831
                                                    • /bin/sh
                                                      sh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"
                                                      2⤵
                                                        PID:833
                                                        • /sbin/iptables
                                                          iptables -I INPUT -p tcp --dport 2323 -j DROP
                                                          3⤵
                                                            PID:834
                                                        • /bin/sh
                                                          sh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"
                                                          2⤵
                                                          • System Network Configuration Discovery
                                                          PID:835
                                                          • /sbin/iptables
                                                            iptables -I OUTPUT -p tcp --sport 22 -j DROP
                                                            3⤵
                                                              PID:837
                                                          • /bin/sh
                                                            sh -c "iptables -I OUTPUT -p tcp --sport 23 -j DROP"
                                                            2⤵
                                                            • System Network Configuration Discovery
                                                            PID:839
                                                            • /sbin/iptables
                                                              iptables -I OUTPUT -p tcp --sport 23 -j DROP
                                                              3⤵
                                                                PID:840
                                                            • /bin/sh
                                                              sh -c "iptables -I OUTPUT -p tcp --sport 2323 -j DROP"
                                                              2⤵
                                                              • System Network Configuration Discovery
                                                              PID:841
                                                              • /sbin/iptables
                                                                iptables -I OUTPUT -p tcp --sport 2323 -j DROP
                                                                3⤵
                                                                  PID:842
                                                              • /bin/sh
                                                                sh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"
                                                                2⤵
                                                                  PID:845
                                                                  • /sbin/iptables
                                                                    iptables -I INPUT -p tcp --destination-port 58000 -j DROP
                                                                    3⤵
                                                                      PID:846
                                                                  • /bin/sh
                                                                    sh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"
                                                                    2⤵
                                                                    • System Network Configuration Discovery
                                                                    PID:847
                                                                    • /sbin/iptables
                                                                      iptables -I OUTPUT -p tcp --source-port 58000 -j DROP
                                                                      3⤵
                                                                        PID:848

                                                                  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 132KB
                                                                        • SHA256 4293c1d8574dc87c58360d6bac3daa182f64f7785c9d41da5e0741d2b1817fc7
                                                                        • MD5 SHA1 SHA512 SSDEEP TLSH