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
26-08-2024 16:06
Behavioral task
behavioral1
Sample
c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118
-
Size
1.2MB
-
MD5
c35ac2353cc09213e331997c75bcd8aa
-
SHA1
2af9f46f665b7ee45d716fda2ba92c76168804b4
-
SHA256
9fbcea7ba6259f843ac2cbee1ea2579e199d8fcf614d41fc1c9358d906c21094
-
SHA512
ac02e169955d4840c3cccb63381625151d8fbafffd865e46437400090aae04b8d753abb9f2068404b9621b2a3f2fb4d0450a69efab410b2a0cd93779052197c8
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWIX4n2y1q2rJp0:745vRVJKGtSA0VWIo2u9p0
Malware Config
Signatures
-
MrBlack trojan 1 IoCs
Processes:
resource yara_rule behavioral1/files/fstream-4.dat family_mrblack -
Executes dropped EXE 2 IoCs
Processes:
getty.sshdioc pid Process /usr/bin/bsd-port/getty 1628 getty /usr/bin/.sshd 1646 .sshd -
Processes:
gettyc35ac2353cc09213e331997c75bcd8aa_JaffaCakes118description ioc Process File opened for modification /etc/init.d/selinux getty File opened for modification /etc/init.d/DbSecuritySpt c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 -
Write file to user bin folder 1 TTPs 11 IoCs
Processes:
c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118gettycpcpcpcpcpcpcpcpdescription ioc Process File opened for modification /usr/bin/bsd-port/getty.lock c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock c35ac2353cc09213e331997c75bcd8aa_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/lsof cp File opened for modification /usr/bin/ss cp 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/ps cp -
Writes file to system bin folder 1 TTPs 3 IoCs
Processes:
cpcpcpdescription 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.
Processes:
c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118gettydescription ioc Process File opened for reading /proc/cpuinfo c35ac2353cc09213e331997c75bcd8aa_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.
Processes:
c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118gettydescription ioc Process File opened for reading /proc/net/dev c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 File opened for reading /proc/net/dev getty -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
Processes:
mkdirmkdirc35ac2353cc09213e331997c75bcd8aa_JaffaCakes118mkdirgettymkdirmkdircpcpmkdirmkdirmkdircpcpmkdirmkdirmkdircp.sshdmkdircpmkdircpinsmodinsmodcpmkdircpmkdircpmkdirmkdircpdescription ioc Process File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/meminfo c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 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/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 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/sys/kernel/version c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 File opened for reading /proc/sys/kernel/version getty 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/filesystems cp 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/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/stat c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 File opened for reading /proc/cmdline insmod File opened for reading /proc/cmdline insmod 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/filesystems cp -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
Processes:
c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118.sshddescription ioc Process File opened for modification /tmp/notify.file c35ac2353cc09213e331997c75bcd8aa_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 File opened for modification /tmp/moni.lod c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 File opened for modification /tmp/bill.lock c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 File opened for modification /tmp/gates.lod c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118
Processes
-
/tmp/c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118/tmp/c35ac2353cc09213e331997c75bcd8aa_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:1584 -
/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/c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1624
-
/usr/bin/cpcp -f /tmp/c35ac2353cc09213e331997c75bcd8aa_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
- 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:1647
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1648
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1649
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1650
-
-
-
/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:1687
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1688
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1689
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
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 "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1693
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1694
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1695
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1696
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1697
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
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 "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1701
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1702
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1703
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1704
-
-
-
/bin/shsh -c "insmod /usr/bin/bsd-port/xpacket.ko"4⤵PID:1709
-
/usr/sbin/insmodinsmod /usr/bin/bsd-port/xpacket.ko5⤵
- Reads runtime system information
PID:1710
-
-
-
-
-
/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/c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1634
-
/usr/bin/cpcp -f /tmp/c35ac2353cc09213e331997c75bcd8aa_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1635
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1645
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1646
-
-
-
/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
MD5ab619b91fc2d4dafee7107a953627b7b
SHA12727ce51bd904015a97f4cca7cd6b3800f43cac1
SHA25628d56875e5cc1b1861787119f88292f9677b5d98727cef9dab52d2b8ff24af3a
SHA51218754796691b014835c22fc1a47ae391fd7a701c77892c640fc4644e8fb34cf088fd0f6211e0a06335793c75849822d46f8a403a0d13c26e27b77e336eaca2da
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD5228499b55310264a8ea0e27b6e7c6ab6
SHA1178116e63a31913ab6da9ab6d92cb510dea7964c
SHA2569c8dd327d0f259b6facd68100f664c432101f783d31ac9b78b6e9eaf9fa786b8
SHA5122efeadcee6aa3eb7e370b8e05d12c7269d92180eda2f8665b8663888ed85a4caecf6ed31e5a070de68f43a76b7a24f4cb0b2e6f3f9c017df05f77e6a6bd93c0f
-
Filesize
4B
MD52a27b8144ac02f67687f76782a3b5d8f
SHA1b0305a80cc6fe62e26014101af72bb986061ee9a
SHA25638bc3d1c4787dd15fb6b16dccd548786cb773da29ffeb075602c76d2ca87f9fd
SHA512725d9f9a36178d886c71d610a8ac481d5f9623c91b48f9301abfab6817cb3e27e258aeaea40b85ebf06f684c931d1f71485276c0d04555c1406593e00bf08776
-
Filesize
51B
MD5c26ce58b17c971ae6b4d3b0076be629f
SHA12f12340b9d130d681f918214046d56756eb03e8d
SHA256f0d85fa26e13f1f368a2a42e6c271d9c262c11e7b250f1f0eccab7f20913943b
SHA512301db23ca2c3f0411710400bb3f227bf9044281120e6880951057c59de704c421a9a70fc3c72a135cbcbf135b9e3362c34d89ff3465f102362839f32d0586f15
-
Filesize
1.2MB
MD5c35ac2353cc09213e331997c75bcd8aa
SHA12af9f46f665b7ee45d716fda2ba92c76168804b4
SHA2569fbcea7ba6259f843ac2cbee1ea2579e199d8fcf614d41fc1c9358d906c21094
SHA512ac02e169955d4840c3cccb63381625151d8fbafffd865e46437400090aae04b8d753abb9f2068404b9621b2a3f2fb4d0450a69efab410b2a0cd93779052197c8
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e