Analysis

  • max time kernel
    31s
  • max time network
    60s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20231215-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20231215-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    23-01-2024 08:06

General

  • Target

    Mozi.m

  • Size

    132KB

  • MD5

    a73ddd6ec22462db955439f665cad4e6

  • SHA1

    ac6962542a4b23ac13bddff22f8df9aeb702ef12

  • SHA256

    b5cf68c7cb5bb2d21d60bf6654926f61566d95bfd7c9f9e182d032f1da5b4605

  • SHA512

    92a52f68a7324c4d5876e1f7e2cb87d14b8604b057ceee2e537815568faa96abf576a22111c5c976eff72ab9015f1261b2331d4b4d711f4e62c8eb403c2377aa

  • SSDEEP

    3072:2glZ3FtCKXhkmHtZ9TEKzjfj/WMngyIfsJ0F7xPtoM:2IIKXhZtL7jOTyIG87Xl

Score
8/10

Malware Config

Signatures

  • Contacts a large (1929) amount of remote hosts 1 TTPs

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

  • Changes its process name 1 IoCs
  • 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

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Writes file to system bin folder 1 TTPs 2 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.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/Mozi.m
    /tmp/Mozi.m
    1⤵
    • Enumerates active TCP sockets
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:705
  • /bin/sh
    sh -c "killall -9 telnetd utelnetd scfgmgr"
    1⤵
      PID:709
      • /usr/bin/killall
        killall -9 telnetd utelnetd scfgmgr
        2⤵
        • Reads runtime system information
        PID:711
    • /bin/sh
      sh -c "iptables -I INPUT -p tcp --destination-port 60243 -j ACCEPT"
      1⤵
        PID:777
        • /sbin/iptables
          iptables -I INPUT -p tcp --destination-port 60243 -j ACCEPT
          2⤵
            PID:778
        • /bin/sh
          sh -c "iptables -I OUTPUT -p tcp --source-port 60243 -j ACCEPT"
          1⤵
            PID:784
            • /sbin/iptables
              iptables -I OUTPUT -p tcp --source-port 60243 -j ACCEPT
              2⤵
                PID:785
            • /bin/sh
              sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 60243 -j ACCEPT"
              1⤵
                PID:786
                • /sbin/iptables
                  iptables -I PREROUTING -t nat -p tcp --destination-port 60243 -j ACCEPT
                  2⤵
                    PID:787
                • /bin/sh
                  sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 60243 -j ACCEPT"
                  1⤵
                    PID:794
                    • /sbin/iptables
                      iptables -I POSTROUTING -t nat -p tcp --source-port 60243 -j ACCEPT
                      2⤵
                        PID:795
                    • /bin/sh
                      sh -c "iptables -I INPUT -p tcp --dport 60243 -j ACCEPT"
                      1⤵
                        PID:796
                        • /sbin/iptables
                          iptables -I INPUT -p tcp --dport 60243 -j ACCEPT
                          2⤵
                            PID:798
                        • /bin/sh
                          sh -c "iptables -I OUTPUT -p tcp --sport 60243 -j ACCEPT"
                          1⤵
                            PID:799
                            • /sbin/iptables
                              iptables -I OUTPUT -p tcp --sport 60243 -j ACCEPT
                              2⤵
                                PID:800
                            • /bin/sh
                              sh -c "iptables -I PREROUTING -t nat -p tcp --dport 60243 -j ACCEPT"
                              1⤵
                                PID:801
                                • /sbin/iptables
                                  iptables -I PREROUTING -t nat -p tcp --dport 60243 -j ACCEPT
                                  2⤵
                                    PID:802
                                • /bin/sh
                                  sh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"
                                  1⤵
                                    PID:803
                                    • /sbin/iptables
                                      iptables -I INPUT -p tcp --destination-port 22 -j DROP
                                      2⤵
                                        PID:805
                                    • /bin/sh
                                      sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 60243 -j ACCEPT"
                                      1⤵
                                        PID:804
                                        • /sbin/iptables
                                          iptables -I POSTROUTING -t nat -p tcp --sport 60243 -j ACCEPT
                                          2⤵
                                            PID:806
                                        • /bin/sh
                                          sh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"
                                          1⤵
                                            PID:807
                                            • /sbin/iptables
                                              iptables -I INPUT -p tcp --destination-port 23 -j DROP
                                              2⤵
                                                PID:808
                                            • /bin/sh
                                              sh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"
                                              1⤵
                                                PID:809
                                                • /sbin/iptables
                                                  iptables -I INPUT -p tcp --destination-port 2323 -j DROP
                                                  2⤵
                                                    PID:810
                                                • /bin/sh
                                                  sh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"
                                                  1⤵
                                                    PID:811
                                                    • /sbin/iptables
                                                      iptables -I OUTPUT -p tcp --source-port 22 -j DROP
                                                      2⤵
                                                        PID:812
                                                    • /bin/sh
                                                      sh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"
                                                      1⤵
                                                        PID:813
                                                        • /sbin/iptables
                                                          iptables -I OUTPUT -p tcp --source-port 23 -j DROP
                                                          2⤵
                                                            PID:814
                                                        • /bin/sh
                                                          sh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"
                                                          1⤵
                                                            PID:815
                                                            • /sbin/iptables
                                                              iptables -I OUTPUT -p tcp --source-port 2323 -j DROP
                                                              2⤵
                                                                PID:816
                                                            • /bin/sh
                                                              sh -c "iptables -I INPUT -p tcp --dport 22 -j DROP"
                                                              1⤵
                                                                PID:817
                                                                • /sbin/iptables
                                                                  iptables -I INPUT -p tcp --dport 22 -j DROP
                                                                  2⤵
                                                                    PID:818
                                                                • /bin/sh
                                                                  sh -c "iptables -I INPUT -p tcp --dport 23 -j DROP"
                                                                  1⤵
                                                                    PID:819
                                                                    • /sbin/iptables
                                                                      iptables -I INPUT -p tcp --dport 23 -j DROP
                                                                      2⤵
                                                                        PID:820
                                                                    • /bin/sh
                                                                      sh -c "iptables -I INPUT -p tcp --dport 2323 -j DROP"
                                                                      1⤵
                                                                        PID:821
                                                                        • /sbin/iptables
                                                                          iptables -I INPUT -p tcp --dport 2323 -j DROP
                                                                          2⤵
                                                                            PID:822
                                                                        • /bin/sh
                                                                          sh -c "iptables -I OUTPUT -p tcp --sport 22 -j DROP"
                                                                          1⤵
                                                                            PID:823
                                                                            • /sbin/iptables
                                                                              iptables -I OUTPUT -p tcp --sport 22 -j DROP
                                                                              2⤵
                                                                                PID:824
                                                                            • /bin/sh
                                                                              sh -c "iptables -I OUTPUT -p tcp --sport 23 -j DROP"
                                                                              1⤵
                                                                                PID:828
                                                                                • /sbin/iptables
                                                                                  iptables -I OUTPUT -p tcp --sport 23 -j DROP
                                                                                  2⤵
                                                                                    PID:829
                                                                                • /bin/sh
                                                                                  sh -c "iptables -I OUTPUT -p tcp --sport 2323 -j DROP"
                                                                                  1⤵
                                                                                    PID:830
                                                                                    • /sbin/iptables
                                                                                      iptables -I OUTPUT -p tcp --sport 2323 -j DROP
                                                                                      2⤵
                                                                                        PID:831

                                                                                    Network

                                                                                    MITRE ATT&CK Enterprise v15

                                                                                    Replay Monitor

                                                                                    Loading Replay Monitor...

                                                                                    Downloads

                                                                                    • memory/705-1-0x00400000-0x004c1f18-memory.dmp