Analysis

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

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

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:1397
      • /usr/bin/dbus-send
        dbus-send --print-reply "--dest=org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
        2⤵
        • Reads runtime system information
        PID:1398
        • /usr/bin/dbus-launch
          dbus-launch --autolaunch 4816dd152e8c48ff97e9117d197c13d8 --binary-syntax --close-stderr
          3⤵
            PID:1400
            • /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:1410
              • /usr/libexec/xdg-desktop-portal
                /usr/libexec/xdg-desktop-portal
                5⤵
                • Reads runtime system information
                PID:1573
              • /usr/libexec/xdg-document-portal
                /usr/libexec/xdg-document-portal
                5⤵
                • Reads runtime system information
                PID:1578
              • /usr/libexec/xdg-permission-store
                /usr/libexec/xdg-permission-store
                5⤵
                  PID:1583
                • /usr/libexec/xdg-desktop-portal-gtk
                  /usr/libexec/xdg-desktop-portal-gtk
                  5⤵
                    PID:1598
                  • /usr/libexec/gvfsd
                    /usr/libexec/gvfsd
                    5⤵
                    • Reads runtime system information
                    PID:1604
                    • /usr/libexec/gvfsd-trash
                      /usr/libexec/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
                      6⤵
                      • Reads runtime system information
                      PID:1631
                  • /usr/libexec/dconf-service
                    /usr/libexec/dconf-service
                    5⤵
                      PID:1622
                    • /usr/bin/nautilus
                      /usr/bin/nautilus --gapplication-service
                      5⤵
                      • Reads CPU attributes
                      • Reads runtime system information
                      PID:1627
                    • /usr/bin/gnome-keyring-daemon
                      /usr/bin/gnome-keyring-daemon --start --foreground "--components=secrets"
                      5⤵
                      • Reads runtime system information
                      PID:1777
                    • /usr/libexec/gvfs-udisks2-volume-monitor
                      /usr/libexec/gvfs-udisks2-volume-monitor
                      5⤵
                      • Reads runtime system information
                      PID:1788
                    • /usr/libexec/gvfs-afc-volume-monitor
                      /usr/libexec/gvfs-afc-volume-monitor
                      5⤵
                        PID:1794
                      • /usr/libexec/gvfs-mtp-volume-monitor
                        /usr/libexec/gvfs-mtp-volume-monitor
                        5⤵
                        • Enumerates kernel/hardware configuration
                        PID:1800
                      • /usr/libexec/gvfs-gphoto2-volume-monitor
                        /usr/libexec/gvfs-gphoto2-volume-monitor
                        5⤵
                        • Enumerates kernel/hardware configuration
                        • Reads runtime system information
                        PID:1805
                      • /usr/libexec/gvfs-goa-volume-monitor
                        /usr/libexec/gvfs-goa-volume-monitor
                        5⤵
                          PID:1810
                        • /usr/libexec/goa-daemon
                          /usr/libexec/goa-daemon
                          5⤵
                          • Reads runtime system information
                          PID:1816
                        • /usr/libexec/goa-identity-service
                          /usr/libexec/goa-identity-service
                          5⤵
                            PID:1824
                    • /usr/bin/grep
                      grep " = \\\"xfce4\\\"\$"
                      2⤵
                        PID:1414
                      • /usr/bin/xprop
                        xprop -root _DT_SAVE_MODE
                        2⤵
                          PID:1413
                        • /usr/bin/grep
                          grep -i "^xfce_desktop_window"
                          2⤵
                            PID:1416
                          • /usr/bin/xprop
                            xprop -root
                            2⤵
                              PID:1415
                            • /usr/bin/grep
                              grep -q "^Enlightenment"
                              2⤵
                                PID:1419
                              • /usr/bin/uname
                                uname
                                2⤵
                                  PID:1420
                                • /usr/bin/grep
                                  grep -q "^file://"
                                  2⤵
                                    PID:1422
                                  • /usr/bin/egrep
                                    egrep -q "^[[:alpha:]+\\.\\-]+:"
                                    2⤵
                                      PID:1424
                                    • /usr/local/sbin/grep
                                      grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                      2⤵
                                        PID:1424
                                      • /usr/local/bin/grep
                                        grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                        2⤵
                                          PID:1424
                                        • /usr/sbin/grep
                                          grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                          2⤵
                                            PID:1424
                                          • /usr/bin/grep
                                            grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                            2⤵
                                              PID:1424
                                            • /usr/bin/sed
                                              sed -n "s/\\(^[[:alnum:]+\\.-]*\\):.*\$/\\1/p"
                                              2⤵
                                                PID:1427
                                              • /usr/bin/xdg-mime
                                                xdg-mime query default x-scheme-handler/https
                                                2⤵
                                                  PID:1428
                                                  • /usr/bin/dbus-send
                                                    dbus-send --print-reply "--dest=org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
                                                    3⤵
                                                      PID:1429
                                                      • /usr/bin/dbus-launch
                                                        dbus-launch --autolaunch 4816dd152e8c48ff97e9117d197c13d8 --binary-syntax --close-stderr
                                                        4⤵
                                                          PID:1430
                                                      • /usr/bin/grep
                                                        grep " = \\\"xfce4\\\"\$"
                                                        3⤵
                                                          PID:1432
                                                        • /usr/bin/xprop
                                                          xprop -root _DT_SAVE_MODE
                                                          3⤵
                                                            PID:1431
                                                          • /usr/bin/grep
                                                            grep -i "^xfce_desktop_window"
                                                            3⤵
                                                              PID:1434
                                                            • /usr/bin/xprop
                                                              xprop -root
                                                              3⤵
                                                                PID:1433
                                                              • /usr/bin/grep
                                                                grep -q "^Enlightenment"
                                                                3⤵
                                                                  PID:1436
                                                                • /usr/bin/uname
                                                                  uname
                                                                  3⤵
                                                                    PID:1437
                                                                  • /usr/bin/sed
                                                                    sed "s/:/ /g"
                                                                    3⤵
                                                                    • Reads runtime system information
                                                                    PID:1440
                                                                  • /usr/bin/cut
                                                                    cut -d ";" -f 1
                                                                    3⤵
                                                                      PID:1445
                                                                    • /usr/bin/cut
                                                                      cut -d "=" -f 2
                                                                      3⤵
                                                                        PID:1444
                                                                      • /usr/bin/head
                                                                        head -n 1
                                                                        3⤵
                                                                          PID:1443
                                                                        • /usr/bin/grep
                                                                          grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                                          3⤵
                                                                            PID:1442
                                                                          • /usr/bin/cut
                                                                            cut -d ";" -f 1
                                                                            3⤵
                                                                              PID:1450
                                                                            • /usr/bin/cut
                                                                              cut -d "=" -f 2
                                                                              3⤵
                                                                                PID:1449
                                                                              • /usr/bin/head
                                                                                head -n 1
                                                                                3⤵
                                                                                  PID:1448
                                                                                • /usr/bin/grep
                                                                                  grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                                                  3⤵
                                                                                    PID:1447
                                                                                  • /usr/bin/cut
                                                                                    cut -d ";" -f 1
                                                                                    3⤵
                                                                                      PID:1455
                                                                                    • /usr/bin/cut
                                                                                      cut -d "=" -f 2
                                                                                      3⤵
                                                                                        PID:1454
                                                                                      • /usr/bin/head
                                                                                        head -n 1
                                                                                        3⤵
                                                                                          PID:1453
                                                                                        • /usr/bin/grep
                                                                                          grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                                                          3⤵
                                                                                            PID:1452
                                                                                          • /usr/bin/cut
                                                                                            cut -d ";" -f 1
                                                                                            3⤵
                                                                                              PID:1460
                                                                                            • /usr/bin/cut
                                                                                              cut -d "=" -f 2
                                                                                              3⤵
                                                                                                PID:1459
                                                                                              • /usr/bin/head
                                                                                                head -n 1
                                                                                                3⤵
                                                                                                  PID:1458
                                                                                                • /usr/bin/grep
                                                                                                  grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                                                                  3⤵
                                                                                                    PID:1457
                                                                                                  • /usr/bin/cut
                                                                                                    cut -d ";" -f 1
                                                                                                    3⤵
                                                                                                      PID:1465
                                                                                                    • /usr/bin/cut
                                                                                                      cut -d "=" -f 2
                                                                                                      3⤵
                                                                                                        PID:1464
                                                                                                      • /usr/bin/head
                                                                                                        head -n 1
                                                                                                        3⤵
                                                                                                          PID:1463
                                                                                                        • /usr/bin/grep
                                                                                                          grep "x-scheme-handler/https=" /usr/share//applications/defaults.list /usr/share//applications/mimeinfo.cache
                                                                                                          3⤵
                                                                                                            PID:1462
                                                                                                        • /usr/bin/sed
                                                                                                          sed "s/:/ /g"
                                                                                                          2⤵
                                                                                                            PID:1468
                                                                                                          • /usr/bin/sed
                                                                                                            sed -e "s|-|/|"
                                                                                                            2⤵
                                                                                                              PID:1471
                                                                                                            • /usr/bin/sed
                                                                                                              sed -e "s|-|/|"
                                                                                                              2⤵
                                                                                                                PID:1474
                                                                                                              • /usr/bin/cut
                                                                                                                cut "-d=" -f 2-
                                                                                                                2⤵
                                                                                                                  PID:1479
                                                                                                                • /usr/bin/which
                                                                                                                  which firefox
                                                                                                                  2⤵
                                                                                                                    PID:1480
                                                                                                                  • /usr/bin/cut
                                                                                                                    cut "-d=" -f 2-
                                                                                                                    2⤵
                                                                                                                      PID:1483
                                                                                                                    • /usr/bin/cut
                                                                                                                      cut "-d=" -f 2-
                                                                                                                      2⤵
                                                                                                                        PID:1486
                                                                                                                      • /usr/bin/cut
                                                                                                                        cut "-d=" -f 2-
                                                                                                                        2⤵
                                                                                                                          PID:1515
                                                                                                                        • /usr/bin/firefox
                                                                                                                          /usr/bin/firefox https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh
                                                                                                                          2⤵
                                                                                                                            PID:1524
                                                                                                                            • /usr/bin/which
                                                                                                                              which /usr/bin/firefox
                                                                                                                              3⤵
                                                                                                                                PID:1528
                                                                                                                            • /usr/lib/firefox/firefox
                                                                                                                              /usr/lib/firefox/firefox https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh
                                                                                                                              2⤵
                                                                                                                              • Checks CPU configuration
                                                                                                                              • Reads CPU attributes
                                                                                                                              • Enumerates kernel/hardware configuration
                                                                                                                              • Reads runtime system information
                                                                                                                              • Writes file to tmp directory
                                                                                                                              PID:1524
                                                                                                                              • /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
                                                                                                                                        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 20597 -prefMapSize 234708 -appDir /usr/lib/firefox/browser "{e2c7087a-6d79-45ba-8907-c3f579aded89}" 1524 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 20206 -prefMapSize 234708 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{b8659747-842f-42ca-9407-fe6fb6d25f52}" 1524 true tab
                                                                                                                                                  3⤵
                                                                                                                                                  • Reads CPU attributes
                                                                                                                                                  • Enumerates kernel/hardware configuration
                                                                                                                                                  • Reads runtime system information
                                                                                                                                                  PID:1642
                                                                                                                                                • /usr/lib/firefox/firefox
                                                                                                                                                  /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 28635 -prefMapSize 234708 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{eca01590-e568-4896-8930-53e8c58ebf26}" 1524 true tab
                                                                                                                                                  3⤵
                                                                                                                                                  • Reads CPU attributes
                                                                                                                                                  • Enumerates kernel/hardware configuration
                                                                                                                                                  • Reads runtime system information
                                                                                                                                                  PID:1687
                                                                                                                                                • /usr/lib/firefox/firefox
                                                                                                                                                  /usr/lib/firefox/firefox -contentproc -parentBuildID 20240108143603 -sandboxingKind 0 -prefsLen 29401 -prefMapSize 234708 -appDir /usr/lib/firefox/browser "{f4d2913e-a3bf-4cb5-90ef-9859d79b262d}" 1524 true utility
                                                                                                                                                  3⤵
                                                                                                                                                  • Reads CPU attributes
                                                                                                                                                  • Reads runtime system information
                                                                                                                                                  PID:1717
                                                                                                                                                • /usr/lib/firefox/firefox
                                                                                                                                                  /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 25660 -prefMapSize 234708 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{9959a40b-4cd7-464e-96b0-676c4fc2800f}" 1524 true tab
                                                                                                                                                  3⤵
                                                                                                                                                  • Reads CPU attributes
                                                                                                                                                  • Enumerates kernel/hardware configuration
                                                                                                                                                  • Reads runtime system information
                                                                                                                                                  PID:1718
                                                                                                                                                • /usr/lib/firefox/firefox
                                                                                                                                                  /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 25660 -prefMapSize 234708 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{b74495d9-f6a2-4d7c-a170-a30e32efaa79}" 1524 true tab
                                                                                                                                                  3⤵
                                                                                                                                                  • Reads CPU attributes
                                                                                                                                                  • Enumerates kernel/hardware configuration
                                                                                                                                                  • Reads runtime system information
                                                                                                                                                  PID:1723
                                                                                                                                                • /usr/lib/firefox/firefox
                                                                                                                                                  /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 25660 -prefMapSize 234708 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{23c88bae-62c5-4feb-b42f-a79f1a4da1c9}" 1524 true tab
                                                                                                                                                  3⤵
                                                                                                                                                  • Reads CPU attributes
                                                                                                                                                  • Enumerates kernel/hardware configuration
                                                                                                                                                  • Reads runtime system information
                                                                                                                                                  PID:1750
                                                                                                                                            • /usr/libexec/gvfsd-fuse
                                                                                                                                              /usr/libexec/gvfsd-fuse /root/.cache/gvfs -f -o big_writes
                                                                                                                                              1⤵
                                                                                                                                                PID:1611

                                                                                                                                              Network

                                                                                                                                              MITRE ATT&CK Enterprise v15

                                                                                                                                              Replay Monitor

                                                                                                                                              Loading Replay Monitor...

                                                                                                                                              Downloads

                                                                                                                                              • /root/.cache/dconf/user

                                                                                                                                                Filesize

                                                                                                                                                2B

                                                                                                                                                MD5

                                                                                                                                                c4103f122d27677c9db144cae1394a66

                                                                                                                                                SHA1

                                                                                                                                                1489f923c4dca729178b3e3233458550d8dddf29

                                                                                                                                                SHA256

                                                                                                                                                96a296d224f285c67bee93c30f8a309157f0daa35dc5b87e410b78630a09cfc7

                                                                                                                                                SHA512

                                                                                                                                                5ea71dc6d0b4f57bf39aadd07c208c35f06cd2bac5fde210397f70de11d439c62ec1cdf3183758865fd387fcea0bada2f6c37a4a17851dd1d78fefe6f204ee54

                                                                                                                                              • /tmp/tmpaddon

                                                                                                                                                Filesize

                                                                                                                                                569KB

                                                                                                                                                MD5

                                                                                                                                                30082ae40dc48af6343db2fd22cfc645

                                                                                                                                                SHA1

                                                                                                                                                3eb577555ee638e8beb01173e8f29e172747a728

                                                                                                                                                SHA256

                                                                                                                                                85d4b95f9b2075daee9b0e64bce8d9d7343d0dda10e6072d7f9485a68472ee76

                                                                                                                                                SHA512

                                                                                                                                                53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b4580734a11cd9c