Analysis
-
max time kernel
7s -
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
20-08-2024 08:26
Static task
static1
Behavioral task
behavioral1
Sample
ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118
Resource
ubuntu1804-amd64-20240508-en
Behavioral task
behavioral2
Sample
ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral3
Sample
ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118
Resource
debian9-mipsbe-20240418-en
Behavioral task
behavioral4
Sample
ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118
Resource
debian9-mipsel-20240611-en
General
-
Target
ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118
-
Size
30KB
-
MD5
ae82d283c9d196bcc0b7b8539f40d6e8
-
SHA1
3ba79f0318344ea58c233706be999f1f786ef1fc
-
SHA256
44832ee8b46d8f32f5aaad9ee62e67a5b84af8516d0f8ef9f9052171b58ffa0e
-
SHA512
5e7ae874850938c1467bd481f4f2e3daceeca74fca796572a4a5b488cb880de428b4cf77c8fb8eaebbb0866d0d55c95d5cbacf53023ad1ff02e1332393768510
-
SSDEEP
384:p7pQBDf6jlpTWg3vMGQiirhHwMyGj4CC9vEKMvU/4Qdre21jT58vKpG2Y0orcfKs:p78zQ5VFNcDAFLcIwgnoYq0xFBVdHtXn
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 668 iptables -
Attempts to change immutable files 25 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
Processes:
xargschattrchattrxargschattrxargsxargschattrxargsxargsxargsgrepgrepxargschattrxargsxargsxargsxargschattrxargsxargsxargsxargsxargspid process 796 xargs 662 chattr 686 chattr 766 xargs 659 chattr 724 xargs 772 xargs 657 chattr 736 xargs 802 xargs 706 xargs 694 grep 700 grep 711 xargs 685 chattr 718 xargs 742 xargs 754 xargs 760 xargs 666 chattr 778 xargs 784 xargs 790 xargs 730 xargs 748 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:
pspsawkawkawkxargsxargsawkxargsawkawkuserdeldescription ioc process File opened for reading /proc/28/status ps File opened for reading /proc/276/stat ps File opened for reading /proc/2/cmdline ps File opened for reading /proc/6/cmdline ps File opened for reading /proc/20/stat ps File opened for reading /proc/10/cmdline ps File opened for reading /proc/22/cmdline ps File opened for reading /proc/599/stat ps File opened for reading /proc/self/maps awk File opened for reading /proc/21/status ps File opened for reading /proc/16/cmdline ps File opened for reading /proc/647/cmdline ps File opened for reading /proc/self/maps awk File opened for reading /proc/16/status ps File opened for reading /proc/334/status ps File opened for reading /proc/133/cmdline ps File opened for reading /proc/316/stat ps File opened for reading /proc/2/status ps File opened for reading /proc/654/stat ps File opened for reading /proc/sys/kernel/osrelease ps File opened for reading /proc/29/stat ps File opened for reading /proc/21/cmdline ps File opened for reading /proc/276/status ps File opened for reading /proc/693/stat ps File opened for reading /proc/143/status ps File opened for reading /proc/self/maps awk File opened for reading /proc/self/fd xargs File opened for reading /proc/self/stat ps File opened for reading /proc/13/status ps File opened for reading /proc/20/stat ps File opened for reading /proc/270/status ps File opened for reading /proc/270/cmdline ps File opened for reading /proc/5/cmdline ps File opened for reading /proc/7/cmdline ps File opened for reading /proc/42/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/self/maps awk File opened for reading /proc/612/status ps File opened for reading /proc/651/stat ps File opened for reading /proc/self/fd xargs File opened for reading /proc/2/status ps File opened for reading /proc/22/status ps File opened for reading /proc/27/cmdline ps File opened for reading /proc/uptime ps File opened for reading /proc/tty/drivers ps File opened for reading /proc/15/stat ps File opened for reading /proc/15/status ps File opened for reading /proc/self/maps awk File opened for reading /proc/104/stat ps File opened for reading /proc/695/cmdline ps File opened for reading /proc/3/cmdline ps File opened for reading /proc/self/maps awk File opened for reading /proc/8/cmdline ps File opened for reading /proc/41/cmdline ps File opened for reading /proc/meminfo ps File opened for reading /proc/25/stat ps File opened for reading /proc/97/status ps File opened for reading /proc/106/stat ps File opened for reading /proc/334/cmdline ps File opened for reading /proc/filesystems userdel File opened for reading /proc/8/cmdline ps File opened for reading /proc/271/status ps File opened for reading /proc/12/stat ps File opened for reading /proc/306/status ps -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
Processes:
ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118description ioc process File opened for modification /tmp/log_rot ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118
Processes
-
/tmp/ae82d283c9d196bcc0b7b8539f40d6e8_JaffaCakes118/tmp/ae82d283c9d196bcc0b7b8539f40d6e8_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 -
/usr/bin/chattrchattr -R -i /var/spool/cron2⤵
- Attempts to change immutable files
PID:662 -
/usr/bin/chattrchattr -i /etc/crontab2⤵
- Attempts to change immutable files
PID:666 -
/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:668 -
/usr/bin/sudosudo sysctl "kernel.nmi_watchdog=0"2⤵PID:674
-
/usr/sbin/userdeluserdel akay2⤵PID:678
-
/usr/sbin/userdeluserdel vfinder2⤵
- Reads runtime system information
PID:682 -
/usr/bin/chattrchattr -iae /root/.ssh/2⤵
- Attempts to change immutable files
PID:685 -
/usr/bin/chattrchattr -iae /root/.ssh/authorized_keys2⤵
- Attempts to change immutable files
PID:686 -
/bin/rmrm -rf "/tmp/addres*"2⤵PID:688
-
/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:693 -
/bin/grepgrep -i "[a]liyun"2⤵
- Attempts to change immutable files
PID:694 -
/bin/grepgrep -i "[y]unjing"2⤵
- Attempts to change immutable files
PID:700 -
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:699 -
/usr/bin/awkawk "{print \$7}"2⤵PID:704
-
/bin/grepgrep 185.71.65.2382⤵PID:703
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:705 -
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:706 -
/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⤵
- Reads runtime system information
PID:709 -
/bin/grepgrep 140.82.52.872⤵PID:708
-
/bin/grepgrep -v -2⤵PID:717
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:716
-
/usr/bin/awkawk "{print \$7}"2⤵PID:715
-
/bin/grepgrep :1432⤵PID:714
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:718 -
/bin/grepgrep -v -2⤵PID:723
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:722
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:721 -
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:724 -
/bin/grepgrep :22222⤵PID:720
-
/bin/grepgrep -v -2⤵PID:729
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:728
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:730 -
/usr/bin/awkawk "{print \$7}"2⤵PID:727
-
/bin/grepgrep :33332⤵PID:726
-
/bin/grepgrep -v -2⤵PID:735
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:734
-
/usr/bin/awkawk "{print \$7}"2⤵PID:733
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:736 -
/bin/grepgrep :33892⤵PID:732
-
/bin/grepgrep -v -2⤵PID:741
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:740 -
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:742 -
/bin/grepgrep :44442⤵PID:738
-
/usr/bin/awkawk "{print \$7}"2⤵PID:739
-
/bin/grepgrep -v -2⤵PID:747
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:746
-
/usr/bin/awkawk "{print \$7}"2⤵PID:745
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:748 -
/bin/grepgrep :55552⤵PID:744
-
/bin/grepgrep -v -2⤵PID:753
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:752
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:754 -
/usr/bin/awkawk "{print \$7}"2⤵PID:751
-
/bin/grepgrep :66662⤵PID:750
-
/bin/grepgrep -v -2⤵PID:759
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:758
-
/usr/bin/awkawk "{print \$7}"2⤵PID:757
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:760 -
/bin/grepgrep :66652⤵PID:756
-
/bin/grepgrep -v -2⤵PID:765
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:764 -
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:766 -
/usr/bin/awkawk "{print \$7}"2⤵PID:763
-
/bin/grepgrep :66672⤵PID:762
-
/bin/grepgrep -v -2⤵PID:771
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:770
-
/usr/bin/awkawk "{print \$7}"2⤵PID:769
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:772 -
/bin/grepgrep :77772⤵PID:768
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:776
-
/usr/bin/awkawk "{print \$7}"2⤵PID:775
-
/bin/grepgrep -v -2⤵PID:777
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:778 -
/bin/grepgrep :84442⤵PID:774
-
/bin/grepgrep -v -2⤵PID:783
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:782
-
/usr/bin/awkawk "{print \$7}"2⤵PID:781
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:784 -
/bin/grepgrep :33472⤵PID:780
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:788
-
/usr/bin/awkawk "{print \$7}"2⤵PID:787
-
/bin/grepgrep :144442⤵PID:786
-
/bin/grepgrep -v -2⤵PID:789
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:790 -
/bin/grepgrep -v -2⤵PID:795
-
/usr/bin/awkawk "{print \$7}"2⤵PID:793
-
/bin/grepgrep :144332⤵PID:792
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:796 -
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵
- Reads runtime system information
PID:794 -
/bin/grepgrep -v -2⤵PID:801
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:800
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:802 -
/usr/bin/awkawk "{print \$7}"2⤵PID:799
-
/bin/grepgrep :135312⤵PID:798
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
5B
MD5727479ef7cedf30c03459bec7d87b0f0
SHA12082e7f715f058acab2398d25d135cf5f4c0ce41
SHA25629872037c9573567744ef10ed2de57864ded7554c9fa2ef03fc1244c65794ba6
SHA5124cb59d37f8481f9bb2745f494baa0910a68aad40ac2903ef1513547e091e1e772a5f9436f789ab91fcafb75b8a28c2112ede89004be41f33c01d936b542ca6ba