Analysis

  • max time kernel
    0s
  • max time network
    1524s
  • platform
    ubuntu-24.04_amd64
  • resource
    ubuntu2404-amd64-20240523-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2404-amd64-20240523-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system
  • submitted
    19-09-2024 06:09

General

  • Target

    http://hripts/main/linux.shercontent.com/Lachine1/xmrig-scripts/main/linux.sh

Score
6/10

Malware Config

Signatures

  • Reads AppArmor ptrace settings 1 TTPs 1 IoCs

    Discovery of allowed ptrace capabilities by AppArmor.

  • Changes its process name 3 IoCs
  • Enumerates kernel/hardware configuration 1 TTPs 19 IoCs

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

  • Reads runtime system information 40 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 3 IoCs

    Adversaries may gather information about the network configuration of a system.

Processes

  • /usr/bin/firefox
    firefox -new-tab http://hripts/main/linux.shercontent.com/Lachine1/xmrig-scripts/main/linux.sh
    1⤵
    • System Network Configuration Discovery
    PID:2825
    • /usr/bin/xdg-settings
      xdg-settings get default-web-browser
      2⤵
        PID:2827
        • /usr/bin/dbus-send
          dbus-send --print-reply "--dest=org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
          3⤵
          • Reads runtime system information
          PID:2828
          • /usr/bin/dbus-launch
            dbus-launch --autolaunch 36e6eb39a6fa405996e79cad2731865d --binary-syntax --close-stderr
            4⤵
            • Reads runtime system information
            PID:2829
            • /usr/bin/dbus-daemon
              /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
              5⤵
              • Enumerates kernel/hardware configuration
              • Reads runtime system information
              PID:2831
        • /usr/bin/xprop
          xprop -root _DT_SAVE_MODE
          3⤵
            PID:2834
          • /usr/bin/grep
            grep " = \\\"xfce4\\\"\$"
            3⤵
            • Reads runtime system information
            PID:2835
          • /usr/bin/xprop
            xprop -root
            3⤵
              PID:2836
            • /usr/bin/grep
              grep -i "^xfce_desktop_window"
              3⤵
              • Reads runtime system information
              PID:2837
            • /usr/bin/grep
              grep -q "^Enlightenment"
              3⤵
              • Reads runtime system information
              PID:2839
            • /usr/bin/uname
              uname
              3⤵
                PID:2840
              • /usr/bin/xdg-mime
                xdg-mime query default x-scheme-handler/http
                3⤵
                  PID:2841
                  • /usr/bin/dbus-send
                    dbus-send --print-reply "--dest=org.freedesktop.DBus" /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
                    4⤵
                    • Reads runtime system information
                    PID:2842
                    • /usr/bin/dbus-launch
                      dbus-launch --autolaunch 36e6eb39a6fa405996e79cad2731865d --binary-syntax --close-stderr
                      5⤵
                        PID:2843
                    • /usr/bin/xprop
                      xprop -root _DT_SAVE_MODE
                      4⤵
                        PID:2844
                      • /usr/bin/grep
                        grep " = \\\"xfce4\\\"\$"
                        4⤵
                        • Reads runtime system information
                        PID:2845
                      • /usr/bin/grep
                        grep -i "^xfce_desktop_window"
                        4⤵
                        • Reads runtime system information
                        PID:2847
                      • /usr/bin/xprop
                        xprop -root
                        4⤵
                          PID:2846
                        • /usr/bin/grep
                          grep -q "^Enlightenment"
                          4⤵
                          • Reads runtime system information
                          PID:2849
                        • /usr/bin/uname
                          uname
                          4⤵
                            PID:2850
                          • /usr/bin/sed
                            sed "s/:/ /g"
                            4⤵
                            • Reads runtime system information
                            PID:2853
                          • /usr/bin/grep
                            grep "x-scheme-handler/http=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                            4⤵
                            • Reads runtime system information
                            PID:2855
                          • /usr/bin/head
                            head -n 1
                            4⤵
                              PID:2856
                            • /usr/bin/cut
                              cut -d "=" -f 2
                              4⤵
                                PID:2857
                              • /usr/bin/cut
                                cut -d ";" -f 1
                                4⤵
                                  PID:2858
                                • /usr/bin/grep
                                  grep "x-scheme-handler/http=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                  4⤵
                                  • Reads runtime system information
                                  PID:2860
                                • /usr/bin/head
                                  head -n 1
                                  4⤵
                                    PID:2861
                                  • /usr/bin/cut
                                    cut -d "=" -f 2
                                    4⤵
                                      PID:2862
                                    • /usr/bin/cut
                                      cut -d ";" -f 1
                                      4⤵
                                        PID:2863
                                      • /usr/bin/grep
                                        grep "x-scheme-handler/http=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                        4⤵
                                        • Reads runtime system information
                                        PID:2865
                                      • /usr/bin/head
                                        head -n 1
                                        4⤵
                                          PID:2866
                                        • /usr/bin/cut
                                          cut -d "=" -f 2
                                          4⤵
                                            PID:2867
                                          • /usr/bin/cut
                                            cut -d ";" -f 1
                                            4⤵
                                              PID:2868
                                            • /usr/bin/grep
                                              grep "x-scheme-handler/http=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                              4⤵
                                              • Reads runtime system information
                                              PID:2870
                                            • /usr/bin/head
                                              head -n 1
                                              4⤵
                                                PID:2871
                                              • /usr/bin/cut
                                                cut -d "=" -f 2
                                                4⤵
                                                  PID:2872
                                                • /usr/bin/cut
                                                  cut -d ";" -f 1
                                                  4⤵
                                                    PID:2873
                                                  • /usr/bin/grep
                                                    grep "x-scheme-handler/http=" /usr/share//applications/defaults.list /usr/share//applications/mimeinfo.cache
                                                    4⤵
                                                    • Reads runtime system information
                                                    PID:2875
                                                  • /usr/bin/head
                                                    head -n 1
                                                    4⤵
                                                      PID:2876
                                                    • /usr/bin/cut
                                                      cut -d "=" -f 2
                                                      4⤵
                                                        PID:2877
                                                      • /usr/bin/cut
                                                        cut -d ";" -f 1
                                                        4⤵
                                                          PID:2878
                                                        • /usr/bin/grep
                                                          grep "x-scheme-handler/http=" /usr/share//applications/defaults.list /usr/share//applications/mimeinfo.cache
                                                          4⤵
                                                          • Reads runtime system information
                                                          PID:2880
                                                        • /usr/bin/head
                                                          head -n 1
                                                          4⤵
                                                            PID:2881
                                                          • /usr/bin/cut
                                                            cut -d "=" -f 2
                                                            4⤵
                                                              PID:2882
                                                            • /usr/bin/cut
                                                              cut -d ";" -f 1
                                                              4⤵
                                                                PID:2883
                                                              • /usr/bin/sed
                                                                sed "s/:/ /g"
                                                                4⤵
                                                                • Reads runtime system information
                                                                PID:2886
                                                              • /usr/bin/grep
                                                                grep -l "x-scheme-handler/http;" "/.local/share/applications/*.desktop"
                                                                4⤵
                                                                • Reads runtime system information
                                                                PID:2888
                                                              • /usr/bin/grep
                                                                grep -l "x-scheme-handler/http;" "/usr/local/share//applications/*.desktop"
                                                                4⤵
                                                                • Reads runtime system information
                                                                PID:2890
                                                              • /usr/bin/grep
                                                                grep -l "x-scheme-handler/http;" /usr/share//applications/apport-gtk.desktop /usr/share//applications/bluetooth-sendto.desktop /usr/share//applications/display-im6.q16.desktop /usr/share//applications/gcr-prompter.desktop /usr/share//applications/gcr-viewer.desktop /usr/share//applications/geoclue-demo-agent.desktop /usr/share//applications/gkbd-keyboard-display.desktop /usr/share//applications/gnome-about-panel.desktop /usr/share//applications/gnome-applications-panel.desktop /usr/share//applications/gnome-background-panel.desktop /usr/share//applications/gnome-bluetooth-panel.desktop /usr/share//applications/gnome-color-panel.desktop /usr/share//applications/gnome-datetime-panel.desktop /usr/share//applications/gnome-disk-image-mounter.desktop /usr/share//applications/gnome-disk-image-writer.desktop /usr/share//applications/gnome-display-panel.desktop /usr/share//applications/gnome-initial-setup.desktop /usr/share//applications/gnome-keyboard-panel.desktop /usr/share//applications/gnome-language-selector.desktop /usr/share//applications/gnome-mouse-panel.desktop /usr/share//applications/gnome-multitasking-panel.desktop /usr/share//applications/gnome-network-panel.desktop /usr/share//applications/gnome-notifications-panel.desktop /usr/share//applications/gnome-online-accounts-panel.desktop /usr/share//applications/gnome-power-panel.desktop /usr/share//applications/gnome-printers-panel.desktop /usr/share//applications/gnome-privacy-panel.desktop /usr/share//applications/gnome-region-panel.desktop /usr/share//applications/gnome-search-panel.desktop /usr/share//applications/gnome-session-properties.desktop /usr/share//applications/gnome-sharing-panel.desktop /usr/share//applications/gnome-sound-panel.desktop /usr/share//applications/gnome-system-monitor-kde.desktop /usr/share//applications/gnome-system-panel.desktop /usr/share//applications/gnome-ubuntu-panel.desktop /usr/share//applications/gnome-universal-access-panel.desktop /usr/share//applications/gnome-users-panel.desktop /usr/share//applications/gnome-wacom-panel.desktop /usr/share//applications/gnome-wifi-panel.desktop /usr/share//applications/gnome-wwan-panel.desktop /usr/share//applications/hplj1020.desktop /usr/share//applications/ibus-setup-table.desktop /usr/share//applications/im-config.desktop /usr/share//applications/io.snapcraft.SessionAgent.desktop /usr/share//applications/libreoffice-calc.desktop /usr/share//applications/libreoffice-draw.desktop /usr/share//applications/libreoffice-impress.desktop /usr/share//applications/libreoffice-math.desktop /usr/share//applications/libreoffice-startcenter.desktop /usr/share//applications/libreoffice-writer.desktop /usr/share//applications/libreoffice-xsltfilter.desktop /usr/share//applications/nautilus-autorun-software.desktop /usr/share//applications/nm-applet.desktop /usr/share//applications/nm-connection-editor.desktop /usr/share//applications/org.freedesktop.IBus.Panel.Emojier.desktop /usr/share//applications/org.freedesktop.IBus.Panel.Extension.Gtk3.desktop /usr/share//applications/org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop /usr/share//applications/org.freedesktop.IBus.Setup.desktop /usr/share//applications/org.freedesktop.Xwayland.desktop /usr/share//applications/org.gnome.Calculator.desktop /usr/share//applications/org.gnome.Calendar.desktop /usr/share//applications/org.gnome.Characters.desktop /usr/share//applications/org.gnome.DejaDup.desktop /usr/share//applications/org.gnome.DiskUtility.desktop /usr/share//applications/org.gnome.Evince-previewer.desktop /usr/share//applications/org.gnome.Evince.desktop /usr/share//applications/org.gnome.Evolution-alarm-notify.desktop /usr/share//applications/org.gnome.FileRoller.desktop /usr/share//applications/org.gnome.Logs.desktop /usr/share//applications/org.gnome.Nautilus.desktop /usr/share//applications/org.gnome.OnlineAccounts.OAuth2.desktop /usr/share//applications/org.gnome.PowerStats.desktop /usr/share//applications/org.gnome.RemoteDesktop.Handover.desktop /usr/share//applications/org.gnome.Rhythmbox3.desktop /usr/share//applications/org.gnome.Rhythmbox3.device.desktop /usr/share//applications/org.gnome.Settings.desktop /usr/share//applications/org.gnome.Shell.Extensions.desktop /usr/share//applications/org.gnome.Shell.PortalHelper.desktop /usr/share//applications/org.gnome.Shell.desktop /usr/share//applications/org.gnome.Shotwell-Viewer.desktop /usr/share//applications/org.gnome.Shotwell.Auth.desktop /usr/share//applications/org.gnome.Shotwell.desktop /usr/share//applications/org.gnome.Snapshot.desktop /usr/share//applications/org.gnome.SystemMonitor.desktop /usr/share//applications/org.gnome.Tecla.desktop /usr/share//applications/org.gnome.Terminal.Preferences.desktop /usr/share//applications/org.gnome.Terminal.desktop /usr/share//applications/org.gnome.TextEditor.desktop /usr/share//applications/org.gnome.Totem.desktop /usr/share//applications/org.gnome.Zenity.desktop /usr/share//applications/org.gnome.baobab.desktop /usr/share//applications/org.gnome.clocks.desktop /usr/share//applications/org.gnome.eog.desktop /usr/share//applications/org.gnome.evolution-data-server.OAuth2-handler.desktop /usr/share//applications/org.gnome.font-viewer.desktop /usr/share//applications/org.gnome.seahorse.Application.desktop /usr/share//applications/org.remmina.Remmina-file.desktop /usr/share//applications/org.remmina.Remmina.desktop /usr/share//applications/python3.12.desktop /usr/share//applications/remmina-gnome.desktop /usr/share//applications/rygel.desktop /usr/share//applications/simple-scan.desktop /usr/share//applications/snap-handle-link.desktop /usr/share//applications/software-properties-drivers.desktop /usr/share//applications/software-properties-gtk.desktop /usr/share//applications/software-properties-livepatch.desktop /usr/share//applications/thunderbird.desktop /usr/share//applications/transmission-gtk.desktop /usr/share//applications/update-manager.desktop /usr/share//applications/usb-creator-gtk.desktop /usr/share//applications/xdg-desktop-portal-gnome.desktop /usr/share//applications/xdg-desktop-portal-gtk.desktop /usr/share//applications/yelp.desktop
                                                                4⤵
                                                                • Reads runtime system information
                                                                PID:2892
                                                          • /usr/bin/gsettings
                                                            gsettings get org.gnome.shell favorite-apps
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:2893
                                                          • /usr/bin/grep
                                                            grep -q "'firefox.desktop'"
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:2898
                                                          • /usr/bin/gsettings
                                                            gsettings get com.canonical.Unity.Launcher favorites
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:2899
                                                          • /usr/bin/grep
                                                            grep -q "'application://firefox.desktop'"
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:2901
                                                          • /usr/bin/gsettings
                                                            gsettings get org.mate.panel object-id-list
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:2902
                                                          • /usr/bin/which
                                                            which qdbus
                                                            2⤵
                                                              PID:2903
                                                          • /snap/bin/firefox
                                                            /snap/bin/firefox -new-tab http://hripts/main/linux.shercontent.com/Lachine1/xmrig-scripts/main/linux.sh
                                                            1⤵
                                                            • Reads AppArmor ptrace settings
                                                            • Enumerates kernel/hardware configuration
                                                            • Reads runtime system information
                                                            • System Network Configuration Discovery
                                                            PID:2825
                                                            • /usr/lib/snapd/snap-seccomp
                                                              /usr/lib/snapd/snap-seccomp version-info
                                                              2⤵
                                                              • Enumerates kernel/hardware configuration
                                                              PID:2910
                                                          • /usr/lib/snapd/snap-confine
                                                            /usr/lib/snapd/snap-confine --base core22 snap.firefox.firefox /usr/lib/snapd/snap-exec firefox -new-tab http://hripts/main/linux.shercontent.com/Lachine1/xmrig-scripts/main/linux.sh
                                                            1⤵
                                                            • System Network Configuration Discovery
                                                            PID:2914

                                                          Network

                                                          MITRE ATT&CK Enterprise v15

                                                          Replay Monitor

                                                          Loading Replay Monitor...

                                                          Downloads