Analysis
-
max time kernel
149s -
max time network
155s -
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
29-07-2024 19:08
Behavioral task
behavioral1
Sample
5a65bb128b85d38e41e465f9c624de28_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
5a65bb128b85d38e41e465f9c624de28_JaffaCakes118
-
Size
1.2MB
-
MD5
5a65bb128b85d38e41e465f9c624de28
-
SHA1
fa824c18cf6e4f6f29c46312695af5b8af7b4a81
-
SHA256
2e2c77d5e13e38189faa672d4f82c023123911d64e73e3475623f73c24c36d3d
-
SHA512
d4d8015f481e89edb66e8c845347cdb453fe62a75bbeb6cfddf010a2fcbc033e689086b9c2a8eaac09961562b8203ec60bbdee4a6216f6d32580f3088a4bdd3f
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX402y1q2rJp0: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 1628 getty /usr/bin/.sshd 1650 .sshd -
description ioc Process File opened for modification /etc/init.d/selinux getty File opened for modification /etc/init.d/DbSecuritySpt 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 -
Reads system routing table 1 TTPs 1 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/route getty -
Write file to user bin folder 1 TTPs 12 IoCs
description ioc Process File opened for modification /usr/bin/bsd-port/getty.lock 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/.sshd cp File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/conf.n getty File opened for modification /usr/bin/bsd-port/udevd.lock 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/dpkgd/lsof cp File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/lsof cp -
Writes file to system bin folder 1 TTPs 3 IoCs
description ioc Process File opened for modification /bin/ps cp File opened for modification /bin/ss 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 getty File opened for reading /proc/cpuinfo 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 -
Reads system network configuration 1 TTPs 4 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for reading /proc/net/dev getty File opened for reading /proc/net/route getty File opened for reading /proc/net/arp getty -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
description ioc Process File opened for reading /proc/sys/kernel/version getty 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 cp 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/meminfo getty File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems mkdir 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 cp File opened for reading /proc/meminfo 5a65bb128b85d38e41e465f9c624de28_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 cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for reading /proc/stat getty 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/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 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for modification /tmp/bill.lock 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for modification /tmp/gates.lod 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for modification /tmp/notify.file 5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/gates.lod .sshd
Processes
-
/tmp/5a65bb128b85d38e41e465f9c624de28_JaffaCakes118/tmp/5a65bb128b85d38e41e465f9c624de28_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:1590 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1604
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1605
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1606
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1607
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1608
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1609
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1610
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1611
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1612
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1613
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1620
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1621
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1622
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1623
-
-
-
/bin/shsh -c "cp -f /tmp/5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1624
-
/usr/bin/cpcp -f /tmp/5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1625
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1627
-
/usr/bin/bsd-port/getty/usr/bin/bsd-port/getty3⤵
- Executes dropped EXE
- Modifies init.d
- Reads system routing table
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
PID:1628 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1636
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1637
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1638
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1639
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1640
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1641
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1642
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1643
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1644
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1645
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1646
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1647
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1651
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1652
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1653
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1654
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1655
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1656
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1657
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1658
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1659
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1660
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1661
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1662
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1663
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1664
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1665
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1666
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1667
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1668
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1669
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1670
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1671
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1672
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1673
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1674
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1675
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1676
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1677
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1678
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1679
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1680
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1681
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1682
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1683
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1684
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1685
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1686
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1689
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1690
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1691
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1692
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1693
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1694
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1695
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1696
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1697
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1698
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1699
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1700
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1701
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1702
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1703
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1704
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1705
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1706
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1718
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1719
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1630
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1631
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1632
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1633
-
-
-
/bin/shsh -c "cp -f /tmp/5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1634
-
/usr/bin/cpcp -f /tmp/5a65bb128b85d38e41e465f9c624de28_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1635
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1649
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1650
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1707
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1708
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD54c2368cfb6c38908324a6de10d242356
SHA13ce06aacda0ef2448710a980366ca7fc3f331670
SHA256473b941f7ba404a68b7369b8382f444ec03f54a1dcaef5a4a8fb600c02ab64fd
SHA5126b84a7856547b920394d6b161552e113b8f04127467ef8a0f7acbc532bb426064a838f3d81d446157cfc4abd3b157de05300616e76fb1c6a8808c4a09d1e4e25
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD59e984c108157cea74c894b5cf34efc44
SHA10c774d8e1e30b273143a93836f845a4d3f44a60f
SHA256b458944d9ec4322f9ff0de2885ce82d580341fcf0fd688422e9929b6e7ce3b2d
SHA512aeb9c3cdd81ee2439338d9c994a1150abf17fedc07542fb625f0dc70cf5d160e5b9827cbc875552d7bdc14d9372ee6b2525ac8e80d0f4a0fa88fcb86b79bd2fc
-
Filesize
4B
MD57fea637fd6d02b8f0adf6f7dc36aed93
SHA1bda09ba2c0046773a13bfac20bf620d2317adbf6
SHA25642d9972e972e40956658f1b4f3bd676512837741de686d03f447d8015feb6a6c
SHA5129f72db660077800f13c59a9de22cf9d4a0cc3fa54f7f797eb9e8d7c056b66d86f30234f0927358b0f0da35544a1d893fe1e7b4e10556e5c64c62dfe73e0d2839
-
Filesize
51B
MD529afa469a237e513f0ed695c58fd77d4
SHA18af02cb997fe7af1dc8cea0ed00622f7cd89fb99
SHA256709a39184705fb6b6d43d067960050c1db515355017ff68a9aec77c2bfca8cb1
SHA512caa6a093709f4a0215656b52b24e42b77c36ce0d79f66e96e763d8d1d26f759c2905118ceb81043b5badbd5f768aa0024f8527bdd585bc1930d63b353b2461a8
-
Filesize
73B
MD56cd455165a6413ec7cf19488ca44838a
SHA1d5810f05839689c2e35fbf16dc6a3030c9ac4a2e
SHA2568daee42374a208a89fbb370e08b46a2f85d67e07c01d1e5dac6f22deaaf29bcf
SHA512a9f83b845a15cbd5078555e07943b56bcd7e66dcb78d95b952b82b7fcefbbef036359dfc90d88e61e64308937ca5d747ac31b5fb8f3bd5904444ae2f4868003a
-
Filesize
1.2MB
MD55a65bb128b85d38e41e465f9c624de28
SHA1fa824c18cf6e4f6f29c46312695af5b8af7b4a81
SHA2562e2c77d5e13e38189faa672d4f82c023123911d64e73e3475623f73c24c36d3d
SHA512d4d8015f481e89edb66e8c845347cdb453fe62a75bbeb6cfddf010a2fcbc033e689086b9c2a8eaac09961562b8203ec60bbdee4a6216f6d32580f3088a4bdd3f
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e