Analysis
-
max time kernel
13s -
max time network
2s -
platform
debian-9_armhf -
resource
debian9-armhf-20240729-en -
resource tags
arch:armhfimage:debian9-armhf-20240729-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem -
submitted
15-09-2024 02:46
Behavioral task
behavioral1
Sample
e18e805087ea6f63cf907907dc1d0a08_JaffaCakes118
Resource
ubuntu1804-amd64-20240508-en
Behavioral task
behavioral2
Sample
e18e805087ea6f63cf907907dc1d0a08_JaffaCakes118
Resource
debian9-armhf-20240729-en
Behavioral task
behavioral3
Sample
e18e805087ea6f63cf907907dc1d0a08_JaffaCakes118
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral4
Sample
e18e805087ea6f63cf907907dc1d0a08_JaffaCakes118
Resource
debian9-mipsel-20240418-en
General
-
Target
e18e805087ea6f63cf907907dc1d0a08_JaffaCakes118
-
Size
64KB
-
MD5
e18e805087ea6f63cf907907dc1d0a08
-
SHA1
ebe527ca26f78e5d347f22f323ee3f11d58cd57a
-
SHA256
e1d7014b84618cd7fbf94439c78fe7d67f351cbc5536885fa3d94ea15325d83b
-
SHA512
92115775959fa27619200334a0add1a448440ae5512aded7bd55937fec1daa0964d54f2e0f881b61515270f5bb783c9d2ab5096fd452529b8af633bff0938784
-
SSDEEP
768:57kFIBuFkc2zq0xvMGd5QP5ez4Z88mqKWCgpK8d7Cuaxz5st3P/hpE90550RQKIR:KF2Lc2Xnd5QhK8dmtq7b50BIR
Malware Config
Signatures
-
Deletes system logs 1 TTPs 1 IoCs
Deletes log file which contains global system messages. Adversaries may delete system logs to minimize their footprint.
description ioc Process File deleted /var/log/syslog rm -
Flushes firewall rules 1 IoCs
Flushes/ disables firewall rules inside the Linux kernel.
pid Process 672 iptables -
Abuse Elevation Control Mechanism: Sudo and Sudo Caching 1 TTPs 1 IoCs
Abuse sudo or cached sudo credentials to execute code.
pid Process 680 sudo -
Attempts to change immutable files 28 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
pid Process 800 xargs 807 xargs 821 xargs 828 xargs 864 xargs 878 xargs 745 xargs 750 xargs 855 xargs 693 chattr 849 xargs 691 chattr 700 grep 758 xargs 835 xargs 729 xargs 734 xargs 871 xargs 772 xargs 664 chattr 705 grep 786 xargs 793 xargs 779 xargs 814 xargs 842 xargs 667 chattr 765 xargs -
Disables AppArmor 16 IoCs
Disables AppArmor security module.
pid Process 708 systemctl 708 systemctl 717 systemctl 717 systemctl 717 systemctl 708 systemctl 708 systemctl 708 systemctl 717 systemctl 717 systemctl 716 systemctl 724 systemctl 708 systemctl 720 systemctl 722 systemctl 717 systemctl -
Disables SELinux 1 IoCs
Disables SELinux security module.
pid Process 707 setenforce -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads CPU attributes 1 TTPs 9 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online sysctl File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps -
Enumerates kernel/hardware configuration 1 TTPs 8 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 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 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/sys/kernel/osrelease ps File opened for reading /proc/11/stat ps File opened for reading /proc/self/fd xargs File opened for reading /proc/10/cmdline ps File opened for reading /proc/660/status ps File opened for reading /proc/4/stat ps File opened for reading /proc/self/maps awk File opened for reading /proc/15/cmdline ps File opened for reading /proc/tty/drivers ps File opened for reading /proc/8/status ps File opened for reading /proc/2/stat ps File opened for reading /proc/43/cmdline ps File opened for reading /proc/612/status ps File opened for reading /proc/307/cmdline ps File opened for reading /proc/sys/kernel/osrelease ps File opened for reading /proc/4/stat ps File opened for reading /proc/24/status ps File opened for reading /proc/20/stat ps File opened for reading /proc/682/status ps File opened for reading /proc/41/stat ps File opened for reading /proc/15/stat ps File opened for reading /proc/658/cmdline ps File opened for reading /proc/23/stat ps File opened for reading /proc/145/status ps File opened for reading /proc/43/cmdline ps File opened for reading /proc/filesystems ps File opened for reading /proc/19/cmdline ps File opened for reading /proc/666/stat ps File opened for reading /proc/1/cmdline ps File opened for reading /proc/659/cmdline ps File opened for reading /proc/874/status ps File opened for reading /proc/316/status ps File opened for reading /proc/682/status ps File opened for reading /proc/703/cmdline ps File opened for reading /proc/41/status ps File opened for reading /proc/12/stat ps File opened for reading /proc/614/stat ps File opened for reading /proc/289/stat ps File opened for reading /proc/145/status ps File opened for reading /proc/659/status ps File opened for reading /proc/self/maps awk File opened for reading /proc/2/status ps File opened for reading /proc/594/status ps File opened for reading /proc/173/stat ps File opened for reading /proc/26/cmdline ps File opened for reading /proc/659/stat ps File opened for reading /proc/102/stat ps File opened for reading /proc/18/status ps File opened for reading /proc/21/cmdline ps File opened for reading /proc/659/cmdline ps File opened for reading /proc/356/cmdline ps File opened for reading /proc/307/stat ps File opened for reading /proc/13/status ps File opened for reading /proc/self/stat ps File opened for reading /proc/12/stat ps File opened for reading /proc/150/stat ps File opened for reading /proc/uptime ps File opened for reading /proc/22/cmdline ps File opened for reading /proc/18/status ps File opened for reading /proc/289/status ps File opened for reading /proc/732/stat ps File opened for reading /proc/self/fd xargs File opened for reading /proc/316/status ps File opened for reading /proc/20/stat ps
Processes
-
/tmp/e18e805087ea6f63cf907907dc1d0a08_JaffaCakes118/tmp/e18e805087ea6f63cf907907dc1d0a08_JaffaCakes1181⤵PID:660
-
/bin/rmrm -rf /var/log/syslog2⤵
- Deletes system logs
PID:662
-
-
/usr/bin/chattrchattr -iua /tmp/2⤵
- Attempts to change immutable files
PID:664
-
-
/usr/bin/chattrchattr -iua /var/tmp/2⤵
- Attempts to change immutable files
PID:667
-
-
/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:672
-
-
/usr/bin/sudosudo sysctl "kernel.nmi_watchdog=0"2⤵
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
PID:680
-
-
/sbin/sysctlsysctl "kernel.nmi_watchdog=0"2⤵
- Reads CPU attributes
PID:688
-
-
/usr/bin/chattrchattr -iae /root/.ssh/2⤵
- Attempts to change immutable files
PID:691
-
-
/usr/bin/chattrchattr -iae /root/.ssh/authorized_keys2⤵
- Attempts to change immutable files
PID:693
-
-
/bin/rmrm -rf "/tmp/addres*"2⤵PID:694
-
-
/bin/rmrm -rf "/tmp/walle*"2⤵PID:695
-
-
/bin/rmrm -rf /tmp/keys2⤵PID:697
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:699
-
-
/bin/grepgrep -i "[a]liyun"2⤵
- Attempts to change immutable files
PID:700
-
-
/bin/grepgrep -i "[y]unjing"2⤵
- Attempts to change immutable files
PID:705
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:704
-
-
/usr/sbin/setenforcesetenforce 02⤵
- Disables SELinux
PID:707
-
-
/usr/sbin/serviceservice apparmor stop2⤵PID:708
-
/usr/bin/basenamebasename /usr/sbin/service3⤵PID:710
-
-
/usr/bin/basenamebasename /usr/sbin/service3⤵PID:711
-
-
/bin/systemctlsystemctl --quiet is-active multi-user.target3⤵
- Enumerates kernel/hardware configuration
PID:712
-
-
/bin/sedsed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"3⤵PID:715
-
-
/bin/systemctlsystemctl list-unit-files --full "--type=socket"3⤵
- Enumerates kernel/hardware configuration
PID:714
-
-
-
/usr/local/sbin/systemctlsystemctl "--job-mode=ignore-dependencies" stop apparmor.service2⤵
- Disables AppArmor
PID:708
-
-
/usr/local/bin/systemctlsystemctl "--job-mode=ignore-dependencies" stop apparmor.service2⤵
- Disables AppArmor
PID:708
-
-
/usr/sbin/systemctlsystemctl "--job-mode=ignore-dependencies" stop apparmor.service2⤵
- Disables AppArmor
PID:708
-
-
/usr/bin/systemctlsystemctl "--job-mode=ignore-dependencies" stop apparmor.service2⤵
- Disables AppArmor
PID:708
-
-
/sbin/systemctlsystemctl "--job-mode=ignore-dependencies" stop apparmor.service2⤵
- Disables AppArmor
PID:708
-
-
/bin/systemctlsystemctl "--job-mode=ignore-dependencies" stop apparmor.service2⤵
- Disables AppArmor
- Enumerates kernel/hardware configuration
PID:708
-
-
/bin/systemctlsystemctl disable apparmor2⤵
- Disables AppArmor
- Enumerates kernel/hardware configuration
PID:716
-
-
/usr/sbin/serviceservice aliyun.service stop2⤵PID:717
-
/usr/bin/basenamebasename /usr/sbin/service3⤵PID:718
-
-
/usr/bin/basenamebasename /usr/sbin/service3⤵PID:719
-
-
/bin/systemctlsystemctl --quiet is-active multi-user.target3⤵
- Disables AppArmor
- Enumerates kernel/hardware configuration
PID:720
-
-
/bin/systemctlsystemctl list-unit-files --full "--type=socket"3⤵
- Disables AppArmor
- Enumerates kernel/hardware configuration
PID:722
-
-
/bin/sedsed -ne "s/\\.socket\\s*[a-z]*\\s*\$/.socket/p"3⤵PID:723
-
-
-
/usr/local/sbin/systemctlsystemctl "--job-mode=ignore-dependencies" stop aliyun.service.service2⤵
- Disables AppArmor
PID:717
-
-
/usr/local/bin/systemctlsystemctl "--job-mode=ignore-dependencies" stop aliyun.service.service2⤵
- Disables AppArmor
PID:717
-
-
/usr/sbin/systemctlsystemctl "--job-mode=ignore-dependencies" stop aliyun.service.service2⤵
- Disables AppArmor
PID:717
-
-
/usr/bin/systemctlsystemctl "--job-mode=ignore-dependencies" stop aliyun.service.service2⤵
- Disables AppArmor
PID:717
-
-
/sbin/systemctlsystemctl "--job-mode=ignore-dependencies" stop aliyun.service.service2⤵
- Disables AppArmor
PID:717
-
-
/bin/systemctlsystemctl "--job-mode=ignore-dependencies" stop aliyun.service.service2⤵
- Disables AppArmor
- Enumerates kernel/hardware configuration
PID:717
-
-
/bin/systemctlsystemctl disable aliyun.service2⤵
- Disables AppArmor
- Enumerates kernel/hardware configuration
PID:724
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:725
-
-
/bin/grepgrep -v grep2⤵PID:726
-
-
/bin/grepgrep aegis2⤵PID:727
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:728
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:729
-
-
/bin/grepgrep -v grep2⤵PID:731
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:730
-
-
/bin/grepgrep Yun2⤵PID:732
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:733
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:734
-
-
/bin/rmrm -rf /usr/local/aegis2⤵PID:737
-
-
/bin/mkdirmkdir /usr/share -p2⤵PID:738
-
-
/bin/grepgrep 185.71.65.2382⤵PID:742
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:743
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:744
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:745
-
-
/bin/grepgrep 140.82.52.872⤵PID:747
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:749
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:748
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:750
-
-
/bin/grepgrep :4432⤵PID:754
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:755
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:756
-
-
/bin/grepgrep -v -2⤵PID:757
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:758
-
-
/bin/grepgrep :232⤵PID:761
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:762
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:763
-
-
/bin/grepgrep -v -2⤵PID:764
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:765
-
-
/bin/grepgrep :4432⤵PID:768
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:769
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:770
-
-
/bin/grepgrep -v -2⤵PID:771
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:772
-
-
/bin/grepgrep :1432⤵PID:775
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:776
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:777
-
-
/bin/grepgrep -v -2⤵PID:778
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:779
-
-
/bin/grepgrep :22222⤵PID:782
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:783
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:784
-
-
/bin/grepgrep -v -2⤵PID:785
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:786
-
-
/bin/grepgrep :33332⤵PID:789
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:790
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:791
-
-
/bin/grepgrep -v -2⤵PID:792
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:793
-
-
/bin/grepgrep :33892⤵PID:796
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:797
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:798
-
-
/bin/grepgrep -v -2⤵PID:799
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:800
-
-
/bin/grepgrep :55552⤵PID:803
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:804
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:805
-
-
/bin/grepgrep -v -2⤵PID:806
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:807
-
-
/bin/grepgrep :66662⤵PID:810
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:811
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:812
-
-
/bin/grepgrep -v -2⤵PID:813
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:814
-
-
/bin/grepgrep :66652⤵PID:817
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:819
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:818
-
-
/bin/grepgrep -v -2⤵PID:820
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:821
-
-
/bin/grepgrep :66672⤵PID:824
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:825
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:826
-
-
/bin/grepgrep -v -2⤵PID:827
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:828
-
-
/bin/grepgrep :77772⤵PID:831
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:832
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:833
-
-
/bin/grepgrep -v -2⤵PID:834
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:835
-
-
/bin/grepgrep :84442⤵PID:838
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:839
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:840
-
-
/bin/grepgrep -v -2⤵PID:841
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:842
-
-
/bin/grepgrep :33472⤵PID:845
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:846
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:847
-
-
/bin/grepgrep -v -2⤵PID:848
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:849
-
-
/bin/grepgrep -v grep2⤵PID:852
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:851
-
-
/bin/grepgrep :33332⤵PID:853
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:854
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:855
-
-
/bin/grepgrep -v grep2⤵PID:860
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:859
-
-
/bin/grepgrep :55552⤵PID:861
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:862
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:864
-
-
/bin/grepgrep -v grep2⤵PID:868
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:867
-
-
/bin/grepgrep "kworker -c\\"2⤵PID:869
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:870
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:871
-
-
/bin/grepgrep -v grep2⤵PID:875
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:874
-
-
/bin/grepgrep log_2⤵PID:876
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:877
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:878
-