Analysis
-
max time kernel
8s -
platform
debian-9_armhf -
resource
debian9-armhf-20240611-en -
resource tags
arch:armhfimage:debian9-armhf-20240611-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem -
submitted
01-08-2024 06:59
Static task
static1
Behavioral task
behavioral1
Sample
7f93143f631265468b8d584aab70b897_JaffaCakes118
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
7f93143f631265468b8d584aab70b897_JaffaCakes118
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral3
Sample
7f93143f631265468b8d584aab70b897_JaffaCakes118
Resource
debian9-mipsbe-20240418-en
Behavioral task
behavioral4
Sample
7f93143f631265468b8d584aab70b897_JaffaCakes118
Resource
debian9-mipsel-20240418-en
General
-
Target
7f93143f631265468b8d584aab70b897_JaffaCakes118
-
Size
30KB
-
MD5
7f93143f631265468b8d584aab70b897
-
SHA1
32f181c3fee32fa450b0d4842eb871337a73f0b1
-
SHA256
6e022b434deca2c970d00ec6ffaf7b4ce9af89f33df6cb28b85d343e247a9268
-
SHA512
83a3f3038455d629d92c658c0d99950680379d14d72b7471447f628bfd45e2ceb7b392dce05f54fa02420915b7e27b3d1ed82381c8b54ce24c4277f58c52a93f
-
SSDEEP
768:n+78zQ5VFNcDAFLcIwgnoYq0xFBVdAw2v:nMVF+D6cIwgosz+
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.
-
Flushes firewall rules 1 IoCs
Flushes/ disables firewall rules inside the Linux kernel.
Processes:
iptablespid Process 673 iptables -
Attempts to change immutable files 24 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
Processes:
chattrchattrxargsxargsxargsxargsxargsxargschattrchattrgrepxargsxargsxargsxargsgrepxargsxargschattrchattrxargsxargsxargsxargspid Process 668 chattr 690 chattr 719 xargs 743 xargs 749 xargs 761 xargs 781 xargs 793 xargs 661 chattr 670 chattr 697 grep 707 xargs 725 xargs 774 xargs 799 xargs 701 grep 731 xargs 787 xargs 666 chattr 689 chattr 712 xargs 737 xargs 755 xargs 767 xargs -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads CPU attributes 1 TTPs 2 IoCs
Processes:
pspsdescription ioc Process File opened for reading /sys/devices/system/cpu/online ps File opened for reading /sys/devices/system/cpu/online ps -
Reads runtime system information 64 IoCs
Reads data from /proc virtual filesystem.
Processes:
pspsxargsawkawkawkawkxargsxargssudodescription ioc Process File opened for reading /proc/656/stat ps File opened for reading /proc/663/stat ps File opened for reading /proc/8/stat ps File opened for reading /proc/13/stat ps File opened for reading /proc/338/stat ps File opened for reading /proc/298/stat ps File opened for reading /proc/42/status ps File opened for reading /proc/272/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/self/maps awk File opened for reading /proc/162/status ps File opened for reading /proc/self/maps awk File opened for reading /proc/662/status ps File opened for reading /proc/271/cmdline ps File opened for reading /proc/25/cmdline ps File opened for reading /proc/104/stat ps File opened for reading /proc/268/stat ps File opened for reading /proc/206/status ps File opened for reading /proc/96/cmdline ps File opened for reading /proc/107/stat ps File opened for reading /proc/269/stat ps File opened for reading /proc/606/status ps File opened for reading /proc/654/status ps File opened for reading /proc/17/cmdline ps File opened for reading /proc/16/status ps File opened for reading /proc/19/cmdline ps File opened for reading /proc/271/stat ps File opened for reading /proc/75/cmdline ps File opened for reading /proc/43/status ps File opened for reading /proc/146/cmdline ps File opened for reading /proc/18/stat ps File opened for reading /proc/21/cmdline ps File opened for reading /proc/107/cmdline ps File opened for reading /proc/self/maps awk File opened for reading /proc/655/stat ps File opened for reading /proc/272/cmdline ps File opened for reading /proc/self/maps awk File opened for reading /proc/136/stat ps File opened for reading /proc/7/stat ps File opened for reading /proc/131/cmdline ps File opened for reading /proc/self/stat ps File opened for reading /proc/self/fd xargs File opened for reading /proc/29/stat ps File opened for reading /proc/41/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/301/stat ps File opened for reading /proc/23/stat ps File opened for reading /proc/606/cmdline ps File opened for reading /proc/642/cmdline ps File opened for reading /proc/29/status ps File opened for reading /proc/701/cmdline ps File opened for reading /proc/4/status ps File opened for reading /proc/41/status ps File opened for reading /proc/598/stat ps File opened for reading /proc/654/stat ps File opened for reading /proc/28/cmdline ps File opened for reading /proc/26/status ps File opened for reading /proc/4/cmdline ps File opened for reading /proc/5/cmdline ps File opened for reading /proc/13/stat ps File opened for reading /proc/642/status ps File opened for reading /proc/662/stat ps File opened for reading /proc/filesystems sudo File opened for reading /proc/700/cmdline ps -
Writes file to tmp directory 2 IoCs
Malware often drops required files in the /tmp directory.
Processes:
touch7f93143f631265468b8d584aab70b897_JaffaCakes118description ioc Process File opened for modification /tmp/zzza touch File opened for modification /tmp/log_rot 7f93143f631265468b8d584aab70b897_JaffaCakes118
Processes
-
/tmp/7f93143f631265468b8d584aab70b897_JaffaCakes118/tmp/7f93143f631265468b8d584aab70b897_JaffaCakes1181⤵
- Writes file to tmp directory
PID:656 -
/usr/bin/touchtouch /tmp/zzza2⤵
- Writes file to tmp directory
PID:658
-
-
/bin/rmrm -rf /var/log/syslog2⤵
- Deletes system logs
PID:659
-
-
/usr/bin/chattrchattr -iua /tmp/2⤵
- Attempts to change immutable files
PID:661
-
-
/usr/bin/chattrchattr -iua /var/tmp/2⤵
- Attempts to change immutable files
PID:666
-
-
/usr/bin/chattrchattr -R -i /var/spool/cron2⤵
- Attempts to change immutable files
PID:668
-
-
/usr/bin/chattrchattr -i /etc/crontab2⤵
- Attempts to change immutable files
PID:670
-
-
/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:673
-
-
/usr/bin/sudosudo sysctl "kernel.nmi_watchdog=0"2⤵
- Reads runtime system information
PID:679
-
-
/usr/sbin/userdeluserdel akay2⤵PID:684
-
-
/usr/sbin/userdeluserdel vfinder2⤵PID:687
-
-
/usr/bin/chattrchattr -iae /root/.ssh/2⤵
- Attempts to change immutable files
PID:689
-
-
/usr/bin/chattrchattr -iae /root/.ssh/authorized_keys2⤵
- Attempts to change immutable files
PID:690
-
-
/bin/rmrm -rf "/tmp/addres*"2⤵PID:692
-
-
/bin/rmrm -rf "/tmp/walle*"2⤵PID:693
-
-
/bin/rmrm -rf /tmp/keys2⤵PID:695
-
-
/bin/grepgrep -i "[a]liyun"2⤵
- Attempts to change immutable files
PID:697
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:696
-
-
/bin/grepgrep -i "[y]unjing"2⤵
- Attempts to change immutable files
PID:701
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:700
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:705
-
-
/bin/grepgrep 185.71.65.2382⤵PID:704
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:706
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:707
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:711
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:710
-
-
/bin/grepgrep 140.82.52.872⤵PID:709
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:712
-
-
/bin/grepgrep :1432⤵PID:715
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:716
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:717
-
-
/bin/grepgrep -v -2⤵PID:718
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:719
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:723
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:722
-
-
/bin/grepgrep :22222⤵PID:721
-
-
/bin/grepgrep -v -2⤵PID:724
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:725
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:729
-
-
/bin/grepgrep -v -2⤵PID:730
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:728
-
-
/bin/grepgrep :33332⤵PID:727
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:731
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:735
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:734
-
-
/bin/grepgrep -v -2⤵PID:736
-
-
/bin/grepgrep :33892⤵PID:733
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:737
-
-
/bin/grepgrep :44442⤵PID:739
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:740
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:741
-
-
/bin/grepgrep -v -2⤵PID:742
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:743
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:747
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:746
-
-
/bin/grepgrep -v -2⤵PID:748
-
-
/bin/grepgrep :55552⤵PID:745
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:749
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:753
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:752
-
-
/bin/grepgrep -v -2⤵PID:754
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:755
-
-
/bin/grepgrep :66662⤵PID:751
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:758
-
-
/bin/grepgrep :66652⤵PID:757
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:759
-
-
/bin/grepgrep -v -2⤵PID:760
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:761
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:765
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:764
-
-
/bin/grepgrep :66672⤵PID:763
-
-
/bin/grepgrep -v -2⤵PID:766
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:767
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:771
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:772
-
-
/bin/grepgrep -v -2⤵PID:773
-
-
/bin/grepgrep :77772⤵PID:769
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:774
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:778
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:779
-
-
/bin/grepgrep :84442⤵PID:777
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:781
-
-
/bin/grepgrep -v -2⤵PID:780
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:785
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:784
-
-
/bin/grepgrep -v -2⤵PID:786
-
-
/bin/grepgrep :33472⤵PID:783
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:787
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:790
-
-
/bin/grepgrep -v -2⤵PID:792
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:791
-
-
/bin/grepgrep :144442⤵PID:789
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:793
-
-
/bin/grepgrep -v -2⤵PID:798
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:797
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:796
-
-
/bin/grepgrep :144332⤵PID:795
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:799
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
5B
MD5727479ef7cedf30c03459bec7d87b0f0
SHA12082e7f715f058acab2398d25d135cf5f4c0ce41
SHA25629872037c9573567744ef10ed2de57864ded7554c9fa2ef03fc1244c65794ba6
SHA5124cb59d37f8481f9bb2745f494baa0910a68aad40ac2903ef1513547e091e1e772a5f9436f789ab91fcafb75b8a28c2112ede89004be41f33c01d936b542ca6ba