Analysis
-
max time kernel
153s -
max time network
156s -
platform
debian-9_armhf -
resource
debian9-armhf-20231215-en -
resource tags
arch:armhfimage:debian9-armhf-20231215-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem -
submitted
19-12-2023 23:25
Behavioral task
behavioral1
Sample
635d926cace851bef7df910d8cb5f647
Resource
debian9-armhf-20231215-en
General
-
Target
635d926cace851bef7df910d8cb5f647
-
Size
120KB
-
MD5
635d926cace851bef7df910d8cb5f647
-
SHA1
543282811f7ec6ab8743f5ab877c040b16ed9a10
-
SHA256
bba18438991935a5fb91c8f315d08792c2326b2ce19f2be117f7dab984c47bdf
-
SHA512
859bd4682e06a511961de11cfe8e4f047a2ac5f85fc388df5108c8f5e0a0af628bb81e378958a32c8606ae50110020f7b8374de06dea1eccabbe89e213415209
-
SSDEEP
3072:6X8JNZXopYyKyI/LvKtL2faYk+djHdiDI0eXaBLTRP4otGP/x:6Xs4pYy6/LKR2SrsTkDI0eXaBBxwP5
Malware Config
Signatures
-
Contacts a large (4772) amount of remote hosts 1 TTPs
This may indicate a network scan to discover remotely running services.
-
Patched UPX-packed file 1 IoCs
Sample is packed with UPX but required header fields are zeroed out to prevent unpacking with the default UPX tool.
resource yara_rule behavioral1/files/fstream-1.dat patched_upx -
Changes its process name 1 IoCs
description ioc pid Process Changes the process name, possibly in an attempt to hide itself sshd 678 635d926cace851bef7df910d8cb5f647 -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc File opened for modification /dev/watchdog File opened for modification /dev/misc/watchdog -
resource yara_rule behavioral1/files/fstream-1.dat upx -
Creates a large amount of network flows 1 TTPs
This may indicate a network scan to discover remotely running services.
-
Enumerates active TCP sockets 1 TTPs 1 IoCs
Gets active TCP sockets from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/tcp 635d926cace851bef7df910d8cb5f647 -
description ioc File opened for modification /etc/init.d/keyboard-setup.sh File opened for modification /etc/init.d/hwclock.sh File opened for modification /etc/init.d/S95baby.sh File opened for modification /etc/init.d/console-setup.sh -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc File opened for modification /sbin/watchdog File opened for modification /bin/watchdog -
Reads system network configuration 1 TTPs 2 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/raw 635d926cace851bef7df910d8cb5f647 File opened for reading /proc/net/tcp 635d926cace851bef7df910d8cb5f647 -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc File opened for modification /tmp/config
Processes
-
/tmp/635d926cace851bef7df910d8cb5f647/tmp/635d926cace851bef7df910d8cb5f6471⤵
- Changes its process name
- Enumerates active TCP sockets
- Reads system network configuration
PID:678 -
/bin/shsh -c "echo 3 > /proc/sys/vm/drop_caches"2⤵PID:679
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 58000 -j DROP"1⤵PID:691
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 58000 -j DROP2⤵PID:692
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 58000 -j DROP"1⤵PID:701
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 58000 -j DROP2⤵PID:702
-
-
/bin/shsh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer URL \"http://127.0.0.1\""1⤵PID:703
-
/bin/shsh -c "cfgtool set /mnt/jffs2/hw_ctree.xml InternetGatewayDevice.ManagementServer ConnectionRequestPassword \"acsMozi\""1⤵PID:705
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 35000 -j DROP"1⤵PID:706
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 35000 -j DROP2⤵PID:707
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 50023 -j DROP"1⤵PID:708
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 50023 -j DROP2⤵PID:709
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 50023 -j DROP"1⤵PID:711
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 50023 -j DROP2⤵PID:713
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 50159 -j ACCEPT"1⤵PID:712
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 50159 -j ACCEPT2⤵PID:714
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 35000 -j DROP"1⤵PID:715
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 35000 -j DROP2⤵PID:716
-
-
/bin/shsh -c "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"1⤵PID:717
-
/sbin/iptablesiptables -I INPUT -p tcp --destination-port 7547 -j DROP2⤵PID:718
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 50159 -j ACCEPT"1⤵PID:719
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 50159 -j ACCEPT2⤵PID:720
-
-
/bin/shsh -c "iptables -I OUTPUT -p tcp --source-port 7547 -j DROP"1⤵PID:721
-
/sbin/iptablesiptables -I OUTPUT -p tcp --source-port 7547 -j DROP2⤵PID:722
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p tcp --destination-port 50159 -j ACCEPT"1⤵PID:723
-
/sbin/iptablesiptables -I PREROUTING -t nat -p tcp --destination-port 50159 -j ACCEPT2⤵PID:724
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p tcp --source-port 50159 -j ACCEPT"1⤵PID:729
-
/sbin/iptablesiptables -I POSTROUTING -t nat -p tcp --source-port 50159 -j ACCEPT2⤵PID:730
-
-
/bin/shsh -c "iptables -I INPUT -p udp --destination-port 8082 -j ACCEPT"1⤵PID:787
-
/sbin/iptablesiptables -I INPUT -p udp --destination-port 8082 -j ACCEPT2⤵PID:788
-
-
/bin/shsh -c "iptables -I OUTPUT -p udp --source-port 8082 -j ACCEPT"1⤵PID:789
-
/sbin/iptablesiptables -I OUTPUT -p udp --source-port 8082 -j ACCEPT2⤵PID:790
-
-
/bin/shsh -c "iptables -I PREROUTING -t nat -p udp --destination-port 8082 -j ACCEPT"1⤵PID:791
-
/sbin/iptablesiptables -I PREROUTING -t nat -p udp --destination-port 8082 -j ACCEPT2⤵PID:792
-
-
/bin/shsh -c "iptables -I POSTROUTING -t nat -p udp --source-port 8082 -j ACCEPT"1⤵PID:797
-
/sbin/iptablesiptables -I POSTROUTING -t nat -p udp --source-port 8082 -j ACCEPT2⤵PID:799
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
25B
MD51b3235ba10fc04836c941d3d27301956
SHA18909655763143702430b8c58b3ae3b04cfd3a29c
SHA25601ba1fb41632594997a41d0c3a911ae5b3034d566ebb991ef76ad76e6f9e283a
SHA51298bdb5c266222ccbd63b6f80c87e501c8033dc53b0513d300b8da50e39a207a0b69f8cd3ecc4a128dec340a1186779fedd1049c9b0a70e90d2cb3ae6ebfa4c4d
-
Filesize
109B
MD518a576e4660c72d5d445c3896744f390
SHA184eb9170a0350ab5e6bcab6a82c83576be39b821
SHA2562ae465a253f97dafe16afe0c8086676c2948f95b3d03a62da288ba9c7264353a
SHA512f4bcf08b3e5f942db835c9457c80a6d79bc66bc593abf8e07721b96a78a31040ac9bc7fe66649778175e8348ba1a35af3dfadabd901313f77c893f34631aa862
-
Filesize
120KB
MD5635d926cace851bef7df910d8cb5f647
SHA1543282811f7ec6ab8743f5ab877c040b16ed9a10
SHA256bba18438991935a5fb91c8f315d08792c2326b2ce19f2be117f7dab984c47bdf
SHA512859bd4682e06a511961de11cfe8e4f047a2ac5f85fc388df5108c8f5e0a0af628bb81e378958a32c8606ae50110020f7b8374de06dea1eccabbe89e213415209