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
15-08-2024 05:50
Behavioral task
behavioral1
Sample
991c3e0082ac7d9b20906da53c143193_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
991c3e0082ac7d9b20906da53c143193_JaffaCakes118
-
Size
1.5MB
-
MD5
991c3e0082ac7d9b20906da53c143193
-
SHA1
ef789372f8f74eedf0ae3dfd6b0ca2c8e8d5eb5f
-
SHA256
de2a30e3ded0cca2729f82a010ee2359e0d1f64638934a18d53bb5ec08c8e0ab
-
SHA512
59a0843d1e55798b412eb672e05aaa83d2d101fa08ed9d1cdbf84914aada359b1044ffa87670cdbbfd28a694db985b0c6dc7c2d314fb2078e3db83d320ca81a7
-
SSDEEP
24576:GA46TrzJBisiOvhlOHdSbQmHyJgf/kgX0Exb2cyaGpIoiMsnnLmYXqSYKKZdTrnD:zRNi6OHdSbQoyJyXpxb2PaGpXiMsnLmB
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 1594 getty /usr/bin/.sshd 1602 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for modification /etc/init.d/selinux getty -
Write file to user bin folder 1 TTPs 9 IoCs
description ioc Process File opened for modification /usr/bin/dpkgd/lsof cp 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/.sshd cp File opened for modification /usr/bin/dpkgd/ps cp File opened for modification /usr/bin/lsof cp File opened for modification /usr/bin/ps cp File opened for modification /usr/bin/bsd-port/getty.lock 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for modification /usr/bin/bsd-port/udevd.lock 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 -
Writes file to system bin folder 1 TTPs 2 IoCs
description ioc Process File opened for modification /bin/lsof cp File opened for modification /bin/ps 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 991c3e0082ac7d9b20906da53c143193_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.
description ioc Process File opened for reading /proc/net/dev getty File opened for reading /proc/net/dev 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 -
Reads runtime system information 24 IoCs
Reads data from /proc virtual filesystem.
description 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/cmdline insmod File opened for reading /proc/sys/kernel/version getty File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/meminfo 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for reading /proc/cmdline insmod 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 mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/filesystems cp File opened for reading /proc/sys/kernel/version 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 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 cp File opened for reading /proc/filesystems cp File opened for reading /proc/stat getty -
Writes file to tmp directory 7 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/gates.lock .sshd File opened for modification /tmp/moni.lock 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for modification /tmp/bill.lock 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for modification /tmp/gates.lock 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for modification /tmp/notify.file 991c3e0082ac7d9b20906da53c143193_JaffaCakes118 File opened for modification /tmp/moni.lock .sshd File opened for modification /tmp/notify.file .sshd
Processes
-
/tmp/991c3e0082ac7d9b20906da53c143193_JaffaCakes118/tmp/991c3e0082ac7d9b20906da53c143193_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:1566 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1578
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1579
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1580
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1581
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1582
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1583
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1584
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1585
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1586
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1587
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1588
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1589
-
-
-
/bin/shsh -c "cp -f /tmp/991c3e0082ac7d9b20906da53c143193_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1590
-
/usr/bin/cpcp -f /tmp/991c3e0082ac7d9b20906da53c143193_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1591
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1593
-
/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:1594 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1614
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1615
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1616
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1617
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1618
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1619
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1620
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1621
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1622
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1623
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1624
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1625
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1626
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- 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 "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1630
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1631
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1632
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1633
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1634
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1635
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1636
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1637
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"4⤵PID:1638
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1639
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1641
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1643
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1644
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1645
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1646
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1647
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1648
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1649
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1650
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1651
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1652
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1653
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1654
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1655
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"4⤵PID:1656
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko5⤵
- Reads runtime system information
PID:1657
-
-
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1596
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1597
-
-
-
/bin/shsh -c "cp -f /tmp/991c3e0082ac7d9b20906da53c143193_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1598
-
/usr/bin/cpcp -f /tmp/991c3e0082ac7d9b20906da53c143193_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1599
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1601
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1602
-
-
-
/bin/shsh -c "insmod /usr/lib/xpacket.ko"2⤵PID:1604
-
/usr/sbin/insmodinsmod /usr/lib/xpacket.ko3⤵
- Reads runtime system information
PID:1605
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
64B
MD5464d619af1fd9b49ee99a13962408ecf
SHA1ff4affb2a16fb0e43cc8fc7f1ad03614b34fa27f
SHA256d19601439b3118f6595c7b171077f40f2d4d0fc88f1397f1c0c2805c9ab85d97
SHA512f742165769e07ed32ad203869e492d5a20d3a22ed268c0c10bbd444d8834651db8b78dafedb41b662730301590ae80db93e32b9ac73e6a846b4d5eb904e4c73c
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
4B
MD518d10dc6e666eab6de9215ae5b3d54df
SHA1541f30554e2caa245dbe67fc4a03cb8c01a23c1a
SHA2560651ee70db05737d7195776455175f3f4dbd4755e13e9f87d905a63817e979b8
SHA5121cae3720d2a29bef7cc3e0280686ceefd518a0cf35f0fd239a6fe60329b78935dbc88d5c7a784e2029d1c70ad321ff3dc8f514a5901b515da88c8b3c436f5465
-
Filesize
4B
MD5f3173935ed8ac4bf073c1bcd63171f8a
SHA19ab5e1675014494dc3913b5c300efdee7528c083
SHA256bf0a60ee19adc7954e2248d0c4fd7fed44671ea2cff24a6c75127f9ce0183608
SHA512a54446220d5b23696fff3c17b4e0834e1159b2a080842d5fc89ef93873218e6745433a59e3b037845a4a053d2fea7ab0b3a2d346b4ae3bed5e407952dd8d00b2
-
Filesize
51B
MD590ab423a414d6e4a9bb885c17a1483ec
SHA112ff16eb93bae62907d0e1ae86e3283a401bea89
SHA256cc6a80fb5e1c2a63598fd366e4e4bfdd6f4d8adc79f7ce4205332e7bd3f605fb
SHA512a60f90ea824a87371723480fd3a7f63bf3418c4dfc5883352bf2bf8785ca05f341ad349d8084ffaac650c59febda56f084a6e14c4f63be1b6199894e59ea0e57
-
Filesize
1.5MB
MD5991c3e0082ac7d9b20906da53c143193
SHA1ef789372f8f74eedf0ae3dfd6b0ca2c8e8d5eb5f
SHA256de2a30e3ded0cca2729f82a010ee2359e0d1f64638934a18d53bb5ec08c8e0ab
SHA51259a0843d1e55798b412eb672e05aaa83d2d101fa08ed9d1cdbf84914aada359b1044ffa87670cdbbfd28a694db985b0c6dc7c2d314fb2078e3db83d320ca81a7
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de