Analysis

  • max time kernel
    26s
  • max time network
    40s
  • 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
    26-12-2023 07:03

General

  • Target

    Malware-master/Linux/ELF/2021.04.26-Mozi.a

  • Size

    129KB

  • MD5

    fbe51695e97a45dc61967dc3241a37dc

  • SHA1

    1ed14334b5b71783cd6ec14b8a704fe48e600cf0

  • SHA256

    2e4506802aedea2e6d53910dfb296323be6620ac08c4b799a879eace5923a7b6

  • SHA512

    c35eab56ba59beb2ec2b362e4d1aae734fadc2d9db1d720439337dcade13ec9c7b68da9d03821efc7277abaf9bace342ff35593373e04c67327d5f7db460ad8a

  • SSDEEP

    3072:/TNVO/QJHZcfFj4rwLQGTNO5VZLwHm7vuQTpZUyY6cot:7O/QJHZweEL/NOjCHm7FZZncI

Score
8/10

Malware Config

Signatures

  • Contacts a large (1082) 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/Malware-master/Linux/ELF/2021.04.26-Mozi.a
    /tmp/Malware-master/Linux/ELF/2021.04.26-Mozi.a
    1⤵
    • Enumerates active TCP sockets
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:709
  • /bin/sh
    sh -c "killall -9 telnetd utelnetd scfgmgr"
    1⤵
      PID:712
      • /usr/bin/killall
        killall -9 telnetd utelnetd scfgmgr
        2⤵
        • Reads runtime system information
        PID:713
    • /bin/sh
      sh -c "iptables -I INPUT -p tcp --destination-port 53573 -j ACCEPT"
      1⤵
        PID:773
        • /sbin/iptables
          iptables -I INPUT -p tcp --destination-port 53573 -j ACCEPT
          2⤵
            PID:774
        • /bin/sh
          sh -c "iptables -I OUTPUT -p tcp --source-port 53573 -j ACCEPT"
          1⤵
            PID:779
            • /sbin/iptables
              iptables -I OUTPUT -p tcp --source-port 53573 -j ACCEPT
              2⤵
                PID:781
            • /bin/sh
              sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 53573 -j ACCEPT"
              1⤵
                PID:782
                • /sbin/iptables
                  iptables -I PREROUTING -t nat -p tcp --destination-port 53573 -j ACCEPT
                  2⤵
                    PID:784

                Network

                MITRE ATT&CK Matrix ATT&CK v13

                Persistence

                Hijack Execution Flow

                1
                T1574

                Privilege Escalation

                Hijack Execution Flow

                1
                T1574

                Defense Evasion

                Impair Defenses

                1
                T1562

                Hijack Execution Flow

                1
                T1574

                Discovery

                Network Service Discovery

                1
                T1046

                System Network Connections Discovery

                1
                T1049

                System Network Configuration Discovery

                2
                T1016

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • memory/709-1-0x00400000-0x004bac18-memory.dmp