Analysis

  • max time kernel
    126s
  • max time network
    152s
  • platform
    debian-12_armhf
  • resource
    debian12-armhf-20240418-en
  • resource tags

    arch:armhfimage:debian12-armhf-20240418-enkernel:6.1.0-17-armmp-lpaelocale:en-usos:debian-12-armhfsystem
  • submitted
    09/01/2025, 21:57

General

  • Target
    5.elf
  • Size 89KB
  • Sample250109-1tw69sslh1
  • SHA256 ecdc07bb41bdcf4a299ebec926e8c56fa87ea5c22733cb406bb351e083cffce1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contacts a large (75555) amount of remote hosts 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Creates a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Creates/modifies Cron job 1 TTPs 1 IoCs

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

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

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

  • Changes its process name 1 IoCs
  • Reads runtime system information 34 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/5.elf
    /tmp/5.elf
    1⤵
    • Modifies init.d
    • Modifies rc script
    • Modifies systemd
    • Changes its process name
    • Reads runtime system information
    • Writes file to tmp directory
    PID:701
    • /bin/sh
      sh -c "systemctl daemon-reload"
      2⤵
        PID:715
        • /usr/bin/systemctl
          systemctl daemon-reload
          3⤵
          • Reads runtime system information
          PID:718
      • /bin/sh
        sh -c "systemctl start hello.service"
        2⤵
          PID:774
          • /usr/bin/systemctl
            systemctl start hello.service
            3⤵
            • Reads runtime system information
            PID:775
        • /bin/sh
          sh -c "crontab /tmp/crontab.tmp"
          2⤵
            PID:777
            • /usr/bin/crontab
              crontab /tmp/crontab.tmp
              3⤵
              • Creates/modifies Cron job
              PID:778
          • /bin/sh
            sh -c "update-rc.d hello-service defaults"
            2⤵
              PID:779
              • /usr/sbin/update-rc.d
                update-rc.d hello-service defaults
                3⤵
                  PID:780

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  hello.service

                  • Path /etc/init.d/hello.service
                  • Size 584B
                  • SHA256 e0fa34118cab96393e48d5109f9928c8a53d6c19bb90718825e45b9d75194ec5
                  • MD5 SHA1 SHA512

                  hello.service

                  • Path /etc/systemd/system/hello.service
                  • Size 187B
                  • SHA256 4778072cec4839c3a3aecab365cda3de9e0c3c00aa334aae94e1b29392ffe9fe
                  • MD5 SHA1 SHA512

                  crontab.tmp

                  • Path /tmp/crontab.tmp
                  • Size 80B
                  • SHA256 235fd29508ece9fe70f52d80bb43e61e46bcfc4ffbc69f8d13cf3ea734cacd11
                  • MD5 SHA1 SHA512

                  tmp.3E8ZeT

                  • Path /var/spool/cron/crontabs/tmp.3E8ZeT
                  • Size 270B
                  • SHA256 b40a2039746a6368049160bcb5e618d432cc460434f1e47321465167583df1ff
                  • MD5 SHA1 SHA512