Analysis
- max time kernel
38s - max time network
6s - platform
debian-9_mips - resource
debian9-mipsbe-20240611-en - resource tags
arch:mipsimage:debian9-mipsbe-20240611-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem - 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 747 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 - 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/filesystems dpkg File opened for reading /proc/self/stat systemctl File opened for reading /proc/1/environ systemctl File opened for reading /proc/1/environ systemctl File opened for reading /proc/cmdline systemctl File opened for reading /proc/sys/kernel/ngroups_max apt-get File opened for reading /proc/self/stat systemctl File opened for reading /proc/sys/crypto/fips_enabled https File opened for reading /proc/filesystems dpkg File opened for reading /proc/self/fd apt-get File opened for reading /proc/filesystems dpkg File opened for reading /proc/filesystems systemctl File opened for reading /proc/self/fd apt-get File opened for reading /proc/filesystems mkdir File opened for reading /proc/1/environ 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/filesystems systemctl File opened for reading /proc/self/stat systemctl File opened for reading /proc/filesystems dpkg - 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.zfRunN apt-get File opened for modification /tmp/fileutl.message.Bl9huh apt-get File opened for modification /tmp/fileutl.message.gJ97hC apt-get File opened for modification /tmp/fileutl.message.c8WGIF apt-get File opened for modification /tmp/fileutl.message.DpZXWb apt-get File opened for modification /tmp/fileutl.message.mThfaz apt-get File opened for modification /tmp/fileutl.message.1yf2S0 apt-get File opened for modification /tmp/fileutl.message.WeJxRt apt-get File opened for modification /tmp/fileutl.message.ziS3Yj apt-get File opened for modification /tmp/fileutl.message.Vdyxlr apt-get File opened for modification /tmp/fileutl.message.1IuCeF apt-get -
pid Process 705 apt-get 743 apt-get
Processes
-
/tmp/680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh/tmp/680d3805bd1d4dae4ba0d9b07029b114febd2819e3eaf46ff030994b25b225d5.sh1⤵
- Modifies systemd
PID:702 -
/usr/bin/apt-getapt-get update2⤵
- Reads runtime system information
- Writes file to tmp directory
- Software Deployment Tools
PID:705 -
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:711
-
-
/usr/lib/apt/methods/http/usr/lib/apt/methods/http3⤵PID:722
-
-
/usr/lib/apt/methods/https/usr/lib/apt/methods/https3⤵PID:725
-
-
/usr/lib/apt/methods/https/usr/lib/apt/methods/https3⤵
- Reads runtime system information
PID:729
-
-
/usr/lib/apt/methods/http/usr/lib/apt/methods/http3⤵PID:733
-
-
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:736
-
-
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:742
-
-
-
/usr/bin/apt-getapt-get install -y zmap2⤵
- Reads runtime system information
- Writes file to tmp directory
- Software Deployment Tools
PID:743 -
/usr/bin/dpkg/usr/bin/dpkg --print-foreign-architectures3⤵
- Reads runtime system information
PID:744
-
-
-
/bin/mkdirmkdir -p /etc/sweet2⤵
- Reads runtime system information
PID:745
-
-
/usr/bin/wgetwget http://localhost/masjesuscan -O /etc/sweet/masjesuscan2⤵PID:746
-
-
/bin/chmodchmod +x /etc/sweet/masjesuscan2⤵
- File and Directory Permissions Modification
PID:747
-
-
/bin/catcat2⤵PID:748
-
-
/bin/rmrm scan.sh2⤵PID:749
-
-
/bin/systemctlsystemctl daemon-reload2⤵
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:750
-
-
/bin/systemctlsystemctl enable scan.service2⤵
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:751
-
-
/bin/systemctlsystemctl start scan.service2⤵
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:752
-
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
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
- Path /var/cache/apt/pkgcache.bin.0sBcKf
- Size 248B
- SHA256 dde6c2c03d2ca0235b494c37d72e62fe4e144703dac513a6982230272e900838
- MD5 ef153a658fa089373ef42f012b8de404
- SHA1 6ad2abe6d61f6fb1d2b061eb32b921c05239a69d
- SHA512 08716d74f4eec68e22d08a4bd9760356b0b8cba24b85c7956ac1ee8434344c6a2538982618bc604b8aba07a91f3b93016dc8a7233b5cc0cf69bccb17edcd768b
- MD5 SHA1 SHA512
- Path /var/cache/apt/srcpkgcache.bin.EJd53Y
- Size 24.3MB
- SHA256 d8ac455bfab80fc1fc02b73f5af8e7aec331414414c2e6c0a0401675b174067c
- MD5 f2b0e6822c08ba10387ac0708bac11f4
- SHA1 6d4c236eae6606bfd72dd9ba0565a100a6c6fa7d
- SHA512 d579c6831ee5363ac88d770e54ff0d3db12ab60108d977245ce287d004efe08797b28916881c616c8216a40d10e8c1ae450148b930a5f73a1545e5609a91d73d
- SSDEEP 196608:Bc4nXl6JXEBathkGWWzzGJ3yIDkLnijN/jV8M1:Bc4ncJXEBatGGWWziJ3lDkLniB/jz
- MD5 SHA1 SHA512 SSDEEP