Analysis

  • max time kernel
    8s
  • max time network
    5s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240611-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    22-10-2024 16:06

General

  • Target

    irq1.elf

  • Size

    510KB

  • MD5

    2aa1abc12fdf779dbe4e71ed20111bce

  • SHA1

    fee772fa1e9c94d9b89ffa3fa89df08c4a1fe84f

  • SHA256

    a1f211877e5ac29682f07d0b97d02ee936ed02f3355b68d7163b3336164d85f6

  • SHA512

    e9b95f9c28e39fa3c57f921ac2e55f5ee1b22d3664b8059f53610b059e620230ff63db7d39a5a9c256f39aa99d1b1333f4bd0acefe44bd826048c60b4e5c6fc0

  • SSDEEP

    6144:21cNQ3N/6H7bvnWGSTOk/Gsw6apMBNedo+nS2Ref6zIfcxnjL/Va+wjdIBKPO7QZ:2CQd/SVV2PsfssIfyn/U+sm7Q380/

Malware Config

Signatures

  • Detects Kaiten/Tsunami Payload 1 IoCs
  • Kaiten/Tsunami

    Linux-based IoT botnet which is controlled through IRC and normally used to carry out DDoS attacks.

  • Creates/modifies Cron job 1 TTPs 1 IoCs

    Cron allows running tasks on a schedule, and is commonly used for malware persistence.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Indicator Removal: Timestomp 1 TTPs 4 IoCs

    Adversaries may remove indicators of compromise from the host to evade detection.

  • Enumerates kernel/hardware configuration 1 TTPs 9 IoCs

    Reads contents of /sys virtual filesystem to enumerate system information.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

