Analysis

  • max time kernel
    82s
  • max time network
    1754s
  • platform
    ubuntu-22.04_amd64
  • resource
    ubuntu2204-amd64-20240522.1-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2204-amd64-20240522.1-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system
  • submitted
    14-07-2024 03:07

General

  • Target

    https://github.com/supersantapunch/xmrig-scripts/raw/main/linux.sh

Score
3/10

Malware Config

Signatures

  • Enumerates kernel/hardware configuration 1 TTPs 2 IoCs

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

  • Reads runtime system information 27 IoCs

    Reads data from /proc virtual filesystem.

Processes

  • /usr/bin/xdg-open
    xdg-open https://github.com/supersantapunch/xmrig-scripts/raw/main/linux.sh
    1⤵
      PID:1568
      • /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:1569
        • /usr/bin/dbus-launch
          dbus-launch --autolaunch f2de92a803c744e586bd87567a26b68a --binary-syntax --close-stderr
          3⤵
            PID:1570
            • /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:1572
        • /usr/bin/grep
          grep " = \\\"xfce4\\\"\$"
          2⤵
          • Reads runtime system information
          PID:1576
        • /usr/bin/xprop
          xprop -root _DT_SAVE_MODE
          2⤵
            PID:1575
          • /usr/bin/grep
            grep -i "^xfce_desktop_window"
            2⤵
            • Reads runtime system information
            PID:1578
          • /usr/bin/xprop
            xprop -root
            2⤵
              PID:1577
            • /usr/bin/grep
              grep -q "^Enlightenment"
              2⤵
              • Reads runtime system information
              PID:1580
            • /usr/bin/uname
              uname
              2⤵
                PID:1581
              • /usr/bin/grep
                grep -q "^file://"
                2⤵
                • Reads runtime system information
                PID:1583
              • /usr/bin/egrep
                egrep -q "^[[:alpha:]+\\.\\-]+:"
                2⤵
                  PID:1585
                • /usr/local/sbin/grep
                  grep -E -q "^[[:alpha:]+\\.\\-]+:"
                  2⤵
                    PID:1585
                  • /usr/local/bin/grep
                    grep -E -q "^[[:alpha:]+\\.\\-]+:"
                    2⤵
                      PID:1585
                    • /usr/sbin/grep
                      grep -E -q "^[[:alpha:]+\\.\\-]+:"
                      2⤵
                        PID:1585
                      • /usr/bin/grep
                        grep -E -q "^[[:alpha:]+\\.\\-]+:"
                        2⤵
                        • Reads runtime system information
                        PID:1585
                      • /usr/bin/sed
                        sed -n "s/\\(^[[:alnum:]+\\.-]*\\):.*\$/\\1/p"
                        2⤵
                        • Reads runtime system information
                        PID:1588
                      • /usr/bin/xdg-mime
                        xdg-mime query default x-scheme-handler/https
                        2⤵
                          PID:1589
                          • /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:1590
                            • /usr/bin/dbus-launch
                              dbus-launch --autolaunch f2de92a803c744e586bd87567a26b68a --binary-syntax --close-stderr
                              4⤵
                                PID:1591
                            • /usr/bin/grep
                              grep " = \\\"xfce4\\\"\$"
                              3⤵
                              • Reads runtime system information
                              PID:1593
                            • /usr/bin/xprop
                              xprop -root _DT_SAVE_MODE
                              3⤵
                                PID:1592
                              • /usr/bin/grep
                                grep -i "^xfce_desktop_window"
                                3⤵
                                • Reads runtime system information
                                PID:1595
                              • /usr/bin/xprop
                                xprop -root
                                3⤵
                                  PID:1594
                                • /usr/bin/grep
                                  grep -q "^Enlightenment"
                                  3⤵
                                  • Reads runtime system information
                                  PID:1597
                                • /usr/bin/uname
                                  uname
                                  3⤵
                                    PID:1598
                                  • /usr/bin/sed
                                    sed "s/:/ /g"
                                    3⤵
                                    • Reads runtime system information
                                    PID:1601
                                  • /usr/bin/cut
                                    cut -d ";" -f 1
                                    3⤵
                                      PID:1606
                                    • /usr/bin/cut
                                      cut -d "=" -f 2
                                      3⤵
                                        PID:1605
                                      • /usr/bin/head
                                        head -n 1
                                        3⤵
                                          PID:1604
                                        • /usr/bin/grep
                                          grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                          3⤵
                                          • Reads runtime system information
                                          PID:1603
                                        • /usr/bin/cut
                                          cut -d ";" -f 1
                                          3⤵
                                            PID:1611
                                          • /usr/bin/cut
                                            cut -d "=" -f 2
                                            3⤵
                                              PID:1610
                                            • /usr/bin/head
                                              head -n 1
                                              3⤵
                                                PID:1609
                                              • /usr/bin/grep
                                                grep "x-scheme-handler/https=" /.local/share/applications/defaults.list /.local/share/applications/mimeinfo.cache
                                                3⤵
                                                • Reads runtime system information
                                                PID:1608
                                              • /usr/bin/cut
                                                cut -d ";" -f 1
                                                3⤵
                                                  PID:1616
                                                • /usr/bin/cut
                                                  cut -d "=" -f 2
                                                  3⤵
                                                    PID:1615
                                                  • /usr/bin/head
                                                    head -n 1
                                                    3⤵
                                                      PID:1614
                                                    • /usr/bin/grep
                                                      grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                      3⤵
                                                      • Reads runtime system information
                                                      PID:1613
                                                    • /usr/bin/cut
                                                      cut -d ";" -f 1
                                                      3⤵
                                                        PID:1621
                                                      • /usr/bin/cut
                                                        cut -d "=" -f 2
                                                        3⤵
                                                          PID:1620
                                                        • /usr/bin/head
                                                          head -n 1
                                                          3⤵
                                                            PID:1619
                                                          • /usr/bin/grep
                                                            grep "x-scheme-handler/https=" /usr/local/share//applications/defaults.list /usr/local/share//applications/mimeinfo.cache
                                                            3⤵
                                                            • Reads runtime system information
                                                            PID:1618
                                                          • /usr/bin/cut
                                                            cut -d ";" -f 1
                                                            3⤵
                                                              PID:1626
                                                            • /usr/bin/cut
                                                              cut -d "=" -f 2
                                                              3⤵
                                                                PID:1625
                                                              • /usr/bin/head
                                                                head -n 1
                                                                3⤵
                                                                  PID:1624
                                                                • /usr/bin/grep
                                                                  grep "x-scheme-handler/https=" /usr/share//applications/defaults.list /usr/share//applications/mimeinfo.cache
                                                                  3⤵
                                                                  • Reads runtime system information
                                                                  PID:1623
                                                              • /usr/bin/sed
                                                                sed "s/:/ /g"
                                                                2⤵
                                                                • Reads runtime system information
                                                                PID:1629
                                                              • /usr/bin/sed
                                                                sed -e "s|-|/|"
                                                                2⤵
                                                                • Reads runtime system information
                                                                PID:1632
                                                              • /usr/bin/sed
                                                                sed -e "s|-|/|"
                                                                2⤵
                                                                • Reads runtime system information
                                                                PID:1635
                                                              • /usr/bin/cut
                                                                cut "-d=" -f 2-
                                                                2⤵
                                                                  PID:1640
                                                                • /usr/bin/which
                                                                  which firefox
                                                                  2⤵
                                                                    PID:1641
                                                                  • /usr/bin/cut
                                                                    cut "-d=" -f 2-
                                                                    2⤵
                                                                      PID:1644
                                                                    • /usr/bin/cut
                                                                      cut "-d=" -f 2-
                                                                      2⤵
                                                                        PID:1647
                                                                      • /usr/bin/cut
                                                                        cut "-d=" -f 2-
                                                                        2⤵
                                                                          PID:1652
                                                                        • /usr/bin/cut
                                                                          cut "-d=" -f 2-
                                                                          2⤵
                                                                            PID:1658
                                                                          • /usr/bin/firefox
                                                                            /usr/bin/firefox https://github.com/supersantapunch/xmrig-scripts/raw/main/linux.sh
                                                                            2⤵
                                                                              PID:1659

                                                                          Network

                                                                          MITRE ATT&CK Enterprise v15

                                                                          Replay Monitor

                                                                          Loading Replay Monitor...

                                                                          Downloads

                                                                          • /root/.dbus/session-bus/f2de92a803c744e586bd87567a26b68a-0

                                                                            Filesize

                                                                            465B

                                                                            MD5

                                                                            c89cd8b07d86a11e3008a7bb17656132

                                                                            SHA1

                                                                            f0c2bc7dbae50c040f5e1fed37a7ec344240e4b9

                                                                            SHA256

                                                                            0df02f45d5d05572a3bb28a6aff3c16e078c1157377c887c43095ef860185872

                                                                            SHA512

                                                                            be2a39728945e9532e3704ad2395c8ebfa92b958dff7f347a4fdd63b5d5562b08c2246e8b6e1e33a19af4509800830bfc168ee32ea6a86de5dbae942a52a6961