Analysis

  • max time kernel
    146s
  • max time network
    149s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20260513-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20260513-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    06/10/2026, 05:43

General

  • Target
    bash.elf
  • Size 109KB
  • Sample261006-genrss1fld
  • SHA256 f64e69b29a732cad6a023c77ba8dff6bd35fc0afef35364b367e6cd30f4b216b
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Extracted

Family
  • gafgyt

C2
  • 64.89.160.222:55487

Signatures

  • Family: Gafgyt/Bashlite

    IoT botnet with numerous variants first seen in 2014.

  • Detected Gafgyt variant 1 IoCs
  • File and Directory Permissions Modification 1 TTPs 2 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Creates/modifies Cron job 1 TTPs 5 IoCs

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

  • Creates/modifies environment variables 1 TTPs 4 IoCs

    Creating/modifying environment variables is a common persistence mechanism.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Modifies init.d 2 TTPs 2 IoCs

    Adds/modifies system service, likely for persistence.

  • Modifies rc script 2 TTPs 2 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.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Schedules an At job 1 TTPs 1 IoCs

    Schedules a job to be run using the at command.

  • Modifies Bash startup script 2 TTPs 4 IoCs
  • Changes its process name 2 IoCs
  • Reads system network configuration 1 TTPs 1 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 64 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/bash.elf
    /tmp/bash.elf
    1⤵
    • Creates/modifies Cron job
    • Creates/modifies environment variables
    • Modifies init.d
    • Modifies rc script
    • Modifies systemd
    • Reads system routing table
    • Modifies Bash startup script
    • Changes its process name
    • Reads system network configuration
    • Reads runtime system information
    PID:1468
    • /bin/sh
      sh -c "/usr/sbin/update-rc.d bot defaults 2>/dev/null"
      2⤵
        PID:1471
        • /usr/sbin/update-rc.d
          /usr/sbin/update-rc.d bot defaults
          3⤵
            PID:1472
            • /usr/local/sbin/systemctl
              systemctl daemon-reload
              4⤵
                PID:1474
              • /usr/local/bin/systemctl
                systemctl daemon-reload
                4⤵
                  PID:1474
                • /usr/sbin/systemctl
                  systemctl daemon-reload
                  4⤵
                    PID:1474
                  • /usr/bin/systemctl
                    systemctl daemon-reload
                    4⤵
                      PID:1474
                    • /sbin/systemctl
                      systemctl daemon-reload
                      4⤵
                        PID:1474
                      • /bin/systemctl
                        systemctl daemon-reload
                        4⤵
                        • Reads runtime system information
                        PID:1474
                  • /bin/sh
                    sh -c "/sbin/chkconfig --add bot 2>/dev/null"
                    2⤵
                      PID:1501
                      • /sbin/chkconfig
                        /sbin/chkconfig --add bot
                        3⤵
                          PID:1502
                      • /bin/sh
                        sh -c "systemctl enable bot.service 2>/dev/null"
                        2⤵
                          PID:1503
                          • /bin/systemctl
                            systemctl enable bot.service
                            3⤵
                            • Changes its process name
                            PID:1504
                            • /lib/systemd/systemd-sysv-install
                              /lib/systemd/systemd-sysv-install enable bot
                              4⤵
                                PID:1505
                                • /usr/bin/getopt
                                  getopt -o r: --long root: -- enable bot
                                  5⤵
                                    PID:1506
                                  • /usr/sbin/update-rc.d
                                    /usr/sbin/update-rc.d bot defaults
                                    5⤵
                                      PID:1507
                                      • /usr/local/sbin/systemctl
                                        systemctl daemon-reload
                                        6⤵
                                          PID:1508
                                        • /usr/local/bin/systemctl
                                          systemctl daemon-reload
                                          6⤵
                                            PID:1508
                                          • /usr/sbin/systemctl
                                            systemctl daemon-reload
                                            6⤵
                                              PID:1508
                                            • /usr/bin/systemctl
                                              systemctl daemon-reload
                                              6⤵
                                                PID:1508
                                              • /sbin/systemctl
                                                systemctl daemon-reload
                                                6⤵
                                                  PID:1508
                                                • /bin/systemctl
                                                  systemctl daemon-reload
                                                  6⤵
                                                  • Reads runtime system information
                                                  PID:1508
                                              • /usr/sbin/update-rc.d
                                                /usr/sbin/update-rc.d bot enable
                                                5⤵
                                                  PID:1529
                                                  • /usr/local/sbin/systemctl
                                                    systemctl daemon-reload
                                                    6⤵
                                                      PID:1530
                                                    • /usr/local/bin/systemctl
                                                      systemctl daemon-reload
                                                      6⤵
                                                        PID:1530
                                                      • /usr/sbin/systemctl
                                                        systemctl daemon-reload
                                                        6⤵
                                                          PID:1530
                                                        • /usr/bin/systemctl
                                                          systemctl daemon-reload
                                                          6⤵
                                                            PID:1530
                                                          • /sbin/systemctl
                                                            systemctl daemon-reload
                                                            6⤵
                                                              PID:1530
                                                            • /bin/systemctl
                                                              systemctl daemon-reload
                                                              6⤵
                                                              • Reads runtime system information
                                                              PID:1530
                                                    • /bin/sh
                                                      sh -c "echo \"/tmp/bash.elf\" | at now + 1 minute 2>/dev/null"
                                                      2⤵
                                                        PID:1572
                                                        • /usr/bin/at
                                                          at now + 1 minute
                                                          3⤵
                                                          • Creates/modifies Cron job
                                                          • Schedules an At job
                                                          PID:1574
                                                      • /bin/sh
                                                        sh -c "cp /tmp/bash.elf /tmp/.kworker 2>/dev/null; chmod 755 /tmp/.kworker 2>/dev/null"
                                                        2⤵
                                                        • File and Directory Permissions Modification
                                                        PID:1575
                                                        • /bin/cp
                                                          cp /tmp/bash.elf /tmp/.kworker
                                                          3⤵
                                                          • Reads runtime system information
                                                          • Writes file to tmp directory
                                                          PID:1576
                                                        • /bin/chmod
                                                          chmod 755 /tmp/.kworker
                                                          3⤵
                                                          • File and Directory Permissions Modification
                                                          PID:1577

                                                    Network

                                                          MITRE ATT&CK Enterprise v16

                                                          Replay Monitor

                                                          Loading Replay Monitor...

                                                          Downloads

                                                          root

                                                          • Path /etc/cron.d/root
                                                          • Size 47B
                                                          • SHA256 c88ea3860096f5cd7055fe40623650fea8d816d9c1c48fb59cf1446b6284a5fb
                                                          • MD5 SHA1 SHA512

                                                          S99bot

                                                          • Path /etc/init.d/S99bot
                                                          • Size 82B
                                                          • SHA256 41dda35d0890a2f3c8fd444f9261a786e4fae64fa1c5ab877795e81accbb9857
                                                          • MD5 SHA1 SHA512 TLSH

                                                          bot

                                                          • Path /etc/init.d/bot
                                                          • Size 212B
                                                          • SHA256 2ec6941247a8c08a1dd7b43c06e1acf6ec8061c1e173d087e9cfa3dc43fdf157
                                                          • MD5 SHA1 SHA512 TLSH

                                                          bot.sh

                                                          • Path /etc/profile.d/bot.sh
                                                          • Size 44B
                                                          • SHA256 7c2ea42d5ddf05e66b82e9f73cd19c48f0537cd455371aebaf1c19f4eef3e36d
                                                          • MD5 SHA1 SHA512

                                                          rc.local

                                                          • Path /etc/rc.local
                                                          • Size 16B
                                                          • SHA256 2d6135d61f7653c351fceedecee4de747c2b16c31fb652bf2d8bd33b85f4d16b
                                                          • MD5 SHA1 SHA512

                                                          bot.service

                                                          • Path /etc/systemd/system/bot.service
                                                          • Size 172B
                                                          • SHA256 58953975b936aa6358da491074cb4d94cca3ba8cf30716491d72f59b8359cf8e
                                                          • MD5 SHA1 SHA512 TLSH

                                                          .bash_profile

                                                          • Path /root/.bash_profile
                                                          • Size 35B
                                                          • SHA256 457cbc1f01d3875f8fa4bdd025c83d17eb635ecf2ba67448c36eca0e8defb105
                                                          • MD5 SHA1 SHA512

                                                          .kworker

                                                          • Path /tmp/.kworker
                                                          • Size 109KB
                                                          • SHA256 f64e69b29a732cad6a023c77ba8dff6bd35fc0afef35364b367e6cd30f4b216b
                                                          • MD5 SHA1 SHA512 SSDEEP TLSH

                                                          a0000101c78ad8

                                                          • Path /var/spool/cron/atjobs/a0000101c78ad8
                                                          • Size 387B
                                                          • SHA256 7f11808d0c43742fa48c32419763de90a4cdab41db6a73a4373ca5b0491149c7
                                                          • MD5 SHA1 SHA512 TLSH

                                                          root

                                                          • Path /var/spool/cron/crontabs/root
                                                          • Size 42B
                                                          • SHA256 9550c9b690d72e201a51901e54bc76ff5de177eaff8ca9d117118c1527959a58
                                                          • MD5 SHA1 SHA512