Analysis

  • max time kernel
    0s
  • max time network
    131s
  • platform
    ubuntu-22.04_amd64
  • resource
    ubuntu2204-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system
  • submitted
    26-11-2024 12:41

General

  • Target

    xrx/init.sh

  • Size

    1020KB

  • MD5

    42693670c71a529a11e81943f5b36c5b

  • SHA1

    9026cc25786215bba3bc06c4875f7da410425f8c

  • SHA256

    eb2329422e52901d0bea0c0fcc4b3a6d1923ef278a96d2a14ab1839882cd0ecf

  • SHA512

    a92d9bd9cd4c1c81a2e8042a9b7c31badba5e033743f34fb851b60350c5833afb246c64fc982112afecad9b1fc48bfdeab16a7bda169b4a635a8922549067d82

  • SSDEEP

    12288:ztLJzlNZDaY9FnavUIqEhgvmKe36myOP7/67LN5kwrHNq9EnE:zvxNZD7FnavUILhgvJeb/67LFLNq9

Score
6/10

Malware Config

Signatures

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

Processes

  • /tmp/xrx/init.sh
    /tmp/xrx/init.sh
    1⤵
      PID:1570
    • /bin/bash
      /tmp/xrx/init.sh -c "exec '/tmp/xrx/init.sh' \"\$@\"" /tmp/xrx/init.sh
      1⤵
        PID:1570
      • /tmp/xrx/init.sh
        /tmp/xrx/init.sh
        1⤵
          PID:1570
        • /bin/bash
          /tmp/xrx/init.sh -c " #!/bin/bash if [[ \$(cat config.json | grep xxcountxx) ]]; then echo \"configuring miner\" sed -i \"s/xxcountxx/\$(nproc)/g\" config.json else echo \"using preconfigured miner\" fi PID=\$(pidof xrx) if [ \$# -eq 0 ]; then ##if no arguments if [ -z \"\${PID}\" ]; then ./xrx </dev/null &>/dev/null & disown -h %1 echo \"miner online\" else echo \"miner already online\" fi fi " /tmp/xrx/init.sh
          1⤵
            PID:1570
            • /usr/bin/grep
              grep xxcountxx
              2⤵
              • Reads runtime system information
              PID:1573
            • /usr/bin/cat
              cat config.json
              2⤵
                PID:1572
              • /usr/bin/pidof
                pidof xrx
                2⤵
                • Reads runtime system information
                PID:1574
            • /tmp/xrx/xrx
              ./xrx
              1⤵
                PID:1575

              Network

              MITRE ATT&CK Matrix

              Replay Monitor

              Loading Replay Monitor...

              Downloads