Analysis
-
max time kernel
149s -
max time network
150s -
platform
ubuntu-22.04_amd64 -
resource
ubuntu2204-amd64-20240611-en -
resource tags
arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system -
submitted
01-08-2024 14:23
Behavioral task
behavioral1
Sample
80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118
-
Size
1.2MB
-
MD5
80d0cac0cd6be8010819fdcd7ac4af46
-
SHA1
adb2208a2016c6686c52d440f518098b4cbe3846
-
SHA256
ca22002822b27562971b1b12bfd61f2f670554ebdb0907270fda4a65f7fd2eed
-
SHA512
d0f1da32dd1f70ce3f918230c39c3d7a6210998f0a3ea0262805611156e3d37e8af237d14e3bf19eba0d7ea5b154621880fe3eadaea87bfc6e6337c6a5294a48
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4y2y1q2rJp0:745vRVJKGtSA0VWeoBu9p0
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/getty 1603 getty /usr/bin/.sshd 1677 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 -
Write file to user bin folder 1 TTPs 4 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/getty.lock 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/.sshd cp -
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 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 -
Reads system network configuration 1 TTPs 1 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 -
Reads runtime system information 12 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/meminfo 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for reading /proc/cmdline insmod File opened for reading /proc/sys/kernel/version 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 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 .sshd File opened for reading /proc/stat 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version getty File opened for reading /proc/filesystems mkdir -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for modification /tmp/bill.lock 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for modification /tmp/gates.lod 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 File opened for modification /tmp/notify.file 80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118
Processes
-
/tmp/80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118/tmp/80d0cac0cd6be8010819fdcd7ac4af46_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:1573 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1585
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1586
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1587
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1588
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1589
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1590
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1591
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1592
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1593
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1594
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1595
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1596
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1597
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1598
-
-
-
/bin/shsh -c "cp -f /tmp/80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1599
-
/usr/bin/cpcp -f /tmp/80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1600
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1602
-
/usr/bin/bsd-port/getty/usr/bin/bsd-port/getty3⤵
- Executes dropped EXE
- Reads runtime system information
PID:1603
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1614
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1615
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1616
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1617
-
-
-
/bin/shsh -c "cp -f /tmp/80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1618
-
/usr/bin/cpcp -f /tmp/80d0cac0cd6be8010819fdcd7ac4af46_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1619
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1676
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1677
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1680
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1681
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5b91749bd06daa887ecb234c911815770
SHA181dfe6b6f25b6ace7e2c1badf041ce213cfeab53
SHA256a1a99cff84d78513daff9503f3e456d2a92434ea6398892028ce45f2e4d50664
SHA5120284e8b5cf72390e4c064f5f39b2ce226ec7cbcd4aacb35cc51e41d434e4f9f70ddc353bedecb15b02fb30c4d9572f4da028407b43e5f7a8b15323578fb51d95
-
Filesize
4B
MD50d4f4805c36dc6853edfa4c7e1638b48
SHA10dd8e2fe2969e0722430655502c0c0607a5b30be
SHA256ef4cf73add6b6f476ece3477b6235878bc8a0de65fe7f561200ebac7f18db18a
SHA512d0db9c1410d20e92c528bcc5d9973cec935bc4b87940bc8d15e100849034156c6670c60e3faa71c633ad03bf1c490550330ecbb336a2139d8cbcf99f00588b54
-
Filesize
4B
MD52cb6b10338a7fc4117a80da24b582060
SHA1504db50882d21b88a1d62f72f7ea7ccab9c77799
SHA25618bed1232c7d6375b760860a0c1904bf560a92b8cec0965fda4c244bb5c55e49
SHA5128e5afcf51b32ffd2a6b922356223fe7902af68d2e137bec6ed56c95d240fd6f3f298fbeb14020891291c7250d156c5a55269e56250446c75957179f3e0a89a77
-
Filesize
51B
MD52ff4cc8a325a9fc4f878a60d077d7722
SHA12bbd77bf94d682ebfc279a4b7255fbe5df070da3
SHA256e0e6415236f93c0bcd38e86f4237c68b88b4ef232707846f75012cbce7f955da
SHA5127a883be6c374fa7a82c384d6f491a64eac429016aade07559cf5a49240646595bf0a0997acd84d68f8e807f246acb4833ab6f4b453e98f58f9b80a5b97d22117
-
Filesize
1.2MB
MD580d0cac0cd6be8010819fdcd7ac4af46
SHA1adb2208a2016c6686c52d440f518098b4cbe3846
SHA256ca22002822b27562971b1b12bfd61f2f670554ebdb0907270fda4a65f7fd2eed
SHA512d0f1da32dd1f70ce3f918230c39c3d7a6210998f0a3ea0262805611156e3d37e8af237d14e3bf19eba0d7ea5b154621880fe3eadaea87bfc6e6337c6a5294a48