Analysis

  • max time kernel
    0s
  • max time network
    46s
  • platform
    linux_mipsel
  • resource
    debian9-mipsel-en-20211208
  • submitted
    25-04-2022 23:18

General

  • Target

    Mozi.moklismwj

  • Size

    134KB

  • MD5

    3849f30b51a5c49e8d1546960cc206c7

  • SHA1

    61c74136534b826059c63221a2373dc0613a47b7

  • SHA256

    f6c97b1e2ed02578ca1066c8235ba4f991e645f89012406c639dbccc6582eec8

  • SHA512

    43d79293d1fbf716111c27e50df95a0860a0d706079625fa2b8a6b57c5ee06fa7b5b6b8c0acae33714a2181686426728513c990534e44b6f03a05dde0629ab86

Score
10/10

Malware Config

Signatures

  • suricata: ET MALWARE Mirai Variant User-Agent (Outbound)

    suricata: ET MALWARE Mirai Variant User-Agent (Outbound)

  • Modifies the Watchdog daemon 1 TTPs

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

  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Contacts a large (606) amount of remote hosts 1 TTPs

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

  • Modifies hosts file 1 IoCs

    Adds to hosts file used for mapping hosts to IP addresses.

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Reads system network configuration 1 TTPs 3 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 1 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • ./Mozi.moklismwj
    ./Mozi.moklismwj
    1⤵
    • Enumerates active TCP sockets
    • Reads system network configuration
    • Reads runtime system information
    PID:327
  • /bin/sh
    sh -c "killall -9 telnetd utelnetd scfgmgr"
    1⤵
      PID:330
    • /bin/sh
      sh -c "iptables -I INPUT -p tcp --destination-port 37637 -j ACCEPT"
      1⤵
        PID:341
        • /sbin/iptables
          iptables -I INPUT -p tcp --destination-port 37637 -j ACCEPT
          2⤵
            PID:342

        Network

        MITRE ATT&CK Matrix ATT&CK v6

        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 Scanning

        1
        T1046

        System Network Connections Discovery

        1
        T1049

        System Network Configuration Discovery

        2
        T1016

        Replay Monitor

        Loading Replay Monitor...

        Downloads