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 04:19
Behavioral task
behavioral1
Sample
7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118
-
Size
1.1MB
-
MD5
7f25db5cb1cc08f7eb7c0f5fa46268ef
-
SHA1
c1325e3dc4881fa1c09c7f497e60b7fd0f663ba0
-
SHA256
e4883dda7079c57d623a0b7b7bd2ede4c796f1e00fe5cf039daedd25dd26c957
-
SHA512
961f221083d4f88a55a7d2424849302e18cc2e5b91f63bf776fe2beb3111569903fde685e0ec9802c83e414208fdb6af7c497fb11ff9823108ce9eca0bc1fa1b
-
SSDEEP
24576:4vRE7caCfKGPqVEDNLFxKsfaAI+gIGYuuCol7r:4vREKfPqVE5jKsfaARHGVo7r
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 1604 getty /usr/bin/.sshd 1612 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Write file to user bin folder 1 TTPs 9 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/getty.lock 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/.sshd cp File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/bsd-port/udevd.lock 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for modification /usr/bin/dpkgd/lsof 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 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for reading /proc/cpuinfo getty -
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 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for reading /proc/net/dev getty -
Reads runtime system information 24 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/sys/kernel/version getty File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for reading /proc/meminfo 7f25db5cb1cc08f7eb7c0f5fa46268ef_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/filesystems cp File opened for reading /proc/filesystems cp 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 mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat getty File opened for reading /proc/meminfo getty File opened for reading /proc/cmdline insmod -
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.lock .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/gates.lock .sshd File opened for modification /tmp/moni.lock 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for modification /tmp/bill.lock 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for modification /tmp/gates.lock 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 File opened for modification /tmp/notify.file 7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118
Processes
-
/tmp/7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118/tmp/7f25db5cb1cc08f7eb7c0f5fa46268ef_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:1582 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1588
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1589
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1590
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1591
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1592
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1593
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1594
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1595
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1596
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1597
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1598
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1599
-
-
-
/bin/shsh -c "cp -f /tmp/7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1600
-
/usr/bin/cpcp -f /tmp/7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1601
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1603
-
/usr/bin/bsd-port/getty/usr/bin/bsd-port/getty3⤵
- Executes dropped EXE
- Modifies init.d
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
PID:1604 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1620
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1621
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1622
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1623
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1624
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1625
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1626
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1627
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1629
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1630
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1631
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1632
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1633
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1636
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1637
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1638
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1639
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1640
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1642
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1643
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1644
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1645
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1646
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1647
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1648
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1649
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1650
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1651
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1652
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1653
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1654
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1655
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1656
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1657
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1658
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1659
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1660
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1661
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1662
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"4⤵PID:1663
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko5⤵
- Reads runtime system information
PID:1664
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1606
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1607
-
-
-
/bin/shsh -c "cp -f /tmp/7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1608
-
/usr/bin/cpcp -f /tmp/7f25db5cb1cc08f7eb7c0f5fa46268ef_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1609
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1611
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1612
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"2⤵PID:1614
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko3⤵
- Reads runtime system information
PID:1615
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5c30b0271e29006e4df38adf85b145f13
SHA14f0864589fcd6d264af71b48f3b91da9111f804c
SHA256e2fb4d08e493d1d79c1aaee298a186193823c154695c8f5d5abdc2f062549ffa
SHA5127219b67dfbba33fac67a205d194e5902d9fd1bb73f78feb31e5cb38792204bdf2a2f80205bd3cc136f0cc53c37fdb55e5f9b17ad0f13c415451942e87613f843
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5076023edc9187cf1ac1f1163470e479a
SHA18dc863f4a133deb08253e1f8f60838d804a6dc89
SHA2566360659f97100b35f3dd80cd08358fb415757f07ee670a9e1d3b4ae7fa14a0cf
SHA512fe6f8107fefb24c879acea3d283ab4f2c9b43ed948e294305b7a8539b2e80c6b3901956d4f1561ce2a609eee6a00c5e9e9c830b441911d9a5250ef4d157777b0
-
Filesize
4B
MD569d658d0b2859e32cd4dc3b970c8496c
SHA12a7bcf3804dc71895222bdd5f95e64444ce51654
SHA25696382608813353bee4eeaf0635a3b3356276fece94fe8c9cf048871078f8fd14
SHA5121222e306ef8fe358e297a275b61a3bb9aca3ec2b38ed1056fd2816b7bba7b32104218680531d8f8f12cea6e4e726c06daea88cf427163bd3365d0675350a428c
-
Filesize
51B
MD57735737b33c06b524481a14c91bf4286
SHA12848da66adf79aede3fc36c63815f13e97697045
SHA2566014129e22fdbcba540e36810d402ffb32388efc180694729b9ef5ede4664c40
SHA512ceaa154e4b0c6aa7b8434589ef8411787f22f59be853d125bd04043116022bca66d1d96bd55dc3aa08ca503e59167940796a4d5bebbcf9860a77460b67f29b4b
-
Filesize
1.1MB
MD57f25db5cb1cc08f7eb7c0f5fa46268ef
SHA1c1325e3dc4881fa1c09c7f497e60b7fd0f663ba0
SHA256e4883dda7079c57d623a0b7b7bd2ede4c796f1e00fe5cf039daedd25dd26c957
SHA512961f221083d4f88a55a7d2424849302e18cc2e5b91f63bf776fe2beb3111569903fde685e0ec9802c83e414208fdb6af7c497fb11ff9823108ce9eca0bc1fa1b
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de