Processes

  • /tmp/irq1.elf
    /tmp/irq1.elf
    1⤵
    • Reads runtime system information
    PID:710
    • /bin/sh
      sh -c "touch -acmr /bin/ls /tmp/irq1.elf"
      2⤵
      • Indicator Removal: Timestomp
      PID:714
      • /usr/bin/touch
        touch -acmr /bin/ls /tmp/irq1.elf
        3⤵
        • Indicator Removal: Timestomp
        PID:718
    • /bin/sh
      sh -c "(crontab -l | grep -v \"/tmp/irq1.elf\" | grep -v \"no cron\" | grep -v \"lesshts/run.sh\" > /var/run/.x00740882966) > /dev/null 2>&1"
      2⤵
        PID:720
        • /usr/bin/crontab
          crontab -l
          3⤵
            PID:723
          • /bin/grep
            grep -v /tmp/irq1.elf
            3⤵
              PID:724
            • /bin/grep
              grep -v "no cron"
              3⤵
                PID:725
              • /bin/grep
                grep -v lesshts/run.sh
                3⤵
                  PID:726
              • /bin/sh
                sh -c "echo \"* * * * * /tmp/irq1.elf > /dev/null 2>&1 &\" >> /var/run/.x00740882966"
                2⤵
                  PID:729
                • /bin/sh
                  sh -c "crontab /var/run/.x00740882966"
                  2⤵
                    PID:731
                    • /usr/bin/crontab
                      crontab /var/run/.x00740882966
                      3⤵
                      • Creates/modifies Cron job
                      PID:733
                  • /bin/sh
                    sh -c "rm -rf /var/run/.x00740882966"
                    2⤵
                      PID:736
                      • /bin/rm
                        rm -rf /var/run/.x00740882966
                        3⤵
                          PID:738
                      • /bin/sh
                        sh -c "cat /etc/inittab | grep -v \"/tmp/irq1.elf\" > /etc/inittab2"
                        2⤵
                          PID:740
                          • /bin/cat
                            cat /etc/inittab
                            3⤵
                              PID:742
                            • /bin/grep
                              grep -v /tmp/irq1.elf
                              3⤵
                                PID:743
                            • /bin/sh
                              sh -c "echo \"0:2345:respawn:/tmp/irq1.elf\" >> /etc/inittab2"
                              2⤵
                                PID:745
                              • /bin/sh
                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                2⤵
                                  PID:747
                                  • /bin/cat
                                    cat /etc/inittab2
                                    3⤵
                                      PID:748
                                  • /bin/sh
                                    sh -c "rm -rf /etc/inittab2"
                                    2⤵
                                      PID:749
                                      • /bin/rm
                                        rm -rf /etc/inittab2
                                        3⤵
                                          PID:751
                                      • /bin/sh
                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                        2⤵
                                        • Indicator Removal: Timestomp
                                        PID:752
                                        • /usr/bin/touch
                                          touch -acmr /bin/ls /etc/inittab
                                          3⤵
                                          • Indicator Removal: Timestomp
                                          PID:754
                                      • /bin/sh
                                        sh -c "/bin/uname -n"
                                        2⤵
                                          PID:756
                                          • /bin/uname
                                            /bin/uname -n
                                            3⤵
                                              PID:757
                                          • /bin/sh
                                            sh -c "/bin/uname -n"
                                            2⤵
                                              PID:758
                                              • /bin/uname
                                                /bin/uname -n
                                                3⤵
                                                  PID:759
                                              • /bin/sh
                                                sh -c "/bin/uname -n"
                                                2⤵
                                                  PID:761
                                                  • /bin/uname
                                                    /bin/uname -n
                                                    3⤵
                                                      PID:762
                                                  • /bin/sh
                                                    sh -c "kill -9 `cat /var/run/httpd.pid` > /dev/null 2>&1 &"
                                                    2⤵
                                                      PID:767
                                                      • /bin/cat
                                                        cat /var/run/httpd.pid
                                                        3⤵
                                                          PID:770
                                                      • /bin/sh
                                                        sh -c "service httpd stop > /dev/null 2>&1 &"
                                                        2⤵
                                                          PID:769
                                                        • /bin/sh
                                                          sh -c "killall -9 mini_httpd > /dev/null 2>&1 &"
                                                          2⤵
                                                            PID:772
                                                          • /bin/sh
                                                            sh -c "killall -9 minihttpd > /dev/null 2>&1 &"
                                                            2⤵
                                                              PID:774
                                                            • /bin/sh
                                                              sh -c "kill -9 `cat /var/run/thttpd.pid` > /dev/null 2>&1 &"
                                                              2⤵
                                                                PID:777
                                                                • /bin/cat
                                                                  cat /var/run/thttpd.pid
                                                                  3⤵
                                                                    PID:780
                                                                • /bin/sh
                                                                  sh -c "nvram set httpd_enable=0 > /dev/null 2>&1"
                                                                  2⤵
                                                                    PID:781
                                                                  • /bin/sh
                                                                    sh -c "nvram set http_enable=0 > /dev/null 2>&1"
                                                                    2⤵
                                                                      PID:782
                                                                    • /bin/sh
                                                                      sh -c "killall -9 httpd > /dev/null 2>&1 &"
                                                                      2⤵
                                                                        PID:784
                                                                      • /bin/sh
                                                                        sh -c "service telnetd stop > /dev/null 2>&1 &"
                                                                        2⤵
                                                                          PID:786
                                                                        • /bin/sh
                                                                          sh -c "service sshd stop > /dev/null 2>&1 &"
                                                                          2⤵
                                                                            PID:788
                                                                          • /bin/sh
                                                                            sh -c "killall -9 telnetd > /dev/null 2>&1 &"
                                                                            2⤵
                                                                              PID:790
                                                                            • /bin/sh
                                                                              sh -c "killall -9 utelnetd > /dev/null 2>&1 &"
                                                                              2⤵
                                                                                PID:796
                                                                              • /bin/sh
                                                                                sh -c "killall -9 dropbear > /dev/null 2>&1 &"
                                                                                2⤵
                                                                                  PID:800
                                                                                • /bin/sh
                                                                                  sh -c "killall -9 sshd > /dev/null 2>&1 &"
                                                                                  2⤵
                                                                                    PID:804
                                                                                  • /bin/sh
                                                                                    sh -c "killall -9 lighttpd > /dev/null 2>&1 &"
                                                                                    2⤵
                                                                                      PID:806
                                                                                  • /usr/sbin/service
                                                                                    service httpd stop
                                                                                    1⤵
                                                                                      PID:771
                                                                                      • /usr/bin/basename
                                                                                        basename /usr/sbin/service
                                                                                        2⤵
                                                                                          PID:775
                                                                                        • /usr/bin/basename
                                                                                          basename /usr/sbin/service
                                                                                          2⤵
                                                                                            PID:778
                                                                                          • /bin/systemctl
                                                                                            systemctl --quiet is-active multi-user.target
                                                                                            2⤵
                                                                                            • Enumerates kernel/hardware configuration
                                                                                            PID:783
                                                                                          • /bin/systemctl
                                                                                            systemctl list-unit-files --full "--type=socket"
                                                                                            2⤵
                                                                                            • Enumerates kernel/hardware configuration
                                                                                            PID:793
                                                                                          • /bin/sed
                                                                                            sed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"
                                                                                            2⤵
                                                                                              PID:794
                                                                                          • /usr/bin/killall
                                                                                            killall -9 mini_httpd
                                                                                            1⤵
                                                                                            • Reads runtime system information
                                                                                            PID:773
                                                                                          • /usr/bin/killall
                                                                                            killall -9 minihttpd
                                                                                            1⤵
                                                                                            • Reads runtime system information
                                                                                            PID:776
                                                                                          • /usr/bin/killall
                                                                                            killall -9 httpd
                                                                                            1⤵
                                                                                            • Reads runtime system information
                                                                                            PID:785
                                                                                          • /usr/sbin/service
                                                                                            service telnetd stop
                                                                                            1⤵
                                                                                              PID:787
                                                                                              • /usr/bin/basename
                                                                                                basename /usr/sbin/service
                                                                                                2⤵
                                                                                                  PID:791
                                                                                                • /usr/bin/basename
                                                                                                  basename /usr/sbin/service
                                                                                                  2⤵
                                                                                                    PID:798
                                                                                                  • /bin/systemctl
                                                                                                    systemctl --quiet is-active multi-user.target
                                                                                                    2⤵
                                                                                                    • Enumerates kernel/hardware configuration
                                                                                                    PID:802
                                                                                                  • /bin/systemctl
                                                                                                    systemctl list-unit-files --full "--type=socket"
                                                                                                    2⤵
                                                                                                    • Enumerates kernel/hardware configuration
                                                                                                    PID:812
                                                                                                  • /bin/sed
                                                                                                    sed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"
                                                                                                    2⤵
                                                                                                      PID:813
                                                                                                  • /usr/sbin/service
                                                                                                    service sshd stop
                                                                                                    1⤵
                                                                                                      PID:789
                                                                                                      • /usr/bin/basename
                                                                                                        basename /usr/sbin/service
                                                                                                        2⤵
                                                                                                          PID:797
                                                                                                        • /usr/bin/basename
                                                                                                          basename /usr/sbin/service
                                                                                                          2⤵
                                                                                                            PID:801
                                                                                                          • /bin/systemctl
                                                                                                            systemctl --quiet is-active multi-user.target
                                                                                                            2⤵
                                                                                                            • Enumerates kernel/hardware configuration
                                                                                                            PID:807
                                                                                                          • /bin/systemctl
                                                                                                            systemctl list-unit-files --full "--type=socket"
                                                                                                            2⤵
                                                                                                            • Enumerates kernel/hardware configuration
                                                                                                            PID:815
                                                                                                          • /bin/sed
                                                                                                            sed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"
                                                                                                            2⤵
                                                                                                            • Reads runtime system information
                                                                                                            PID:816
                                                                                                        • /usr/bin/killall
                                                                                                          killall -9 telnetd
                                                                                                          1⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:795
                                                                                                        • /usr/bin/killall
                                                                                                          killall -9 utelnetd
                                                                                                          1⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:799
                                                                                                        • /usr/bin/killall
                                                                                                          killall -9 dropbear
                                                                                                          1⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:803
                                                                                                        • /usr/bin/killall
                                                                                                          killall -9 sshd
                                                                                                          1⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:805
                                                                                                        • /usr/local/sbin/systemctl
                                                                                                          systemctl "--job-mode=ignore-dependencies" stop httpd.service
                                                                                                          1⤵
                                                                                                            PID:771
                                                                                                          • /usr/local/bin/systemctl
                                                                                                            systemctl "--job-mode=ignore-dependencies" stop httpd.service
                                                                                                            1⤵
                                                                                                              PID:771
                                                                                                            • /usr/sbin/systemctl
                                                                                                              systemctl "--job-mode=ignore-dependencies" stop httpd.service
                                                                                                              1⤵
                                                                                                                PID:771
                                                                                                              • /usr/bin/systemctl
                                                                                                                systemctl "--job-mode=ignore-dependencies" stop httpd.service
                                                                                                                1⤵
                                                                                                                  PID:771
                                                                                                                • /sbin/systemctl
                                                                                                                  systemctl "--job-mode=ignore-dependencies" stop httpd.service
                                                                                                                  1⤵
                                                                                                                    PID:771
                                                                                                                  • /bin/systemctl
                                                                                                                    systemctl "--job-mode=ignore-dependencies" stop httpd.service
                                                                                                                    1⤵
                                                                                                                    • Enumerates kernel/hardware configuration
                                                                                                                    PID:771
                                                                                                                  • /usr/bin/killall
                                                                                                                    killall -9 lighttpd
                                                                                                                    1⤵
                                                                                                                    • Reads runtime system information
                                                                                                                    PID:808
                                                                                                                  • /usr/local/sbin/systemctl
                                                                                                                    systemctl "--job-mode=ignore-dependencies" stop telnetd.service
                                                                                                                    1⤵
                                                                                                                      PID:787
                                                                                                                    • /usr/local/bin/systemctl
                                                                                                                      systemctl "--job-mode=ignore-dependencies" stop telnetd.service
                                                                                                                      1⤵
                                                                                                                        PID:787
                                                                                                                      • /usr/sbin/systemctl
                                                                                                                        systemctl "--job-mode=ignore-dependencies" stop telnetd.service
                                                                                                                        1⤵
                                                                                                                          PID:787
                                                                                                                        • /usr/bin/systemctl
                                                                                                                          systemctl "--job-mode=ignore-dependencies" stop telnetd.service
                                                                                                                          1⤵
                                                                                                                            PID:787
                                                                                                                          • /sbin/systemctl
                                                                                                                            systemctl "--job-mode=ignore-dependencies" stop telnetd.service
                                                                                                                            1⤵
                                                                                                                              PID:787
                                                                                                                            • /bin/systemctl
                                                                                                                              systemctl "--job-mode=ignore-dependencies" stop telnetd.service
                                                                                                                              1⤵
                                                                                                                              • Enumerates kernel/hardware configuration
                                                                                                                              PID:787
                                                                                                                            • /usr/local/sbin/systemctl
                                                                                                                              systemctl "--job-mode=ignore-dependencies" stop sshd.service
                                                                                                                              1⤵
                                                                                                                                PID:789
                                                                                                                              • /usr/local/bin/systemctl
                                                                                                                                systemctl "--job-mode=ignore-dependencies" stop sshd.service
                                                                                                                                1⤵
                                                                                                                                  PID:789
                                                                                                                                • /usr/sbin/systemctl
                                                                                                                                  systemctl "--job-mode=ignore-dependencies" stop sshd.service
                                                                                                                                  1⤵
                                                                                                                                    PID:789
                                                                                                                                  • /usr/bin/systemctl
                                                                                                                                    systemctl "--job-mode=ignore-dependencies" stop sshd.service
                                                                                                                                    1⤵
                                                                                                                                      PID:789
                                                                                                                                    • /sbin/systemctl
                                                                                                                                      systemctl "--job-mode=ignore-dependencies" stop sshd.service
                                                                                                                                      1⤵
                                                                                                                                        PID:789
                                                                                                                                      • /bin/systemctl
                                                                                                                                        systemctl "--job-mode=ignore-dependencies" stop sshd.service
                                                                                                                                        1⤵
                                                                                                                                        • Enumerates kernel/hardware configuration
                                                                                                                                        PID:789

                                                                                                                                      Network

                                                                                                                                      MITRE ATT&CK Enterprise v15

                                                                                                                                      Replay Monitor

                                                                                                                                      Loading Replay Monitor...

                                                                                                                                      Downloads

                                                                                                                                      • /etc/inittab2

                                                                                                                                        Filesize

                                                                                                                                        29B

                                                                                                                                        MD5

                                                                                                                                        4b6c8b3e85f69b4d6e5dc7e21e0e080c

                                                                                                                                        SHA1

                                                                                                                                        8be6abb1b0a2748c2a71b3dcd94dadef5eb461d8

                                                                                                                                        SHA256

                                                                                                                                        0cea0534ee5c7e568506ed12b4b7f76974e671217ebddceecf5f1b5a6509a691

                                                                                                                                        SHA512

                                                                                                                                        6aa245a878e3e0f52b29e1728841c31a5ec5686b9b6829108eb6a7b18963c24861be56d4f421e836acf5723dc0e86350d6dc676e724fc971f4c8d85e5f7fdabe

                                                                                                                                      • /run/.x00740882966

                                                                                                                                        Filesize

                                                                                                                                        43B

                                                                                                                                        MD5

                                                                                                                                        b8a197653fa38bb8f6cd05c260db1d1d

                                                                                                                                        SHA1

                                                                                                                                        9a5e041dbd2c418a6d52f63f4710950ab1ccd73e

                                                                                                                                        SHA256

                                                                                                                                        cf9172a18e28040a394c7d9452b17214d4bcc6dd2cf6a73dc68a359fc4db1580

                                                                                                                                        SHA512

                                                                                                                                        5e653a8a10bdddba19a8843c7fbeab79b9fe8ef7e05029aa4399c33b568e43a5d6e84827f4a0b670217961ab353deed948f643065c2dfc367aa2c95d02822e91

                                                                                                                                      • /var/spool/cron/crontabs/tmp.98SrGd

                                                                                                                                        Filesize

                                                                                                                                        239B

                                                                                                                                        MD5

                                                                                                                                        f68b0672640265d17a4b5fb87b89adcf

                                                                                                                                        SHA1

                                                                                                                                        598f14a14194ff702e988f4567796800c89adbf9

                                                                                                                                        SHA256

                                                                                                                                        73d21514f5ba85b19859fa90aa00af21ac7d2917543a17579dfc7b8242786ccc

                                                                                                                                        SHA512

                                                                                                                                        4c9962a66921bf6582accbdca6205c7279715e0cb7c66f5c268508d9e07916b5a1202dda82cc433c7368168bc3b40ca53881ddb9943587024b736af57a5559df