Analysis
-
max time kernel
149s -
max time network
149s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240729-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240729-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
28-07-2024 06:13
Behavioral task
behavioral1
Sample
0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118
Resource
ubuntu2204-amd64-20240729-en
General
-
Target
0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118
-
Size
1.1MB
-
MD5
0c2fced6cd1b58dc85669dae1736a19e
-
SHA1
775a3e0e4c5e0b53c7adf2e81ab13b0994338e0a
-
SHA256
4fb50087fd3ecf8590b34a6ef40bdc227caee4314f480a4b01abab01c3e805ea
-
SHA512
cfcf9d27b21c157a250f3fbc6b359f100293218422225ae6203f96b535a897cef84046abbf44c429aeade4e4123bee1c805a7903fcd4a08cff5cba34c6d569a4
-
SSDEEP
24576:4vRE7caCfKGPqVEDNLFxKsfaoI+gIGYuuCol7r:4vREKfPqVE5jKsfaoRHGVo7r
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
resource yara_rule behavioral1/files/fstream-4.dat family_mrblack -
Executes dropped EXE 2 IoCs
ioc pid Process /usr/bin/bsd-port/agent 1533 agent /usr/bin/acpid 1541 acpid -
description ioc Process File opened for modification /etc/init.d/DbSecurityMdt 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for modification /etc/init.d/selinux agent -
Write file to user bin folder 1 TTPs 9 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/agent.conf 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for modification /usr/bin/bsd-port/agent cp File opened for modification /usr/bin/acpid cp File opened for modification /usr/bin/dpkgd/lsof cp File opened for modification /usr/bin/bsd-port/udevd.conf 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for modification /usr/bin/bsd-port/agent.conf agent File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/ps cp -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc Process File opened for modification /bin/ps cp File opened for modification /bin/lsof cp -
Checks CPU configuration 1 TTPs 2 IoCs
Checks CPU information which indicate if the system is a virtual machine.
description ioc Process File opened for reading /proc/cpuinfo 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for reading /proc/cpuinfo agent -
Reads system network configuration 1 TTPs 2 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for reading /proc/net/dev agent -
Reads runtime system information 24 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/meminfo agent File opened for reading /proc/cmdline insmod File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version acpid File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for reading /proc/cmdline insmod File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version agent File opened for reading /proc/meminfo 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat agent -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/bill.note 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for modification /tmp/gates.note 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for modification /tmp/notify.file 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 File opened for modification /tmp/moni.note acpid File opened for modification /tmp/notify.file acpid File opened for modification /tmp/gates.note acpid File opened for modification /tmp/moni.note 0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118
Processes
-
/tmp/0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118/tmp/0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes1181⤵
- Modifies init.d
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:1511 -
/bin/shsh -c "ln -s /etc/init.d/DbSecurityMdt /etc/rc1.d/S97DbSecurityMdt"2⤵PID:1517
-
/usr/bin/lnln -s /etc/init.d/DbSecurityMdt /etc/rc1.d/S97DbSecurityMdt3⤵PID:1518
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecurityMdt /etc/rc2.d/S97DbSecurityMdt"2⤵PID:1519
-
/usr/bin/lnln -s /etc/init.d/DbSecurityMdt /etc/rc2.d/S97DbSecurityMdt3⤵PID:1520
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecurityMdt /etc/rc3.d/S97DbSecurityMdt"2⤵PID:1521
-
/usr/bin/lnln -s /etc/init.d/DbSecurityMdt /etc/rc3.d/S97DbSecurityMdt3⤵PID:1522
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecurityMdt /etc/rc4.d/S97DbSecurityMdt"2⤵PID:1523
-
/usr/bin/lnln -s /etc/init.d/DbSecurityMdt /etc/rc4.d/S97DbSecurityMdt3⤵PID:1524
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecurityMdt /etc/rc5.d/S97DbSecurityMdt"2⤵PID:1525
-
/usr/bin/lnln -s /etc/init.d/DbSecurityMdt /etc/rc5.d/S97DbSecurityMdt3⤵PID:1526
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1527
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1528
-
-
-
/bin/shsh -c "cp -f /tmp/0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 /usr/bin/bsd-port/agent"2⤵PID:1529
-
/usr/bin/cpcp -f /tmp/0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 /usr/bin/bsd-port/agent3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1530
-
-
-
/bin/shsh -c /usr/bin/bsd-port/agent2⤵PID:1532
-
/usr/bin/bsd-port/agent/usr/bin/bsd-port/agent3⤵
- Executes dropped EXE
- Modifies init.d
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
PID:1533 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1548
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1549
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1550
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1551
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1553
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1554
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1555
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1556
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1557
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1558
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1559
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1560
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1562
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1563
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1564
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1565
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/agent /bin/lsof"4⤵PID:1566
-
/usr/bin/cpcp -f /usr/bin/bsd-port/agent /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1567
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1569
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1570
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1571
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1572
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1573
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1574
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/agent /bin/ps"4⤵PID:1575
-
/usr/bin/cpcp -f /usr/bin/bsd-port/agent /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1576
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1578
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1579
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1580
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1581
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/agent /usr/bin/lsof"4⤵PID:1582
-
/usr/bin/cpcp -f /usr/bin/bsd-port/agent /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1583
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1584
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1585
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1587
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1588
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/agent /usr/bin/ps"4⤵PID:1589
-
/usr/bin/cpcp -f /usr/bin/bsd-port/agent /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1590
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1591
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1592
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"4⤵PID:1593
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko5⤵
- Reads runtime system information
PID:1594
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1535
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1536
-
-
-
/bin/shsh -c "cp -f /tmp/0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 /usr/bin/acpid"2⤵PID:1537
-
/usr/bin/cpcp -f /tmp/0c2fced6cd1b58dc85669dae1736a19e_JaffaCakes118 /usr/bin/acpid3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1538
-
-
-
/bin/shsh -c /usr/bin/acpid2⤵PID:1540
-
/usr/bin/acpid/usr/bin/acpid3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1541
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"2⤵PID:1543
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko3⤵
- Reads runtime system information
PID:1544
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD520abf8f4ce193d1bff023c6015e74d5d
SHA1f9b6fc2d9252466560c31dc1426d8017968f54e5
SHA2568e5812e41c742e0a4a2099fcf92e66b3579863d2410eb53bad788d8885e9abce
SHA512188e905beb99c5ef759dd997b610d491145bae2e84ebdb73d3d16ce577a9b418c0decaae2bf553010ff080c547c5ef3f2f0b539a349986f46dea25a545866fa9
-
Filesize
36B
MD5c6a80f08539a4c3176762f514976dd24
SHA1bbc5826b01d20f5c4d315ff5dbc3f216760c64ef
SHA256ea47e885ae227059ce55d020335f7869c565ec6d85f484497e83cd4998149d5d
SHA5129a1e3b0142876305fe389e07880bd586e97bf709273a66299d9128ff2861459104054d4e5d836aecdf73f2c11886fa3a2a8498741adb3211b96116658b856175
-
Filesize
4B
MD50f3d014eead934bbdbacb62a01dc4831
SHA1443233bf934850484d12f21d9603a36ee83d1dfb
SHA25666c03337b22c301d55a339a94165dc09628491c3dfe01a57ef62e3eab452e898
SHA51230e3cef49700596aa4b725177f0fca3f38355d0c45a445c6d176e9e3a4ecf4ca7bdde2a3dfaceb9f67b74bc145bb816bf3daad9414080bcb859c62de097e4b9b
-
Filesize
4B
MD5d010396ca8abf6ead8cacc2c2f2f26c7
SHA1731df0fc93417f72fcb56f09cd754f9382ae6373
SHA256596d0c702ba6d20835982c87a878f97d07a163285a0a3ee98c6e7a8e0459a8cb
SHA512843da40f223209d8e90012e1a35004387636ffcb23cce0602a3964055ed790d271e5fd274351b8dd3afc4200e0a9d28811f7a0987f44d813e4257f10dedabeba
-
Filesize
51B
MD5a6d30c2be01f992f08f1585da7a0af6c
SHA150e88247eadee2e5ede3bcc24d3bedf8031a079d
SHA256a1387be7c40dd79050a7fb66ec8aaed8bca80e6b454db7262a2ed4daccc20087
SHA512e4bb2bb8ac7d195a3d8bb6bea310fc60d419c586ded7afb01ba0064b5acff2aa3385170b602efd0d4a9460866434e2b8dec034b877327392c1b0e53f6bed2699
-
Filesize
1.1MB
MD50c2fced6cd1b58dc85669dae1736a19e
SHA1775a3e0e4c5e0b53c7adf2e81ab13b0994338e0a
SHA2564fb50087fd3ecf8590b34a6ef40bdc227caee4314f480a4b01abab01c3e805ea
SHA512cfcf9d27b21c157a250f3fbc6b359f100293218422225ae6203f96b535a897cef84046abbf44c429aeade4e4123bee1c805a7903fcd4a08cff5cba34c6d569a4
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de