Analysis
-
max time kernel
149s -
max time network
154s -
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
21-08-2024 00:08
Behavioral task
behavioral1
Sample
b165fc62f6326b18308133acfd228b58_JaffaCakes118
Resource
ubuntu2204-amd64-20240611-en
General
-
Target
b165fc62f6326b18308133acfd228b58_JaffaCakes118
-
Size
1.5MB
-
MD5
b165fc62f6326b18308133acfd228b58
-
SHA1
da26fbdebf2350f1fab998943d45d8e5ae2dabe9
-
SHA256
393ac47184475af099eafce91d7472ea5af1d74636a992cc08bf40872d22fa4a
-
SHA512
b7d0a59f1e95d1e37e5925fab7a7ee5666ced7c07303a0ca786012b17d8389f1a04abf1209bd8f9945b61465e47af9c6dc7a9d9137ff271d88ce941d2b747d16
-
SSDEEP
49152:2nilOolLbt1laIunbZsehk1S55555555555555555555555555555555555k55w1:yeOolLbt1laIunlseh9NtYi7COEm
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 1627 getty /usr/bin/.sshd 1643 .sshd -
description ioc Process File opened for modification /etc/init.d/DbSecuritySpt b165fc62f6326b18308133acfd228b58_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 b165fc62f6326b18308133acfd228b58_JaffaCakes118 -
Write file to user bin folder 1 TTPs 11 IoCs
description ioc Process 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/bsd-port/getty cp File opened for modification /usr/bin/bsd-port/udevd.lock b165fc62f6326b18308133acfd228b58_JaffaCakes118 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/ps cp File opened for modification /usr/bin/ss cp File opened for modification /usr/bin/bsd-port/getty.lock b165fc62f6326b18308133acfd228b58_JaffaCakes118 -
Writes file to system bin folder 1 TTPs 3 IoCs
description ioc Process File opened for modification /bin/ss cp 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 b165fc62f6326b18308133acfd228b58_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.
description ioc Process File opened for reading /proc/net/dev b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for reading /proc/net/dev getty File opened for reading /proc/net/route b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for reading /proc/net/arp b165fc62f6326b18308133acfd228b58_JaffaCakes118 -
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/meminfo b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for reading /proc/filesystems mkdir File opened for reading /proc/sys/kernel/version .sshd File opened for reading /proc/filesystems cp 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/sys/kernel/version getty 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 cp File opened for reading /proc/stat b165fc62f6326b18308133acfd228b58_JaffaCakes118 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 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 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/sys/kernel/version b165fc62f6326b18308133acfd228b58_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/filesystems mkdir File opened for reading /proc/filesystems mkdir File opened for reading /proc/stat getty -
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 b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for modification /tmp/gates.lod b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for modification /tmp/notify.file b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for modification /tmp/moni.lod .sshd File opened for modification /tmp/notify.file .sshd File opened for modification /tmp/conf.n b165fc62f6326b18308133acfd228b58_JaffaCakes118 File opened for modification /tmp/gates.lod .sshd File opened for modification /tmp/moni.lod b165fc62f6326b18308133acfd228b58_JaffaCakes118
Processes
-
/tmp/b165fc62f6326b18308133acfd228b58_JaffaCakes118/tmp/b165fc62f6326b18308133acfd228b58_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:1575 -
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"2⤵PID:1603
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt3⤵PID:1604
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"2⤵PID:1605
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt3⤵PID:1606
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"2⤵PID:1607
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt3⤵PID:1608
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"2⤵PID:1609
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt3⤵PID:1610
-
-
-
/bin/shsh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"2⤵PID:1611
-
/usr/bin/lnln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt3⤵PID:1612
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1619
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1620
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/bsd-port"2⤵PID:1621
-
/usr/bin/mkdirmkdir -p /usr/bin/bsd-port3⤵
- Reads runtime system information
PID:1622
-
-
-
/bin/shsh -c "cp -f /tmp/b165fc62f6326b18308133acfd228b58_JaffaCakes118 /usr/bin/bsd-port/getty"2⤵PID:1623
-
/usr/bin/cpcp -f /tmp/b165fc62f6326b18308133acfd228b58_JaffaCakes118 /usr/bin/bsd-port/getty3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1624
-
-
-
/bin/shsh -c /usr/bin/bsd-port/getty2⤵PID:1626
-
/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:1627 -
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"4⤵PID:1635
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc1.d/S99selinux5⤵PID:1636
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"4⤵PID:1637
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc2.d/S99selinux5⤵PID:1638
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"4⤵PID:1639
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc3.d/S99selinux5⤵PID:1640
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"4⤵PID:1644
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc4.d/S99selinux5⤵PID:1645
-
-
-
/bin/shsh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"4⤵PID:1646
-
/usr/bin/lnln -s /etc/init.d/selinux /etc/rc5.d/S99selinux5⤵PID:1647
-
-
-
/bin/shsh -c "mkdir -p /usr/bin/dpkgd"4⤵PID:1648
-
/usr/bin/mkdirmkdir -p /usr/bin/dpkgd5⤵
- Reads runtime system information
PID:1649
-
-
-
/bin/shsh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"4⤵PID:1650
-
/usr/bin/cpcp -f /bin/lsof /usr/bin/dpkgd/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1651
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1652
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1653
-
-
-
/bin/shsh -c "mkdir -p /bin"4⤵PID:1654
-
/usr/bin/mkdirmkdir -p /bin5⤵
- Reads runtime system information
PID:1655
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"4⤵PID:1656
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/lsof5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1657
-
-
-
/bin/shsh -c "chmod 0755 /bin/lsof"4⤵PID:1658
-
/usr/bin/chmodchmod 0755 /bin/lsof5⤵PID:1659
-
-
-
/bin/shsh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"4⤵PID:1660
-
/usr/bin/cpcp -f /bin/ps /usr/bin/dpkgd/ps5⤵
- 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/ps"4⤵PID:1666
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ps5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1667
-
-
-
/bin/shsh -c "chmod 0755 /bin/ps"4⤵PID:1668
-
/usr/bin/chmodchmod 0755 /bin/ps5⤵PID:1669
-
-
-
/bin/shsh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"4⤵PID:1670
-
/usr/bin/cpcp -f /bin/ss /usr/bin/dpkgd/ss5⤵
- 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/ss"4⤵PID:1676
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /bin/ss5⤵
- Writes file to system bin folder
- Reads runtime system information
PID:1677
-
-
-
/bin/shsh -c "chmod 0755 /bin/ss"4⤵PID:1678
-
/usr/bin/chmodchmod 0755 /bin/ss5⤵PID:1679
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1680
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1681
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1682
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
PID:1683
-
-
-
/bin/shsh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"4⤵PID:1684
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/lsof5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1685
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/lsof"4⤵PID:1686
-
/usr/bin/chmodchmod 0755 /usr/bin/lsof5⤵PID:1687
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1688
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
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 "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"4⤵PID:1692
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ps5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1693
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ps"4⤵PID:1694
-
/usr/bin/chmodchmod 0755 /usr/bin/ps5⤵PID:1695
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"4⤵PID:1696
-
/usr/bin/mkdirmkdir -p /usr/bin5⤵
- Reads runtime system information
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 "cp -f /usr/bin/bsd-port/getty /usr/bin/ss"4⤵PID:1700
-
/usr/bin/cpcp -f /usr/bin/bsd-port/getty /usr/bin/ss5⤵
- Write file to user bin folder
- Reads runtime system information
PID:1701
-
-
-
/bin/shsh -c "chmod 0755 /usr/bin/ss"4⤵PID:1702
-
/usr/bin/chmodchmod 0755 /usr/bin/ss5⤵PID:1705
-
-
-
/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:1629
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1630
-
-
-
/bin/shsh -c "mkdir -p /usr/bin"2⤵PID:1631
-
/usr/bin/mkdirmkdir -p /usr/bin3⤵
- Reads runtime system information
PID:1632
-
-
-
/bin/shsh -c "cp -f /tmp/b165fc62f6326b18308133acfd228b58_JaffaCakes118 /usr/bin/.sshd"2⤵PID:1633
-
/usr/bin/cpcp -f /tmp/b165fc62f6326b18308133acfd228b58_JaffaCakes118 /usr/bin/.sshd3⤵
- Write file to user bin folder
- Reads runtime system information
PID:1634
-
-
-
/bin/shsh -c /usr/bin/.sshd2⤵PID:1642
-
/usr/bin/.sshd/usr/bin/.sshd3⤵
- Executes dropped EXE
- Reads runtime system information
- Writes file to tmp directory
PID:1643
-
-
-
/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
MD5862f831a5f9ed549b2d8af48e2a1f23e
SHA113da37fe5cfb71e2999737aeec5325c66f44a228
SHA2567cebd1e5e470df4ea7c1b9dbb22b3e415542ba06a220d3a9b5e7e80fcd67cec5
SHA512218a39579a4eacfb5aa04d72c0e2a6ca29c7d82539940a01c6f159e7127d7521375c727b1923d35e5709f3d808692b47d9ee91f73b45fae8f4292537f60fb5ea
-
Filesize
36B
MD5993cc15058142d96c3daf7852c3d5ee8
SHA10950b8b391b04dd3895ea33cd3141543ebd2525d
SHA2568171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208
SHA5120c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928
-
Filesize
73B
MD574efbb3606608a8d5dbc8c9dd7267b8c
SHA10559beb1c25400b33187bce43a529be55a77d981
SHA2569deed24cd195b934e0162766aa19c11e8ebb8ebe6d73af6f2fdcd23e80ce1a68
SHA51295eb0d723142c128acd7c2a8291fb35d136254abc5f8a18c4ed0aa7e684aee4897f4f3343084c67e21283658b0a8d7cf983ac5c54dcc464f326b4f3f710d6810
-
Filesize
4B
MD5894b77f805bd94d292574c38c5d628d5
SHA11784f0e37c1fdd6200c1e8b28e8caae5402e74e0
SHA256d24eac45e69be063cc0053eb02650954eec62c314c405e564a4d11e951392e75
SHA512605b8ee18c6bd7c9d489faa803dc4c00fed6e7a4b21a9a69ba7b429642a06d7fe42e5fd45162f72fff76f1ec518c5840399c97d4ab0f7633651d35e2b19f2e05
-
Filesize
4B
MD5375c71349b295fbe2dcdca9206f20a06
SHA16a3236f5f213960de5c415fd15c6d1cb5a46d04e
SHA256a860d24f31d82a4fbf73c4239d615936fcdfbd6d08319ba3807303469a0a35d1
SHA51249e0ddcc26cb9ede49a5f9a59118adbe84b72d3c183937669e97004bf4085961e9aec3f7251fe427a3aaff988ab33343d29524b56a2c38173b9b68a972c923ec
-
Filesize
51B
MD5a891714177280f535566953ea301a1e1
SHA12833caacd6d75d6f1e90f889db6b607222482d72
SHA256bcf7e577af5c9694e4e0f0c2e0f1238903dc40092aa7692f7b68311a3711f856
SHA5129a1c6dc9896954b38a36a869fe68f6e774f4d7e29293e28200e668e49763ce60305eeb9a1f56d47dd0afeb17c88cbb8914a0eea132122227efc7f7c01cbfc8ea
-
Filesize
1.5MB
MD5b165fc62f6326b18308133acfd228b58
SHA1da26fbdebf2350f1fab998943d45d8e5ae2dabe9
SHA256393ac47184475af099eafce91d7472ea5af1d74636a992cc08bf40872d22fa4a
SHA512b7d0a59f1e95d1e37e5925fab7a7ee5666ced7c07303a0ca786012b17d8389f1a04abf1209bd8f9945b61465e47af9c6dc7a9d9137ff271d88ce941d2b747d16
-
Filesize
163KB
MD5ab57b66cc531ae0f996963223e632b60
SHA1bf7e5becd33f21c2539f5a75ffa0ab61c49c8795
SHA2562484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df
SHA512908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6
-
Filesize
138KB
MD58146139c2ad7e550b1d1f49480997446
SHA1074db8890c3227bd8a588417f5b9bde637bcf3af
SHA256207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f
SHA512b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de
-
Filesize
125KB
MD51b25ac945efae8520ba112b500e2d561
SHA18324c4d1d1427829266e82f203386232ff82af15
SHA2565eb16d9a8bc81fe767725874e3f67623b8e86b46ec93546be49c5b09d3ab4636
SHA512e191f967170ea4844f736c5ab75b7bf45fef3af34f0a4bef0d36475d646b0b089449fe39806664b9f6ce1984037687930cc368892230662c8c30f67fa3ac216e