Analysis

  • max time kernel
    16s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    26/10/2024, 09:27

General

  • Target
    lr.sh
  • Size 1KB
  • Sample241026-le3yyasfpb
  • SHA256 33b79924e996553a4fccbf4a2041a273ee996fed01889d70e5f51b5a41c8d8ac
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • Creates/modifies Cron job 1 TTPs 1 IoCs

    Cron allows running tasks on a schedule, and is commonly used for malware persistence.

  • Enumerates running processes

    Discovers information about currently running processes on the system

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

    Reads data from /proc virtual filesystem.

Processes

  • /tmp/lr.sh
    /tmp/lr.sh
    1⤵
      PID:668
      • /usr/bin/pkill
        pkill -9 -f mysqldd
        2⤵
        • Reads CPU attributes
        PID:669
      • /usr/bin/pkill
        pkill -9 -f monero
        2⤵
        • Reads CPU attributes
        PID:672
      • /usr/bin/pkill
        pkill -9 -f kinsing
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:680
      • /usr/bin/pkill
        pkill -9 -f sshpass
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:684
      • /usr/bin/pkill
        pkill -9 -f sshexec
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:689
      • /usr/bin/pkill
        pkill -9 -f cnrig
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:693
      • /usr/bin/pkill
        pkill -9 -f attack
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:695
      • /usr/bin/pkill
        pkill -9 -f dovecat
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:697
      • /usr/bin/pkill
        pkill -9 -f donate
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:699
      • /usr/bin/pkill
        pkill -9 -f xmr-stak
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:702
      • /usr/bin/pkill
        pkill -9 -f crond64
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:704
      • /usr/bin/pkill
        pkill -9 -f stratum
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:705
      • /usr/bin/pkill
        pkill -9 -f /tmp/java
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:707
      • /usr/bin/pkill
        pkill -9 -f /tmp/system
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:708
      • /usr/bin/pkill
        pkill -9 -f excludefile
        2⤵
        • Reads CPU attributes
        PID:709
      • /usr/bin/pkill
        pkill -9 -f agettyd
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:710
      • /usr/bin/pkill
        pkill -9 -f /dev/shm
        2⤵
        • Reads CPU attributes
        PID:711
      • /usr/bin/pkill
        pkill -9 -f /var/tmp
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:712
      • /usr/bin/pkill
        pkill -9 pnscan
        2⤵
        • Reads CPU attributes
        PID:713
      • /usr/bin/pkill
        pkill -9 masscan
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:714
      • /usr/bin/pkill
        pkill -9 ladaras
        2⤵
        • Reads CPU attributes
        PID:715
      • /usr/bin/pkill
        pkill -9 kthgado
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:716
      • /usr/bin/pkill
        pkill -9 kdevtmpfsi
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:717
      • /usr/bin/pkill
        pkill -9 solrd
        2⤵
        • Reads CPU attributes
        PID:718
      • /usr/bin/pkill
        pkill -9 meminitsrv
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:721
      • /usr/bin/pkill
        pkill -9 networkservice
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:723
      • /usr/bin/pkill
        pkill -9 sysupdate
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:725
      • /usr/bin/pkill
        pkill -9 phpguard
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:727
      • /usr/bin/pkill
        pkill -9 phpupdate
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:729
      • /usr/bin/pkill
        pkill -9 networkmanager
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:732
      • /usr/bin/pkill
        pkill -9 knthread
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:734
      • /usr/bin/pkill
        pkill -9 mysqlserver
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:736
      • /usr/bin/pkill
        pkill -9 watchbog
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:741
      • /usr/bin/pkill
        pkill -9 xmrig
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:743
      • /usr/bin/pkill
        pkill -9 bashirc
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:745
      • /usr/bin/pkill
        pkill -9 zgrab
        2⤵
        • Reads CPU attributes
        • Reads runtime system information
        PID:747
      • /usr/bin/killall
        killall -9 /tmp/lr.sh /tmp/systemd-private-66fb0596873243b6a8b63dce4a4ab928-systemd-timedated.service-wZw0jA
        2⤵
        • Reads runtime system information
        PID:750
      • /usr/bin/killall
        killall -9 /var/tmp/systemd-private-66fb0596873243b6a8b63dce4a4ab928-systemd-timedated.service-GtDIvc
        2⤵
        • Reads runtime system information
        PID:752
      • /bin/grep
        grep -v grep
        2⤵
          PID:756
        • /bin/grep
          grep -e cuRBc3hn
          2⤵
            PID:755
          • /usr/bin/crontab
            crontab -l
            2⤵
              PID:754
            • /usr/bin/crontab
              crontab -
              2⤵
              • Creates/modifies Cron job
              PID:759
            • /usr/bin/crontab
              crontab -l
              2⤵
                PID:760
              • /bin/ls
                ls /proc
                2⤵
                  PID:763
                • /bin/grep
                  grep "[0-9]"
                  2⤵
                    PID:764
                  • /bin/grep
                    grep kthmimu
                    2⤵
                      PID:767
                    • /bin/ls
                      ls -al /proc/1
                      2⤵
                        PID:766
                      • /bin/grep
                        grep -a donate /proc/1/exe
                        2⤵
                          PID:768
                        • /bin/grep
                          grep "/var/tmp\\|/tmp"
                          2⤵
                            PID:773
                          • /bin/grep
                            grep exe
                            2⤵
                              PID:772
                            • /bin/ls
                              ls -al /proc/1
                              2⤵
                                PID:771
                              • /bin/grep
                                grep kthmimu
                                2⤵
                                  PID:775
                                • /bin/ls
                                  ls -al /proc/10
                                  2⤵
                                    PID:774
                                  • /bin/grep
                                    grep -a donate /proc/10/exe
                                    2⤵
                                      PID:778
                                    • /bin/grep
                                      grep "/var/tmp\\|/tmp"
                                      2⤵
                                        PID:781
                                      • /bin/grep
                                        grep exe
                                        2⤵
                                          PID:780
                                        • /bin/ls
                                          ls -al /proc/10
                                          2⤵
                                            PID:779
                                          • /bin/grep
                                            grep kthmimu
                                            2⤵
                                              PID:784
                                            • /bin/ls
                                              ls -al /proc/101
                                              2⤵
                                                PID:783
                                              • /bin/grep
                                                grep -a donate /proc/101/exe
                                                2⤵
                                                  PID:786
                                                • /bin/grep
                                                  grep "/var/tmp\\|/tmp"
                                                  2⤵
                                                    PID:789
                                                  • /bin/grep
                                                    grep exe
                                                    2⤵
                                                      PID:788
                                                    • /bin/ls
                                                      ls -al /proc/101
                                                      2⤵
                                                        PID:787
                                                      • /bin/grep
                                                        grep kthmimu
                                                        2⤵
                                                          PID:792
                                                        • /bin/ls
                                                          ls -al /proc/109
                                                          2⤵
                                                            PID:791
                                                          • /bin/grep
                                                            grep -a donate /proc/109/exe
                                                            2⤵
                                                              PID:796
                                                            • /bin/grep
                                                              grep "/var/tmp\\|/tmp"
                                                              2⤵
                                                                PID:800
                                                              • /bin/grep
                                                                grep exe
                                                                2⤵
                                                                  PID:799
                                                                • /bin/ls
                                                                  ls -al /proc/109
                                                                  2⤵
                                                                    PID:798
                                                                  • /bin/grep
                                                                    grep kthmimu
                                                                    2⤵
                                                                      PID:804
                                                                    • /bin/ls
                                                                      ls -al /proc/11
                                                                      2⤵
                                                                        PID:803
                                                                      • /bin/grep
                                                                        grep -a donate /proc/11/exe
                                                                        2⤵
                                                                          PID:808
                                                                        • /bin/grep
                                                                          grep "/var/tmp\\|/tmp"
                                                                          2⤵
                                                                            PID:811
                                                                          • /bin/grep
                                                                            grep exe
                                                                            2⤵
                                                                              PID:810
                                                                            • /bin/ls
                                                                              ls -al /proc/11
                                                                              2⤵
                                                                                PID:809
                                                                              • /bin/grep
                                                                                grep kthmimu
                                                                                2⤵
                                                                                  PID:814
                                                                                • /bin/ls
                                                                                  ls -al /proc/111
                                                                                  2⤵
                                                                                    PID:813
                                                                                  • /bin/grep
                                                                                    grep -a donate /proc/111/exe
                                                                                    2⤵
                                                                                      PID:816
                                                                                    • /bin/grep
                                                                                      grep "/var/tmp\\|/tmp"
                                                                                      2⤵
                                                                                        PID:819
                                                                                      • /bin/grep
                                                                                        grep exe
                                                                                        2⤵
                                                                                          PID:818
                                                                                        • /bin/ls
                                                                                          ls -al /proc/111
                                                                                          2⤵
                                                                                            PID:817
                                                                                          • /bin/grep
                                                                                            grep kthmimu
                                                                                            2⤵
                                                                                              PID:823
                                                                                            • /bin/ls
                                                                                              ls -al /proc/112
                                                                                              2⤵
                                                                                                PID:822
                                                                                              • /bin/grep
                                                                                                grep -a donate /proc/112/exe
                                                                                                2⤵
                                                                                                  PID:825
                                                                                                • /bin/grep
                                                                                                  grep "/var/tmp\\|/tmp"
                                                                                                  2⤵
                                                                                                    PID:828
                                                                                                  • /bin/grep
                                                                                                    grep exe
                                                                                                    2⤵
                                                                                                      PID:827
                                                                                                    • /bin/ls
                                                                                                      ls -al /proc/112
                                                                                                      2⤵
                                                                                                        PID:826
                                                                                                      • /bin/grep
                                                                                                        grep kthmimu
                                                                                                        2⤵
                                                                                                          PID:831
                                                                                                        • /bin/ls
                                                                                                          ls -al /proc/12
                                                                                                          2⤵
                                                                                                            PID:830
                                                                                                          • /bin/grep
                                                                                                            grep -a donate /proc/12/exe
                                                                                                            2⤵
                                                                                                              PID:832
                                                                                                            • /bin/grep
                                                                                                              grep "/var/tmp\\|/tmp"
                                                                                                              2⤵
                                                                                                                PID:836
                                                                                                              • /bin/grep
                                                                                                                grep exe
                                                                                                                2⤵
                                                                                                                  PID:835
                                                                                                                • /bin/ls
                                                                                                                  ls -al /proc/12
                                                                                                                  2⤵
                                                                                                                    PID:834
                                                                                                                  • /bin/grep
                                                                                                                    grep kthmimu
                                                                                                                    2⤵
                                                                                                                      PID:838
                                                                                                                    • /bin/ls
                                                                                                                      ls -al /proc/13
                                                                                                                      2⤵
                                                                                                                        PID:837
                                                                                                                      • /bin/grep
                                                                                                                        grep -a donate /proc/13/exe
                                                                                                                        2⤵
                                                                                                                          PID:839
                                                                                                                        • /bin/grep
                                                                                                                          grep "/var/tmp\\|/tmp"
                                                                                                                          2⤵
                                                                                                                            PID:842
                                                                                                                          • /bin/grep
                                                                                                                            grep exe
                                                                                                                            2⤵
                                                                                                                              PID:841
                                                                                                                            • /bin/ls
                                                                                                                              ls -al /proc/13
                                                                                                                              2⤵
                                                                                                                              • Reads runtime system information
                                                                                                                              PID:840
                                                                                                                            • /bin/grep
                                                                                                                              grep kthmimu
                                                                                                                              2⤵
                                                                                                                                PID:844
                                                                                                                              • /bin/ls
                                                                                                                                ls -al /proc/14
                                                                                                                                2⤵
                                                                                                                                  PID:843
                                                                                                                                • /bin/grep
                                                                                                                                  grep -a donate /proc/14/exe
                                                                                                                                  2⤵
                                                                                                                                    PID:845
                                                                                                                                  • /bin/ls
                                                                                                                                    ls -al /proc/14
                                                                                                                                    2⤵
                                                                                                                                      PID:846
                                                                                                                                    • /bin/grep
                                                                                                                                      grep "/var/tmp\\|/tmp"
                                                                                                                                      2⤵
                                                                                                                                        PID:848
                                                                                                                                      • /bin/grep
                                                                                                                                        grep exe
                                                                                                                                        2⤵
                                                                                                                                          PID:847
                                                                                                                                        • /bin/grep
                                                                                                                                          grep kthmimu
                                                                                                                                          2⤵
                                                                                                                                            PID:850
                                                                                                                                          • /bin/ls
                                                                                                                                            ls -al /proc/142
                                                                                                                                            2⤵
                                                                                                                                              PID:849
                                                                                                                                            • /bin/grep
                                                                                                                                              grep -a donate /proc/142/exe
                                                                                                                                              2⤵
                                                                                                                                                PID:851
                                                                                                                                              • /bin/grep
                                                                                                                                                grep "/var/tmp\\|/tmp"
                                                                                                                                                2⤵
                                                                                                                                                  PID:854
                                                                                                                                                • /bin/grep
                                                                                                                                                  grep exe
                                                                                                                                                  2⤵
                                                                                                                                                    PID:853
                                                                                                                                                  • /bin/ls
                                                                                                                                                    ls -al /proc/142
                                                                                                                                                    2⤵
                                                                                                                                                      PID:852
                                                                                                                                                    • /bin/grep
                                                                                                                                                      grep kthmimu
                                                                                                                                                      2⤵
                                                                                                                                                        PID:856
                                                                                                                                                      • /bin/ls
                                                                                                                                                        ls -al /proc/145
                                                                                                                                                        2⤵
                                                                                                                                                          PID:855
                                                                                                                                                        • /bin/grep
                                                                                                                                                          grep -a donate /proc/145/exe
                                                                                                                                                          2⤵
                                                                                                                                                            PID:857
                                                                                                                                                          • /bin/grep
                                                                                                                                                            grep "/var/tmp\\|/tmp"
                                                                                                                                                            2⤵
                                                                                                                                                              PID:860
                                                                                                                                                            • /bin/grep
                                                                                                                                                              grep exe
                                                                                                                                                              2⤵
                                                                                                                                                                PID:859
                                                                                                                                                              • /bin/ls
                                                                                                                                                                ls -al /proc/145
                                                                                                                                                                2⤵
                                                                                                                                                                  PID:858
                                                                                                                                                                • /bin/grep
                                                                                                                                                                  grep kthmimu
                                                                                                                                                                  2⤵
                                                                                                                                                                    PID:862
                                                                                                                                                                  • /bin/ls
                                                                                                                                                                    ls -al /proc/149
                                                                                                                                                                    2⤵
                                                                                                                                                                    • Reads runtime system information
                                                                                                                                                                    PID:861
                                                                                                                                                                  • /bin/grep
                                                                                                                                                                    grep -a donate /proc/149/exe
                                                                                                                                                                    2⤵
                                                                                                                                                                      PID:863
                                                                                                                                                                    • /bin/grep
                                                                                                                                                                      grep "/var/tmp\\|/tmp"
                                                                                                                                                                      2⤵
                                                                                                                                                                        PID:866
                                                                                                                                                                      • /bin/grep
                                                                                                                                                                        grep exe
                                                                                                                                                                        2⤵
                                                                                                                                                                          PID:865
                                                                                                                                                                        • /bin/ls
                                                                                                                                                                          ls -al /proc/149
                                                                                                                                                                          2⤵
                                                                                                                                                                            PID:864
                                                                                                                                                                          • /bin/grep
                                                                                                                                                                            grep kthmimu
                                                                                                                                                                            2⤵
                                                                                                                                                                              PID:869
                                                                                                                                                                            • /bin/ls
                                                                                                                                                                              ls -al /proc/15
                                                                                                                                                                              2⤵
                                                                                                                                                                                PID:868
                                                                                                                                                                              • /bin/grep
                                                                                                                                                                                grep -a donate /proc/15/exe
                                                                                                                                                                                2⤵
                                                                                                                                                                                  PID:872
                                                                                                                                                                                • /bin/grep
                                                                                                                                                                                  grep "/var/tmp\\|/tmp"
                                                                                                                                                                                  2⤵
                                                                                                                                                                                    PID:876
                                                                                                                                                                                  • /bin/grep
                                                                                                                                                                                    grep exe
                                                                                                                                                                                    2⤵
                                                                                                                                                                                      PID:875
                                                                                                                                                                                    • /bin/ls
                                                                                                                                                                                      ls -al /proc/15
                                                                                                                                                                                      2⤵
                                                                                                                                                                                        PID:874
                                                                                                                                                                                      • /bin/grep
                                                                                                                                                                                        grep kthmimu
                                                                                                                                                                                        2⤵
                                                                                                                                                                                          PID:879
                                                                                                                                                                                        • /bin/ls
                                                                                                                                                                                          ls -al /proc/152
                                                                                                                                                                                          2⤵
                                                                                                                                                                                            PID:878
                                                                                                                                                                                          • /bin/grep
                                                                                                                                                                                            grep -a donate /proc/152/exe
                                                                                                                                                                                            2⤵
                                                                                                                                                                                              PID:881
                                                                                                                                                                                            • /bin/grep
                                                                                                                                                                                              grep "/var/tmp\\|/tmp"
                                                                                                                                                                                              2⤵
                                                                                                                                                                                                PID:884
                                                                                                                                                                                              • /bin/grep
                                                                                                                                                                                                grep exe
                                                                                                                                                                                                2⤵
                                                                                                                                                                                                  PID:883
                                                                                                                                                                                                • /bin/ls
                                                                                                                                                                                                  ls -al /proc/152
                                                                                                                                                                                                  2⤵
                                                                                                                                                                                                    PID:882
                                                                                                                                                                                                  • /bin/grep
                                                                                                                                                                                                    grep kthmimu
                                                                                                                                                                                                    2⤵
                                                                                                                                                                                                      PID:887
                                                                                                                                                                                                    • /bin/ls
                                                                                                                                                                                                      ls -al /proc/16
                                                                                                                                                                                                      2⤵
                                                                                                                                                                                                        PID:886
                                                                                                                                                                                                      • /bin/grep
                                                                                                                                                                                                        grep -a donate /proc/16/exe
                                                                                                                                                                                                        2⤵
                                                                                                                                                                                                          PID:889

                                                                                                                                                                                                      Network

                                                                                                                                                                                                            MITRE ATT&CK Enterprise v15

                                                                                                                                                                                                            Replay Monitor

                                                                                                                                                                                                            Loading Replay Monitor...

                                                                                                                                                                                                            Downloads

                                                                                                                                                                                                            tmp.iFzKuX

                                                                                                                                                                                                            • Path /var/spool/cron/crontabs/tmp.iFzKuX
                                                                                                                                                                                                            • Size 237B
                                                                                                                                                                                                            • SHA256 306db3651fe775f5cddfc586d19c9629b8b8ef7061b535ae150fdb4d26879e87
                                                                                                                                                                                                            • MD5 SHA1 SHA512