Analysis

  • max time kernel
    1798s
  • max time network
    1678s
  • 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 07:07

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:1388
      • /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:1389
        • /usr/bin/dbus-launch
          dbus-launch --autolaunch 4816dd152e8c48ff97e9117d197c13d8 --binary-syntax --close-stderr
          3⤵
            PID:1390
            • /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:1392
              • /usr/libexec/xdg-desktop-portal
                /usr/libexec/xdg-desktop-portal
                5⤵
                • Reads runtime system information
                PID:1556
              • /usr/libexec/xdg-document-portal
                /usr/libexec/xdg-document-portal
                5⤵
                • Reads runtime system information
                PID:1562
              • /usr/libexec/xdg-permission-store
                /usr/libexec/xdg-permission-store
                5⤵
                  PID:1567
                • /usr/libexec/xdg-desktop-portal-gtk
                  /usr/libexec/xdg-desktop-portal-gtk
                  5⤵
                  • Reads runtime system information
                  PID:1577
                • /usr/libexec/gvfsd
                  /usr/libexec/gvfsd
                  5⤵
                  • Reads runtime system information
                  PID:1581
                  • /usr/libexec/gvfsd-trash
                    /usr/libexec/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
                    6⤵
                      PID:1615
                  • /usr/libexec/dconf-service
                    /usr/libexec/dconf-service
                    5⤵
                    • Reads runtime system information
                    PID:1606
                  • /usr/bin/nautilus
                    /usr/bin/nautilus --gapplication-service
                    5⤵
                    • Reads CPU attributes
                    PID:1612
                  • /usr/bin/gnome-keyring-daemon
                    /usr/bin/gnome-keyring-daemon --start --foreground "--components=secrets"
                    5⤵
                      PID:1757
                    • /usr/libexec/gvfs-udisks2-volume-monitor
                      /usr/libexec/gvfs-udisks2-volume-monitor
                      5⤵
                      • Reads runtime system information
                      PID:1767
                    • /usr/libexec/gvfs-afc-volume-monitor
                      /usr/libexec/gvfs-afc-volume-monitor
                      5⤵
                      • Reads runtime system information
                      PID:1773
                    • /usr/libexec/gvfs-mtp-volume-monitor
                      /usr/libexec/gvfs-mtp-volume-monitor
                      5⤵
                      • Enumerates kernel/hardware configuration
                      PID:1779
                    • /usr/libexec/gvfs-gphoto2-volume-monitor
                      /usr/libexec/gvfs-gphoto2-volume-monitor
                      5⤵
                      • Enumerates kernel/hardware configuration
                      PID:1784
                    • /usr/libexec/gvfs-goa-volume-monitor
                      /usr/libexec/gvfs-goa-volume-monitor
                      5⤵
                        PID:1789
                      • /usr/libexec/goa-daemon
                        /usr/libexec/goa-daemon
                        5⤵
                          PID:1795
                        • /usr/libexec/goa-identity-service
                          /usr/libexec/goa-identity-service
                          5⤵
                          • Reads runtime system information
                          PID:1803
                  • /usr/bin/grep
                    grep " = \\\"xfce4\\\"\$"
                    2⤵
                      PID:1396
                    • /usr/bin/xprop
                      xprop -root _DT_SAVE_MODE
                      2⤵
                        PID:1395
                      • /usr/bin/grep
                        grep -i "^xfce_desktop_window"
                        2⤵
                          PID:1398
                        • /usr/bin/xprop
                          xprop -root
                          2⤵
                            PID:1397
                          • /usr/bin/grep
                            grep -q "^Enlightenment"
                            2⤵
                              PID:1400
                            • /usr/bin/uname
                              uname
                              2⤵
                                PID:1401
                              • /usr/bin/grep
                                grep -q "^file://"
                                2⤵
                                  PID:1403
                                • /usr/bin/egrep
                                  egrep -q "^[[:alpha:]+\\.\\-]+:"
                                  2⤵
                                    PID:1407
                                  • /usr/local/sbin/grep
                                    grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                    2⤵
                                      PID:1407
                                    • /usr/local/bin/grep
                                      grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                      2⤵
                                        PID:1407
                                      • /usr/sbin/grep
                                        grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                        2⤵
                                          PID:1407
                                        • /usr/bin/grep
                                          grep -E -q "^[[:alpha:]+\\.\\-]+:"
                                          2⤵
                                            PID:1407
                                          • /usr/bin/sed
                                            sed -n "s/\\(^[[:alnum:]+\\.-]*\\):.*\$/\\1/p"
                                            2⤵
                                              PID:1410
                                            • /usr/bin/xdg-mime
                                              xdg-mime query default x-scheme-handler/https
                                              2⤵
                                                PID:1414
                                                • /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:1415
                                                    • /usr/bin/dbus-launch
                                                      dbus-launch --autolaunch 4816dd152e8c48ff97e9117d197c13d8 --binary-syntax --close-stderr
                                                      4⤵
                                                        PID:1416
                                                    • /usr/bin/grep
                                                      grep " = \\\"xfce4\\\"\$"
                                                      3⤵
                                                        PID:1420
                                                      • /usr/bin/xprop
                                                        xprop -root _DT_SAVE_MODE
                                                        3⤵
                                                          PID:1419
                                                        • /usr/bin/grep
                                                          grep -i "^xfce_desktop_window"
                                                          3⤵
                                                            PID:1424
                                                          • /usr/bin/xprop
                                                            xprop -root
                                                            3⤵
                                                              PID:1423
                                                            • /usr/bin/grep
                                                              grep -q "^Enlightenment"
                                                              3⤵
                                                                PID:1429
                                                              • /usr/bin/uname
                                                                uname
                                                                3⤵
                                                                  PID:1431
                                                                • /usr/bin/sed
                                                                  sed "s/:/ /g"
                                                                  3⤵
                                                                    PID:1436
                                                                  • /usr/bin/cut
                                                                    cut -d ";" -f 1
                                                                    3⤵
                                                                      PID:1441
                                                                    • /usr/bin/cut
                                                                      cut -d "=" -f 2
                                                                      3⤵
                                                                        PID:1440
                                                                      • /usr/bin/head
                                                                        head -n 1
                                                                        3⤵
                                                                          PID:1439
                                                                        • /usr/bin/grep
                                                                          grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                                          3⤵
                                                                            PID:1438
                                                                          • /usr/bin/cut
                                                                            cut -d ";" -f 1
                                                                            3⤵
                                                                              PID:1451
                                                                            • /usr/bin/cut
                                                                              cut -d "=" -f 2
                                                                              3⤵
                                                                                PID:1450
                                                                              • /usr/bin/head
                                                                                head -n 1
                                                                                3⤵
                                                                                  PID:1449
                                                                                • /usr/bin/grep
                                                                                  grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                                                  3⤵
                                                                                    PID:1448
                                                                                  • /usr/bin/cut
                                                                                    cut -d ";" -f 1
                                                                                    3⤵
                                                                                      PID:1458
                                                                                    • /usr/bin/cut
                                                                                      cut -d "=" -f 2
                                                                                      3⤵
                                                                                        PID:1457
                                                                                      • /usr/bin/head
                                                                                        head -n 1
                                                                                        3⤵
                                                                                          PID:1456
                                                                                        • /usr/bin/grep
                                                                                          grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                                                          3⤵
                                                                                            PID:1455
                                                                                          • /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/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                                                                  3⤵
                                                                                                    PID:1462
                                                                                                  • /usr/bin/cut
                                                                                                    cut -d ";" -f 1
                                                                                                    3⤵
                                                                                                      PID:1472
                                                                                                    • /usr/bin/cut
                                                                                                      cut -d "=" -f 2
                                                                                                      3⤵
                                                                                                        PID:1471
                                                                                                      • /usr/bin/head
                                                                                                        head -n 1
                                                                                                        3⤵
                                                                                                          PID:1470
                                                                                                        • /usr/bin/grep
                                                                                                          grep "x-scheme-handler/https=" /usr/share//applications/defaults.list /usr/share//applications/mimeinfo.cache
                                                                                                          3⤵
                                                                                                            PID:1469
                                                                                                        • /usr/bin/sed
                                                                                                          sed "s/:/ /g"
                                                                                                          2⤵
                                                                                                            PID:1477
                                                                                                          • /usr/bin/sed
                                                                                                            sed -e "s|-|/|"
                                                                                                            2⤵
                                                                                                              PID:1482
                                                                                                            • /usr/bin/sed
                                                                                                              sed -e "s|-|/|"
                                                                                                              2⤵
                                                                                                              • Reads runtime system information
                                                                                                              PID:1487
                                                                                                            • /usr/bin/cut
                                                                                                              cut "-d=" -f 2-
                                                                                                              2⤵
                                                                                                                PID:1499
                                                                                                              • /usr/bin/which
                                                                                                                which firefox
                                                                                                                2⤵
                                                                                                                  PID:1500
                                                                                                                • /usr/bin/cut
                                                                                                                  cut "-d=" -f 2-
                                                                                                                  2⤵
                                                                                                                    PID:1503
                                                                                                                  • /usr/bin/cut
                                                                                                                    cut "-d=" -f 2-
                                                                                                                    2⤵
                                                                                                                      PID:1506
                                                                                                                    • /usr/bin/cut
                                                                                                                      cut "-d=" -f 2-
                                                                                                                      2⤵
                                                                                                                        PID:1511
                                                                                                                      • /usr/bin/firefox
                                                                                                                        /usr/bin/firefox https://raw.githubusercontent.com/rxseth/xmrig/main/linux.sh
                                                                                                                        2⤵
                                                                                                                          PID:1512
                                                                                                                          • /usr/bin/which
                                                                                                                            which /usr/bin/firefox
                                                                                                                            3⤵
                                                                                                                              PID:1513
                                                                                                                          • /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:1512
                                                                                                                            • /usr/local/sbin/dbus-launch
                                                                                                                              dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                              3⤵
                                                                                                                                PID:1517
                                                                                                                              • /usr/local/bin/dbus-launch
                                                                                                                                dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                3⤵
                                                                                                                                  PID:1517
                                                                                                                                • /usr/sbin/dbus-launch
                                                                                                                                  dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                  3⤵
                                                                                                                                    PID:1517
                                                                                                                                  • /usr/bin/dbus-launch
                                                                                                                                    dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                    3⤵
                                                                                                                                      PID:1517
                                                                                                                                    • /usr/lib/firefox/glxtest
                                                                                                                                      /usr/lib/firefox/glxtest -f 13
                                                                                                                                      3⤵
                                                                                                                                      • Enumerates kernel/hardware configuration
                                                                                                                                      • Reads runtime system information
                                                                                                                                      PID:1520
                                                                                                                                    • /usr/bin/lsb_release
                                                                                                                                      /usr/bin/lsb_release -idrc
                                                                                                                                      3⤵
                                                                                                                                        PID:1532
                                                                                                                                      • /usr/local/sbin/dbus-launch
                                                                                                                                        dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                        3⤵
                                                                                                                                          PID:1542
                                                                                                                                        • /usr/local/bin/dbus-launch
                                                                                                                                          dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                          3⤵
                                                                                                                                            PID:1542
                                                                                                                                          • /usr/sbin/dbus-launch
                                                                                                                                            dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                            3⤵
                                                                                                                                              PID:1542
                                                                                                                                            • /usr/bin/dbus-launch
                                                                                                                                              dbus-launch "--autolaunch=4816dd152e8c48ff97e9117d197c13d8" --binary-syntax --close-stderr
                                                                                                                                              3⤵
                                                                                                                                                PID:1542
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -parentBuildID 20240108143603 -prefsLen 20597 -prefMapSize 234760 -appDir /usr/lib/firefox/browser "{8f61aa7f-152b-4dee-b5d3-52cd7d6f1412}" 1512 true socket
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                                • Reads runtime system information
                                                                                                                                                PID:1554
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 20227 -prefMapSize 234760 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{4cd1ca54-1dd2-414e-85a8-5e9cfc2654b0}" 1512 true tab
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                                • Reads runtime system information
                                                                                                                                                PID:1627
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 28838 -prefMapSize 234760 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{26c26f19-1334-45ac-b7a9-953049d26424}" 1512 true tab
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                                • Reads runtime system information
                                                                                                                                                PID:1671
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -parentBuildID 20240108143603 -sandboxingKind 0 -prefsLen 29449 -prefMapSize 234760 -appDir /usr/lib/firefox/browser "{d1fedf8f-3fb8-4dd3-9df9-01aad68e5eec}" 1512 true utility
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                                PID:1699
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 25736 -prefMapSize 234760 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{3b780bde-1f49-423e-be6d-88c8bb275d42}" 1512 true tab
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                                • Reads runtime system information
                                                                                                                                                PID:1704
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 25736 -prefMapSize 234760 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{6eb5a417-7a6c-4f8f-ad04-6adbaf323551}" 1512 true tab
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Reads runtime system information
                                                                                                                                                PID:1715
                                                                                                                                              • /usr/lib/firefox/firefox
                                                                                                                                                /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 25736 -prefMapSize 234760 -jsInitLen 229864 -parentBuildID 20240108143603 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appDir /usr/lib/firefox/browser "{0bbd7969-54ed-4c3a-a6a5-a6d7623c9775}" 1512 true tab
                                                                                                                                                3⤵
                                                                                                                                                • Reads CPU attributes
                                                                                                                                                • Enumerates kernel/hardware configuration
                                                                                                                                                • Reads runtime system information
                                                                                                                                                PID:1724
                                                                                                                                          • /usr/libexec/gvfsd-fuse
                                                                                                                                            /usr/libexec/gvfsd-fuse /root/.cache/gvfs -f -o big_writes
                                                                                                                                            1⤵
                                                                                                                                              PID:1586

                                                                                                                                            Network

                                                                                                                                            MITRE ATT&CK Enterprise v15

                                                                                                                                            Replay Monitor

                                                                                                                                            Loading Replay Monitor...

                                                                                                                                            Downloads

                                                                                                                                            • /tmp/tmpaddon

                                                                                                                                              Filesize

                                                                                                                                              569KB

                                                                                                                                              MD5

                                                                                                                                              30082ae40dc48af6343db2fd22cfc645

                                                                                                                                              SHA1

                                                                                                                                              3eb577555ee638e8beb01173e8f29e172747a728

                                                                                                                                              SHA256

                                                                                                                                              85d4b95f9b2075daee9b0e64bce8d9d7343d0dda10e6072d7f9485a68472ee76

                                                                                                                                              SHA512

                                                                                                                                              53a58bfb4c8124ad4f7655b99bfdea290033a085e0796b19245b33b91c0948fdac9f0c3e817130b352493a65d9a7a0fc8a7c1eedc618cdaa2b4580734a11cd9c