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
30-07-2024 15:57
Behavioral task
behavioral1
Sample
78db94509e1e818f595fe8bdb151ab66_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
78db94509e1e818f595fe8bdb151ab66_JaffaCakes118
-
Size
1.2MB
-
MD5
78db94509e1e818f595fe8bdb151ab66
-
SHA1
4ecb4d3562f97e7caccaee3387f34f4b47dec1ab
-
SHA256
76698f65712988a1cb1235649cdb004c2d3c0412c6390a9fcdbd8859337f622a
-
SHA512
dab8bcc11e0edf7f5bad73e9fd1eaa2981e6f7714cb38f7f87cd609386e79f5fb4fe21703564363745d0582106c708042f5303e17feebe7a7165182f8a3ca75f
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4A2y1q2rJp0:745vRVJKGtSA0VWeo3u9p0
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 1593 getty /usr/bin/.sshd 1618 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Reads system routing table 1 TTPs 2 IoCs
Gets active network interfaces from /proc virtual filesystem.
description ioc Process File opened for reading /proc/net/route 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 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/dpkgd/ps cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/udevd.lock 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /usr/bin/bsd-port/getty cp File opened for modification /usr/bin/bsd-port/getty.lock getty File opened for modification /usr/bin/dpkgd/ss cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/conf.n getty File opened for modification /usr/bin/bsd-port/getty.lock 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /usr/bin/.sshd cp File opened for modification /usr/bin/dpkgd/lsof cp -
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 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 -
Reads system network configuration 1 TTPs 6 IoCs
Uses contents of /proc filesystem to enumerate network settings.
description ioc Process File opened for reading /proc/net/dev getty File opened for reading /proc/net/dev 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for reading /proc/net/route 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for reading /proc/net/arp 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 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/filesystems cp File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version 78db94509e1e818f595fe8bdb151ab66_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/stat 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 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/cmdline insmod 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 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/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/stat getty File opened for reading /proc/meminfo getty 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/meminfo 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 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/cmdline insmod -
Writes file to tmp directory 8 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/bill.lock 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /tmp/gates.lod 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /tmp/notify.file 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod 78db94509e1e818f595fe8bdb151ab66_JaffaCakes118
Processes
-
/tmp/78db94509e1e818f595fe8bdb151ab66_JaffaCakes118/tmp/78db94509e1e818f595fe8bdb151ab66_JaffaCakes1181⤵
- Modifies init.d
- Reads system routing table
- Write file to user bin folder
- Checks CPU configuration
- Reads system network configuration
- Reads runtime system information
- Writes file to tmp directory
PID:1563 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1575
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1576
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1577
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1578
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1579
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1580
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1581
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1582
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1583
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1584
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1585
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1586
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1587
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1588
-
-
-
/bin/shsh -c "cp -f /tmp/78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1589
-
/usr/bin/cpcp -f /tmp/78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1590
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1592
-
/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:1593 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1601
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1602
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1603
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1604
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1605
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1606
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1607
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1608
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1609
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1610
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1611
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1612
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1613
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1614
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1615
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1619
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1620
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1621
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1622
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1623
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1624
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1625
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1626
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1627
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1628
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1629
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1630
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1631
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1632
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1633
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1634
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1635
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1636
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1637
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1638
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1639
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1640
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1641
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1642
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1643
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1644
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1645
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1646
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1647
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1648
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1649
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1650
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1651
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1652
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1653
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1654
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1655
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1656
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1657
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1658
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1659
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1660
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1661
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1662
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1663
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1664
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1665
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1666
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1667
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1668
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1669
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1672
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1673
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1595
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1596
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1597
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1598
-
-
-
/bin/shsh -c "cp -f /tmp/78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1599
-
/usr/bin/cpcp -f /tmp/78db94509e1e818f595fe8bdb151ab66_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1600
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1617
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1618
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1674
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1675
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD51b07aae179384c64774440bd590717c1
SHA1105da6a9cbfbd348b6a8c4e1ddefcebdd1a4d966
SHA256968e18f84ab2292bfc0f66a6c19976d3f634a96155fa3207c72043b3075ac212
SHA512e845158112aeb1451f7ad47d8f7d037f5af9bc42270294dbbd72b1bb2436785bd194be9ebc5eec7d9bedd32cc1906a88ef9b9b17ed5b6ca738de20968e661f80
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
73B
MD5a8e9617f2bf578c13a8c0e46d1a7b72f
SHA11a5a476407db2489a9c48abd6979f84ba548bb80
SHA25602f7e537e4a0c4ae453c84dc288e776be01b9550dd914e027b416c960ba2ea43
SHA512bb2bd4c9b49e5e5f184ed5eb6b4fac5cd141980b3d6ef300ae039dad42e3ead63ee7426fcf2c767517bf721a595f14f2271c9be91b5ce6cb70878d833ed27f57
-
Filesize
4B
MD5facf9f743b083008a894eee7baa16469
SHA1fe286d02f80118de47f2226c2fce9f7be0bc04f0
SHA2562163909115c0f6f1e638bd2c2279387cbe37cc327150a7b5cddfde3d1cd4ef0e
SHA5127bd3d1d347d68f23d612a3ec7a1d2f4094874162441bae20122876ea980bbb76a3c46d5d2e393975ea0659fb2b58046a311d7660f226482a57a74e9ffd9b0f36
-
Filesize
4B
MD5148510031349642de5ca0c544f31b2ef
SHA177414e9365b4fa9ec8273893dd82c95a64dc4278
SHA256f8646a257c0c4273b72c83c5d563ba1acda190626677d3cb89dc748e00182315
SHA512d8e4328915ce1a8f714dd6190f6cc6a6cb72b0acebf66596fef3aa56facc5a87c97e477a15860e9c561af0150f9592e37dbfa75ae046346c847888e5a2c39301
-
Filesize
51B
MD51d9e2edc4d163f3003b39dcf6eac2ed1
SHA12e9b1ee8b6d91f5b0ba3590c0184b241d7d5f033
SHA256dab23b04c10c0aeb72f1b679e751bcd0095567b299533163bff0cf95f4a1217b
SHA512153225f1aacd8f6de1d40946b27e575bcd1d070e66ace34a62f795dc93a987c8bd225f8496a1b4e7c41d594c21f37107a820dd897a43239e9ca3041fab9a6cdc
-
Filesize
1.2MB
MD578db94509e1e818f595fe8bdb151ab66
SHA14ecb4d3562f97e7caccaee3387f34f4b47dec1ab
SHA25676698f65712988a1cb1235649cdb004c2d3c0412c6390a9fcdbd8859337f622a
SHA512dab8bcc11e0edf7f5bad73e9fd1eaa2981e6f7714cb38f7f87cd609386e79f5fb4fe21703564363745d0582106c708042f5303e17feebe7a7165182f8a3ca75f
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e