Analysis

  • max time kernel
    0s
  • max time network
    48s
  • platform
    linux_mips
  • resource
    debian9-mipsbe
  • submitted
    07-02-2021 04:14

General

  • Target

    Mozi.m

  • Size

    300KB

  • MD5

    e30a81d66f18f07647397d1defbad11b

  • SHA1

    a7fd1a1d71f7f7b00886741db52c42af0c8873f1

  • SHA256

    b7ba5aa2f8f7781d408e87b2131fa2cc9b95cdf3460f9778229398c9e851772a

  • SHA512

    df7b274ac394ca1192019d35212b076d645e095050930a42342d32d7937b37a7981c19029ecb54d9390bd8a9ba91fb137d52e89b176891ac05809daa1a28b766

Score
9/10

Malware Config

Signatures

  • 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
  • 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.m
    ./Mozi.m
    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

    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

    System Network Connections Discovery

    1
    T1049

    System Network Configuration Discovery

    2
    T1016

    Replay Monitor

    Loading Replay Monitor...

    Downloads