Analysis

  • max time kernel
    21109s
  • max time network
    43s
  • platform
    linux_mips
  • resource
    debian9-mipsbe
  • submitted
    21-07-2021 23:02

General

  • Target

    Mozi.m

  • Size

    300KB

  • MD5

    dbfbab244b7e7018779a71b82a02fa58

  • SHA1

    d01ccda03657b5e92a5148f314811614d09df530

  • SHA256

    6347c2353b772239f04925ce71b2a075aecd75299f26d4b4ab7ac7747e5542ed

  • SHA512

    91d81d199c230bef6a71a783457bbbf86b8f94e6ab817906814e5ff11cad92da82eeae4f0532041474d85b1adb39344ed199def16292a5614badd067e3029664

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:330
  • /bin/sh
    sh -c "killall -9 telnetd utelnetd scfgmgr"
    1⤵
      PID:333

    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