Analysis
-
max time kernel
149s -
max time network
153s -
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
23-08-2024 20:23
Behavioral task
behavioral1
Sample
bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118
-
Size
1.2MB
-
MD5
bd06b3e16bd6ff49b03296aea234e143
-
SHA1
fdcb873f34346dbfbaa786591ed107a5f5204515
-
SHA256
cc9bff43faee3f45db38b9b55d2899bb222ffd46c897896cef02354d2e01118c
-
SHA512
bec2ad929ce34482259751e949edc5568809dcbe5f01645deb53acfb2f56ffc89fa53cb66af83b061c63692e9b5971a554d31ccc669e2b333da415762de37751
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWIX472y1q2rJp0:745vRVJKGtSA0VWIoKu9p0
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 1632 getty /usr/bin/.sshd 1653 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
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/udevd.lock bd06b3e16bd6ff49b03296aea234e143_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/dpkgd/lsof cp File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/bsd-port/getty.lock bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 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/ps cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/conf.n getty -
Writes file to system bin folder 1 TTPs 3 IoCs
description ioc Process File opened for modification /bin/lsof cp File opened for modification /bin/ps cp File opened for modification /bin/ss 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 bd06b3e16bd6ff49b03296aea234e143_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/arp getty File opened for reading /proc/net/dev getty File opened for reading /proc/net/dev bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for reading /proc/net/route getty -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
description ioc Process 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/meminfo getty File opened for reading /proc/sys/kernel/version bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for reading /proc/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version getty File opened for reading /proc/filesystems mkdir 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 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 mkdir 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 cp File opened for reading /proc/meminfo bd06b3e16bd6ff49b03296aea234e143_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/stat bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 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 .sshd 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 cp -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for modification /tmp/bill.lock bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for modification /tmp/gates.lod bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for modification /tmp/notify.file bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd
Processes
-
/tmp/bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118/tmp/bd06b3e16bd6ff49b03296aea234e143_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:1588 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1608
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1609
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1610
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1611
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1612
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1613
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1614
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1615
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1616
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1617
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1624
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1625
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1626
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1627
-
-
-
/bin/shsh -c "cp -f /tmp/bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1628
-
/usr/bin/cpcp -f /tmp/bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1629
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1631
-
/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:1632 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1640
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1641
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1642
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1643
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1644
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1645
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1646
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1647
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1648
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1649
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1650
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1654
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1655
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1656
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1657
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1658
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1659
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1660
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1661
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1662
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1663
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1664
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1665
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1666
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1667
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1668
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1669
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1670
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1671
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1672
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1673
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1674
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1675
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1676
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1677
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1678
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1679
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1680
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1681
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1682
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1683
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1684
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1685
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1686
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1687
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1688
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1689
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1690
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1691
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵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 "mkdir -p /usr/bin"4⤵PID:1695
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1696
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1697
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1698
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1699
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵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 "mkdir -p /usr/bin"4⤵PID:1703
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1704
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1705
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1706
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1707
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1708
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1711
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1713
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1634
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1635
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1636
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1637
-
-
-
/bin/shsh -c "cp -f /tmp/bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1638
-
/usr/bin/cpcp -f /tmp/bd06b3e16bd6ff49b03296aea234e143_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1639
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1652
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1653
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1712
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1714
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5020953ac28dde316e6be75cdcad917c8
SHA12d61c9c3ad52924cda15f1204158001cd92e16ca
SHA256ec3a6e624193c37979f57d1e521d48e355354590649681a9b600f2aeef54a317
SHA512733815607b40cf1511d0e1b4eeb4921d8ac18100585eedae1c9e1c3f020e43c5309ebaf87877b2db967648145a2fb3ffd410ca19afc808f7406164c84db54fe0
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5dca5672ff3444c7e997aa9a2c4eb2094
SHA1cdd8b8ab7d8c4ad5c8c0a829f5aa80c2ae7d5fed
SHA256c5080dbc42e822a31c72ebf171d79394f57bba1e0511bad4a721c2c0f62ae6b3
SHA5120119f9ebc71ba2f8ab8ee60f6560ba30ef9d9427d028ca186463a44c25a9aafb8d8dbefeff991afce20ce40da9932ac3137140c012e960596421943bc42313db
-
Filesize
4B
MD552d080a3e172c33fd6886a37e7288491
SHA12f304d5be2a9390013eeb52a5b5cb029d0978a51
SHA256e41fbda961c9b0a19e1232a464bdf5a03c5b5568b12147ee234d4a473c425beb
SHA51281732454de078f9b9be366fd1407a3fdcb6ec4b4f5b315a190e7c54525b9f0347fad4dab12d94eebfb3386c4bb43826ac01e20a1a9d6d1ea48f4304902d70a46
-
Filesize
51B
MD527f64e300eb5b3e0a5a0b6b4e66842f9
SHA1430324599e090eebb3a983f8929918c2578fca1e
SHA2564f8643e12a71cc3b397db9f7ac278a126dff38e920e38e547c5ef4ca8b43f8ea
SHA51288c7429a61ee177f19d942349fda2158c2cdc5b86eeb16906c2306fcf818281572a1c64966b3f2b80cb5cb8506330d6983caaf993b05f8e4fd6f74e23072923c
-
Filesize
73B
MD5ec3ae3202af8f0f7f9930caf97f0d808
SHA17db898e2d22e47a4a228598f449bc25f97c0700f
SHA25679d9a061c1906e22140653f2e1d6a4db6f67068d506e658e6a41dcf6c54a1d77
SHA512dcc802ae71bc0d0840f8da35c9c662789b441a1a2404c9c6b904e1c607f788ee1061697ecb0a55db618b7737df0b44a066fe88bebef6df23986aef258b6f36a6
-
Filesize
1.2MB
MD5bd06b3e16bd6ff49b03296aea234e143
SHA1fdcb873f34346dbfbaa786591ed107a5f5204515
SHA256cc9bff43faee3f45db38b9b55d2899bb222ffd46c897896cef02354d2e01118c
SHA512bec2ad929ce34482259751e949edc5568809dcbe5f01645deb53acfb2f56ffc89fa53cb66af83b061c63692e9b5971a554d31ccc669e2b333da415762de37751
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e