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
11-08-2024 15:25
Behavioral task
behavioral1
Sample
8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118
-
Size
1.2MB
-
MD5
8ae5a4f868920a5cf7aff104aeaa1618
-
SHA1
37850b674dda974ad5eab23ceb6e8db9c72093d7
-
SHA256
6cfda4eefe97746660151bb77f91673c156701174574d6e54ff5768daad02497
-
SHA512
e2c3faa0b5e77e66721fb5267d11a00f6a532e12df076fef4a838fa3f7adbc60bc0ab0944057ca12d20b9f1d4019792ef14ff0c4a768493e306730e28c9a26de
-
SSDEEP
24576:e845rGHu6gVJKG75oFpA0VWeX4G2y1q2rJp0:745vRVJKGtSA0VWeoVu9p0
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 1637 getty /usr/bin/.sshd 1649 .sshd -
Processes:
8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118gettydescription ioc Process File opened for modification /etc/init.d/DbSecuritySpt 8ae5a4f868920a5cf7aff104aeaa1618_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.
Processes:
gettydescription ioc Process File opened for reading /proc/net/route getty -
Write file to user bin folder 1 TTPs 12 IoCs
Processes:
cpcpgettycpcpcpcp8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118cpcpdescription ioc Process 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/conf.n getty File opened for modification /usr/bin/.sshd 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/ps cp File opened for modification /usr/bin/bsd-port/getty.lock 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 8ae5a4f868920a5cf7aff104aeaa1618_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/ss 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:
8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118gettydescription ioc Process File opened for reading /proc/cpuinfo 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for reading /proc/cpuinfo getty -
Reads system network configuration 1 TTPs 4 IoCs
Uses contents of /proc filesystem to enumerate network settings.
Processes:
getty8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118description ioc Process File opened for reading /proc/net/route getty File opened for reading /proc/net/arp getty File opened for reading /proc/net/dev 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for reading /proc/net/dev getty -
Reads runtime system information 37 IoCs
Reads data from /proc virtual filesystem.
Processes:
mkdirmkdirmkdirmkdirmkdirinsmodmkdircpmkdircp8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118gettycpcpcpcpcpcpmkdirmkdirmkdirmkdirmkdirinsmodcpcp.sshdmkdirmkdirmkdirmkdirmkdircpdescription ioc Process 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/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 cp File opened for reading /proc/meminfo 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for reading /proc/meminfo getty 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/stat 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for reading /proc/sys/kernel/version 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 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/sys/kernel/version getty 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/cmdline insmod 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 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:
.sshd8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118description ioc Process 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 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for modification /tmp/bill.lock 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for modification /tmp/gates.lod 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 File opened for modification /tmp/notify.file 8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118
Processes
-
/tmp/8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118/tmp/8ae5a4f868920a5cf7aff104aeaa1618_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:1587 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1613
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1614
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1615
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1616
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1617
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1618
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1619
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1620
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1621
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1622
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1629
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1630
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1631
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1632
-
-
-
/bin/shsh -c "cp -f /tmp/8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1633
-
/usr/bin/cpcp -f /tmp/8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1636
-
/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:1637 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1645
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1646
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1650
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1651
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1652
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1653
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1654
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1655
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1656
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1657
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1658
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1659
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1660
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1661
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1662
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1663
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1664
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1665
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1666
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1667
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1668
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1669
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1670
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1671
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1672
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1673
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1674
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1675
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1676
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1677
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1678
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1679
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1680
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1681
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1682
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1683
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1684
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1685
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"4⤵PID:1686
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1687
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1688
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1689
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1690
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1691
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1692
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1693
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1694
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1695
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1696
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1697
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1698
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1699
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1700
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1701
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1702
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1703
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1704
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1705
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1706
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1707
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1708
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1709
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1711
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1713
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1714
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1715
-
-
-
/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:1639
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1640
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1641
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1642
-
-
-
/bin/shsh -c "cp -f /tmp/8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1643
-
/usr/bin/cpcp -f /tmp/8ae5a4f868920a5cf7aff104aeaa1618_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1644
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1648
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1649
-
-
-
/bin/shsh -c "insmod /tmp/xpacket.ko"2⤵PID:1716
-
/usr/sbin/insmodinsmod /tmp/xpacket.ko3⤵
- Reads runtime system information
PID:1717
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5ebf56b2666ff641bc7ee68b0a9931124
SHA1ca0df253159a963db890190cc6252dad998ab004
SHA256376b46b6a0ec3afbf1354bcc8241f5ca4ec17c0cdd1f346a5d5607065a35960b
SHA5126a14ccc35f715e2c7b81fb24cd3d43637ff3e78c07fcaecc37013a5c2521d9baa8edb10db94d35e2e0782debe98b2de557895126a688f6926bb19afd9b23a842
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD59e984c108157cea74c894b5cf34efc44
SHA10c774d8e1e30b273143a93836f845a4d3f44a60f
SHA256b458944d9ec4322f9ff0de2885ce82d580341fcf0fd688422e9929b6e7ce3b2d
SHA512aeb9c3cdd81ee2439338d9c994a1150abf17fedc07542fb625f0dc70cf5d160e5b9827cbc875552d7bdc14d9372ee6b2525ac8e80d0f4a0fa88fcb86b79bd2fc
-
Filesize
4B
MD55a142a55461d5fef016acfb927fee0bd
SHA1d2df16bee9d37212d9dc0a9709c3a8579fedcfff
SHA2561aa3e4f8f4a38d99994d6af04b69455db781c6932257873a272c928820d77484
SHA5127fd34d369b68f0da1a53dfefae2f0c9437702524148fdab893a071c110da40417f45f161ea5d245096c11659eee6d6d4c0dab124f050a4052390a8b735a38156
-
Filesize
51B
MD51b5cf1129c34ffed9df17d172c96063e
SHA12f39039075c2f5190ad6d46cd6e02b5e3454488e
SHA256ba8f5a243d1d1e48893e95f22c0149b12accddf124b4b7a48eb488bc97818924
SHA512d25200f38a436c95d22a835fc32ef5d8431b2b40f9eda3371b872e46d6b9caf5e7c22ba0d892ea5112f5c4ba925063211ead87af9441feaacbae56100bd2a5e2
-
Filesize
73B
MD51e45e1b3598ec16292269c28b19243f9
SHA1a3b2cb046bccc74dd7a06667f53a97f525fce860
SHA25683ea3bbfc2daeed1029dfc8a37cb3f0d70afdbda48a8e1eb659f605d7bfb8bbf
SHA512d929fa04e2dd9d9ca5471bf7b25a7cf590c1087432ea4e8055e55f288a0587b1bb8e10cf90c8d53353c32a56ed9bdfeb027d841dac3fd98c42665e2f6b5ef8d9
-
Filesize
1.2MB
MD58ae5a4f868920a5cf7aff104aeaa1618
SHA137850b674dda974ad5eab23ceb6e8db9c72093d7
SHA2566cfda4eefe97746660151bb77f91673c156701174574d6e54ff5768daad02497
SHA512e2c3faa0b5e77e66721fb5267d11a00f6a532e12df076fef4a838fa3f7adbc60bc0ab0944057ca12d20b9f1d4019792ef14ff0c4a768493e306730e28c9a26de
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e