Resubmissions

30-06-2022 15:33

220630-szk27aeaf6 9

30-06-2022 15:30

220630-sxw2nscbhp 9

30-06-2022 15:21

220630-srsgascbdl 9

Analysis

  • max time kernel
    17619s
  • max time network
    143s
  • platform
    linux_mips
  • resource
    debian9-mipsbe-en-20211208
  • submitted
    30-06-2022 15:21

General

  • Target

    4

  • Size

    83KB

  • MD5

    5377e8f2ebdb280216c37a6195da9d6c

  • SHA1

    b54c705193b7963a0d40699a91cdb34fedecbe88

  • SHA256

    020f1fa6072108c79ed6f553f4f8b08e157bf17f9c260a76353300230fed09f0

  • SHA512

    65e5aec56ddde56f245a20f88553d2f76bd7dd8e1940e9d49637d51a868fe73003b8a95fffeb9481110579f6ee4790fc9af1668d435930d4c01b116490908eed

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.

  • Modifies hosts file 1 IoCs

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

  • Writes DNS configuration 1 TTPs 1 IoCs

    Writes data to DNS resolver config file.

  • 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 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 2 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • ./4
    ./4
    1⤵
      PID:320
    • /bin/sh
      sh -c "iptables -A INPUT -p tcp --destination-port 23 -j DROP"
      1⤵
        PID:323
        • /sbin/iptables
          iptables -A INPUT -p tcp --destination-port 23 -j DROP
          2⤵
            PID:324
        • /bin/sh
          sh -c "iptables -A INPUT -p tcp --destination-port 7547 -j DROP"
          1⤵
            PID:332
            • /sbin/iptables
              iptables -A INPUT -p tcp --destination-port 7547 -j DROP
              2⤵
                PID:333
            • /bin/sh
              sh -c "iptables -A INPUT -p tcp --destination-port 5555 -j DROP"
              1⤵
                PID:334
                • /sbin/iptables
                  iptables -A INPUT -p tcp --destination-port 5555 -j DROP
                  2⤵
                    PID:335
                • /bin/sh
                  sh -c "iptables -A INPUT -p tcp --destination-port 5358 -j DROP"
                  1⤵
                    PID:336
                    • /sbin/iptables
                      iptables -A INPUT -p tcp --destination-port 5358 -j DROP
                      2⤵
                        PID:337
                    • /bin/sh
                      sh -c "iptables -D INPUT -j CWMP_CR"
                      1⤵
                        PID:338
                        • /sbin/iptables
                          iptables -D INPUT -j CWMP_CR
                          2⤵
                            PID:339
                        • /bin/sh
                          sh -c "iptables -X CWMP_CR"
                          1⤵
                            PID:340
                            • /sbin/iptables
                              iptables -X CWMP_CR
                              2⤵
                                PID:341
                            • /bin/sh
                              sh -c "iptables -I INPUT -p udp --dport 59461 -j ACCEPT"
                              1⤵
                                PID:342
                                • /sbin/iptables
                                  iptables -I INPUT -p udp --dport 59461 -j ACCEPT
                                  2⤵
                                    PID:343

                                Network

                                MITRE ATT&CK Matrix ATT&CK v6

                                Defense Evasion

                                Impair Defenses

                                1
                                T1562

                                Discovery

                                System Network Connections Discovery

                                1
                                T1049

                                System Network Configuration Discovery

                                2
                                T1016

                                Command and Control

                                Dynamic Resolution

                                1
                                T1568

                                Replay Monitor

                                Loading Replay Monitor...

                                Downloads