Analysis

  • max time kernel
    149s
  • 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
    29/07/2026, 12:20

General

  • Target
    pty4
  • Size 43KB
  • Sample260729-phtffstfkc
  • SHA256 7d22fabcc98916294775e10101526492c105b583ccc9cf3e2edad9187dab4f14
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • Family: Kaiten,Tsunami

    Linux-based IoT botnet which is controlled through IRC and normally used to carry out DDoS attacks.

  • Detects Kaiten/Tsunami Payload 1 IoCs
  • Creates/modifies Cron job 1 TTPs 5 IoCs

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

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Indicator Removal: Timestomp 1 TTPs 10 IoCs

    Adversaries may remove indicators of compromise from the host to evade detection.

  • UPX packed file 1 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

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

    Reads data from /proc virtual filesystem.

  • Writes file to shm directory 1 IoCs

    Malware can drop malicious files in the shm directory which will run directly from RAM.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/pty4
    /tmp/pty4
    1⤵
    • Changes its process name
    • Writes file to tmp directory
    PID:1500
    • /bin/sh
      sh -c "pidof -x strace > /dev/null"
      2⤵
        PID:1501
        • /bin/pidof
          pidof -x strace
          3⤵
          • Reads runtime system information
          PID:1502
      • /bin/sh
        sh -c "pidof -x tcpdump > /dev/null"
        2⤵
          PID:1503
          • /bin/pidof
            pidof -x tcpdump
            3⤵
            • Reads runtime system information
            PID:1504
        • /bin/sh
          sh -c "cat /etc/inittab | grep -v \"/tmp/pty4\" > /etc/inittab2"
          2⤵
            PID:1509
            • /bin/cat
              cat /etc/inittab
              3⤵
                PID:1511
              • /bin/grep
                grep -v /tmp/pty4
                3⤵
                  PID:1512
              • /bin/sh
                sh -c "crontab -l | grep /tmp/pty4 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /tmp/pty4 > /dev/null 2>&1 &\") | crontab -"
                2⤵
                  PID:1510
                  • /bin/grep
                    grep /tmp/pty4
                    3⤵
                      PID:1515
                    • /bin/grep
                      grep -v "no cron"
                      3⤵
                        PID:1516
                      • /usr/bin/crontab
                        crontab -l
                        3⤵
                          PID:1514
                        • /usr/bin/crontab
                          crontab -
                          3⤵
                          • Creates/modifies Cron job
                          PID:1520
                        • /usr/bin/crontab
                          crontab -l
                          3⤵
                            PID:1523
                        • /bin/sh
                          sh -c "crontab -r"
                          2⤵
                            PID:1513
                            • /usr/bin/crontab
                              crontab -r
                              3⤵
                                PID:1517
                            • /bin/sh
                              sh -c "echo \"0:2345:respawn:/tmp/pty4\" >> /etc/inittab2"
                              2⤵
                                PID:1518
                              • /bin/sh
                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                2⤵
                                  PID:1521
                                  • /bin/cat
                                    cat /etc/inittab2
                                    3⤵
                                      PID:1524
                                  • /bin/sh
                                    sh -c "rm -rf /etc/inittab2"
                                    2⤵
                                      PID:1526
                                      • /bin/rm
                                        rm -rf /etc/inittab2
                                        3⤵
                                          PID:1527
                                      • /bin/sh
                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                        2⤵
                                        • Indicator Removal: Timestomp
                                        PID:1528
                                        • /usr/bin/touch
                                          touch -acmr /bin/ls /etc/inittab
                                          3⤵
                                          • Indicator Removal: Timestomp
                                          PID:1529
                                      • /bin/sh
                                        sh -c "/bin/uname -n"
                                        2⤵
                                          PID:1532
                                          • /bin/uname
                                            /bin/uname -n
                                            3⤵
                                              PID:1534
                                          • /bin/sh
                                            sh -c "cp -f /tmp/pty4 /dev/shm/pty4"
                                            2⤵
                                              PID:1533
                                              • /bin/cp
                                                cp -f /tmp/pty4 /dev/shm/pty4
                                                3⤵
                                                • Writes file to shm directory
                                                PID:1535
                                            • /bin/sh
                                              sh -c "cat /etc/inittab | grep -v \"/dev/shm/pty4\" > /etc/inittab2"
                                              2⤵
                                                PID:1537
                                                • /bin/grep
                                                  grep -v /dev/shm/pty4
                                                  3⤵
                                                    PID:1540
                                                  • /bin/cat
                                                    cat /etc/inittab
                                                    3⤵
                                                      PID:1538
                                                  • /bin/sh
                                                    sh -c "crontab -l | grep /dev/shm/pty4 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /dev/shm/pty4 > /dev/null 2>&1 &\") | crontab -"
                                                    2⤵
                                                      PID:1539
                                                      • /bin/grep
                                                        grep -v "no cron"
                                                        3⤵
                                                          PID:1543
                                                        • /bin/grep
                                                          grep /dev/shm/pty4
                                                          3⤵
                                                            PID:1542
                                                          • /usr/bin/crontab
                                                            crontab -l
                                                            3⤵
                                                              PID:1541
                                                            • /usr/bin/crontab
                                                              crontab -
                                                              3⤵
                                                              • Creates/modifies Cron job
                                                              PID:1547
                                                            • /usr/bin/crontab
                                                              crontab -l
                                                              3⤵
                                                                PID:1549
                                                            • /bin/sh
                                                              sh -c "echo \"0:2345:respawn:/dev/shm/pty4\" >> /etc/inittab2"
                                                              2⤵
                                                                PID:1544
                                                              • /bin/sh
                                                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                2⤵
                                                                  PID:1545
                                                                  • /bin/cat
                                                                    cat /etc/inittab2
                                                                    3⤵
                                                                      PID:1548
                                                                  • /bin/sh
                                                                    sh -c "rm -rf /etc/inittab2"
                                                                    2⤵
                                                                      PID:1550
                                                                      • /bin/rm
                                                                        rm -rf /etc/inittab2
                                                                        3⤵
                                                                          PID:1551
                                                                      • /bin/sh
                                                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                        2⤵
                                                                        • Indicator Removal: Timestomp
                                                                        PID:1552
                                                                        • /usr/bin/touch
                                                                          touch -acmr /bin/ls /etc/inittab
                                                                          3⤵
                                                                          • Indicator Removal: Timestomp
                                                                          PID:1553
                                                                      • /bin/sh
                                                                        sh -c "cp -f /tmp/pty4 /var/tmp/pty4"
                                                                        2⤵
                                                                          PID:1554
                                                                          • /bin/cp
                                                                            cp -f /tmp/pty4 /var/tmp/pty4
                                                                            3⤵
                                                                              PID:1555
                                                                          • /bin/sh
                                                                            sh -c "cat /etc/inittab | grep -v \"/var/tmp/pty4\" > /etc/inittab2"
                                                                            2⤵
                                                                              PID:1557
                                                                              • /bin/grep
                                                                                grep -v /var/tmp/pty4
                                                                                3⤵
                                                                                  PID:1559
                                                                                • /bin/cat
                                                                                  cat /etc/inittab
                                                                                  3⤵
                                                                                    PID:1558
                                                                                • /bin/sh
                                                                                  sh -c "crontab -l | grep /var/tmp/pty4 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/tmp/pty4 > /dev/null 2>&1 &\") | crontab -"
                                                                                  2⤵
                                                                                    PID:1560
                                                                                    • /bin/grep
                                                                                      grep -v "no cron"
                                                                                      3⤵
                                                                                        PID:1563
                                                                                      • /bin/grep
                                                                                        grep /var/tmp/pty4
                                                                                        3⤵
                                                                                          PID:1562
                                                                                        • /usr/bin/crontab
                                                                                          crontab -l
                                                                                          3⤵
                                                                                            PID:1561
                                                                                          • /usr/bin/crontab
                                                                                            crontab -
                                                                                            3⤵
                                                                                            • Creates/modifies Cron job
                                                                                            PID:1566
                                                                                          • /usr/bin/crontab
                                                                                            crontab -l
                                                                                            3⤵
                                                                                              PID:1568
                                                                                          • /bin/sh
                                                                                            sh -c "echo \"0:2345:respawn:/var/tmp/pty4\" >> /etc/inittab2"
                                                                                            2⤵
                                                                                              PID:1564
                                                                                            • /bin/sh
                                                                                              sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                              2⤵
                                                                                                PID:1567
                                                                                                • /bin/cat
                                                                                                  cat /etc/inittab2
                                                                                                  3⤵
                                                                                                    PID:1569
                                                                                                • /bin/sh
                                                                                                  sh -c "rm -rf /etc/inittab2"
                                                                                                  2⤵
                                                                                                    PID:1570
                                                                                                    • /bin/rm
                                                                                                      rm -rf /etc/inittab2
                                                                                                      3⤵
                                                                                                        PID:1571
                                                                                                    • /bin/sh
                                                                                                      sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                      2⤵
                                                                                                      • Indicator Removal: Timestomp
                                                                                                      PID:1572
                                                                                                      • /usr/bin/touch
                                                                                                        touch -acmr /bin/ls /etc/inittab
                                                                                                        3⤵
                                                                                                        • Indicator Removal: Timestomp
                                                                                                        PID:1573
                                                                                                    • /bin/sh
                                                                                                      sh -c "cp -f /tmp/pty4 /var/lock/pty4"
                                                                                                      2⤵
                                                                                                        PID:1574
                                                                                                        • /bin/cp
                                                                                                          cp -f /tmp/pty4 /var/lock/pty4
                                                                                                          3⤵
                                                                                                            PID:1575
                                                                                                        • /bin/sh
                                                                                                          sh -c "cat /etc/inittab | grep -v \"/var/lock/pty4\" > /etc/inittab2"
                                                                                                          2⤵
                                                                                                            PID:1577
                                                                                                            • /bin/grep
                                                                                                              grep -v /var/lock/pty4
                                                                                                              3⤵
                                                                                                                PID:1579
                                                                                                              • /bin/cat
                                                                                                                cat /etc/inittab
                                                                                                                3⤵
                                                                                                                  PID:1578
                                                                                                              • /bin/sh
                                                                                                                sh -c "crontab -l | grep /var/lock/pty4 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/lock/pty4 > /dev/null 2>&1 &\") | crontab -"
                                                                                                                2⤵
                                                                                                                  PID:1580
                                                                                                                  • /bin/grep
                                                                                                                    grep -v "no cron"
                                                                                                                    3⤵
                                                                                                                      PID:1583
                                                                                                                    • /bin/grep
                                                                                                                      grep /var/lock/pty4
                                                                                                                      3⤵
                                                                                                                        PID:1582
                                                                                                                      • /usr/bin/crontab
                                                                                                                        crontab -l
                                                                                                                        3⤵
                                                                                                                          PID:1581
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -
                                                                                                                          3⤵
                                                                                                                          • Creates/modifies Cron job
                                                                                                                          PID:1586
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -l
                                                                                                                          3⤵
                                                                                                                            PID:1588
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "echo \"0:2345:respawn:/var/lock/pty4\" >> /etc/inittab2"
                                                                                                                          2⤵
                                                                                                                            PID:1584
                                                                                                                          • /bin/sh
                                                                                                                            sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                            2⤵
                                                                                                                              PID:1587
                                                                                                                              • /bin/cat
                                                                                                                                cat /etc/inittab2
                                                                                                                                3⤵
                                                                                                                                  PID:1589
                                                                                                                              • /bin/sh
                                                                                                                                sh -c "rm -rf /etc/inittab2"
                                                                                                                                2⤵
                                                                                                                                  PID:1590
                                                                                                                                  • /bin/rm
                                                                                                                                    rm -rf /etc/inittab2
                                                                                                                                    3⤵
                                                                                                                                      PID:1591
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                    2⤵
                                                                                                                                    • Indicator Removal: Timestomp
                                                                                                                                    PID:1592
                                                                                                                                    • /usr/bin/touch
                                                                                                                                      touch -acmr /bin/ls /etc/inittab
                                                                                                                                      3⤵
                                                                                                                                      • Indicator Removal: Timestomp
                                                                                                                                      PID:1593
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "cp -f /tmp/pty4 /var/run/pty4"
                                                                                                                                    2⤵
                                                                                                                                      PID:1594
                                                                                                                                      • /bin/cp
                                                                                                                                        cp -f /tmp/pty4 /var/run/pty4
                                                                                                                                        3⤵
                                                                                                                                        • Reads runtime system information
                                                                                                                                        PID:1595
                                                                                                                                    • /bin/sh
                                                                                                                                      sh -c "cat /etc/inittab | grep -v \"/var/run/pty4\" > /etc/inittab2"
                                                                                                                                      2⤵
                                                                                                                                        PID:1597
                                                                                                                                        • /bin/grep
                                                                                                                                          grep -v /var/run/pty4
                                                                                                                                          3⤵
                                                                                                                                            PID:1599
                                                                                                                                          • /bin/cat
                                                                                                                                            cat /etc/inittab
                                                                                                                                            3⤵
                                                                                                                                              PID:1598
                                                                                                                                          • /bin/sh
                                                                                                                                            sh -c "crontab -l | grep /var/run/pty4 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/run/pty4 > /dev/null 2>&1 &\") | crontab -"
                                                                                                                                            2⤵
                                                                                                                                              PID:1600
                                                                                                                                              • /bin/grep
                                                                                                                                                grep -v "no cron"
                                                                                                                                                3⤵
                                                                                                                                                  PID:1603
                                                                                                                                                • /bin/grep
                                                                                                                                                  grep /var/run/pty4
                                                                                                                                                  3⤵
                                                                                                                                                    PID:1602
                                                                                                                                                  • /usr/bin/crontab
                                                                                                                                                    crontab -l
                                                                                                                                                    3⤵
                                                                                                                                                      PID:1601
                                                                                                                                                    • /usr/bin/crontab
                                                                                                                                                      crontab -
                                                                                                                                                      3⤵
                                                                                                                                                      • Creates/modifies Cron job
                                                                                                                                                      PID:1606
                                                                                                                                                    • /usr/bin/crontab
                                                                                                                                                      crontab -l
                                                                                                                                                      3⤵
                                                                                                                                                        PID:1608
                                                                                                                                                    • /bin/sh
                                                                                                                                                      sh -c "echo \"0:2345:respawn:/var/run/pty4\" >> /etc/inittab2"
                                                                                                                                                      2⤵
                                                                                                                                                        PID:1604
                                                                                                                                                      • /bin/sh
                                                                                                                                                        sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                                                        2⤵
                                                                                                                                                          PID:1607
                                                                                                                                                          • /bin/cat
                                                                                                                                                            cat /etc/inittab2
                                                                                                                                                            3⤵
                                                                                                                                                              PID:1609
                                                                                                                                                          • /bin/sh
                                                                                                                                                            sh -c "rm -rf /etc/inittab2"
                                                                                                                                                            2⤵
                                                                                                                                                              PID:1610
                                                                                                                                                              • /bin/rm
                                                                                                                                                                rm -rf /etc/inittab2
                                                                                                                                                                3⤵
                                                                                                                                                                  PID:1611
                                                                                                                                                              • /bin/sh
                                                                                                                                                                sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                                                2⤵
                                                                                                                                                                • Indicator Removal: Timestomp
                                                                                                                                                                PID:1612
                                                                                                                                                                • /usr/bin/touch
                                                                                                                                                                  touch -acmr /bin/ls /etc/inittab
                                                                                                                                                                  3⤵
                                                                                                                                                                  • Indicator Removal: Timestomp
                                                                                                                                                                  PID:1613

                                                                                                                                                            Network

                                                                                                                                                                  MITRE ATT&CK Enterprise v16

                                                                                                                                                                  Replay Monitor

                                                                                                                                                                  Loading Replay Monitor...

                                                                                                                                                                  Downloads

                                                                                                                                                                  pty4

                                                                                                                                                                  • Path /dev/shm/pty4
                                                                                                                                                                  • Size 43KB
                                                                                                                                                                  • SHA256 7d22fabcc98916294775e10101526492c105b583ccc9cf3e2edad9187dab4f14
                                                                                                                                                                  • MD5 SHA1 SHA512 SSDEEP TLSH

                                                                                                                                                                  inittab

                                                                                                                                                                  • Path /etc/inittab
                                                                                                                                                                  • Size 83B
                                                                                                                                                                  • SHA256 7fbf43311d4796b4039c1b4336eee7ca6552be98203d1858d14cb6e37ea877e5
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  inittab

                                                                                                                                                                  • Path /etc/inittab
                                                                                                                                                                  • Size 113B
                                                                                                                                                                  • SHA256 7afb3d064700bcb2fec3b727de8e99eb2afebb919d4222ad3a92936b0ed714ae
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  inittab2

                                                                                                                                                                  • Path /etc/inittab2
                                                                                                                                                                  • Size 54B
                                                                                                                                                                  • SHA256 031e3a9a99c03a49fea757df0d3ff52fc5dbcc07d37f2674efe21cae6529c370
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  inittab2

                                                                                                                                                                  • Path /etc/inittab2
                                                                                                                                                                  • Size 142B
                                                                                                                                                                  • SHA256 53aca2a49a912146645bbb47d0abb1827520434abb907cadf77bc55b2572b099
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  inittab2

                                                                                                                                                                  • Path /etc/inittab2
                                                                                                                                                                  • Size 25B
                                                                                                                                                                  • SHA256 a1a915c2d2d8b0997cea0c5885f31609e34ba6f5e9761f7a1fe5c292ae743dea
                                                                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                                                                  tmp.CeQes8

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.CeQes8
                                                                                                                                                                  • Size 344B
                                                                                                                                                                  • SHA256 189e7a65efc8863e478e0dfb05e4569e3ed7bad04801d6b6584eb6334f60c7e0
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.QBFKxa

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.QBFKxa
                                                                                                                                                                  • Size 387B
                                                                                                                                                                  • SHA256 4eef670b685fbc382e8d17bdd2a6d272bcea29dd8f3dba8f766536ba8058df07
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.l6fOo3

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.l6fOo3
                                                                                                                                                                  • Size 257B
                                                                                                                                                                  • SHA256 d7ddd3a53bdbd65e565433cbac24b5f3db06931f0b2503acc4b5525fdc0a2d05
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.osRRR1

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.osRRR1
                                                                                                                                                                  • Size 214B
                                                                                                                                                                  • SHA256 f2f85789a73d7476f0f33caecc179d92e610e82479ac1be0cfbcac07d3a08450
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.sfW8p5

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.sfW8p5
                                                                                                                                                                  • Size 300B
                                                                                                                                                                  • SHA256 2fb0ef09b4e402c8e1699101a098640ec1b276d94c84142fec9485085f9a6a88
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH