Analysis

  • max time kernel
    155s
  • max time network
    153s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240226-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240226-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    20/03/2024, 21:26

General

  • Target

    start.sh

  • Size

    573B

  • MD5

    badbf4901e27cdee108f6ea8ba30837e

  • SHA1

    e8f20bcae4ce68b777f43718b12125aa0cfdf6d8

  • SHA256

    e3a24865935df812072d57a87e460d5cbe1f5f45d6fb0f470f3182f55669e6bb

  • SHA512

    6a5e729fdad612340e1e2d4b347ada7c372db6c015b90fa126b50c74b6d356c619c3e9243b0b83fa1fc0eaf818b571afcd75fd9af34303c411c0d755353d5831

Malware Config

Signatures

  • xmrig

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

  • Executes dropped EXE 1 IoCs
  • Loads a kernel module 1 IoCs

    Loads a Linux kernel module, potentially to achieve persistence

  • Checks CPU configuration 1 TTPs 1 IoCs

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

  • Checks hardware identifiers (DMI) 1 TTPs 4 IoCs

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

  • Reads CPU attributes 1 TTPs 45 IoCs
  • Reads hardware information 1 TTPs 14 IoCs

    Accesses system info like serial numbers, manufacturer names etc.

  • Enumerates kernel/hardware configuration 1 TTPs 24 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 4 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/start.sh
    /tmp/start.sh
    1⤵
      PID:1560
      • /usr/bin/wget
        wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-linux-x64.tar.gz -O xmrig-6.21.1-linux-x64.tar.gz
        2⤵
        • Writes file to tmp directory
        PID:1561
      • /bin/tar
        tar -xvf xmrig-6.21.1-linux-x64.tar.gz
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:1584
        • /usr/local/sbin/gzip
          gzip -d
          3⤵
            PID:1585
          • /usr/local/bin/gzip
            gzip -d
            3⤵
              PID:1585
            • /usr/sbin/gzip
              gzip -d
              3⤵
                PID:1585
              • /usr/bin/gzip
                gzip -d
                3⤵
                  PID:1585
                • /sbin/gzip
                  gzip -d
                  3⤵
                    PID:1585
                  • /bin/gzip
                    gzip -d
                    3⤵
                      PID:1585
                  • /tmp/xmrig-6.21.1/xmrig
                    2⤵
                    • Executes dropped EXE
                    • Checks CPU configuration
                    • Checks hardware identifiers (DMI)
                    • Reads CPU attributes
                    • Reads hardware information
                    • Enumerates kernel/hardware configuration
                    • Reads runtime system information
                    PID:1586
                    • /bin/sh
                      sh -c "/sbin/modprobe msr allow_writes=on > /dev/null 2>&1"
                      3⤵
                        PID:1592
                        • /sbin/modprobe
                          /sbin/modprobe msr "allow_writes=on"
                          4⤵
                          • Loads a kernel module
                          • Enumerates kernel/hardware configuration
                          • Reads runtime system information
                          PID:1593

                  Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • /tmp/xmrig-6.21.1-linux-x64.tar.gz

                    Filesize

                    590KB

                    MD5

                    73828f2e452662a4b805085dc12ac761

                    SHA1

                    155ba44ff06c9b391ee45a1a615a7a2d931bc4ff

                    SHA256

                    cc8061989e76922907c49c7e70444be10e662ca16df0d5c26b8b017b48c028a0

                    SHA512

                    4bac1bff05deb82982788cbe7967ef7a89203c55eb00130bfe079bc286eec04da6f0654703f37e988d461c03fca1485268bd8f098006037c80e42c9062d2d75b

                  • /tmp/xmrig-6.21.1/SHA256SUMS

                    Filesize

                    150B

                    MD5

                    0eeaf66a6ba6b6934ffefce538342572

                    SHA1

                    8f28c8a7345c85b2ae78924828aa16e1b6be7b97

                    SHA256

                    aa89fb25473e544be6a5cbe6a6106e220fc6cd4b935fe76bc73a19b3b6daed60

                    SHA512

                    5a8e8a77e97f2b221bf1a9097a2f19a2c3c0ed376d7e2561a41c6d74203ddbe9d0482a818d17555da44088e511b3724dd41dd7cc91e3ebaadab9c176b1a7b57d

                  • /tmp/xmrig-6.21.1/config.json

                    Filesize

                    2KB

                    MD5

                    66f38c96a4901e7b345787c447842b3e

                    SHA1

                    2aa9b4d1bd2edd5d81bd9725e9318edaee67531f

                    SHA256

                    2b03943244871ca75e44513e4d20470b8f3e0f209d185395de82b447022437ec

                    SHA512

                    71757fad29d6d2a257362ed28cde9f249cc8a14e646dee666c9029ea97c72de689cdf8ed5cf0365195a6a6831fe77d82efe5e2fa555c6cc5078f1f29ae8dd68f

                  • /tmp/xmrig-6.21.1/xmrig

                    Filesize

                    8.5MB

                    MD5

                    acd5703f400e766de20d821496dff1a3

                    SHA1

                    d297c2a25a4b3b2cbb868722b5a2369b73a98295

                    SHA256

                    921e7f09674208e7de08b1988f889c755a9118d54cccd4b76f373a48df5c0847

                    SHA512

                    c74cc3d43de65e757927e668f9889f01e5cdf59c0a6b5385f33a8bbafd0f59722efb5e1437340fe754131d5dee9a6770b00e21a4fc21443de0063bd7e1d8bbcb