Analysis
-
max time kernel
13s -
max time network
2s -
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
08-09-2024 17:02
Static task
static1
Behavioral task
behavioral1
Sample
d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral3
Sample
d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral4
Sample
d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118
Resource
debian9-mipsel-20240611-en
General
-
Target
d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118
-
Size
27KB
-
MD5
d4d8b7039b8686c4053d95f9ce9133af
-
SHA1
450bca999599e264b58ffba74140a57ed9d3921c
-
SHA256
9d3ecfce98d1e6adf77c3132cefea45c8c82e8988f34ff874c1e93799e7fd59d
-
SHA512
703095a7d895a48906c1252cd26caf0282ed0162f2b5f4ca87e23843215338b271c770dd2aa5cc7654fe46fade302919deea22c01171faff8a0b32cd79262ba2
-
SSDEEP
384:G7pQQwQHDf6jlpTWg3vMGQiKMvU/4Qdre21jT58vKpG2Y0orcfKLUv0KZnNEVdeh:G7JVFNcD8FLcIwgiYq0xzBGy
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.
Processes:
rmdescription ioc process File deleted /var/log/syslog rm -
Flushes firewall rules 1 IoCs
Flushes/ disables firewall rules inside the Linux kernel.
Processes:
iptablespid process 665 iptables -
Abuse Elevation Control Mechanism: Sudo and Sudo Caching 1 TTPs 1 IoCs
Abuse sudo or cached sudo credentials to execute code.
-
Attempts to change immutable files 37 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
Processes:
xargsxargsxargsxargsxargsgrepxargsxargsxargsxargsxargsxargsxargsxargsxargschattrxargsxargsxargsxargschattrxargsxargsxargsxargsxargsxargsgrepxargsxargsxargsxargschattrchattrxargsxargsxargspid process 801 xargs 821 xargs 854 xargs 882 xargs 899 xargs 699 grep 717 xargs 833 xargs 847 xargs 891 xargs 747 xargs 759 xargs 771 xargs 861 xargs 868 xargs 659 chattr 705 xargs 795 xargs 813 xargs 807 xargs 684 chattr 723 xargs 735 xargs 753 xargs 765 xargs 783 xargs 789 xargs 693 grep 711 xargs 741 xargs 875 xargs 840 xargs 657 chattr 685 chattr 729 xargs 777 xargs 826 xargs -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads CPU attributes 1 TTPs 13 IoCs
Processes:
pspspspspspspspskillpspspspsdescription 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 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 kill 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 -
Processes:
pspspspspspspspsxargsxargspspsawkpspsdescription ioc process File opened for reading /proc/4/stat ps File opened for reading /proc/306/status ps File opened for reading /proc/13/status ps File opened for reading /proc/75/cmdline ps File opened for reading /proc/273/status ps File opened for reading /proc/107/status ps File opened for reading /proc/274/status ps File opened for reading /proc/307/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/664/stat ps File opened for reading /proc/588/stat ps File opened for reading /proc/self/fd xargs File opened for reading /proc/97/stat ps File opened for reading /proc/653/cmdline ps File opened for reading /proc/27/status ps File opened for reading /proc/10/cmdline ps File opened for reading /proc/13/status ps File opened for reading /proc/597/stat ps File opened for reading /proc/sys/kernel/pid_max ps File opened for reading /proc/17/stat ps File opened for reading /proc/107/stat ps File opened for reading /proc/651/status ps File opened for reading /proc/self/maps awk File opened for reading /proc/4/cmdline ps File opened for reading /proc/143/status ps File opened for reading /proc/sys/kernel/osrelease ps File opened for reading /proc/tty/drivers ps File opened for reading /proc/694/stat ps File opened for reading /proc/29/cmdline ps File opened for reading /proc/42/cmdline ps File opened for reading /proc/133/cmdline ps File opened for reading /proc/274/cmdline ps File opened for reading /proc/653/cmdline ps File opened for reading /proc/25/stat ps File opened for reading /proc/597/status ps File opened for reading /proc/43/status ps File opened for reading /proc/26/stat ps File opened for reading /proc/75/stat ps File opened for reading /proc/274/status ps File opened for reading /proc/107/status ps File opened for reading /proc/17/stat ps File opened for reading /proc/14/status ps File opened for reading /proc/11/stat ps File opened for reading /proc/tty/drivers ps File opened for reading /proc/271/cmdline ps File opened for reading /proc/694/status ps File opened for reading /proc/6/stat ps File opened for reading /proc/7/status ps File opened for reading /proc/20/status ps File opened for reading /proc/660/cmdline ps File opened for reading /proc/9/stat ps File opened for reading /proc/880/status ps File opened for reading /proc/3/status ps File opened for reading /proc/22/cmdline ps File opened for reading /proc/143/status ps File opened for reading /proc/271/stat ps File opened for reading /proc/143/stat ps File opened for reading /proc/145/cmdline ps File opened for reading /proc/8/cmdline ps File opened for reading /proc/22/cmdline ps File opened for reading /proc/10/stat ps File opened for reading /proc/653/stat ps File opened for reading /proc/24/status ps File opened for reading /proc/694/status ps -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
Processes:
d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118description ioc process File opened for modification /tmp/log_rot d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118
Processes
-
/tmp/d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes118/tmp/d4d8b7039b8686c4053d95f9ce9133af_JaffaCakes1181⤵
- Writes file to tmp directory
PID:654 -
/bin/rmrm -rf /var/log/syslog2⤵
- Deletes system logs
PID:655
-
-
/usr/bin/chattrchattr -iua /tmp/2⤵
- Attempts to change immutable files
PID:657
-
-
/usr/bin/chattrchattr -iua /var/tmp/2⤵
- Attempts to change immutable files
PID:659
-
-
/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:665
-
-
/usr/bin/sudosudo sysctl "kernel.nmi_watchdog=0"2⤵
- Abuse Elevation Control Mechanism: Sudo and Sudo Caching
PID:670
-
-
/usr/sbin/userdeluserdel akay2⤵PID:677
-
-
/usr/sbin/userdeluserdel vfinder2⤵PID:681
-
-
/usr/bin/chattrchattr -iae /root/.ssh/2⤵
- Attempts to change immutable files
PID:684
-
-
/usr/bin/chattrchattr -iae /root/.ssh/authorized_keys2⤵
- Attempts to change immutable files
PID:685
-
-
/bin/rmrm -rf "/tmp/addres*"2⤵PID:687
-
-
/bin/rmrm -rf "/tmp/walle*"2⤵PID:689
-
-
/bin/rmrm -rf /tmp/keys2⤵PID:691
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:692
-
-
/bin/grepgrep -i "[a]liyun"2⤵
- Attempts to change immutable files
PID:693
-
-
/bin/grepgrep -i "[y]unjing"2⤵
- Attempts to change immutable files
PID:699
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:698
-
-
/bin/grepgrep 185.71.65.2382⤵PID:702
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:703
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:704
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:705
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:711
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:710
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:709
-
-
/bin/grepgrep 140.82.52.872⤵PID:708
-
-
/bin/grepgrep -v -2⤵PID:716
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:715
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:717
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:714
-
-
/bin/grepgrep :4432⤵PID:713
-
-
/bin/grepgrep -v -2⤵PID:722
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:721
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:723
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:720
-
-
/bin/grepgrep :232⤵PID:719
-
-
/bin/grepgrep -v -2⤵PID:728
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:727
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:726
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:729
-
-
/bin/grepgrep :4432⤵PID:725
-
-
/bin/grepgrep -v -2⤵PID:734
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:733
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:735
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:732
-
-
/bin/grepgrep :1432⤵PID:731
-
-
/bin/grepgrep -v -2⤵PID:740
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:739
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:738
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:741
-
-
/bin/grepgrep :22222⤵PID:737
-
-
/bin/grepgrep -v -2⤵PID:746
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:745
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:744
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:747
-
-
/bin/grepgrep :33332⤵PID:743
-
-
/bin/grepgrep -v -2⤵PID:752
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:751
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:753
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:750
-
-
/bin/grepgrep :33892⤵PID:749
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:759
-
-
/bin/grepgrep -v -2⤵PID:758
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:757
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:756
-
-
/bin/grepgrep :44442⤵PID:755
-
-
/bin/grepgrep -v -2⤵PID:764
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:763
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:762
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:765
-
-
/bin/grepgrep :55552⤵PID:761
-
-
/bin/grepgrep -v -2⤵PID:770
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:769
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:771
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:768
-
-
/bin/grepgrep :66662⤵PID:767
-
-
/bin/grepgrep -v -2⤵PID:776
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:775
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:774
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:777
-
-
/bin/grepgrep :66652⤵PID:773
-
-
/bin/grepgrep -v -2⤵PID:782
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:781
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:780
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:783
-
-
/bin/grepgrep :66672⤵PID:779
-
-
/bin/grepgrep -v -2⤵PID:788
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:787
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:786
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:789
-
-
/bin/grepgrep :77772⤵PID:785
-
-
/bin/grepgrep -v -2⤵PID:794
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:795
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:793
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:792
-
-
/bin/grepgrep :84442⤵PID:791
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:799
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:798
-
-
/bin/grepgrep :33472⤵PID:797
-
-
/bin/grepgrep -v -2⤵PID:800
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:801
-
-
/bin/grepgrep -v -2⤵PID:806
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:805
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:804
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:807
-
-
/bin/grepgrep :144442⤵PID:803
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:811
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:810
-
-
/bin/grepgrep :144332⤵PID:809
-
-
/bin/grepgrep -v -2⤵PID:812
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:813
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:819
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:818
-
-
/bin/grepgrep :135312⤵PID:817
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:821
-
-
/bin/grepgrep -v -2⤵PID:820
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:826
-
-
/usr/bin/awkawk "{print \$2}"2⤵
- Reads runtime system information
PID:825
-
-
/bin/grepgrep -v grep2⤵PID:824
-
-
/bin/grepgrep "sleep 60"2⤵PID:823
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:822
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:833
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:832
-
-
/bin/grepgrep -v grep2⤵PID:831
-
-
/bin/grepgrep ./crun2⤵PID:830
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:829
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:840
-
-
/usr/bin/awkawk "{if(\$3>80.0) print \$2}"2⤵PID:839
-
-
/bin/grepgrep -v grep2⤵PID:838
-
-
/bin/grepgrep -vw kdevtmpfsi2⤵PID:837
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:836
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:847
-
-
/bin/grepgrep :33332⤵PID:845
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:846
-
-
/bin/grepgrep -v grep2⤵PID:844
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:843
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:854
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:853
-
-
/bin/grepgrep :55552⤵PID:852
-
-
/bin/grepgrep -v grep2⤵PID:851
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:850
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:861
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:860
-
-
/bin/grepgrep "kworker -c\\"2⤵PID:859
-
-
/bin/grepgrep -v grep2⤵PID:858
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:857
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:868
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:867
-
-
/bin/grepgrep log_2⤵PID:866
-
-
/bin/grepgrep -v grep2⤵PID:865
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:864
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:874
-
-
/bin/grepgrep -v grep2⤵PID:872
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:875
-
-
/bin/grepgrep systemten2⤵PID:873
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:871
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:882 -
/usr/local/sbin/killkill -9 143⤵PID:885
-
-
/usr/local/bin/killkill -9 143⤵PID:885
-
-
/usr/sbin/killkill -9 143⤵PID:885
-
-
/usr/bin/killkill -9 143⤵PID:885
-
-
/sbin/killkill -9 143⤵PID:885
-
-
/bin/killkill -9 143⤵
- Reads CPU attributes
PID:885
-
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:881
-
-
/bin/grepgrep netns2⤵PID:880
-
-
/bin/grepgrep -v grep2⤵PID:879
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:878
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:891
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:890
-
-
/bin/grepgrep -v grep2⤵PID:888
-
-
/bin/grepgrep voltuned2⤵PID:889
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:887
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:899
-
-
/usr/bin/awkawk "{print \$2}"2⤵PID:898
-
-
/bin/grepgrep darwin2⤵PID:897
-
-
/bin/grepgrep -v grep2⤵PID:896
-
-
/bin/psps aux2⤵PID:895
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
5B
MD5727479ef7cedf30c03459bec7d87b0f0
SHA12082e7f715f058acab2398d25d135cf5f4c0ce41
SHA25629872037c9573567744ef10ed2de57864ded7554c9fa2ef03fc1244c65794ba6
SHA5124cb59d37f8481f9bb2745f494baa0910a68aad40ac2903ef1513547e091e1e772a5f9436f789ab91fcafb75b8a28c2112ede89004be41f33c01d936b542ca6ba