Analysis
-
max time kernel
4s -
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
17-07-2024 10:23
Static task
static1
Behavioral task
behavioral1
Sample
52940d065af4faae2c6f6a289040bb72_JaffaCakes118
Resource
ubuntu1804-amd64-20240508-en
Behavioral task
behavioral2
Sample
52940d065af4faae2c6f6a289040bb72_JaffaCakes118
Resource
debian9-armhf-20240418-en
Behavioral task
behavioral3
Sample
52940d065af4faae2c6f6a289040bb72_JaffaCakes118
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral4
Sample
52940d065af4faae2c6f6a289040bb72_JaffaCakes118
Resource
debian9-mipsel-20240418-en
General
-
Target
52940d065af4faae2c6f6a289040bb72_JaffaCakes118
-
Size
30KB
-
MD5
52940d065af4faae2c6f6a289040bb72
-
SHA1
005bafac97f4734cfc8c5d4f14e231df11f4d73a
-
SHA256
76021dd25cb21b31b81a43428ebd18640d0598c8afeefc502c7a2ab660de8df5
-
SHA512
ad31d4768c1bd18fe34548cc76a617abe480bbdc244abaa09049654d177984102496842a98ca94903a4db89a708519ddab7d1fc39e08e4979c33737be976de2d
-
SSDEEP
384:p7pQBDf6jlpTWg3vMGQiirhHwMyGj4CC9vEKMvU/4Qdre21jT58vKpG2Y0orcfKU:p78zQ5VFNcDAFLcIwgnoYq0xFBVdHtDn
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 657 iptables -
Attempts to change immutable files 17 IoCs
Modifies inode attributes on the filesystem to allow changing of immutable files.
pid Process 737 xargs 743 xargs 651 chattr 676 chattr 725 xargs 688 grep 695 xargs 713 xargs 647 chattr 655 chattr 684 grep 731 xargs 653 chattr 700 xargs 707 xargs 677 chattr 719 xargs -
Enumerates running processes
Discovers information about currently running processes on the system
-
Reads CPU attributes 1 TTPs 2 IoCs
description 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.
description ioc Process File opened for reading /proc/112/cmdline ps File opened for reading /proc/304/status ps File opened for reading /proc/642/status ps File opened for reading /proc/11/status ps File opened for reading /proc/81/cmdline ps File opened for reading /proc/308/status ps File opened for reading /proc/674/stat ps File opened for reading /proc/21/stat ps File opened for reading /proc/642/status ps File opened for reading /proc/308/status ps File opened for reading /proc/646/stat ps File opened for reading /proc/self/fd xargs File opened for reading /proc/317/status ps File opened for reading /proc/19/cmdline ps File opened for reading /proc/17/cmdline ps File opened for reading /proc/meminfo ps File opened for reading /proc/652/stat ps File opened for reading /proc/self/stat sudo File opened for reading /proc/sys/kernel/pid_max ps File opened for reading /proc/598/cmdline ps File opened for reading /proc/3/cmdline ps File opened for reading /proc/151/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/42/cmdline ps File opened for reading /proc/4/cmdline ps File opened for reading /proc/152/stat ps File opened for reading /proc/217/cmdline ps File opened for reading /proc/26/stat ps File opened for reading /proc/26/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/304/status ps File opened for reading /proc/43/status ps File opened for reading /proc/641/cmdline ps File opened for reading /proc/652/cmdline ps File opened for reading /proc/self/fd xargs File opened for reading /proc/23/stat ps File opened for reading /proc/81/stat ps File opened for reading /proc/595/status ps File opened for reading /proc/1/status ps File opened for reading /proc/22/status ps File opened for reading /proc/10/cmdline ps File opened for reading /proc/27/stat ps File opened for reading /proc/217/status ps File opened for reading /proc/590/cmdline ps File opened for reading /proc/110/stat ps File opened for reading /proc/tty/drivers ps File opened for reading /proc/29/status ps File opened for reading /proc/self/maps awk File opened for reading /proc/9/stat ps File opened for reading /proc/17/cmdline ps File opened for reading /proc/318/stat ps File opened for reading /proc/41/cmdline ps File opened for reading /proc/103/status ps File opened for reading /proc/290/cmdline ps File opened for reading /proc/319/cmdline ps File opened for reading /proc/20/stat ps File opened for reading /proc/317/stat ps File opened for reading /proc/14/status ps File opened for reading /proc/22/cmdline ps File opened for reading /proc/268/stat ps File opened for reading /proc/652/status ps File opened for reading /proc/22/cmdline ps File opened for reading /proc/24/cmdline ps File opened for reading /proc/319/status ps -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/log_rot 52940d065af4faae2c6f6a289040bb72_JaffaCakes118
Processes
-
/tmp/52940d065af4faae2c6f6a289040bb72_JaffaCakes118/tmp/52940d065af4faae2c6f6a289040bb72_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:647
-
-
/usr/bin/chattrchattr -iua /var/tmp/2⤵
- Attempts to change immutable files
PID:651
-
-
/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:655
-
-
/sbin/iptablesiptables -F2⤵
- Flushes firewall rules
PID:657
-
-
/usr/bin/sudosudo sysctl "kernel.nmi_watchdog=0"2⤵
- Reads runtime system information
PID:663
-
-
/usr/sbin/userdeluserdel akay2⤵PID:668
-
-
/usr/sbin/userdeluserdel vfinder2⤵PID:673
-
-
/usr/bin/chattrchattr -iae /root/.ssh/2⤵
- Attempts to change immutable files
PID:676
-
-
/usr/bin/chattrchattr -iae /root/.ssh/authorized_keys2⤵
- Attempts to change immutable files
PID:677
-
-
/bin/rmrm -rf "/tmp/addres*"2⤵PID:679
-
-
/bin/rmrm -rf "/tmp/walle*"2⤵PID:680
-
-
/bin/rmrm -rf /tmp/keys2⤵PID:682
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:683
-
-
/bin/grepgrep -i "[a]liyun"2⤵
- Attempts to change immutable files
PID:684
-
-
/bin/grepgrep -i "[y]unjing"2⤵
- Attempts to change immutable files
PID:688
-
-
/bin/psps aux2⤵
- Reads CPU attributes
- Reads runtime system information
PID:687
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:694
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:693
-
-
/bin/grepgrep 185.71.65.2382⤵PID:692
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:695
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:700
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:699
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:698
-
-
/bin/grepgrep 140.82.52.872⤵PID:697
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:707
-
-
/bin/grepgrep -v -2⤵PID:706
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:705
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:704
-
-
/bin/grepgrep :1432⤵PID:703
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:713
-
-
/bin/grepgrep -v -2⤵PID:712
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:711
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:710
-
-
/bin/grepgrep :22222⤵PID:709
-
-
/bin/grepgrep -v -2⤵PID:718
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:717
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:716
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:719
-
-
/bin/grepgrep :33332⤵PID:715
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
- Reads runtime system information
PID:725
-
-
/bin/grepgrep -v -2⤵PID:724
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:723
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:722
-
-
/bin/grepgrep :33892⤵PID:721
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:731
-
-
/bin/grepgrep -v -2⤵PID:730
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:728
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:729
-
-
/bin/grepgrep :44442⤵PID:727
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:737
-
-
/bin/grepgrep -v -2⤵PID:736
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:735
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:734
-
-
/bin/grepgrep :55552⤵PID:733
-
-
/usr/bin/xargsxargs -I "%" kill -9 "%"2⤵
- Attempts to change immutable files
PID:743
-
-
/bin/grepgrep -v -2⤵PID:742
-
-
/usr/bin/awkawk "-F[/]" "{print \$1}"2⤵PID:741
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:740
-
-
/bin/grepgrep :66662⤵PID:739
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
5B
MD5727479ef7cedf30c03459bec7d87b0f0
SHA12082e7f715f058acab2398d25d135cf5f4c0ce41
SHA25629872037c9573567744ef10ed2de57864ded7554c9fa2ef03fc1244c65794ba6
SHA5124cb59d37f8481f9bb2745f494baa0910a68aad40ac2903ef1513547e091e1e772a5f9436f789ab91fcafb75b8a28c2112ede89004be41f33c01d936b542ca6ba