Analysis

  • max time kernel
    1798s
  • max time network
    1679s
  • platform
    ubuntu-20.04_amd64
  • resource
    ubuntu2004-amd64-20240508-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2004-amd64-20240508-enkernel:5.4.0-169-genericlocale:en-usos:ubuntu-20.04-amd64system
  • submitted
    26-06-2024 06:23

General

  • Target

    https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh

Score
6/10

Malware Config

Signatures

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
  • Changes its process name 64 IoCs
  • Checks CPU configuration 1 TTPs 1 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads CPU attributes 1 TTPs 12 IoCs
  • Enumerates kernel/hardware configuration 1 TTPs 64 IoCs

    Reads contents of /sys virtual filesystem to enumerate system information.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 2 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /usr/bin/xdg-open
    xdg-open https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh
    1⤵
      PID:1440
      • /usr/bin/dbus-send
        dbus-send --print-reply "--dest=org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
        2⤵
          PID:1441
          • /usr/bin/dbus-launch
            dbus-launch --autolaunch 4816dd152e8c48ff97e9117d197c13d8 --binary-syntax --close-stderr
            3⤵
              PID:1442
              • /usr/bin/dbus-daemon
                /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
                4⤵
                • Enumerates kernel/hardware configuration
                • Reads runtime system information
                PID:1444
                • /usr/libexec/xdg-desktop-portal
                  /usr/libexec/xdg-desktop-portal
                  5⤵
                    PID:1572
                  • /usr/libexec/xdg-document-portal
                    /usr/libexec/xdg-document-portal
                    5⤵
                      PID:1578
                    • /usr/libexec/xdg-permission-store
                      /usr/libexec/xdg-permission-store
                      5⤵
                      • Reads runtime system information
                      PID:1583
                    • /usr/libexec/xdg-desktop-portal-gtk
                      /usr/libexec/xdg-desktop-portal-gtk
                      5⤵
                      • Reads runtime system information
                      PID:1592
                    • /usr/libexec/gvfsd
                      /usr/libexec/gvfsd
                      5⤵
                      • Reads runtime system information
                      PID:1597
                      • /usr/libexec/gvfsd-trash
                        /usr/libexec/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
                        6⤵
                        • Reads runtime system information
                        PID:1650
                    • /usr/libexec/dconf-service
                      /usr/libexec/dconf-service
                      5⤵
                      • Reads runtime system information
                      PID:1617
                    • /usr/bin/nautilus
                      /usr/bin/nautilus --gapplication-service
                      5⤵
                      • Reads CPU attributes
                      • Reads runtime system information
                      PID:1623
                    • /usr/bin/gnome-keyring-daemon
                      /usr/bin/gnome-keyring-daemon --start --foreground "--components=secrets"
                      5⤵
                      • Reads runtime system information
                      PID:1793
                    • /usr/libexec/gvfs-udisks2-volume-monitor
                      /usr/libexec/gvfs-udisks2-volume-monitor
                      5⤵
                      • Reads runtime system information
                      PID:1800
                    • /usr/libexec/gvfs-afc-volume-monitor
                      /usr/libexec/gvfs-afc-volume-monitor
                      5⤵
                        PID:1806
                      • /usr/libexec/gvfs-mtp-volume-monitor
                        /usr/libexec/gvfs-mtp-volume-monitor
                        5⤵
                        • Enumerates kernel/hardware configuration
                        • Reads runtime system information
                        PID:1812
                      • /usr/libexec/gvfs-gphoto2-volume-monitor
                        /usr/libexec/gvfs-gphoto2-volume-monitor
                        5⤵
                        • Enumerates kernel/hardware configuration
                        • Reads runtime system information
                        PID:1817
                      • /usr/libexec/gvfs-goa-volume-monitor
                        /usr/libexec/gvfs-goa-volume-monitor
                        5⤵
                        • Reads runtime system information
                        PID:1824
                      • /usr/libexec/goa-daemon
                        /usr/libexec/goa-daemon
                        5⤵
                        • Reads runtime system information
                        PID:1828
                      • /usr/libexec/goa-identity-service
                        /usr/libexec/goa-identity-service
                        5⤵
                        • Reads runtime system information
                        PID:1835
                • /usr/bin/grep
                  grep " = \\\"xfce4\\\"\$"
                  2⤵
                    PID:1448
                  • /usr/bin/xprop
                    xprop -root _DT_SAVE_MODE
                    2⤵
                      PID:1447
                    • /usr/bin/grep
                      grep -i "^xfce_desktop_window"
                      2⤵
                        PID:1450
                      • /usr/bin/xprop
                        xprop -root
                        2⤵
                          PID:1449
                        • /usr/bin/grep
                          grep -q "^Enlightenment"
                          2⤵
                            PID:1452
                          • /usr/bin/uname
                            uname
                            2⤵
                              PID:1453
                            • /usr/bin/grep
                              grep -q "^file://"
                              2⤵
                                PID:1455
                              • /usr/bin/egrep
                                egrep -q "^[[:alpha:]+\\.\\-]+:"
                                2⤵
                                  PID:1457
                                • /usr/local/sbin/grep
                                  grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                  2⤵
                                    PID:1457
                                  • /usr/local/bin/grep
                                    grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                    2⤵
                                      PID:1457
                                    • /usr/sbin/grep
                                      grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                      2⤵
                                        PID:1457
                                      • /usr/bin/grep
                                        grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                        2⤵
                                          PID:1457
                                        • /usr/bin/sed
                                          sed -n "s/\\(^[[:alnum:]+\\.-]*\\):.*\$/\\1/p"
                                          2⤵
                                            PID:1460
                                          • /usr/bin/xdg-mime
                                            xdg-mime query default x-scheme-handler/https
                                            2⤵
                                              PID:1461
                                              • /usr/bin/dbus-send
                                                dbus-send --print-reply "--dest=org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
                                                3⤵
                                                • Reads runtime system information
                                                PID:1462
                                                • /usr/bin/dbus-launch
                                                  dbus-launch --autolaunch 4816dd152e8c48ff97e9117d197c13d8 --binary-syntax --close-stderr
                                                  4⤵
                                                    PID:1463
                                                • /usr/bin/grep
                                                  grep " = \\\"xfce4\\\"\$"
                                                  3⤵
                                                    PID:1465
                                                  • /usr/bin/xprop
                                                    xprop -root _DT_SAVE_MODE
                                                    3⤵
                                                      PID:1464
                                                    • /usr/bin/grep
                                                      grep -i "^xfce_desktop_window"
                                                      3⤵
                                                        PID:1467
                                                      • /usr/bin/xprop
                                                        xprop -root
                                                        3⤵
                                                          PID:1466
                                                        • /usr/bin/grep
                                                          grep -q "^Enlightenment"
                                                          3⤵
                                                            PID:1469
                                                          • /usr/bin/uname
                                                            uname
                                                            3⤵
                                                              PID:1470
                                                            • /usr/bin/sed
                                                              sed "s/:/ /g"
                                                              3⤵
                                                                PID:1473
                                                              • /usr/bin/cut
                                                                cut -d ";" -f 1
                                                                3⤵
                                                                  PID:1478
                                                                • /usr/bin/cut
                                                                  cut -d "=" -f 2
                                                                  3⤵
                                                                    PID:1477
                                                                  • /usr/bin/head
                                                                    head -n 1
                                                                    3⤵
                                                                      PID:1476
                                                                    • /usr/bin/grep
                                                                      grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                                      3⤵
                                                                        PID:1475
                                                                      • /usr/bin/cut
                                                                        cut -d ";" -f 1
                                                                        3⤵
                                                                          PID:1483
                                                                        • /usr/bin/cut
                                                                          cut -d "=" -f 2
                                                                          3⤵
                                                                            PID:1482
                                                                          • /usr/bin/head
                                                                            head -n 1
                                                                            3⤵
                                                                              PID:1481
                                                                            • /usr/bin/grep
                                                                              grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                                              3⤵
                                                                                PID:1480
                                                                              • /usr/bin/cut
                                                                                cut -d ";" -f 1
                                                                                3⤵
                                                                                  PID:1488
                                                                                • /usr/bin/cut
                                                                                  cut -d "=" -f 2
                                                                                  3⤵
                                                                                    PID:1487
                                                                                  • /usr/bin/head
                                                                                    head -n 1
                                                                                    3⤵
                                                                                      PID:1486
                                                                                    • /usr/bin/grep
                                                                                      grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                                                      3⤵
                                                                                        PID:1485
                                                                                      • /usr/bin/cut
                                                                                        cut -d ";" -f 1
                                                                                        3⤵
                                                                                          PID:1493
                                                                                        • /usr/bin/cut
                                                                                          cut -d "=" -f 2
                                                                                          3⤵
                                                                                            PID:1492
                                                                                          • /usr/bin/head
                                                                                            head -n 1
                                                                                            3⤵
                                                                                              PID:1491
                                                                                            • /usr/bin/grep
                                                                                              grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                                                              3⤵
                                                                                                PID:1490
                                                                                              • /usr/bin/cut
                                                                                                cut -d ";" -f 1
                                                                                                3⤵
                                                                                                  PID:1498
                                                                                                • /usr/bin/cut
                                                                                                  cut -d "=" -f 2
                                                                                                  3⤵
                                                                                                    PID:1497
                                                                                                  • /usr/bin/head
                                                                                                    head -n 1
                                                                                                    3⤵
                                                                                                      PID:1496
                                                                                                    • /usr/bin/grep
                                                                                                      grep "x-scheme-handler/https=" /usr/share//applications/defaults.list /usr/share//applications/mimeinfo.cache
                                                                                                      3⤵
                                                                                                        PID:1495
                                                                                                    • /usr/bin/sed
                                                                                                      sed "s/:/ /g"
                                                                                                      2⤵
                                                                                                        PID:1501
                                                                                                      • /usr/bin/sed
                                                                                                        sed -e "s|-|/|"
                                                                                                        2⤵
                                                                                                        • Reads runtime system information
                                                                                                        PID:1504
                                                                                                      • /usr/bin/sed
                                                                                                        sed -e "s|-|/|"
                                                                                                        2⤵
                                                                                                        • Reads runtime system information
                                                                                                        PID:1507
                                                                                                      • /usr/bin/cut
                                                                                                        cut "-d=" -f 2-
                                                                                                        2⤵
                                                                                                          PID:1512
                                                                                                        • /usr/bin/which
                                                                                                          which firefox
                                                                                                          2⤵
                                                                                                            PID:1513
                                                                                                          • /usr/bin/cut
                                                                                                            cut "-d=" -f 2-
                                                                                                            2⤵
                                                                                                              PID:1516
                                                                                                            • /usr/bin/cut
                                                                                                              cut "-d=" -f 2-
                                                                                                              2⤵
                                                                                                                PID:1519
                                                                                                              • /usr/bin/cut
                                                                                                                cut "-d=" -f 2-
                                                                                                                2⤵
                                                                                                                  PID:1524
                                                                                                                • /usr/bin/firefox
                                                                                                                  /usr/bin/firefox https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh
                                                                                                                  2⤵
                                                                                                                    PID:1525
                                                                                                                    • /usr/bin/which
                                                                                                                      which /usr/bin/firefox
                                                                                                                      3⤵
                                                                                                                        PID:1526
                                                                                                                    • /usr/lib/firefox/firefox
                                                                                                                      /usr/lib/firefox/firefox https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh
                                                                                                                      2⤵
                                                                                                                      • Checks CPU configuration
                                                                                                                      • Reads CPU attributes
                                                                                                                      • Reads runtime system information
                                                                                                                      • Writes file to tmp directory
                                                                                                                      PID:1525
                                                                                                                      • /usr/local/sbin/dbus-launch
                                                                                                                        dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                        3⤵
                                                                                                                          PID:1533
                                                                                                                        • /usr/local/bin/dbus-launch
                                                                                                                          dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                          3⤵
                                                                                                                            PID:1533
                                                                                                                          • /usr/sbin/dbus-launch
                                                                                                                            dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                            3⤵
                                                                                                                              PID:1533
                                                                                                                            • /usr/bin/dbus-launch
                                                                                                                              dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                              3⤵
                                                                                                                                PID:1533
                                                                                                                              • /usr/lib/firefox/glxtest
                                                                                                                                /usr/lib/firefox/glxtest -f 13
                                                                                                                                3⤵
                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                • Reads runtime system information
                                                                                                                                PID:1536
                                                                                                                              • /usr/bin/lsb_release
                                                                                                                                /usr/bin/lsb_release -idrc
                                                                                                                                3⤵
                                                                                                                                  PID:1548
                                                                                                                                • /usr/local/sbin/dbus-launch
                                                                                                                                  dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                  3⤵
                                                                                                                                    PID:1558
                                                                                                                                  • /usr/local/bin/dbus-launch
                                                                                                                                    dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                    3⤵
                                                                                                                                      PID:1558
                                                                                                                                    • /usr/sbin/dbus-launch
                                                                                                                                      dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                      3⤵
                                                                                                                                        PID:1558
                                                                                                                                      • /usr/bin/dbus-launch
                                                                                                                                        dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                        3⤵
                                                                                                                                          PID:1558
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -parentBuildID 20240108143603 -prefsLen 20982 -prefMapSize 234904 -appDir /usr/lib/firefox/browser "{68d6dbfc-c7ad-4b3d-b464-8be2b3be2dd8}" 1525 true socket
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Enumerates kernel/hardware configuration
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1570
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 20185 -prefMapSize 234904 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{b0710880-6c01-4c6d-9319-229fd63983ea}" 1525 true tab
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Enumerates kernel/hardware configuration
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1662
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 26610 -prefMapSize 234904 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{e3aed988-66ab-4f2a-9cb6-ec67c1046cbc}" 1525 true tab
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1704
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -parentBuildID 20240108143603 -sandboxingKind 0 -prefsLen 29361 -prefMapSize 234904 -appDir /usr/lib/firefox/browser "{869dc4c4-32b4-4e63-ad61-4ecc774a1866}" 1525 true utility
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Enumerates kernel/hardware configuration
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1735
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 25649 -prefMapSize 234904 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{3f11633d-8f36-4c62-b441-781d75a20ebb}" 1525 true tab
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Enumerates kernel/hardware configuration
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1740
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 25649 -prefMapSize 234904 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{ac5ee21c-f584-4370-a6ff-4880c75a3c62}" 1525 true tab
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1744
                                                                                                                                        • /usr/lib/firefox/firefox
                                                                                                                                          /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 25649 -prefMapSize 234904 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{355362a5-0de5-476e-80e9-d1f999d5eb35}" 1525 true tab
                                                                                                                                          3⤵
                                                                                                                                          • Reads CPU attributes
                                                                                                                                          • Enumerates kernel/hardware configuration
                                                                                                                                          • Reads runtime system information
                                                                                                                                          PID:1753
                                                                                                                                    • /usr/libexec/gvfsd-fuse
                                                                                                                                      /usr/libexec/gvfsd-fuse /root/.cache/gvfs -f -o big_writes
                                                                                                                                      1⤵
                                                                                                                                        PID:1602

                                                                                                                                      Network

                                                                                                                                      MITRE ATT&CK Enterprise v15

                                                                                                                                      Replay Monitor

                                                                                                                                      Loading Replay Monitor...

                                                                                                                                      Downloads

                                                                                                                                      • /tmp/tmpaddon

                                                                                                                                        Filesize

                                                                                                                                        569KB

                                                                                                                                        MD5

                                                                                                                                        30082ae40dc48af6343db2fd22cfc645

                                                                                                                                        SHA1

                                                                                                                                        3eb577555ee638e8beb01173e8f29e172747a728

                                                                                                                                        SHA256

                                                                                                                                        85d4b95f9b2075daee9b0e64bce8d9d7343d0dda10e6072d7f9485a68472ee76

                                                                                                                                        SHA512

                                                                                                                                        53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b4580734a11cd9c