Analysis
-
max time kernel
6s -
platform
debian-9_armhf -
resource
debian9-armhf-20240418-en -
resource tags
arch:armhfimage:debian9-armhf-20240418-enkernel:4.9.0-13-armmp-lpaelocale:en-usos:debian-9-armhfsystem -
submitted
04-07-2024 09:43
Static task
static1
Behavioral task
behavioral1
Sample
257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118
Resource
debian9-armhf-20240418-en
Behavioral task
behavioral3
Sample
257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118
Resource
debian9-mipsbe-20240418-en
Behavioral task
behavioral4
Sample
257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118
Resource
debian9-mipsel-20240611-en
General
-
Target
257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118
-
Size
30KB
-
MD5
257c6ea365b6ca33dd34c90584ed88bb
-
SHA1
655704ef149ea4a9667089442209854460c4c78f
-
SHA256
f73852da62dd7d56a74a82144a5cfd694201fca36a7b86888f1a8f069f6b3492
-
SHA512
c2a38716ee954f0dd6bc143168950a5f2c8ea180bad6a968f86c837bd7c25487de8c427c5e086f433f09ca805d9bb8deb9e1f000f610748999e2c62d3a095afd
-
SSDEEP
384:p7pQBDf6jlpTWg3vMGQiirhHwMyGj4CC9vEKMvU/4Qdre21jT58vKpG2Y0orcfKe:p78zQ5VFNcDAFLcIwgnoYq0xFBVZHtln
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 657 iptables -
Attempts to change immutable files 20 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
Processes:
xargschattrchattrgrepxargsxargsxargsxargsxargsxargsxargsxargschattrchattrchattrgrepchattrxargsxargsxargspid Process 738 xargs 645 chattr 648 chattr 686 grep 714 xargs 702 xargs 708 xargs 762 xargs 696 xargs 726 xargs 750 xargs 756 xargs 654 chattr 677 chattr 678 chattr 690 grep 653 chattr 720 xargs 732 xargs 744 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:
pspssudoawkawkdescription ioc Process File opened for reading /proc/13/status ps File opened for reading /proc/20/status ps File opened for reading /proc/28/cmdline ps File opened for reading /proc/643/status ps File opened for reading /proc/688/cmdline ps File opened for reading /proc/7/stat ps File opened for reading /proc/290/cmdline ps File opened for reading /proc/318/stat ps File opened for reading /proc/25/status ps File opened for reading /proc/29/cmdline ps File opened for reading /proc/304/status ps File opened for reading /proc/642/status ps File opened for reading /proc/16/status ps File opened for reading /proc/8/cmdline ps File opened for reading /proc/9/cmdline ps File opened for reading /proc/29/status ps File opened for reading /proc/113/status ps File opened for reading /proc/267/status ps File opened for reading /proc/24/stat ps File opened for reading /proc/112/stat ps File opened for reading /proc/6/stat ps File opened for reading /proc/643/stat ps File opened for reading /proc/640/stat ps File opened for reading /proc/20/stat ps File opened for reading /proc/10/cmdline ps File opened for reading /proc/9/status ps File opened for reading /proc/12/status ps File opened for reading /proc/16/stat ps File opened for reading /proc/tty/drivers ps File opened for reading /proc/590/status ps File opened for reading /proc/21/stat ps File opened for reading /proc/25/status ps File opened for reading /proc/675/stat ps File opened for reading /proc/uptime ps File opened for reading /proc/22/status ps File opened for reading /proc/15/stat ps File opened for reading /proc/317/status ps File opened for reading /proc/597/stat ps File opened for reading /proc/filesystems sudo File opened for reading /proc/28/cmdline ps File opened for reading /proc/19/cmdline ps File opened for reading /proc/641/status ps File opened for reading /proc/9/stat ps File opened for reading /proc/22/stat ps File opened for reading /proc/269/stat ps File opened for reading /proc/317/stat ps File opened for reading /proc/23/status ps File opened for reading /proc/110/status ps File opened for reading /proc/143/cmdline ps File opened for reading /proc/43/status ps File opened for reading /proc/113/cmdline ps File opened for reading /proc/113/status ps File opened for reading /proc/13/cmdline ps File opened for reading /proc/24/status ps File opened for reading /proc/27/status ps File opened for reading /proc/577/cmdline ps File opened for reading /proc/641/stat ps File opened for reading /proc/1/stat ps File opened for reading /proc/166/stat ps File opened for reading /proc/self/maps awk File opened for reading /proc/self/maps awk File opened for reading /proc/sys/kernel/osrelease ps File opened for reading /proc/143/stat ps File opened for reading /proc/152/stat ps -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
Processes:
257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118description ioc Process File opened for modification /tmp/log_rot 257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118
Processes
-
/tmp/257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes118/tmp/257c6ea365b6ca33dd34c90584ed88bb_JaffaCakes1181⤵
- Writes file to tmp directory
PID:643 -
/bin/rmrm -rf /var/log/syslog2⤵
- Deletes system logs
PID:644
-
-
/usr/bin/chattrchattr -iua /tmp/2⤵
- Attempts to change immutable files
PID:645
-
-
/usr/bin/chattrchattr -iua /var/tmp/2⤵
- Attempts to change immutable files
PID:648
-
-
/usr/bin/chattrchattr -R -i /var/spool/cron2⤵
- Attempts to change immutable files
PID:653
-
-
/usr/bin/chattrchattr -i /etc/crontab2⤵
- Attempts to change immutable files
PID:654
-
-
/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:657
-
-
/usr/bin/sudosudo sysctl "kernel.nmi_watchdog=0"2⤵
- Reads runtime system information
PID:664
-
-
/usr/sbin/userdeluserdel akay2⤵PID:669
-
-
/usr/sbin/userdeluserdel vfinder2⤵PID:673
-
-
/usr/bin/chattrchattr -iae /root/.ssh/2⤵
- Attempts to change immutable files
PID:677
-
-
/usr/bin/chattrchattr -iae /root/.ssh/authorized_keys2⤵
- Attempts to change immutable files
PID:678
-
-
/bin/rmrm -rf "/tmp/addres*"2⤵PID:681
-
-
/bin/rmrm -rf "/tmp/walle*"2⤵PID:682
-
-
/bin/rmrm -rf /tmp/keys2⤵PID:683
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:684
-
-
/bin/grepgrep -i "[a]liyun"2⤵
- Attempts to change immutable files
PID:686
-
-
/bin/grepgrep -i "[y]unjing"2⤵
- Attempts to change immutable files
PID:690
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:689
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:694
-
-
/bin/grepgrep 185.71.65.2382⤵PID:693
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:695
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:696
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:702
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:701
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:700
-
-
/bin/grepgrep 140.82.52.872⤵PID:699
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:708
-
-
/bin/grepgrep -v -2⤵PID:707
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:706
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:705
-
-
/bin/grepgrep :1432⤵PID:704
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:714
-
-
/bin/grepgrep -v -2⤵PID:713
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:712
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:711
-
-
/bin/grepgrep :22222⤵PID:710
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:720
-
-
/bin/grepgrep -v -2⤵PID:719
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:718
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:717
-
-
/bin/grepgrep :33332⤵PID:716
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:726
-
-
/bin/grepgrep -v -2⤵PID:725
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:724
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:723
-
-
/bin/grepgrep :33892⤵PID:722
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:732
-
-
/bin/grepgrep -v -2⤵PID:731
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:730
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:729
-
-
/bin/grepgrep :44442⤵PID:728
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:738
-
-
/bin/grepgrep -v -2⤵PID:737
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:736
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:735
-
-
/bin/grepgrep :55552⤵PID:734
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:744
-
-
/bin/grepgrep -v -2⤵PID:743
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:742
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:741
-
-
/bin/grepgrep :66662⤵PID:740
-
-
/bin/grepgrep -v -2⤵PID:749
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:748
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:750
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:747
-
-
/bin/grepgrep :66652⤵PID:746
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:756
-
-
/bin/grepgrep -v -2⤵PID:755
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:754
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:753
-
-
/bin/grepgrep :66672⤵PID:752
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:762
-
-
/bin/grepgrep -v -2⤵PID:761
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:760
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:759
-
-
/bin/grepgrep :77772⤵PID:758
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
5B
MD5727479ef7cedf30c03459bec7d87b0f0
SHA12082e7f715f058acab2398d25d135cf5f4c0ce41
SHA25629872037c9573567744ef10ed2de57864ded7554c9fa2ef03fc1244c65794ba6
SHA5124cb59d37f8481f9bb2745f494baa0910a68aad40ac2903ef1513547e091e1e772a5f9436f789ab91fcafb75b8a28c2112ede89004be41f33c01d936b542ca6ba