General
Target

Mozi.mgzrjnsnf

Filesize

106KB

Completed

26-04-2022 03:13

Task

behavioral1

Score
9/10
MD5

4dde761681684d7edad4e5e1ffdb940b

SHA1

2327be693bc11a618c380d7d3abc2382d870d48b

SHA256

d546509ab6670f9ff31783ed72875dfc0f37fa2b666bd5870eecaaed2ebea4a8

SHA256

91a61c719128f263f9f95736d55895954cc468c74ff469ee061d35ec382c50b9165e9a5427dc46a835dac6ae0e6e1f9819632475f68b98a907b53196bd4eb02a

Malware Config
Signatures 6

Filter: none

Discovery
  • Modifies the Watchdog daemon

    Description

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

    TTPs

  • Writes file to system bin folder

    TTPs

    Reported IOCs

    descriptionioc
    /sbin/watchdog/sbin/watchdog
    /bin/watchdog/bin/watchdog
  • Modifies hosts file

    Description

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

    Reported IOCs

    descriptionioc
    /etc/hosts/etc/hosts
  • Enumerates active TCP sockets

    Description

    Gets active TCP sockets from /proc virtual filesystem.

    TTPs

    System Network Connections Discovery

    Reported IOCs

    descriptionioc
    /proc/net/tcp/proc/net/tcp
  • Reads system network configuration

    Description

    Uses contents of /proc filesystem to enumerate network settings.

    TTPs

    System Network Configuration Discovery

    Reported IOCs

    descriptionioc
    /proc/net/raw/proc/net/raw
    /proc/net/tcp/proc/net/tcp
  • Writes file to tmp directory

    Description

    Malware often drops required files in the /tmp directory.

    Reported IOCs

    descriptionioc
    /tmp/Mozi.mgzrjnsnf/tmp/Mozi.mgzrjnsnf
    /tmp/config/tmp/config
Processes 19
  • ./Mozi.mgzrjnsnf
    ./Mozi.mgzrjnsnf
    PID:331
  • /bin/sh
    sh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"
    PID:338
    • /sbin/iptables
      iptables -I INPUT -p tcp --destination-port 22 -j DROP
      PID:339
  • /bin/sh
    sh -c "iptables -I INPUT -p tcp --destination-port 60907 -j ACCEPT"
    PID:340
    • /sbin/iptables
      iptables -I INPUT -p tcp --destination-port 60907 -j ACCEPT
      PID:345
  • /bin/sh
    sh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"
    PID:349
    • /sbin/iptables
      iptables -I INPUT -p tcp --destination-port 23 -j DROP
      PID:350
  • /bin/sh
    sh -c "iptables -I INPUT -p tcp --destination-port 2323 -j DROP"
    PID:351
    • /sbin/iptables
      iptables -I INPUT -p tcp --destination-port 2323 -j DROP
      PID:352
  • /bin/sh
    sh -c "iptables -I OUTPUT -p tcp --source-port 22 -j DROP"
    PID:353
    • /sbin/iptables
      iptables -I OUTPUT -p tcp --source-port 22 -j DROP
      PID:354
  • /bin/sh
    sh -c "iptables -I OUTPUT -p tcp --source-port 60907 -j ACCEPT"
    PID:355
    • /sbin/iptables
      iptables -I OUTPUT -p tcp --source-port 60907 -j ACCEPT
      PID:356
  • /bin/sh
    sh -c "iptables -I OUTPUT -p tcp --source-port 23 -j DROP"
    PID:357
    • /sbin/iptables
      iptables -I OUTPUT -p tcp --source-port 23 -j DROP
      PID:358
  • /bin/sh
    sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 60907 -j ACCEPT"
    PID:359
    • /sbin/iptables
      iptables -I PREROUTING -t nat -p tcp --destination-port 60907 -j ACCEPT
      PID:361
  • /bin/sh
    sh -c "iptables -I OUTPUT -p tcp --source-port 2323 -j DROP"
    PID:360
    • /sbin/iptables
      iptables -I OUTPUT -p tcp --source-port 2323 -j DROP
      PID:362
Network
MITRE ATT&CK Matrix
Collection
    Command and Control
      Credential Access
        Defense Evasion
          Execution
            Exfiltration
              Impact
                Initial Access
                  Lateral Movement
                    Persistence
                      Privilege Escalation
                        Replay Monitor
                        00:00 00:00
                        Downloads